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
↓ 1 callers
Method
enqueue_signal
Enqueues a thread-directed signal. This method does not perform permission checks on user signals. Therefore, unless the caller can ensure that there
kernel/src/process/posix_thread/mod.rs:217
↓ 1 callers
Function
enqueue_signal_async
Enqueues a process-directed kernel signal asynchronously. This is the asynchronous version of [`Process::enqueue_signal`]. By asynchronous, this meth
kernel/src/process/process/mod.rs:766
↓ 1 callers
Function
ensure_gits
(url: &str)
scripts/src/gits.rs:10
↓ 1 callers
Function
enter_analysis
(tcx: TyCtxt<'tcx>)
kernel/libs/comp-sys/cargo-component/analysis/src/lib.rs:34
↓ 1 callers
Method
entry_offset
Gets the slot offset at the current `XNode` for the target index `target_index`.
kernel/libs/xarray/src/node.rs:151
↓ 1 callers
Function
eval
This function is used to evaluate the string using the host's shell recursively in order.
osdk/src/config/mod.rs:158
↓ 1 callers
Method
evict_all
Evicts all blocks from the cache, persisting any with a 'Dirty' state to the disk.
kernel/src/fs/ext2/indirect_block_cache.rs:93
↓ 1 callers
Function
exclude_osdk_base
Add `target/osdk/base` and `target/osdk/test-base` to `exclude` array of the workspace manifest
osdk/src/commands/new/mod.rs:51
↓ 1 callers
Method
execute_and_test
(&mut self, op: Operation)
kernel/src/fs/utils/random_test.rs:381
↓ 1 callers
Function
execute_debug_command
(_profile: &str, args: &DebugArgs)
osdk/src/commands/debug.rs:9
↓ 1 callers
Function
execute_new_command
(args: &NewArgs)
osdk/src/commands/new/mod.rs:13
↓ 1 callers
Function
execute_profile_command
(_profile: &str, args: &ProfileArgs)
osdk/src/commands/profile.rs:28
↓ 1 callers
Function
execute_run_command
(config: &Config, gdb_server_args: Option<&str>)
osdk/src/commands/run.rs:19
↓ 1 callers
Function
execute_test_command
(config: &Config, args: &TestArgs)
osdk/src/commands/test.rs:15
↓ 1 callers
Method
exit
(&self)
kernel/src/thread/work_queue/worker.rs:121
↓ 1 callers
Function
exit_process
Exits the current POSIX process. This is for internal use. Do NOT call this directly. When the last thread in the process exits, [`do_exit`] or [`do_
kernel/src/process/exit.rs:15
↓ 1 callers
Method
exit_signal
(&self)
kernel/src/process/process/mod.rs:667
↓ 1 callers
Method
expand
Expands inode size. After a successful expansion, the size will be enlarged to `new_size`, which may result in an increased block count.
kernel/src/fs/ext2/inode.rs:1384
↓ 1 callers
Method
expand_and_traverse_to_target
Traverses from the root node to the leaf node according to the target index. This method will potentially create new nodes.
kernel/libs/xarray/src/cursor.rs:305
↓ 1 callers
Method
expand_blocks
Expands inode blocks. After a successful expansion, the block count will be enlarged to `range.end`.
kernel/src/fs/ext2/inode.rs:1404
↓ 1 callers
Function
expand_derive_try_from_num
(input: DeriveInput)
kernel/libs/int-to-c-enum/derive/src/lib.rs:19
↓ 1 callers
Function
expand_require
(item: RequireItem, mut require_attr: RequireAttr)
kernel/libs/aster-rights-proc/src/require_attr.rs:68
↓ 1 callers
Function
expand_type_flag
(type_flags_def: &TypeFlagDef)
kernel/libs/typeflags/src/util.rs:11
↓ 1 callers
Method
expired_time
Return the current expired time of this timer.
kernel/src/time/core/timer.rs:101
↓ 1 callers
Function
export_declarive_macro
export the declarive macro
kernel/libs/typeflags/src/util.rs:132
↓ 1 callers
Method
extend_write_at
(&mut self, offset: usize, reader: &mut VmReader)
kernel/src/fs/ext2/inode.rs:1019
↓ 1 callers
Method
extended_map
(&self)
kernel/comps/keyboard/src/i8042_chip/keyboard.rs:116
↓ 1 callers
Function
extent_one_type
( type_ident: &Ident, flag_set: &'a FlagSet, sets: &'a [FlagSet], )
kernel/libs/typeflags/src/util.rs:121
↓ 1 callers
Method
fallocate
(&self, mode: FallocMode, offset: usize, len: usize)
kernel/src/fs/inode_handle/mod.rs:158
↓ 1 callers
Method
fallocate
(&self, mode: FallocMode, offset: usize, len: usize)
kernel/src/fs/ext2/inode.rs:784
↓ 1 callers
Method
fault_info
If fault reason is one of the address translation fault conditions, this field contains bits 63:12 of the page address in the faulted request. If fau
ostd/src/arch/x86/iommu/fault.rs:144
↓ 1 callers
Method
fault_reason
(&self)
ostd/src/arch/x86/iommu/fault.rs:155
↓ 1 callers
Method
fd
Gets the file descriptor associated with the epoll entry.
kernel/src/fs/epoll/entry.rs:177
↓ 1 callers
Method
fds_and_files
(&self)
kernel/src/fs/file_table.rs:184
↓ 1 callers
Method
fetch_pending_work_item
(&self, request_cpu: CpuId)
kernel/src/thread/work_queue/worker_pool.rs:177
↓ 1 callers
Method
file
(&self)
kernel/src/fs/file_table.rs:319
↓ 1 callers
Function
file_contains_ostd_main_macro
(file: &syn::File)
osdk/src/util.rs:200
↓ 1 callers
Method
file_weak
Gets the file associated with this epoll entry.
kernel/src/fs/epoll/entry.rs:182
↓ 1 callers
Function
fill_boot_info_ptr
# Safety The caller must ensure the pointer to be filled is valid to write.
ostd/src/arch/x86/boot/smp.rs:174
↓ 1 callers
Function
fill_boot_pt_ptr
# Safety The caller must ensure the pointer to be filled is valid to write.
ostd/src/arch/x86/boot/smp.rs:188
↓ 1 callers
Method
fill_cred
Fills the current credentials if there are no credentials.
kernel/src/net/socket/unix/ctrl_msg.rs:271
↓ 1 callers
Function
fill_file
test/src/apps/file_io/file_io.c:17
↓ 1 callers
Function
fill_screen_info
(screen_info: &mut linux_boot_params::ScreenInfo)
ostd/libs/linux-bzimage/setup/src/x86/amd64_efi/efi.rs:247
↓ 1 callers
Method
filter_cpu
(&self, cpu_mask: u128)
osdk/src/commands/profile.rs:180
↓ 1 callers
Method
find_empty_dentries
Find empty dentry. If not found, expand the cluster chain.
kernel/src/fs/exfat/inode.rs:827
↓ 1 callers
Method
find_entry_item
Returns the target entry with the given name.
kernel/src/fs/ext2/dir.rs:212
↓ 1 callers
Function
find_lo_and_eth0_by_libc
test/src/apps/network/netlink_route.c:14
↓ 1 callers
Method
find_next_unused_cluster
Return the first unused cluster.
kernel/src/fs/exfat/bitmap.rs:132
↓ 1 callers
Method
find_overlapped_ssts
Find overlapping SSTs at a given level with a given range.
kernel/comps/mlsdisk/src/layers/4-lsm/tx_lsm_tree.rs:873
↓ 1 callers
Method
find_prev
Finds the last interval item before the given point. If no such item exists, returns [`None`].
kernel/src/vm/vmar/interval_set.rs:102
↓ 1 callers
Function
find_reaper_process
Finds a reaper process for `current_process`. If there is no reaper process for `current_process`, returns `None`.
kernel/src/process/exit.rs:51
↓ 1 callers
Method
find_room_for_new_entry
(&self, name_len: usize)
kernel/src/fs/ext2/xattr.rs:412
↓ 1 callers
Function
find_rsdp_addr
()
ostd/libs/linux-bzimage/setup/src/x86/amd64_efi/efi.rs:226
↓ 1 callers
Method
flags
Returns the flags of current VMO.
kernel/src/vm/vmo/mod.rs:472
↓ 1 callers
Method
flags
(&self)
kernel/src/fs/file_table.rs:350
↓ 1 callers
Method
flags
Capability flags
ostd/src/arch/x86/iommu/registers/capability.rs:16
↓ 1 callers
Method
flags
Extended capability flags
ostd/src/arch/x86/iommu/registers/extended_cap.rs:15
↓ 1 callers
Method
flush
(&self)
kernel/src/fs/ext2/xattr.rs:329
↓ 1 callers
Method
flush
Flushes any cached data from the guest to the persistent storage on the host. This will be ignored if the device doesn't support the `VIRTIO_BLK_F_FLU
kernel/comps/virtio/src/device/block/device.rs:436
↓ 1 callers
Method
flush
Ensures the persistence of data.
kernel/comps/mlsdisk/src/layers/1-crypto/crypto_chain.rs:176
↓ 1 callers
Method
flush
(&self)
kernel/comps/mlsdisk/src/layers/0-bio/block_log.rs:83
↓ 1 callers
Method
flush_tlb
Flushes the TLB for the current CPU if necessary.
ostd/src/task/kernel_stack.rs:82
↓ 1 callers
Function
fn_body_tokens
(value_name: &str, data_enum: &DataEnum, ident: Ident)
kernel/libs/int-to-c-enum/derive/src/lib.rs:65
↓ 1 callers
Method
follow_tail_link
(&self)
kernel/src/fs/fs_resolver.rs:431
↓ 1 callers
Function
foo_add
(left: usize, right: usize)
kernel/libs/comp-sys/cargo-component/tests/regression_test/foo1/src/lib.rs:11
↓ 1 callers
Function
foo_add
(left: usize, right: usize)
kernel/libs/comp-sys/cargo-component/tests/violate_policy_test/foo3/src/lib.rs:11
↓ 1 callers
Function
format_tcp_addr
(tcp_addr: &str)
osdk/src/commands/run.rs:168
↓ 1 callers
Method
fragment_size
Returns the fragment size.
kernel/src/fs/ext2/super_block.rs:193
↓ 1 callers
Method
free
Frees a `range`.
ostd/src/util/range_alloc.rs:104
↓ 1 callers
Method
freeze
Freezes the expired time. This works in the same way as [`ManagedTimeout::freeze`].
kernel/src/time/wait.rs:85
↓ 1 callers
Function
from_c_bytes
Converts bytes representing a [`CSocketAddrUnix`] to a [`UnixSocketAddr`]. We accept the byte representation of a [`CSocketAddrUnix`] directly, inste
kernel/src/util/net/addr/unix.rs:77
↓ 1 callers
Method
fs
(&self)
kernel/src/fs/devpts/mod.rs:330
↓ 1 callers
Method
fs
(&self)
kernel/src/fs/utils/systree_inode.rs:347
↓ 1 callers
Method
fs
(&self)
kernel/src/fs/procfs/template/mod.rs:38
↓ 1 callers
Method
fs
(self, fs: Weak<dyn FileSystem>)
kernel/src/fs/procfs/template/builder.rs:35
↓ 1 callers
Method
fsgid
(&self)
kernel/src/process/credentials/credentials_.rs:272
↓ 1 callers
Method
fsuid
(&self)
kernel/src/process/credentials/credentials_.rs:95
↓ 1 callers
Method
fullrange
(&self)
ostd/src/util/range_alloc.rs:24
↓ 1 callers
Function
futex_op_and_flags_from_u32
(bits: u32)
kernel/src/process/posix_thread/futex.rs:546
↓ 1 callers
Function
futex_requeue
Does futex requeue
kernel/src/process/posix_thread/futex.rs:276
↓ 1 callers
Function
futex_wait
do futex wait
kernel/src/process/posix_thread/futex.rs:19
↓ 1 callers
Function
futex_wake_op
( futex_addr_1: Vaddr, futex_addr_2: Vaddr, max_count_1: usize, max_count_2: usize, wake_o
kernel/src/process/posix_thread/futex.rs:230
↓ 1 callers
Method
futexes
Return an iterator for all futexes in the robust list. The futex referred to by `list_op_pending`, if any, will be returned as the last item.
kernel/src/process/posix_thread/robust_list.rs:37
↓ 1 callers
Function
gdb_continue_via_unix_sock
(socket: &str)
osdk/tests/commands/run.rs:128
↓ 1 callers
Function
generate_fault_signal
generate a fault signal for current process.
kernel/src/thread/exception.rs:66
↓ 1 callers
Function
generate_flag_sets
generate all possible flag sets
kernel/libs/typeflags/src/flag_set.rs:141
↓ 1 callers
Function
generate_random_for_aux_vec
()
kernel/src/process/process_vm/init_stack/mod.rs:374
↓ 1 callers
Function
generate_random_operation
( root: &'a mut DentryInMemory, idx: u32, rng: &mut dyn RngCore, )
kernel/src/fs/utils/random_test.rs:531
↓ 1 callers
Function
generate_vsc_launch_file
( workspace: impl AsRef<Path>, profile: &str, addr: &str, )
osdk/src/commands/run.rs:285
↓ 1 callers
Function
get_ap
Gets the pointer to the static CPU-local storage for the given AP. # Panics This method will panic if the `cpu_id` does not represent an AP or the A
ostd/src/cpu/local/mod.rs:262
↓ 1 callers
Function
get_backlog
(server_key: &UnixSocketAddrKey)
kernel/src/net/socket/unix/stream/listener.rs:319
↓ 1 callers
Method
get_backlog
(&self, addr: &UnixSocketAddrKey)
kernel/src/net/socket/unix/stream/listener.rs:149
↓ 1 callers
Method
get_bucket
(&self, key: FutexKey)
kernel/src/process/posix_thread/futex.rs:361
↓ 1 callers
Function
get_bucket_count
Get the futex hash bucket count. This number is calculated the same way as Linux's: <https://github.com/torvalds/linux/blob/master/kernel/futex/core.
kernel/src/process/posix_thread/futex.rs:332
↓ 1 callers
Function
get_child_subreaper
test/src/apps/prctl/subreaper.c:19
↓ 1 callers
Method
get_committed_frame
Gets the committed frame at the input offset in the mapped VMO. If the VMO has not committed a frame at this index, it will commit one first and retu
kernel/src/vm/vmar/vm_mapping.rs:602
↓ 1 callers
Function
get_component_toml_path
Get the path to the Components.toml file
kernel/libs/comp-sys/component-macro/src/priority.rs:110
↓ 1 callers
Function
get_components_name
Get all the components name, this function will also check if the Components.toml contain all the components.
kernel/libs/comp-sys/component-macro/src/priority.rs:133
↓ 1 callers
Function
get_current_xattr_namespace
(ctx: &Context)
kernel/src/syscall/listxattr.rs:96
↓ 1 callers
Function
get_device
(str: &str)
kernel/comps/block/src/lib.rs:88
← previous
next →
2,601–2,700 of 7,307, ranked by callers