MCPcopy Create free account

hub / github.com/SilverRainZ/OS67 / functions

Functions218 in github.com/SilverRainZ/OS67

↓ 50 callersFunctionidt_install
kern/idt.c:17
↓ 29 callersFunctionputs
usr/uio.c:33
↓ 28 callersFunctionmemset
libs/string.c:17
↓ 28 callersFunctionoutb
write a byte to a port */
kern/asm.c:16
↓ 27 callersFunctioniunlockput
(?)
fs/inode.c:242
↓ 23 callersFunctionprintf
usr/uio.c:49
↓ 21 callersFunctionpanic
kern/dbg.c:45
↓ 20 callersFunctionilock
lock given inode with flag I_BUSY * read the inode form disk if necessary * non-ref inode can not be lock (ref = 0) */
fs/inode.c:186
↓ 20 callersFunctionprintk
libs/printk.c:17
↓ 14 callersFunctionbrelse
release a B_BUSY buffer, mov it to the haed of MRU list */
fs/bcache.c:92
↓ 13 callersFunctionbread
return a B_BUSY buffer with the content of indicated disk sector */
fs/bcache.c:74
↓ 13 callersFunctioniupdate
copy a in-memory inode to disk */
fs/inode.c:80
↓ 13 callersFunctionprint_ok
好无聊 */
kern/main.c:29
↓ 10 callersFunctionargint
kern/syscall.c:104
↓ 10 callersFunctionstrlen
libs/string.c:31
↓ 9 callersFunctionbwrite
fs/bcache.c:84
↓ 9 callersFunctionmemcpy
libs/string.c:9
↓ 9 callersFunctionpmm_alloc
mm/pmm.c:109
↓ 9 callersFunctionwakeup
proc/proc.c:211
↓ 8 callersFunctionargstr
kern/syscall.c:108
↓ 8 callersFunctiondir_link
add a new dir entry into a directroy(dip) * increase nlinks of file(fip) * NB: fip must be lock and valid. */
fs/dir.c:54
↓ 8 callersFunctioniunlock
unlock a inode */
fs/inode.c:229
↓ 8 callersFunctionprint_i
fs/inode.c:377
↓ 7 callersFunctioniput
reference of ip - 1 * if it is the last ref, this node can be recycle (ref = 1) (?) * and if this inode have no link to it (nlinks = 0) * free thi
fs/inode.c:163
↓ 7 callersFunctioniread
read data from inode */
fs/inode.c:290
↓ 7 callersFunctionp2i
fs/p2i.c:96
↓ 7 callersFunctionread_sb
read the super_block */
fs/sb.c:19
↓ 6 callersFunctiongdt_install
kern/gdt.c:24
↓ 6 callersFunctionstrcmp
libs/string.c:38
↓ 6 callersFunctionvmm_map
mm/vmm.c:73
↓ 5 callersFunctionargfd
get syscall param as file descrpitor */
fs/sysfile.c:22
↓ 5 callersFunctioncli
clear interrupt */
kern/asm.c:52
↓ 5 callersFunctiondir_lookup
lookup a entry by name in specific dir inode */
fs/dir.c:15
↓ 5 callersFunctionfclose
fs/file.c:42
↓ 5 callersFunctionide_rw
drv/ide.c:102
↓ 5 callersFunctioniwrite
write data to inode */
fs/inode.c:337
↓ 5 callersFunctionpmm_free
mm/pmm.c:118
↓ 5 callersFunctionputchar
usr/uio.c:25
↓ 5 callersFunctionsleep
proc/proc.c:185
↓ 5 callersFunctionstrcpy
libs/string.c:49
↓ 5 callersFunctionstrncpy
libs/string.c:96
↓ 5 callersFunctionvga_setcolor
drv/vga.c:98
↓ 5 callersFunctionvmm_get_mapping
mm/vmm.c:111
↓ 4 callersFunctionargptr
kern/syscall.c:118
↓ 4 callersFunctionfdalloc
alloc a file descrpitor for given file */
fs/sysfile.c:47
↓ 4 callersFunctionp2ip
fs/p2i.c:101
↓ 4 callersFunctionputchar
drv/vga.c:68
↓ 4 callersFunctionsti
set interrupt */
kern/asm.c:57
↓ 4 callersFunctionvsprint
libs/vsprint.c:80
↓ 3 callersFunctionballoc
alloc a zeroed data block */
fs/bitmap.c:34
↓ 3 callersFunctionbfree
fs/bitmap.c:63
↓ 3 callersFunctioncreate
fs/sysfile.c:247
↓ 3 callersFunctionexit
proc/proc.c:264
↓ 3 callersFunctionfalloc
fs/file.c:23
↓ 3 callersFunctionhlt
enter halt state, until int comeup */
kern/asm.c:62
↓ 3 callersFunctionialloc
alloc a inode with specific type * - 磁盘: 在 inode bitmap 中寻找一个空闲的位, 清空该位对应的 d_inode * - 内存: 通过 iget() 在内存中申请一个对应的 inodes 槽位 */
fs/inode.c:65
↓ 3 callersFunctionide_wait
wait for disk until it ready, checkerror when checkerr=1 */
drv/ide.c:28
↓ 3 callersFunctioniget
find the inode with specific dev and inum in memory, * if not found, use first empty inode * 注意: 这里只会申请一个可用的 inode 槽位, 增加一个内存引用, 不会锁住, 也不会从磁盘读出 */
fs/inode.c:33
↓ 3 callersFunctioninb
kern/asm.c:9
↓ 3 callersFunctionirq_install
This installs a custom IRQ handler for the given IRQ */
kern/irq.c:40
↓ 3 callersFunctionkvm_init
build a map of kernel space and unalloc memory for a process's page table * 这里简单地把从 0 到 0xc0000000 的所有内存(包含内核,未分配内存 和 不存在的内存)映射到页表中 */
mm/vmm.c:139
↓ 3 callersFunctionmove_cur
drv/vga.c:22
↓ 3 callersFunctionpic_init
kern/irq.c:49
↓ 3 callersFunctionsched
proc/proc.c:176
↓ 3 callersFunctionstrcat
libs/string.c:59
↓ 3 callersFunctionuvm_free
free user space only */
mm/vmm.c:200
↓ 2 callersFunctionMakeRelativePathsInFlagsAbsolute
( flags, working_directory )
.ycm_extra_conf.py:89
↓ 2 callersFunction_path2inode
fs/p2i.c:53
↓ 2 callersFunction_puts
usr/uio.c:29
↓ 2 callersFunctionbmap
return the disk block address of the nth block in given inode * if not such block, alloc one */
fs/inode.c:250
↓ 2 callersFunctionbochs_putc
outputs a character to the debug console */
kern/dbg.c:69
↓ 2 callersFunctionfdup
fs/file.c:35
↓ 2 callersFunctionfetchint
kern/syscall.c:72
↓ 2 callersFunctionfetchstr
kern/syscall.c:84
↓ 2 callersFunctionide_print_blk
drv/ide.c:128
↓ 2 callersFunctionide_start
drv/ide.c:43
↓ 2 callersFunctionidup
reference of ip + 1 */
fs/inode.c:152
↓ 2 callersFunctionitoa
libs/vsprint.c:7
↓ 2 callersFunctionkitten
Arthur2e5: Meow~ */
usr/cat.c:10
↓ 2 callersFunctionproc_alloc
proc/proc.c:64
↓ 2 callersFunctionuvm_alloc
mm/vmm.c:241
↓ 2 callersFunctionuvm_switch
mm/vmm.c:170
↓ 2 callersFunctionvmm_switch_pgd
mm/vmm.c:34
↓ 1 callersFunctionDirectoryOfThisScript
()
.ycm_extra_conf.py:85
↓ 1 callersFunctionGetCompilationInfoForFile
( filename )
.ycm_extra_conf.py:123
↓ 1 callersFunctionIsHeaderFile
( filename )
.ycm_extra_conf.py:118
↓ 1 callersFunction_ialloc
alloc a zeroed inode * NB: inode number is start at 1 */
fs/bitmap.c:91
↓ 1 callersFunction_ifree
fs/bitmap.c:127
↓ 1 callersFunctionbcache_init
create linked list(MRU Cache) of buffer, in reverse */
fs/bcache.c:24
↓ 1 callersFunctionbget
look up a NON_BUSY buffer cache by blkno and dev * if found set B_BUSY and return * else alloc a new buffer */
fs/bcache.c:41
↓ 1 callersFunctionbzero
fs/bitmap.c:22
↓ 1 callersFunctiondev_init
dev/dev.c:8
↓ 1 callersFunctiondir_isempty
is directory empty? * only invoked when dip is locked */
fs/dir.c:95
↓ 1 callersFunctionexec
proc/exec.c:41
↓ 1 callersFunctionfault_handler
kern/fault.c:137
↓ 1 callersFunctionfault_init
kern/fault.c:89
↓ 1 callersFunctionfile_init
fs/file.c:19
↓ 1 callersFunctionfork
proc/proc.c:319
↓ 1 callersFunctionfread
fs/file.c:73
↓ 1 callersFunctionfstat
fs/file.c:61
next →1–100 of 218, ranked by callers