Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/asterinas/vostd
/ functions
Functions
7,307 in github.com/asterinas/vostd
⨍
Functions
7,307
◇
Types & classes
1,661
Method
contains_uncompleted
Whether the uncompleted range contains the target key.
kernel/comps/mlsdisk/src/layers/4-lsm/range_query_ctx.rs:48
Method
context
Returns an immutable reference the user-mode CPU context.
ostd/src/user.rs:97
Method
control_character
(c: char)
kernel/src/device/tty/termio.rs:201
Function
controlled
( attr: proc_macro::TokenStream, item: proc_macro::TokenStream, )
kernel/libs/comp-sys/controlled/src/lib.rs:26
Function
conversion
()
kernel/libs/int-to-c-enum/tests/regression.rs:14
Method
copy_to
Copy the initramfs to the `base` directory and convert the path to a relative path.
osdk/src/bundle/file.rs:68
Method
copy_to
Copy the binary to the `base` directory and convert the path to a relative path.
osdk/src/bundle/vm_image.rs:73
Function
copy_up
()
kernel/src/fs/overlayfs/fs.rs:1395
Method
copy_up_data
(lower: &Arc<dyn Inode>, upper: &Arc<dyn Inode>)
kernel/src/fs/overlayfs/fs.rs:822
Method
copy_up_metadata
(lower: &Arc<dyn Inode>, upper: &Arc<dyn Inode>)
kernel/src/fs/overlayfs/fs.rs:810
Method
copy_up_xattr
(lower: &Arc<dyn Inode>, upper: &Arc<dyn Inode>)
kernel/src/fs/overlayfs/fs.rs:842
Method
copy_user_regs_from
(&mut self, src: &UserContext)
kernel/src/arch/loongarch/cpu.rs:135
Method
copy_user_regs_from
(&mut self, src: &UserContext)
kernel/src/arch/riscv/cpu.rs:132
Method
copy_user_regs_to
(&self, dst: &mut UserContext)
kernel/src/arch/loongarch/cpu.rs:129
Method
copy_user_regs_to
(&self, dst: &mut UserContext)
kernel/src/arch/riscv/cpu.rs:126
Method
count
(&self)
kernel/src/process/signal/sig_mask.rs:146
Method
count_children
Counts the number of children.
kernel/comps/systree/src/node.rs:103
Function
count_processors
()
ostd/src/arch/loongarch/boot/smp.rs:5
Function
count_processors
()
ostd/src/arch/riscv/boot/smp.rs:5
Method
count_zeros
Get the number of zero bits in the bitmap.
kernel/comps/mlsdisk/src/util/bitmap.rs:116
Method
cpu_affinity_mut
(&mut self)
kernel/src/thread/work_queue/work_item.rs:37
Method
cpu_exception
Gets corresponding CPU exception.
ostd/src/arch/loongarch/cpu/context.rs:81
Method
create
(key: FutexKey)
kernel/src/process/posix_thread/futex.rs:451
Method
create
( &self, _args: Option<CString>, _disk: Option<Arc<dyn BlockDevice>>, _ctx: &C
kernel/src/fs/cgroupfs/fs.rs:81
Method
create
( &self, _args: Option<CString>, _disk: Option<Arc<dyn aster_block::BlockDevice>>,
kernel/src/fs/devpts/mod.rs:115
Method
create
( &self, name: &str, _type_: InodeType, mode: InodeMode, )
kernel/src/fs/utils/systree_inode.rs:393
Method
create
( &self, _args: Option<CString>, _disk: Option<Arc<dyn aster_block::BlockDevice>>,
kernel/src/fs/sysfs/fs.rs:71
Method
create
(&self, _name: &str, _type_: InodeType, _mode: InodeMode)
kernel/src/fs/sysfs/inode.rs:86
Method
create
( &self, _args: Option<CString>, disk: Option<Arc<dyn BlockDevice>>, _ctx: &Co
kernel/src/fs/ext2/fs.rs:449
Method
create
(&self, name: &str, type_: InodeType, mode: InodeMode)
kernel/src/fs/exfat/inode.rs:1419
Method
create
( &self, _args: Option<CString>, _disk: Option<Arc<dyn aster_block::BlockDevice>>,
kernel/src/fs/procfs/mod.rs:96
Method
create
(&self, _name: &str, _type_: InodeType, _mode: InodeMode)
kernel/src/fs/procfs/template/dir.rs:96
Method
create
(&self, name: &str, type_: InodeType, mode: InodeMode)
kernel/src/fs/ramfs/fs.rs:751
Method
create
Create a new snapshot.
kernel/comps/mlsdisk/src/layers/2-edit/journal.rs:324
Method
create
Creates a new `MlsDisk` on the given disk, with the root encryption key.
kernel/comps/mlsdisk/src/layers/5-disk/mlsdisk.rs:215
Method
create
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
Method
create
(num_blocks: usize)
kernel/comps/mlsdisk/src/layers/0-bio/block_log.rs:93
Method
create
Create a `MemDisk` with the number of blocks.
kernel/comps/mlsdisk/src/layers/0-bio/block_set.rs:137
Function
create_a_kernel_project
()
osdk/tests/examples_in_book/create_os_projects.rs:8
Function
create_a_library_project
()
osdk/tests/examples_in_book/create_os_projects.rs:32
Function
create_and_list_file
()
kernel/src/fs/exfat/mod.rs:232
Function
create_and_run_kernel
()
osdk/tests/examples_in_book/test_and_run_projects.rs:8
Function
create_and_test_library
()
osdk/tests/examples_in_book/test_and_run_projects.rs:40
Method
create_child
(&self, _name: &str)
kernel/comps/systree/src/utils.rs:508
Function
create_kernel_in_workspace
()
osdk/tests/commands/new.rs:14
Function
create_lib_in_workspace
()
osdk/tests/commands/new.rs:41
Method
create_prof_timer
Creates a timer based on the profiling CPU clock of the current process.
kernel/src/process/process/timer_manager.rs:145
Method
create_timer
Create an [`Timer`], which will be managed by this `TimerManager`.
kernel/src/time/core/timer.rs:216
Function
create_two_crates_in_workspace
()
osdk/tests/commands/new.rs:55
Function
create_user_page_table
()
ostd/src/mm/page_table/test.rs:118
Method
create_virtual_timer
Creates a timer based on the user CPU clock of the current process.
kernel/src/process/process/timer_manager.rs:153
Function
crypto_log_fns
()
kernel/comps/mlsdisk/src/layers/1-crypto/crypto_log.rs:1113
Method
ctime
(&self)
kernel/src/fs/devpts/mod.rs:245
Method
ctime
(&self)
kernel/src/fs/devpts/slave.rs:111
Method
ctime
(&self)
kernel/src/fs/devpts/ptmx.rs:131
Method
ctime
(&self)
kernel/src/fs/utils/systree_inode.rs:325
Method
ctime
(&self)
kernel/src/fs/ext2/impl_for_vfs/inode.rs:51
Method
ctime
(&self)
kernel/src/fs/exfat/inode.rs:1194
Method
ctime
(&self)
kernel/src/fs/procfs/template/mod.rs:74
Method
ctime
(&self)
kernel/src/fs/ramfs/fs.rs:656
Method
current
(&self)
kernel/src/sched/sched_class/mod.rs:343
Method
current
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
Method
current
(&self)
ostd/src/task/scheduler/fifo_scheduler.rs:96
Function
current_page_table_paddr
()
ostd/src/arch/loongarch/mm/mod.rs:121
Function
current_page_table_paddr
()
ostd/src/arch/x86/mm/mod.rs:290
Function
current_page_table_paddr
()
ostd/src/arch/riscv/mm/mod.rs:105
Method
current_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
Method
current_ref
A reference to the current value of this clock.
kernel/src/time/clocks/system_wide.rs:77
Function
current_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
Function
cursor_iterator
()
ostd/src/mm/test.rs:790
Function
cursor_load
()
kernel/libs/xarray/src/test.rs:94
Function
cursor_load_very_sparse
()
kernel/libs/xarray/src/test.rs:112
Function
cursor_mut_flusher
()
ostd/src/mm/test.rs:673
Function
cursor_store_continuous
()
kernel/libs/xarray/src/test.rs:127
Function
cursor_store_sparse
()
kernel/libs/xarray/src/test.rs:145
Method
cwd
Gets the current working directory.
kernel/src/fs/fs_resolver.rs:41
Function
daddr
()
ostd/src/mm/dma/test.rs:99
Method
daddr
(&self)
kernel/libs/aster-util/src/safe_ptr.rs:357
Method
data
(&self)
kernel/src/fs/procfs/meminfo.rs:29
Method
data
(&self)
kernel/src/fs/procfs/loadavg.rs:30
Method
data
(&self)
kernel/src/fs/procfs/filesystems.rs:24
Method
data
Retrieve the data for `/proc/cpuinfo`.
kernel/src/fs/procfs/cpuinfo.rs:45
Method
data
(&self)
kernel/src/fs/procfs/pid/comm.rs:25
Method
data
(&self)
kernel/src/fs/procfs/pid/cmdline.rs:25
Method
data
(&self)
kernel/src/fs/procfs/pid/status.rs:85
Method
data
(&self)
kernel/src/fs/procfs/sys/kernel/pid_max.rs:24
Method
data
(&self)
kernel/src/fs/procfs/sys/kernel/cap_last_cap.rs:24
Method
data_mut
(&mut self)
kernel/comps/mlsdisk/src/tx/mod.rs:218
Function
dealloc
( guard: &DisabledLocalIrqGuard, segments: impl Iterator<Item = (Paddr, usize)>, )
osdk/deps/frame-allocator/src/pools/mod.rs:97
Method
dealloc
Deallocates a slot into the cache. The slot must be allocated from the cache.
osdk/deps/heap-allocator/src/slab_cache.rs:87
Method
dealloc
(&mut self, slot: HeapSlot, class: CommonSizeClass)
osdk/deps/heap-allocator/src/allocator.rs:142
Method
dealloc
(&self, addr: Paddr, size: usize)
osdk/deps/frame-allocator/src/lib.rs:75
Method
dealloc
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
Method
dealloc
(&self, ptr: *mut u8, layout: Layout)
ostd/src/mm/heap/mod.rs:125
Function
debug_format
()
kernel/libs/keyable-arc/src/lib.rs:360
Method
dec_free_blocks
Decrease the number of free blocks.
kernel/src/fs/ext2/super_block.rs:258
Method
dec_free_inodes
Decrease the number of free inodes.
kernel/src/fs/ext2/super_block.rs:273
Function
dec_guard_count
()
ostd/src/task/preempt/cpu_local.rs:48
Method
decommit
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
Method
decommit
(&self, range: Range<usize>)
kernel/src/vm/vmo/static_cap.rs:73
← previous
next →
4,101–4,200 of 7,307, ranked by callers