MCPcopy Create free account

hub / github.com/chyyuu/os_kernel_lab / functions

Functions600 in github.com/chyyuu/os_kernel_lab

↓ 3 callersMethodremove_area_with_start_vpn
(&mut self, start_vpn: VirtPageNum)
os/src/mm/memory_set.rs:63
↓ 3 callersFunctionsbi_call
(which: usize, arg0: usize, arg1: usize, arg2: usize)
os/src/sbi.rs:16
↓ 3 callersFunctionset_next_trigger
()
os/src/timer.rs:23
↓ 3 callersFunctionsys_waitpid
(pid: isize, exit_code: *mut i32)
user/src/syscall.rs:110
↓ 3 callersMethodt_yield
(&mut self)
user/src/bin/stackful_coroutine.rs:133
↓ 3 callersFunctiontake_current_task
()
os/src/task/processor.rs:59
↓ 3 callersFunctiontranslated_str
Load a string from other address spaces into kernel space without an end `\0`.
os/src/mm/page_table.rs:163
↓ 3 callersFunctionustack_bottom_from_tid
(ustack_base: usize, tid: usize)
os/src/task/id.rs:122
↓ 3 callersMethodustack_top
(&self)
os/src/task/id.rs:215
↓ 2 callersMethodaddr_of_offset
(&self, offset: usize)
easy-fs/src/block_cache.rs:30
↓ 2 callersMethodalloc
(&self, block_device: &Arc<dyn BlockDevice>)
easy-fs/src/bitmap.rs:28
↓ 2 callersMethodalloc_user_res
(&self)
os/src/task/id.rs:144
↓ 2 callersMethodavailable_read
(&self)
os/src/fs/pipe.rs:78
↓ 2 callersMethodblock
(&self)
user/src/bin/barrier_condvar.rs:29
↓ 2 callersFunctionblock_current_task
This function must be followed by a schedule
os/src/task/mod.rs:48
↓ 2 callersMethodceil
(&self)
os/src/mm/address.rs:103
↓ 2 callersFunctioncheck_timer
()
os/src/timer.rs:62
↓ 2 callersMethodclaim_comp_ptr_of_hart_with_priority
( &self, hart_id: usize, target_priority: IntrTargetPriority, )
os/src/drivers/plic.rs:48
↓ 2 callersFunctioncondvar_wait
(condvar_id: usize, mutex_id: usize)
user/src/sync.rs:30
↓ 2 callersFunctioncurrent_add_signal
(signal: SignalFlags)
os/src/task/mod.rs:154
↓ 2 callersFunctioncurrent_trap_cx
()
os/src/task/processor.rs:76
↓ 2 callersMethoddealloc
(&mut self, id: usize)
os/src/task/id.rs:31
↓ 2 callersMethodenable_ptr
( &self, hart_id: usize, target_priority: IntrTargetPriority, intr_source_id:
os/src/drivers/plic.rs:27
↓ 2 callersMethodexit
Exit qemu with specified exit code.
os/src/boards/qemu.rs:100
↓ 2 callersFunctionexit_code_encode
Encode the exit code using EXIT_FAILURE_FLAG.
os/src/boards/qemu.rs:87
↓ 2 callersFunctionexit_current_and_run_next
(exit_code: i32)
os/src/task/mod.rs:61
↓ 2 callersMethodexit_failure
(&self)
os/src/boards/qemu.rs:127
↓ 2 callersMethodfind_inode_id
(&self, name: &str, disk_inode: &DiskInode)
easy-fs/src/vfs.rs:45
↓ 2 callersFunctionfork_child
(cur: &str, branch: char)
user/src/bin/forktree.rs:11
↓ 2 callersFunctionfork_tree
(cur: &str)
user/src/bin/forktree.rs:26
↓ 2 callersFunctionframe_dealloc
(ppn: PhysPageNum)
os/src/mm/frame_allocator.rs:107
↓ 2 callersFunctionframebuffer
()
user/src/io.rs:12
↓ 2 callersMethodget_block_id
(&self, inner_id: u32, block_device: &Arc<dyn BlockDevice>)
easy-fs/src/layout.rs:123
↓ 2 callersMethodget_end
(&self)
os/src/mm/address.rs:218
↓ 2 callersMethodget_idle_task_cx_ptr
(&mut self)
os/src/task/processor.rs:21
↓ 2 callersMethodget_mut
(&self)
os/src/mm/address.rs:166
↓ 2 callersMethodget_pixel
(&self)
user/src/bin/gui_snake.rs:161
↓ 2 callersMethodget_pte_array
(&self)
os/src/mm/address.rs:171
↓ 2 callersMethodget_task
(&self, tid: usize)
os/src/task/process.rs:64
↓ 2 callersMethodincrease_size
( &self, new_size: u32, disk_inode: &mut DiskInode, fs: &mut MutexGuard<EasyFi
easy-fs/src/vfs.rs:77
↓ 2 callersMethodindexes
(&self)
os/src/mm/address.rs:151
↓ 2 callersFunctioninit
()
os/src/mm/mod.rs:18
↓ 2 callersMethodinit
This is cheating a bit, but we need a pointer to our Runtime stored so we can call yield on it even if we don't have a reference to it.
user/src/bin/stackful_coroutine.rs:100
↓ 2 callersFunctioninsert_into_pid2process
(pid: usize, process: Arc<ProcessControlBlock>)
os/src/task/manager.rs:53
↓ 2 callersFunctionirq_handler
()
os/src/boards/qemu.rs:43
↓ 2 callersMethodis_valid
(&self)
os/src/mm/page_table.rs:41
↓ 2 callersFunctionkernel_token
()
os/src/mm/memory_set.rs:32
↓ 2 callersFunctionkill
(pid: usize, signal: i32)
user/src/task.rs:59
↓ 2 callersMethodmap
(&mut self, vpn: VirtPageNum, ppn: PhysPageNum, flags: PTEFlags)
os/src/mm/page_table.rs:113
↓ 2 callersMethodname
(&self)
easy-fs/src/layout.rs:402
↓ 2 callersMethodopen
(block_device: Arc<dyn BlockDevice>)
easy-fs/src/efs.rs:81
↓ 2 callersFunctionopen_file
(name: &str, flags: OpenFlags)
os/src/fs/inode.rs:85
↓ 2 callersMethodpaint
(&mut self)
user/src/bin/gui_uart.rs:88
↓ 2 callersMethodpaint
(&mut self)
user/src/bin/gui_rect.rs:29
↓ 2 callersFunctionpid_alloc
()
os/src/task/id.rs:53
↓ 2 callersMethodpriority_ptr
(&self, intr_source_id: usize)
os/src/drivers/plic.rs:19
↓ 2 callersMethodread_end
(&mut self)
os/src/drivers/chardev/ns16550a.rs:78
↓ 2 callersMethodread_event
(&self)
os/src/drivers/input/mod.rs:53
↓ 2 callersMethodreplace
(&mut self, iter_source: &Snake<T, MAX_SIZE>)
user/src/bin/gui_snake.rs:140
↓ 2 callersFunctionrun_tests
(tests: &[(&str, &str, &str, &str, i32)])
user/src/bin/usertests.rs:61
↓ 2 callersFunctionset_kernel_trap_entry
()
os/src/trap/mod.rs:23
↓ 2 callersMethodset_threshold
( &mut self, hart_id: usize, target_priority: IntrTargetPriority, threshold: u
os/src/drivers/plic.rs:92
↓ 2 callersMethodsync
(&mut self)
easy-fs/src/block_cache.rs:63
↓ 2 callersFunctionsys_mutex_create
(blocking: bool)
user/src/syscall.rs:126
↓ 2 callersMethodthreshold_ptr_of_hart_with_priority
( &self, hart_id: usize, target_priority: IntrTargetPriority, )
os/src/drivers/plic.rs:40
↓ 2 callersFunctiontranslated_byte_buffer
(token: usize, ptr: *const u8, len: usize)
os/src/mm/page_table.rs:140
↓ 2 callersMethodtrap_cx_ppn
(&self)
os/src/task/id.rs:201
↓ 2 callersMethodunlock
(&self)
os/src/sync/mutex.rs:39
↓ 2 callersMethodunmap
(&mut self, page_table: &mut PageTable)
os/src/mm/memory_set.rs:312
↓ 2 callersMethodwaiter
(&'a mut self)
user/src/bin/stackless_coroutine.rs:29
↓ 2 callersFunctionwaitpid
(pid: usize, exit_code: &mut i32)
user/src/task.rs:33
↓ 1 callersMethodactivate
(&self)
os/src/mm/memory_set.rs:234
↓ 1 callersFunctionadd_initproc
()
os/src/task/mod.rs:144
↓ 1 callersFunctionadd_timer
(expire_ms: usize, task: Arc<TaskControlBlock>)
os/src/timer.rs:57
↓ 1 callersMethodall_write_ends_closed
(&self)
os/src/fs/pipe.rs:94
↓ 1 callersMethodalloc
(&mut self)
os/src/mm/frame_allocator.rs:62
↓ 1 callersMethodalloc_data
Return a block ID not ID in the data area.
easy-fs/src/efs.rs:130
↓ 1 callersMethodalloc_inode
(&mut self)
easy-fs/src/efs.rs:125
↓ 1 callersMethodalloc_tid
(&mut self)
os/src/task/id.rs:182
↓ 1 callersMethodavailable_write
(&self)
os/src/fs/pipe.rs:87
↓ 1 callersFunctionbacktrace
()
os/src/lang_items.rs:24
↓ 1 callersMethodblocks_num_needed
(&self, new_size: u32)
easy-fs/src/layout.rs:119
↓ 1 callersMethodcheck_error
(&self)
os/src/task/signal.rs:14
↓ 1 callersFunctioncheck_signals_of_current
()
os/src/task/mod.rs:148
↓ 1 callersMethodclaim
(&mut self, hart_id: usize, target_priority: IntrTargetPriority)
os/src/drivers/plic.rs:109
↓ 1 callersFunctionclear_bss
()
os/src/main.rs:35
↓ 1 callersMethodclear_size
Clear size to zero and return blocks that should be deallocated. We will clear the block contents to zero later.
easy-fs/src/layout.rs:223
↓ 1 callersMethodcmp
(&self, other: &Self)
os/src/timer.rs:47
↓ 1 callersMethodcomplete
( &mut self, hart_id: usize, target_priority: IntrTargetPriority, completion:
os/src/drivers/plic.rs:113
↓ 1 callersFunctioncondvar_create
()
user/src/sync.rs:24
↓ 1 callersMethodcopy_data
data: start-aligned but maybe with shorter length assume that all frames were cleared before
os/src/mm/memory_set.rs:319
↓ 1 callersFunctioncreate_waker
()
user/src/bin/stackless_coroutine.rs:92
↓ 1 callersFunctioncritical_section
(t: &mut usize)
user/src/bin/adder_mutex_blocking.rs:17
↓ 1 callersFunctioncritical_section
(t: &mut usize)
user/src/bin/adder_simple_yield.rs:18
↓ 1 callersFunctioncritical_section
(t: &mut usize)
user/src/bin/adder_peterson_spin.rs:22
↓ 1 callersFunctioncritical_section
(t: &mut usize)
user/src/bin/adder.rs:16
↓ 1 callersFunctioncritical_section
(t: &mut usize)
user/src/bin/adder_atomic.rs:18
↓ 1 callersFunctioncritical_section
(t: &mut usize)
user/src/bin/adder_peterson_yield.rs:22
↓ 1 callersFunctioncritical_section
(t: &mut usize)
user/src/bin/adder_mutex_spin.rs:17
↓ 1 callersFunctioncritical_section
(t: &mut usize)
user/src/bin/adder_simple_spin.rs:18
← previousnext →101–200 of 600, ranked by callers