| struct buf; | |
| struct context; | |
| struct file; | |
| struct inode; | |
| struct pipe; | |
| struct proc; | |
| struct rtcdate; | |
| struct spinlock; | |
| struct sleeplock; | |
| struct prioritylock; | |
| struct stat; | |
| struct superblock; | |
| // bio.c | |
| void binit(void); | |
| struct buf* bread(uint, uint); | |
| void brelse(struct buf*); | |
| void bwrite(struct buf*); | |
| // console.c | |
| void consoleinit(void); | |
| void cprintf(char*, ...); | |
| void consoleintr(int(*)(void)); | |
| void panic(char*) __attribute__((noreturn)); | |
| void printspaces(int count); | |
| int count_digits(int n); | |
| // exec.c | |
| int exec(char*, char**); | |
| // file.c | |
| struct file* filealloc(void); | |
| void fileclose(struct file*); | |
| struct file* filedup(struct file*); | |
| void fileinit(void); | |
| int fileread(struct file*, char*, int n); | |
| int filestat(struct file*, struct stat*); | |
| int filewrite(struct file*, char*, int n); | |
| int copyfile(struct file* src, struct file* dst); | |
| // fs.c | |
| void readsb(int dev, struct superblock *sb); | |
| int dirlink(struct inode*, char*, uint); | |
| struct inode* dirlookup(struct inode*, char*, uint*); | |
| struct inode* ialloc(uint, short); | |
| struct inode* idup(struct inode*); | |
| void iinit(int dev); | |
| void ilock(struct inode*); | |
| void iput(struct inode*); | |
| void iunlock(struct inode*); | |
| void iunlockput(struct inode*); | |
| void iupdate(struct inode*); | |
| int namecmp(const char*, const char*); | |
| struct inode* namei(char*); | |
| struct inode* nameiparent(char*, char*); | |
| int readi(struct inode*, char*, uint, uint); | |
| void stati(struct inode*, struct stat*); | |
| int writei(struct inode*, char*, uint, uint); | |
| // ide.c | |
| void ideinit(void); | |
| void ideintr(void); | |
| void iderw(struct buf*); | |
| // ioapic.c | |
| void ioapicenable(int irq, int cpu); | |
| extern uchar ioapicid; | |
| void ioapicinit(void); | |
| // kalloc.c | |
| char* kalloc(void); | |
| void kfree(char*); | |
| void kinit1(void*, void*); | |
| void kinit2(void*, void*); | |
| // kbd.c | |
| void kbdintr(void); | |
| // lapic.c | |
| void cmostime(struct rtcdate *r); | |
| int lapicid(void); | |
| extern volatile uint* lapic; | |
| void lapiceoi(void); | |
| void lapicinit(void); | |
| void lapicstartap(uchar, uint); | |
| void microdelay(int); | |
| // log.c | |
| void initlog(int dev); | |
| void log_write(struct buf*); | |
| void begin_op(); | |
| void end_op(); | |
| // mp.c | |
| extern int ismp; | |
| void mpinit(void); | |
| // picirq.c | |
| void picenable(int); | |
| void picinit(void); | |
| // pipe.c | |
| int pipealloc(struct file**, struct file**); | |
| void pipeclose(struct pipe*, int); | |
| int piperead(struct pipe*, char*, int); | |
| int pipewrite(struct pipe*, char*, int); | |
| //PAGEBREAK: 16 | |
| // proc.c | |
| int cpuid(void); | |
| void exit(void); | |
| int fork(void); | |
| int growproc(int); | |
| int kill(int); | |
| struct cpu* mycpu(void); | |
| struct proc* myproc(); | |
| void pinit(void); | |
| void procdump(void); | |
| void ageprocs(int); | |
| void scheduler(void) __attribute__((noreturn)); | |
| void sched(void); | |
| void setproc(struct proc*); | |
| void sleep(void*, struct spinlock*); | |
| void userinit(void); | |
| int wait(void); | |
| void wakeup(void*); | |
| void wakeup2(void*); | |
| void yield(void); | |
| int find_digital_root(int); | |
| int get_child_count(void); | |
| int get_process_lifetime(void); | |
| int change_queue(int, int); | |
| void print_processes_info(void); | |
| void print_priority_queue(void *chan); | |
| int set_proc_bjf_params(int, float, float, float,float); | |
| int set_system_bjf_params(float, float, float,float); | |
| void prioritylock_test(void); | |
| void buf_test_init(void); | |
| // swtch.S | |
| void swtch(struct context**, struct context*); | |
| // spinlock.c | |
| void acquire(struct spinlock*); | |
| void getcallerpcs(void*, uint*); | |
| int holding(struct spinlock*); | |
| void initlock(struct spinlock*, char*); | |
| void release(struct spinlock*); | |
| void pushcli(void); | |
| void popcli(void); | |
| // sleeplock.c | |
| void acquiresleep(struct sleeplock*); | |
| void releasesleep(struct sleeplock*); | |
| int holdingsleep(struct sleeplock*); | |
| void initsleeplock(struct sleeplock*, char*); | |
| // prioritylock.c | |
| void initprioritylock(struct prioritylock *, char *); | |
| void acquirepriority(struct prioritylock *); | |
| void releasepriority(struct prioritylock *); | |
| int holdingpriority(struct prioritylock *); | |
| // string.c | |
| int memcmp(const void*, const void*, uint); | |
| void* memmove(void*, const void*, uint); | |
| void* memset(void*, int, uint); | |
| char* safestrcpy(char*, const char*, int); | |
| int strlen(const char*); | |
| int strncmp(const char*, const char*, uint); | |
| char* strncpy(char*, const char*, int); | |
| // syscall.c | |
| int argint(int, int*); | |
| int argfloat(int, float*); | |
| int argptr(int, char**, int); | |
| int argstr(int, char**); | |
| int fetchint(uint, int*); | |
| int fetchfloat(uint, float*); | |
| int fetchstr(uint, char**); | |
| void syscall(void); | |
| // timer.c | |
| void timerinit(void); | |
| // trap.c | |
| void idtinit(void); | |
| extern uint ticks; | |
| void tvinit(void); | |
| extern struct spinlock tickslock; | |
| // uart.c | |
| void uartinit(void); | |
| void uartintr(void); | |
| void uartputc(int); | |
| // vm.c | |
| void seginit(void); | |
| void kvmalloc(void); | |
| pde_t* setupkvm(void); | |
| char* uva2ka(pde_t*, char*); | |
| int allocuvm(pde_t*, uint, uint); | |
| int deallocuvm(pde_t*, uint, uint); | |
| void freevm(pde_t*); | |
| void inituvm(pde_t*, char*, uint); | |
| int loaduvm(pde_t*, char*, struct inode*, uint, uint); | |
| pde_t* copyuvm(pde_t*, uint); | |
| void switchuvm(struct proc*); | |
| void switchkvm(void); | |
| int copyout(pde_t*, uint, void*, uint); | |
| void clearpteu(pde_t *pgdir, char *uva); | |
| // Shared memory (vm.c) | |
| void sharedMemoryInit(void); | |
| int getShmidIndex(int); | |
| void mappagesWrapper(struct proc *process, int, int); | |
| void close_sharedmemWrapper(void *); | |
| // number of elements in fixed-size array | |
Xet Storage Details
- Size:
- 6.73 kB
- Xet hash:
- d6a0a6c39f676aec2728e728d2139ccf653c9863e9af85536122177d6c33ede0
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.