MCPcopy Create free account

hub / github.com/asterinas/vostd / functions

Functions7,307 in github.com/asterinas/vostd

Methodcontains_uncompleted
Whether the uncompleted range contains the target key.
kernel/comps/mlsdisk/src/layers/4-lsm/range_query_ctx.rs:48
Methodcontext
Returns an immutable reference the user-mode CPU context.
ostd/src/user.rs:97
Methodcontrol_character
(c: char)
kernel/src/device/tty/termio.rs:201
Functioncontrolled
( attr: proc_macro::TokenStream, item: proc_macro::TokenStream, )
kernel/libs/comp-sys/controlled/src/lib.rs:26
Functionconversion
()
kernel/libs/int-to-c-enum/tests/regression.rs:14
Methodcopy_to
Copy the initramfs to the `base` directory and convert the path to a relative path.
osdk/src/bundle/file.rs:68
Methodcopy_to
Copy the binary to the `base` directory and convert the path to a relative path.
osdk/src/bundle/vm_image.rs:73
Functioncopy_up
()
kernel/src/fs/overlayfs/fs.rs:1395
Methodcopy_up_data
(lower: &Arc<dyn Inode>, upper: &Arc<dyn Inode>)
kernel/src/fs/overlayfs/fs.rs:822
Methodcopy_up_metadata
(lower: &Arc<dyn Inode>, upper: &Arc<dyn Inode>)
kernel/src/fs/overlayfs/fs.rs:810
Methodcopy_up_xattr
(lower: &Arc<dyn Inode>, upper: &Arc<dyn Inode>)
kernel/src/fs/overlayfs/fs.rs:842
Methodcopy_user_regs_from
(&mut self, src: &UserContext)
kernel/src/arch/loongarch/cpu.rs:135
Methodcopy_user_regs_from
(&mut self, src: &UserContext)
kernel/src/arch/riscv/cpu.rs:132
Methodcopy_user_regs_to
(&self, dst: &mut UserContext)
kernel/src/arch/loongarch/cpu.rs:129
Methodcopy_user_regs_to
(&self, dst: &mut UserContext)
kernel/src/arch/riscv/cpu.rs:126
Methodcount
(&self)
kernel/src/process/signal/sig_mask.rs:146
Methodcount_children
Counts the number of children.
kernel/comps/systree/src/node.rs:103
Functioncount_processors
()
ostd/src/arch/loongarch/boot/smp.rs:5
Functioncount_processors
()
ostd/src/arch/riscv/boot/smp.rs:5
Methodcount_zeros
Get the number of zero bits in the bitmap.
kernel/comps/mlsdisk/src/util/bitmap.rs:116
Methodcpu_affinity_mut
(&mut self)
kernel/src/thread/work_queue/work_item.rs:37
Methodcpu_exception
Gets corresponding CPU exception.
ostd/src/arch/loongarch/cpu/context.rs:81
Methodcreate
(key: FutexKey)
kernel/src/process/posix_thread/futex.rs:451
Methodcreate
( &self, _args: Option<CString>, _disk: Option<Arc<dyn BlockDevice>>, _ctx: &C
kernel/src/fs/cgroupfs/fs.rs:81
Methodcreate
( &self, _args: Option<CString>, _disk: Option<Arc<dyn aster_block::BlockDevice>>,
kernel/src/fs/devpts/mod.rs:115
Methodcreate
( &self, name: &str, _type_: InodeType, mode: InodeMode, )
kernel/src/fs/utils/systree_inode.rs:393
Methodcreate
( &self, _args: Option<CString>, _disk: Option<Arc<dyn aster_block::BlockDevice>>,
kernel/src/fs/sysfs/fs.rs:71
Methodcreate
(&self, _name: &str, _type_: InodeType, _mode: InodeMode)
kernel/src/fs/sysfs/inode.rs:86
Methodcreate
( &self, _args: Option<CString>, disk: Option<Arc<dyn BlockDevice>>, _ctx: &Co
kernel/src/fs/ext2/fs.rs:449
Methodcreate
(&self, name: &str, type_: InodeType, mode: InodeMode)
kernel/src/fs/exfat/inode.rs:1419
Methodcreate
( &self, _args: Option<CString>, _disk: Option<Arc<dyn aster_block::BlockDevice>>,
kernel/src/fs/procfs/mod.rs:96
Methodcreate
(&self, _name: &str, _type_: InodeType, _mode: InodeMode)
kernel/src/fs/procfs/template/dir.rs:96
Methodcreate
(&self, name: &str, type_: InodeType, mode: InodeMode)
kernel/src/fs/ramfs/fs.rs:751
Methodcreate
Create a new snapshot.
kernel/comps/mlsdisk/src/layers/2-edit/journal.rs:324
Methodcreate
Creates a new `MlsDisk` on the given disk, with the root encryption key.
kernel/comps/mlsdisk/src/layers/5-disk/mlsdisk.rs:215
Methodcreate
Creates a new `CryptoBlob`. The encryption key of a `CryptoBlob` is generated randomly so that no two `CryptoBlob` instances shall ever use the same
kernel/comps/mlsdisk/src/layers/1-crypto/crypto_blob.rs:85
Methodcreate
(num_blocks: usize)
kernel/comps/mlsdisk/src/layers/0-bio/block_log.rs:93
Methodcreate
Create a `MemDisk` with the number of blocks.
kernel/comps/mlsdisk/src/layers/0-bio/block_set.rs:137
Functioncreate_a_kernel_project
()
osdk/tests/examples_in_book/create_os_projects.rs:8
Functioncreate_a_library_project
()
osdk/tests/examples_in_book/create_os_projects.rs:32
Functioncreate_and_list_file
()
kernel/src/fs/exfat/mod.rs:232
Functioncreate_and_run_kernel
()
osdk/tests/examples_in_book/test_and_run_projects.rs:8
Functioncreate_and_test_library
()
osdk/tests/examples_in_book/test_and_run_projects.rs:40
Methodcreate_child
(&self, _name: &str)
kernel/comps/systree/src/utils.rs:508
Functioncreate_kernel_in_workspace
()
osdk/tests/commands/new.rs:14
Functioncreate_lib_in_workspace
()
osdk/tests/commands/new.rs:41
Methodcreate_prof_timer
Creates a timer based on the profiling CPU clock of the current process.
kernel/src/process/process/timer_manager.rs:145
Methodcreate_timer
Create an [`Timer`], which will be managed by this `TimerManager`.
kernel/src/time/core/timer.rs:216
Functioncreate_two_crates_in_workspace
()
osdk/tests/commands/new.rs:55
Functioncreate_user_page_table
()
ostd/src/mm/page_table/test.rs:118
Methodcreate_virtual_timer
Creates a timer based on the user CPU clock of the current process.
kernel/src/process/process/timer_manager.rs:153
Functioncrypto_log_fns
()
kernel/comps/mlsdisk/src/layers/1-crypto/crypto_log.rs:1113
Methodctime
(&self)
kernel/src/fs/devpts/mod.rs:245
Methodctime
(&self)
kernel/src/fs/devpts/slave.rs:111
Methodctime
(&self)
kernel/src/fs/devpts/ptmx.rs:131
Methodctime
(&self)
kernel/src/fs/utils/systree_inode.rs:325
Methodctime
(&self)
kernel/src/fs/ext2/impl_for_vfs/inode.rs:51
Methodctime
(&self)
kernel/src/fs/exfat/inode.rs:1194
Methodctime
(&self)
kernel/src/fs/procfs/template/mod.rs:74
Methodctime
(&self)
kernel/src/fs/ramfs/fs.rs:656
Methodcurrent
(&self)
kernel/src/sched/sched_class/mod.rs:343
Methodcurrent
Returns the current process. It returns `None` if: - the function is called in the bootstrap context; - or if the current task is not associated with
kernel/src/process/process/mod.rs:183
Methodcurrent
(&self)
ostd/src/task/scheduler/fifo_scheduler.rs:96
Functioncurrent_page_table_paddr
()
ostd/src/arch/loongarch/mm/mod.rs:121
Functioncurrent_page_table_paddr
()
ostd/src/arch/x86/mm/mod.rs:290
Functioncurrent_page_table_paddr
()
ostd/src/arch/riscv/mm/mod.rs:105
Methodcurrent_racy
Returns the ID of the current CPU. This function is safe to call, but is vulnerable to races. The returned CPU ID may be outdated if the task migrate
ostd/src/cpu/mod.rs:36
Methodcurrent_ref
A reference to the current value of this clock.
kernel/src/time/clocks/system_wide.rs:77
Functioncurrent_task
Returns a pointer to the current task running on the processor. It returns `None` if the function is called in the bootstrap context.
ostd/src/task/processor.rs:22
Functioncursor_iterator
()
ostd/src/mm/test.rs:790
Functioncursor_load
()
kernel/libs/xarray/src/test.rs:94
Functioncursor_load_very_sparse
()
kernel/libs/xarray/src/test.rs:112
Functioncursor_mut_flusher
()
ostd/src/mm/test.rs:673
Functioncursor_store_continuous
()
kernel/libs/xarray/src/test.rs:127
Functioncursor_store_sparse
()
kernel/libs/xarray/src/test.rs:145
Methodcwd
Gets the current working directory.
kernel/src/fs/fs_resolver.rs:41
Functiondaddr
()
ostd/src/mm/dma/test.rs:99
Methoddaddr
(&self)
kernel/libs/aster-util/src/safe_ptr.rs:357
Methoddata
(&self)
kernel/src/fs/procfs/meminfo.rs:29
Methoddata
(&self)
kernel/src/fs/procfs/loadavg.rs:30
Methoddata
(&self)
kernel/src/fs/procfs/filesystems.rs:24
Methoddata
Retrieve the data for `/proc/cpuinfo`.
kernel/src/fs/procfs/cpuinfo.rs:45
Methoddata
(&self)
kernel/src/fs/procfs/pid/comm.rs:25
Methoddata
(&self)
kernel/src/fs/procfs/pid/cmdline.rs:25
Methoddata
(&self)
kernel/src/fs/procfs/pid/status.rs:85
Methoddata
(&self)
kernel/src/fs/procfs/sys/kernel/pid_max.rs:24
Methoddata
(&self)
kernel/src/fs/procfs/sys/kernel/cap_last_cap.rs:24
Methoddata_mut
(&mut self)
kernel/comps/mlsdisk/src/tx/mod.rs:218
Functiondealloc
( guard: &DisabledLocalIrqGuard, segments: impl Iterator<Item = (Paddr, usize)>, )
osdk/deps/frame-allocator/src/pools/mod.rs:97
Methoddealloc
Deallocates a slot into the cache. The slot must be allocated from the cache.
osdk/deps/heap-allocator/src/slab_cache.rs:87
Methoddealloc
(&mut self, slot: HeapSlot, class: CommonSizeClass)
osdk/deps/heap-allocator/src/allocator.rs:142
Methoddealloc
(&self, addr: Paddr, size: usize)
osdk/deps/frame-allocator/src/lib.rs:75
Methoddealloc
Deallocates a slot to the slab. If the slot does not belong to the slab it returns [`AllocError`].
ostd/src/mm/heap/slab.rs:121
Methoddealloc
(&self, ptr: *mut u8, layout: Layout)
ostd/src/mm/heap/mod.rs:125
Functiondebug_format
()
kernel/libs/keyable-arc/src/lib.rs:360
Methoddec_free_blocks
Decrease the number of free blocks.
kernel/src/fs/ext2/super_block.rs:258
Methoddec_free_inodes
Decrease the number of free inodes.
kernel/src/fs/ext2/super_block.rs:273
Functiondec_guard_count
()
ostd/src/task/preempt/cpu_local.rs:48
Methoddecommit
Decommits the pages specified in the range (in bytes). The range must be within the size of the VMO. The start and end addresses will be rounded dow
kernel/src/vm/vmo/dyn_cap.rs:70
Methoddecommit
(&self, range: Range<usize>)
kernel/src/vm/vmo/static_cap.rs:73
← previousnext →4,101–4,200 of 7,307, ranked by callers