MCPcopy Create free account

hub / github.com/YatSenOS/YatSenOS-Tutorial-Volume-2 / functions

Functions400 in github.com/YatSenOS/YatSenOS-Tutorial-Volume-2

↓ 1 callersMethodhumanized_size
(&self)
src/0x06/crates/kernel/src/drivers/ata/mod.rs:63
↓ 1 callersMethodicr
(&self)
src/0x02/crates/kernel/src/interrupt/apic/xapic.rs:77
↓ 1 callersMethodid
(&self)
src/0x02/crates/kernel/src/interrupt/apic/xapic.rs:68
↓ 1 callersMethodidentify_drive
Identifies the drive at the given `drive` number (0 or 1). reference: https://wiki.osdev.org/ATA_PIO_Mode#IDENTIFY_command
src/0x06/crates/kernel/src/drivers/ata/bus.rs:170
↓ 1 callersFunctioninc_counter
Increment the counter this function simulate a critical section by delay DO NOT MODIFY THIS FUNCTION
src/0x05/crates/app/counter/src/main.rs:49
↓ 1 callersFunctioninfo
(step: str, content: str)
src/0x00/ysos.py:32
↓ 1 callersFunctioninit
init process manager
src/0x03/crates/kernel/src/proc/mod.rs:31
↓ 1 callersFunctioninit
NOTE: export mod user / call in the kernel init / after frame allocator
src/0x04/crates/kernel/src/memory/user.rs:18
↓ 1 callersMethodinit
Create a FrameAllocator from the passed memory map. This function is unsafe because the caller must guarantee that the passed memory map is valid. Th
src/0x02/crates/kernel/src/memory/frames.rs:31
↓ 1 callersMethodinit
Initializes the serial port.
src/0x01/crates/kernel/src/drivers/uart16550.rs:12
↓ 1 callersMethodinit_kernel_vm
(mut self)
src/0x03/crates/kernel/src/proc/vm/mod.rs:34
↓ 1 callersMethodinit_proc_stack
(&mut self, pid: ProcessId)
src/0x03/crates/kernel/src/proc/vm/mod.rs:40
↓ 1 callersFunctioninit_user_heap
()
src/0x04/crates/kernel/src/memory/user.rs:23
↓ 1 callersMethodis_on_stack
(&self, addr: VirtAddr)
src/0x03/crates/kernel/src/proc/vm/stack.rs:90
↓ 1 callersFunctionjump_to_entry
(bootinfo: *const BootInfo, stacktop: u64)
src/0x01/crates/boot/src/lib.rs:62
↓ 1 callersMethodkill
(&self, pid: ProcessId, ret: isize)
src/0x03/crates/kernel/src/proc/manager.rs:122
↓ 1 callersMethodkill_current
(&self, ret: isize)
src/0x03/crates/kernel/src/proc/manager.rs:112
↓ 1 callersFunctionload_elf
Load & Map ELF file load segments in ELF file to new frames and set page table
src/0x01/crates/elf/src/lib.rs:86
↓ 1 callersMethodload_elf_code
(&mut self, elf: &ElfFile, mapper: MapperRef, alloc: FrameAllocatorRef)
src/0x07/crates/kernel/src/proc/vm/mod.rs:97
↓ 1 callersFunctionload_segment
Load & Map ELF segment load segment to new frame and set page table
src/0x01/crates/elf/src/lib.rs:108
↓ 1 callersFunctionmain
()
src/0x00/ysos.py:129
↓ 1 callersFunctionmain
()
src/0x01/ysos.py:275
↓ 1 callersFunctionmap_range
Map a range of memory allocate frames and map to specified address (R/W)
src/0x01/crates/elf/src/lib.rs:42
↓ 1 callersMethodmaxintr
(&mut self)
src/0x02/crates/kernel/src/interrupt/apic/ioapic.rs:89
↓ 1 callersMethodmemory_usage
(&self)
src/0x03/crates/kernel/src/proc/vm/mod.rs:53
↓ 1 callersMethodmemory_usage
(&self)
src/0x07/crates/kernel/src/proc/vm/mod.rs:130
↓ 1 callersMethodmemory_usage
(&self)
src/0x07/crates/kernel/src/proc/vm/heap.rs:86
↓ 1 callersFunctionnew_stack_test_thread
()
src/0x03/crates/kernel/src/utils/mod.rs:40
↓ 1 callersFunctionnew_test_thread
(id: &str)
src/0x03/crates/kernel/src/utils/mod.rs:29
↓ 1 callersFunctionopen_root
Open root directory
src/0x01/crates/boot/src/fs.rs:10
↓ 1 callersMethodparent
(&self)
src/0x03/crates/kernel/src/proc/process.rs:152
↓ 1 callersMethodpartitions
(&self)
src/0x06/crates/storage/src/partition/mbr/mod.rs:60
↓ 1 callersMethodpid
(&self)
src/0x03/crates/kernel/src/proc/process.rs:28
↓ 1 callersFunctionprint_process_list
()
src/0x03/crates/kernel/src/proc/mod.rs:59
↓ 1 callersMethodprint_process_list
(&self)
src/0x03/crates/kernel/src/proc/manager.rs:142
↓ 1 callersFunctionprint_processors
()
src/0x03/crates/kernel/src/proc/processor.rs:25
↓ 1 callersMethodprocess
(&mut self, key: &str, value: &'a str)
src/0x01/crates/boot/src/config.rs:51
↓ 1 callersFunctionprocess_exit
(ret: isize)
src/0x03/crates/kernel/src/proc/mod.rs:71
↓ 1 callersMethodread_data
(&mut self)
src/0x06/crates/kernel/src/drivers/ata/bus.rs:63
↓ 1 callersMethodread_dir
(&self, path: &str)
src/0x06/crates/storage/src/common/mount.rs:26
↓ 1 callersFunctionread_frame_pointer
()
src/0x01/crates/kernel/src/utils/macros.rs:166
↓ 1 callersMethodsend
Sends a byte on the serial port.
src/0x01/crates/kernel/src/drivers/uart16550.rs:17
↓ 1 callersFunctionset_entry
(entry: usize)
src/0x01/crates/boot/src/lib.rs:78
↓ 1 callersMethodset_env
(&mut self, key: &str, val: &str)
src/0x03/crates/kernel/src/proc/data.rs:30
↓ 1 callersMethodset_pid
(&self, pid: ProcessId)
src/0x03/crates/kernel/src/proc/processor.rs:64
↓ 1 callersMethodset_rax
(&mut self, value: usize)
src/0x03/crates/kernel/src/proc/context.rs:31
↓ 1 callersFunctionspawn_init
()
src/0x04/crates/kernel/src/main.rs:17
↓ 1 callersMethodspawn_kernel_thread
( &self, entry: VirtAddr, name: String, proc_data: Option<ProcessData>, )
src/0x03/crates/kernel/src/proc/manager.rs:89
↓ 1 callersFunctionsys_allocate
(args: &SyscallArgs)
src/0x04/crates/kernel/src/interrupt/syscall/service.rs:40
↓ 1 callersFunctionsys_deallocate
(args: &SyscallArgs)
src/0x04/crates/kernel/src/interrupt/syscall/service.rs:57
↓ 1 callersFunctionsys_get_pid
()
src/0x04/crates/lib/src/syscall.rs:67
↓ 1 callersFunctionsys_stat
()
src/0x04/crates/lib/src/syscall.rs:47
↓ 1 callersFunctionsys_wait_pid
(pid: u16)
src/0x04/crates/lib/src/syscall.rs:34
↓ 1 callersMethodversion
(&self)
src/0x02/crates/kernel/src/interrupt/apic/xapic.rs:73
↓ 1 callersMethodwrite_str
(&mut self, s: &str)
src/0x01/crates/kernel/src/drivers/uart16550.rs:29
Function_err
(args: Arguments)
src/0x04/crates/lib/src/lib.rs:52
Function_err
(args: Arguments)
src/0x07/crates/lib/src/lib.rs:60
Function_print
(args: Arguments)
src/0x04/crates/lib/src/lib.rs:47
Function_print
(args: Arguments)
src/0x07/crates/lib/src/lib.rs:55
Functionack
()
src/0x02/crates/kernel/src/interrupt/mod.rs:42
Methodacquire
(&self)
src/0x05/crates/lib/src/sync.rs:19
Methodadd_assign
(&mut self, rhs: u32)
src/0x06/crates/storage/src/fs/fat16/direntry.rs:186
Methodadd_proc
(&self, pid: ProcessId, proc: Arc<Process>)
src/0x03/crates/kernel/src/proc/manager.rs:55
Methodalloc
(&self, layout: core::alloc::Layout)
src/0x04/crates/lib/src/allocator.rs:4
Methodalloc
(&self, layout: core::alloc::Layout)
src/0x07/crates/lib/src/allocator/kernel.rs:4
Functionalloc_error_handler
(layout: alloc::alloc::Layout)
src/0x04/crates/lib/src/allocator.rs:17
Functionalloc_error_handler
(layout: alloc::alloc::Layout)
src/0x02/crates/kernel/src/memory/allocator.rs:39
Functionalloc_error_handler
(layout: alloc::alloc::Layout)
src/0x07/crates/lib/src/allocator/brk.rs:23
Functionalloc_error_handler
(layout: alloc::alloc::Layout)
src/0x07/crates/lib/src/allocator/kernel.rs:17
Methodallocate_frame
(&mut self)
src/0x02/crates/kernel/src/memory/frames.rs:49
Methodappend_file
Opens the file at this path for appending
src/0x06/crates/storage/src/common/filesystem.rs:30
Methodas_meta
(&self)
src/0x06/crates/storage/src/fs/fat16/direntry.rs:76
Methodas_mut
(&mut self)
src/0x06/crates/storage/src/common/block.rs:50
Methodbasename
(&self)
src/0x06/crates/storage/src/fs/fat16/direntry.rs:105
Methodblock_count
(&self)
src/0x06/crates/storage/src/partition/mod.rs:67
Methodbrk
(&self, addr: Option<VirtAddr>)
src/0x07/crates/kernel/src/proc/vm/mod.rs:80
Methodbrk
( &self, new_end: Option<VirtAddr>, mapper: MapperRef, alloc: FrameAllocatorRe
src/0x07/crates/kernel/src/proc/vm/heap.rs:49
Methodclean_up
(&mut self)
src/0x07/crates/kernel/src/proc/vm/mod.rs:134
Methodclean_up
( &self, mapper: MapperRef, dealloc: FrameAllocatorRef, )
src/0x07/crates/kernel/src/proc/vm/heap.rs:70
Methodclone_level_4
Create a new page table object based on current page table.
src/0x03/crates/kernel/src/proc/paging.rs:36
Methodclose
(&mut self, fd: u8)
src/0x04/crates/kernel/src/utils/resource.rs:38
Methodcluster_to_sector
(&self, cluster: &Cluster)
src/0x06/crates/storage/src/fs/fat16/impls.rs:29
Methodcopy_file
Copies the src path to the destination path within the same filesystem
src/0x06/crates/storage/src/common/filesystem.rs:45
Methodcpu_init
Initialize the xAPIC for the current CPU.
src/0x02/crates/kernel/src/interrupt/apic/xapic.rs:42
Methodcreate_file
Creates a file at this path for writing
src/0x06/crates/storage/src/common/filesystem.rs:25
Methodcurrent
(&self)
src/0x03/crates/kernel/src/proc/manager.rs:64
Methoddealloc
(&self, ptr: *mut u8, layout: core::alloc::Layout)
src/0x04/crates/lib/src/allocator.rs:7
Methoddealloc
(&self, ptr: *mut u8, layout: core::alloc::Layout)
src/0x07/crates/lib/src/allocator/kernel.rs:7
Methoddefault
()
src/0x06/crates/storage/src/common/block.rs:56
Methoddefault
()
src/0x03/crates/kernel/src/proc/pid.rs:13
Methoddefault
()
src/0x03/crates/kernel/src/proc/data.rs:14
Methoddefault
()
src/0x03/crates/kernel/src/proc/context.rs:60
Methoddefault
()
src/0x04/crates/kernel/src/utils/resource.rs:18
Methoddefault
()
src/0x05/crates/kernel/src/proc/sync.rs:70
Methodderef
(&self)
src/0x06/crates/storage/src/common/filehandle.rs:22
Methodderef
For `&block[x..y] -> &[u8]`
src/0x06/crates/storage/src/common/block.rs:38
Methodderef
(&self)
src/0x03/crates/kernel/src/proc/process.rs:168
Methodderef
(&self)
src/0x03/crates/kernel/src/proc/context.rs:78
Methodderef_mut
(&mut self)
src/0x06/crates/storage/src/common/filehandle.rs:28
Methodderef_mut
(&mut self)
src/0x03/crates/kernel/src/proc/process.rs:184
← previousnext →101–200 of 400, ranked by callers