Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SilverRainZ/OS67
/ functions
Functions
218 in github.com/SilverRainZ/OS67
⨍
Functions
218
◇
Types & classes
103
↓ 50 callers
Function
idt_install
kern/idt.c:17
↓ 29 callers
Function
puts
usr/uio.c:33
↓ 28 callers
Function
memset
libs/string.c:17
↓ 28 callers
Function
outb
write a byte to a port */
kern/asm.c:16
↓ 27 callers
Function
iunlockput
(?)
fs/inode.c:242
↓ 23 callers
Function
printf
usr/uio.c:49
↓ 21 callers
Function
panic
kern/dbg.c:45
↓ 20 callers
Function
ilock
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 callers
Function
printk
libs/printk.c:17
↓ 14 callers
Function
brelse
release a B_BUSY buffer, mov it to the haed of MRU list */
fs/bcache.c:92
↓ 13 callers
Function
bread
return a B_BUSY buffer with the content of indicated disk sector */
fs/bcache.c:74
↓ 13 callers
Function
iupdate
copy a in-memory inode to disk */
fs/inode.c:80
↓ 13 callers
Function
print_ok
好无聊 */
kern/main.c:29
↓ 10 callers
Function
argint
kern/syscall.c:104
↓ 10 callers
Function
strlen
libs/string.c:31
↓ 9 callers
Function
bwrite
fs/bcache.c:84
↓ 9 callers
Function
memcpy
libs/string.c:9
↓ 9 callers
Function
pmm_alloc
mm/pmm.c:109
↓ 9 callers
Function
wakeup
proc/proc.c:211
↓ 8 callers
Function
argstr
kern/syscall.c:108
↓ 8 callers
Function
dir_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 callers
Function
iunlock
unlock a inode */
fs/inode.c:229
↓ 8 callers
Function
print_i
fs/inode.c:377
↓ 7 callers
Function
iput
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 callers
Function
iread
read data from inode */
fs/inode.c:290
↓ 7 callers
Function
p2i
fs/p2i.c:96
↓ 7 callers
Function
read_sb
read the super_block */
fs/sb.c:19
↓ 6 callers
Function
gdt_install
kern/gdt.c:24
↓ 6 callers
Function
strcmp
libs/string.c:38
↓ 6 callers
Function
vmm_map
mm/vmm.c:73
↓ 5 callers
Function
argfd
get syscall param as file descrpitor */
fs/sysfile.c:22
↓ 5 callers
Function
cli
clear interrupt */
kern/asm.c:52
↓ 5 callers
Function
dir_lookup
lookup a entry by name in specific dir inode */
fs/dir.c:15
↓ 5 callers
Function
fclose
fs/file.c:42
↓ 5 callers
Function
ide_rw
drv/ide.c:102
↓ 5 callers
Function
iwrite
write data to inode */
fs/inode.c:337
↓ 5 callers
Function
pmm_free
mm/pmm.c:118
↓ 5 callers
Function
putchar
usr/uio.c:25
↓ 5 callers
Function
sleep
proc/proc.c:185
↓ 5 callers
Function
strcpy
libs/string.c:49
↓ 5 callers
Function
strncpy
libs/string.c:96
↓ 5 callers
Function
vga_setcolor
drv/vga.c:98
↓ 5 callers
Function
vmm_get_mapping
mm/vmm.c:111
↓ 4 callers
Function
argptr
kern/syscall.c:118
↓ 4 callers
Function
fdalloc
alloc a file descrpitor for given file */
fs/sysfile.c:47
↓ 4 callers
Function
p2ip
fs/p2i.c:101
↓ 4 callers
Function
putchar
drv/vga.c:68
↓ 4 callers
Function
sti
set interrupt */
kern/asm.c:57
↓ 4 callers
Function
vsprint
libs/vsprint.c:80
↓ 3 callers
Function
balloc
alloc a zeroed data block */
fs/bitmap.c:34
↓ 3 callers
Function
bfree
fs/bitmap.c:63
↓ 3 callers
Function
create
fs/sysfile.c:247
↓ 3 callers
Function
exit
proc/proc.c:264
↓ 3 callers
Function
falloc
fs/file.c:23
↓ 3 callers
Function
hlt
enter halt state, until int comeup */
kern/asm.c:62
↓ 3 callers
Function
ialloc
alloc a inode with specific type * - 磁盘: 在 inode bitmap 中寻找一个空闲的位, 清空该位对应的 d_inode * - 内存: 通过 iget() 在内存中申请一个对应的 inodes 槽位 */
fs/inode.c:65
↓ 3 callers
Function
ide_wait
wait for disk until it ready, checkerror when checkerr=1 */
drv/ide.c:28
↓ 3 callers
Function
iget
find the inode with specific dev and inum in memory, * if not found, use first empty inode * 注意: 这里只会申请一个可用的 inode 槽位, 增加一个内存引用, 不会锁住, 也不会从磁盘读出 */
fs/inode.c:33
↓ 3 callers
Function
inb
kern/asm.c:9
↓ 3 callers
Function
irq_install
This installs a custom IRQ handler for the given IRQ */
kern/irq.c:40
↓ 3 callers
Function
kvm_init
build a map of kernel space and unalloc memory for a process's page table * 这里简单地把从 0 到 0xc0000000 的所有内存(包含内核,未分配内存 和 不存在的内存)映射到页表中 */
mm/vmm.c:139
↓ 3 callers
Function
move_cur
drv/vga.c:22
↓ 3 callers
Function
pic_init
kern/irq.c:49
↓ 3 callers
Function
sched
proc/proc.c:176
↓ 3 callers
Function
strcat
libs/string.c:59
↓ 3 callers
Function
uvm_free
free user space only */
mm/vmm.c:200
↓ 2 callers
Function
MakeRelativePathsInFlagsAbsolute
( flags, working_directory )
.ycm_extra_conf.py:89
↓ 2 callers
Function
_path2inode
fs/p2i.c:53
↓ 2 callers
Function
_puts
usr/uio.c:29
↓ 2 callers
Function
bmap
return the disk block address of the nth block in given inode * if not such block, alloc one */
fs/inode.c:250
↓ 2 callers
Function
bochs_putc
outputs a character to the debug console */
kern/dbg.c:69
↓ 2 callers
Function
fdup
fs/file.c:35
↓ 2 callers
Function
fetchint
kern/syscall.c:72
↓ 2 callers
Function
fetchstr
kern/syscall.c:84
↓ 2 callers
Function
ide_print_blk
drv/ide.c:128
↓ 2 callers
Function
ide_start
drv/ide.c:43
↓ 2 callers
Function
idup
reference of ip + 1 */
fs/inode.c:152
↓ 2 callers
Function
itoa
libs/vsprint.c:7
↓ 2 callers
Function
kitten
Arthur2e5: Meow~ */
usr/cat.c:10
↓ 2 callers
Function
proc_alloc
proc/proc.c:64
↓ 2 callers
Function
uvm_alloc
mm/vmm.c:241
↓ 2 callers
Function
uvm_switch
mm/vmm.c:170
↓ 2 callers
Function
vmm_switch_pgd
mm/vmm.c:34
↓ 1 callers
Function
DirectoryOfThisScript
()
.ycm_extra_conf.py:85
↓ 1 callers
Function
GetCompilationInfoForFile
( filename )
.ycm_extra_conf.py:123
↓ 1 callers
Function
IsHeaderFile
( filename )
.ycm_extra_conf.py:118
↓ 1 callers
Function
_ialloc
alloc a zeroed inode * NB: inode number is start at 1 */
fs/bitmap.c:91
↓ 1 callers
Function
_ifree
fs/bitmap.c:127
↓ 1 callers
Function
bcache_init
create linked list(MRU Cache) of buffer, in reverse */
fs/bcache.c:24
↓ 1 callers
Function
bget
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 callers
Function
bzero
fs/bitmap.c:22
↓ 1 callers
Function
dev_init
dev/dev.c:8
↓ 1 callers
Function
dir_isempty
is directory empty? * only invoked when dip is locked */
fs/dir.c:95
↓ 1 callers
Function
exec
proc/exec.c:41
↓ 1 callers
Function
fault_handler
kern/fault.c:137
↓ 1 callers
Function
fault_init
kern/fault.c:89
↓ 1 callers
Function
file_init
fs/file.c:19
↓ 1 callers
Function
fork
proc/proc.c:319
↓ 1 callers
Function
fread
fs/file.c:73
↓ 1 callers
Function
fstat
fs/file.c:61
next →
1–100 of 218, ranked by callers