| /sys/include/ |
| D | sga.h | 9 uint64_t offset; 10 uint64_t length; 20 int SGArray_Append(SGArray *sga, uint64_t off, uint64_t len);
|
| D | bufcache.h | 9 uint64_t diskOffset; 10 uint64_t refCount; 17 int BufCache_Alloc(Disk *disk, uint64_t diskOffset, BufCacheEntry **entry); 19 int BufCache_Read(Disk *disk, uint64_t diskOffset, BufCacheEntry **entry);
|
| D | ktimer.h | 10 uint64_t refCount; 11 uint64_t timeout; 17 KTimerEvent *KTimer_Create(uint64_t timeout, KTimerCB cb, void *arg);
|
| D | kdebug.h | 24 uint64_t Debug_GetValue(uintptr_t addr, int size, bool isSigned); 26 uint64_t Debug_StrToInt(const char *s); 27 uint64_t Debug_SymbolToInt(const char *s);
|
| D | kmem.h | 51 uint64_t objs; 52 uint64_t freeObjs; 55 uint64_t allocs; 56 uint64_t frees;
|
| D | mbuf.h | 15 uint64_t vaddr; 16 uint64_t maddr;
|
| D | elf64.h | 38 typedef uint64_t Elf64_Addr; 40 typedef uint64_t Elf64_Off; 44 typedef uint64_t Elf64_Lword; 45 typedef uint64_t Elf64_Xword;
|
| /sys/amd64/ |
| D | machine.c | 55 uint64_t offset; in Machine_GDTInit() 56 uint64_t tmp; in Machine_GDTInit() 67 offset = (uint64_t)&TSS[c]; in Machine_GDTInit() 79 GDTDescriptor[c].off = (uint64_t)&GDT[c]; in Machine_GDTInit() 105 TSS[c].ist1 = ((uint64_t)&df_stack) + 4096; in Machine_TSSInit() 112 TSS[c].rsp0 = ((uint64_t)&df_stack) + 4096; in Machine_TSSInit() 132 wrmsr(MSR_STAR, (uint64_t)SEL_KCS << 32 | (uint64_t)SEL_UCS << 48); in Machine_SyscallInit()
|
| D | trap.c | 22 extern uint64_t trap_table[T_MAX]; 30 static uint64_t intStats[256]; 75 idtdesc.off = (uint64_t)&idt; in Trap_Init() 127 uint64_t rsp; in Trap_StackDump() 128 uint64_t *data; in Trap_StackDump() 132 data = (uint64_t *)rsp; in Trap_StackDump() 171 (tf->rip >= (uint64_t)©_unsafe) && in trap_entry() 172 (tf->rip <= (uint64_t)©_unsafe_done)) { in trap_entry() 174 tf->rip = (uint64_t)©_unsafe_fault; in trap_entry() 180 (tf->rip >= (uint64_t)©str_unsafe) && in trap_entry() [all …]
|
| D | debug.c | 19 volatile static uint64_t debugLock = 0; 20 volatile static uint64_t debugCmd = 0; 21 volatile static uint64_t debugHalted = 0; 133 uint64_t *ptr; in Debug_Backtrace() 134 uint64_t rip; in Debug_Backtrace() 135 uint64_t rbp; in Debug_Backtrace() 152 ptr = (uint64_t *)rbp; in Debug_Backtrace() 171 uint64_t addr = Debug_StrToInt(argv[1]); in Debug_SetBreakpoint()
|
| D | mbentry.c | 49 ((uint64_t)&bootpgtbl3 - MEM_DIRECTMAP_BASE) + 0x03, 54 ((uint64_t)&bootpgtbl2 - MEM_DIRECTMAP_BASE) + 0x03, 71 [256] = ((uint64_t)&bootpgtbl2 - MEM_DIRECTMAP_BASE) + 0x03, 95 kprintf("flags = 0x%x\n", (uint64_t) mbi->flags); in MachineBoot_Entry()
|
| /sbin/newfs_o2fs/ |
| D | newfs_o2fs.c | 27 uint64_t diskSize = 0; 28 uint64_t diskOffset = 0; 29 uint64_t blockSize = 16*1024; 30 uint64_t bitmapSize; 96 FlushBlock(uint64_t offset, const void *buf, size_t len) in FlushBlock() 108 uint64_t 111 uint64_t offset = lseek(diskfd, 0, SEEK_CUR); in AppendBlock() 119 uint64_t 156 node.size += (uint64_t)len; in AddFile() 162 uint64_t offset = AppendBlock(&node, sizeof(node)); in AddFile() [all …]
|
| /sys/kern/ |
| D | vfs.c | 68 uint64_t len; in VFS_Lookup() 180 VFS_Read(VNode *fn, void *buf, uint64_t off, uint64_t len) in VFS_Read() 198 VFS_Write(VNode *fn, void *buf, uint64_t off, uint64_t len) in VFS_Write() 216 VFS_ReadDir(VNode *fn, void *buf, uint64_t len, uint64_t *off) in VFS_ReadDir()
|
| D | bufcache.c | 23 static uint64_t cacheHit; 24 static uint64_t cacheMiss; 25 static uint64_t cacheAlloc; 97 BufCacheLookup(Disk *disk, uint64_t diskOffset, BufCacheEntry **entry) in BufCacheLookup() 133 BufCacheAlloc(Disk *disk, uint64_t diskOffset, BufCacheEntry **entry) in BufCacheAlloc() 178 BufCache_Alloc(Disk *disk, uint64_t diskOffset, BufCacheEntry **entry) in BufCache_Alloc() 229 BufCache_Read(Disk *disk, uint64_t diskOffset, BufCacheEntry **entry) in BufCache_Read()
|
| D | vfsuio.c | 16 VFSUIO_Read(Handle *handle, void *buf, uint64_t len, uint64_t off) in VFSUIO_Read() 26 VFSUIO_Write(Handle *handle, void *buf, uint64_t len, uint64_t off) in VFSUIO_Write()
|
| D | disk.c | 31 Disk_GetByID(uint64_t ctrlNo, uint64_t diskNo) in Disk_GetByID() 77 uint64_t ctrlNo, diskNo; in Debug_DumpDisk() 78 uint64_t sector; in Debug_DumpDisk()
|
| D | process.c | 29 uint64_t nextProcessID; 145 Process_Lookup(uint64_t pid) in Process_Lookup() 205 uint64_t 206 Process_Wait(Process *proc, uint64_t pid) in Process_Wait() 210 uint64_t status; in Process_Wait()
|
| D | thread.c | 40 extern uint64_t nextProcessID; 148 Thread_UThreadCreate(Thread *oldThr, uint64_t rip, uint64_t arg) in Thread_UThreadCreate() 229 Thread_Lookup(Process *proc, uint64_t tid) in Thread_Lookup() 278 uint64_t 279 Thread_Wait(Thread *thr, uint64_t tid) in Thread_Wait() 282 uint64_t status; in Thread_Wait()
|
| D | palloc.c | 28 uint64_t totalPages; 29 uint64_t freePages; 33 uint64_t magic; 39 uint64_t refCount; 44 uint64_t pageInfoLength;
|
| D | ktimer.c | 17 static uint64_t timerNow = 0; 41 KTimer_Create(uint64_t timeout, KTimerCB cb, void *arg) in KTimer_Create() 90 uint64_t now; in KTimer_Process()
|
| /lib/libc/posix/ |
| D | pthread.c | 18 uint64_t _unused; 22 uint64_t tid; 111 uint64_t status; in pthread_create() 124 status = OSThreadCreate((uintptr_t)&pthreadCreateHelper, (uint64_t)thr); in pthread_create() 155 uint64_t status = OSThreadWait(0);//thr->tid); in pthread_join() 207 uint64_t _unused; 211 uint64_t lock; 316 uint64_t _unused; 321 uint64_t enter; 322 uint64_t exit; [all …]
|
| /sys/dev/ |
| D | console.c | 151 Console_Read(Handle *handle, void *buf, uint64_t off, uint64_t len) in Console_Read() 154 uint64_t i; in Console_Read() 167 Console_Write(Handle *handle, void *buf, uint64_t off, uint64_t len) in Console_Write() 172 uint64_t nbytes = 0; in Console_Write() 175 uint64_t chunksz = len > 512 ? 512 : len; in Console_Write()
|
| D | ahci.c | 50 uint64_t clba; // Command List Base Address 51 uint64_t fb; // FIS Base Address 114 uint64_t ctba; 115 uint64_t _rsvd[2]; 128 uint64_t dba; // Data Base Address 253 uint64_t 325 uint64_t val = (uint64_t)&ident; in AHCI_IdentifyPort() 498 ahci->clst[p]->cmds[c].ctba = (uint64_t)ahci->ctbl[p][c]; in AHCI_Configure() 504 port->clba = (uint64_t)ahci->clst[p]; in AHCI_Configure() 509 port->fb = (uint64_t)ahci->rfis[p]; in AHCI_Configure()
|
| /bin/ethinject/ |
| D | ethinject.c | 18 uint64_t status; in writePacket() 20 mbuf.vaddr = (uint64_t)&buf; in writePacket() 42 uint64_t status; in main()
|
| /bin/ethdump/ |
| D | ethdump.c | 33 uint64_t status; in readPacket() 35 mbuf.vaddr = (uint64_t)&buf; in readPacket() 59 uint64_t status; in main()
|