Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chyyuu/os_kernel_lab
/ functions
Functions
600 in github.com/chyyuu/os_kernel_lab
⨍
Functions
600
◇
Types & classes
104
Function
main
()
user/src/bin/gui_rect.rs:58
Function
main
()
os/build.rs:3
Function
main
()
easy-fs-fuse/src/main.rs:32
Method
move_rect
(&mut self, dx: i32, dy: i32)
user/src/bin/gui_uart.rs:100
Method
move_rect
(&mut self, dx: i32, dy: i32)
user/src/bin/gui_rect.rs:49
Function
mutex_blocking_create
()
user/src/sync.rs:6
Method
new
(start_block_id: usize, blocks: usize)
easy-fs/src/bitmap.rs:21
Method
new
(name: &str, inode_number: u32)
easy-fs/src/layout.rs:388
Method
new
Load a new BlockCache from disk.
easy-fs/src/block_cache.rs:18
Method
new
We should not acquire efs lock here.
easy-fs/src/vfs.rs:19
Method
new
(size: Size)
user/src/io.rs:25
Method
new
(color: T, size_x: u32, size_y: u32)
user/src/bin/gui_snake.rs:57
Method
new
(command: &str)
user/src/bin/user_shell.rs:30
Method
new
(size: Size, point: Point)
user/src/bin/gui_uart.rs:33
Method
new
()
user/src/bin/stackless_coroutine.rs:60
Method
new
(id: usize)
user/src/bin/stackful_coroutine.rs:67
Method
new
()
user/src/bin/barrier_condvar.rs:22
Method
new
()
user/src/bin/gui_rect.rs:23
Method
new
(elf_data: &[u8])
os/src/task/process.rs:74
Method
new
()
os/src/task/id.rs:17
Method
new
()
os/src/task/processor.rs:15
Method
new
()
os/src/task/manager.rs:13
Method
new
( process: Arc<ProcessControlBlock>, ustack_base: usize, alloc_user_res: bool, )
os/src/task/task.rs:50
Method
new
(base_addr: usize)
os/src/drivers/plic.rs:56
Method
new
(base_addr: usize)
os/src/drivers/chardev/ns16550a.rs:86
Method
new
()
os/src/drivers/gpu/mod.rs:25
Method
new
()
os/src/drivers/block/virtio_blk.rs:70
Method
new
(addr: usize)
os/src/drivers/input/mod.rs:34
Method
new
Create an instance.
os/src/boards/qemu.rs:93
Method
new
( start_va: VirtAddr, end_va: VirtAddr, map_type: MapType, map_perm: MapPermis
os/src/mm/memory_set.rs:258
Method
new
(start: T, end: T)
os/src/mm/address.rs:211
Method
new
(ppn: PhysPageNum)
os/src/mm/frame_allocator.rs:13
Method
new
(ppn: PhysPageNum, flags: PTEFlags)
os/src/mm/page_table.rs:27
Method
new
()
os/src/sync/mutex.rs:17
Method
new
()
os/src/sync/condvar.rs:17
Method
new
(res_count: usize)
os/src/sync/semaphore.rs:15
Method
new
(value: T)
os/src/sync/up.rs:43
Method
new
()
os/src/fs/pipe.rs:49
Method
new
(readable: bool, writable: bool, inode: Arc<Inode>)
os/src/fs/inode.rs:23
Method
new_bare
()
os/src/mm/memory_set.rs:42
Method
new_kernel
Without kernel stacks.
os/src/mm/memory_set.rs:93
Method
next
(&mut self)
user/src/bin/gui_snake.rs:46
Method
next
(&mut self)
os/src/mm/page_table.rs:235
Function
panic
(info: &PanicInfo)
os/src/lang_items.rs:7
Function
panic_handler
(panic_info: &core::panic::PanicInfo)
user/src/lang_items.rs:4
Function
philosopher_dining_problem
(id: *const usize)
user/src/bin/phil_din_mutex.rs:34
Method
phys_to_virt
(addr: usize)
os/src/drivers/bus/virtio.rs:42
Function
print
(args: fmt::Arguments)
user/src/console.rs:17
Function
print
(args: fmt::Arguments)
os/src/console.rs:16
Function
producer
(id: *const usize)
user/src/bin/mpsc_sem.rs:25
Method
push_on_top
(&self, value: T)
os/src/task/id.rs:95
Method
read
(&self, buf: UserBuffer)
os/src/fs/pipe.rs:115
Method
read
(&self, mut user_buf: UserBuffer)
os/src/fs/stdio.rs:16
Method
read
(&self, mut buf: UserBuffer)
os/src/fs/inode.rs:115
Method
read_at
( &self, offset: usize, buf: &mut [u8], block_device: &Arc<dyn BlockDevice>,
easy-fs/src/layout.rs:294
Method
read_end_with_buffer
(buffer: Arc<UPIntrFreeCell<PipeRingBuffer>>)
os/src/fs/pipe.rs:15
Method
readable
(&self)
os/src/fs/pipe.rs:109
Method
readable
(&self)
os/src/fs/stdio.rs:10
Method
readable
(&self)
os/src/fs/inode.rs:109
Function
remap_test
()
os/src/mm/memory_set.rs:359
Method
root_inode
(efs: &Arc<Mutex<Self>>)
easy-fs/src/efs.rs:103
Function
rust_main
()
os/src/main.rs:55
Function
second
()
user/src/bin/sync_sem.rs:23
Function
second
()
user/src/bin/test_condvar.rs:31
Function
semaphore_create
(res_count: usize)
user/src/sync.rs:15
Method
size
(&self)
user/src/io.rs:41
Method
size
(&self)
user/src/bin/gui_snake.rs:277
Method
size
(&self)
user/src/bin/gui_uart.rs:46
Function
snake_basic
()
user/src/bin/gui_snake.rs:290
Method
supported_number
()
os/src/drivers/plic.rs:13
Function
thread_a
()
user/src/bin/threads.rs:11
Function
thread_b
()
user/src/bin/threads.rs:18
Function
thread_c
()
user/src/bin/threads.rs:25
Method
thread_count
(&self)
os/src/task/process.rs:60
Function
thread_fn
(id: usize)
user/src/bin/eisenberg.rs:107
Function
thread_fn
(id: usize)
user/src/bin/peterson.rs:49
Function
thread_fn
()
user/src/bin/barrier_fail.rs:13
Function
thread_fn
()
user/src/bin/barrier_condvar.rs:52
Function
thread_print
(arg: *const Argument)
user/src/bin/threads_arg.rs:16
Method
token
(&self)
os/src/mm/page_table.rs:135
Method
total_blocks
Return number of blocks needed include indirect1/2.
easy-fs/src/layout.rs:103
Function
trap_from_kernel
(_trap_cx: &TrapContext)
os/src/trap/mod.rs:147
Function
trap_handler
()
os/src/trap/mod.rs:60
Method
unmap
(&mut self, vpn: VirtPageNum)
os/src/mm/page_table.rs:119
Method
update_cursor
(&self)
os/src/drivers/gpu/mod.rs:67
Method
virt_to_phys
(vaddr: usize)
os/src/drivers/bus/virtio.rs:46
Function
wake
(_: *const ())
user/src/bin/stackless_coroutine.rs:104
Function
wake_by_ref
(_: *const ())
user/src/bin/stackless_coroutine.rs:105
Function
worker
(size_kib: usize)
user/src/bin/huge_write_mt.rs:12
Method
writable
(&self)
os/src/fs/pipe.rs:112
Method
writable
(&self)
os/src/fs/stdio.rs:13
Method
writable
(&self)
os/src/fs/inode.rs:112
Method
write
(&self, buf: UserBuffer)
os/src/fs/pipe.rs:146
Method
write
(&self, _user_buf: UserBuffer)
os/src/fs/stdio.rs:25
Method
write
(&self, buf: UserBuffer)
os/src/fs/inode.rs:128
Method
write_at
File size must be adjusted before.
easy-fs/src/layout.rs:334
Method
write_end_with_buffer
(buffer: Arc<UPIntrFreeCell<PipeRingBuffer>>)
os/src/fs/pipe.rs:22
Method
write_str
(&mut self, s: &str)
user/src/console.rs:11
Method
write_str
(&mut self, s: &str)
os/src/console.rs:8
Method
zero_init
()
os/src/task/context.rs:11
← previous
501–600 of 600, ranked by callers