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
↓ 3 callers
Method
clear
Removes all CPUs from the set.
ostd/src/cpu/set.rs:105
↓ 3 callers
Method
clone_context
(&self)
kernel/src/process/posix_thread/thread_local.rs:149
↓ 3 callers
Method
complete
Completes the `Bio` with the `status` and invokes the callback function. When the driver finishes the request for this `Bio`, it will call this metho
kernel/comps/block/src/bio.rs:272
↓ 3 callers
Method
contains_entry
(&self, name: &str)
kernel/src/fs/ramfs/fs.rs:294
↓ 3 callers
Method
contains_type
(&self, type_ident: &Ident)
kernel/libs/typeflags/src/flag_set.rs:90
↓ 3 callers
Method
contains_valid
Checks if a valid dentry with the given name exists.
kernel/src/fs/path/dentry.rs:438
↓ 3 callers
Method
copy_to
Copy the binary to the `base` directory and convert the path to a relative path.
osdk/src/bundle/bin.rs:95
↓ 3 callers
Function
cow_copy_pt
Sets mappings in the source page table as read-only to trigger COW, and copies the mappings to the destination page table. The copied range starts fr
kernel/src/vm/vmar/mod.rs:768
↓ 3 callers
Function
create_crypto_log
()
kernel/comps/mlsdisk/src/layers/1-crypto/crypto_log.rs:1105
↓ 3 callers
Function
create_user_pt_mapped_at
(virt_range: Range<Vaddr>)
ostd/src/mm/page_table/test.rs:18
↓ 3 callers
Function
create_workspace
(workspace_name: &str, members: &[&str])
osdk/tests/util/mod.rs:48
↓ 3 callers
Method
dealloc
Deallocates a CPU-local object.
osdk/deps/heap-allocator/src/cpu_local_allocator.rs:51
↓ 3 callers
Method
dealloc_batch
Deallocates the set of chunks of given IDs. # Panic Deallocating a free chunk causes panic.
kernel/comps/mlsdisk/src/layers/3-log/chunk.rs:191
↓ 3 callers
Method
decommit
Decommits a range of pages in the VMO.
kernel/src/vm/vmo/mod.rs:327
↓ 3 callers
Method
delete_log
Deletes the raw log of a given ID. # Panics This method must be called within a TX. Otherwise, this method panics.
kernel/comps/mlsdisk/src/layers/3-log/raw_log.rs:326
↓ 3 callers
Method
dequeue_signal
(&self, mask: &SigMask)
kernel/src/process/posix_thread/mod.rs:276
↓ 3 callers
Method
device_config_bar
(&self)
kernel/comps/virtio/src/transport/pci/device.rs:146
↓ 3 callers
Method
device_type
(&self)
kernel/comps/virtio/src/transport/pci/device.rs:72
↓ 3 callers
Function
disable_local_bottom_half
()
kernel/comps/softirq/src/lock.rs:61
↓ 3 callers
Function
do_epoll_pwait2
( epfd: FileDesc, events_addr: Vaddr, max_events: i32, timeout: Option<Duration>, sigmask:
kernel/src/syscall/epoll.rs:96
↓ 3 callers
Function
do_faccessat
( dirfd: FileDesc, path_ptr: Vaddr, mode: u16, flags: u32, ctx: &Context, )
kernel/src/syscall/access.rs:66
↓ 3 callers
Function
do_sys_poll
( fds: Vaddr, nfds: u32, timeout: Option<Duration>, ctx: &Context, )
kernel/src/syscall/poll.rs:26
↓ 3 callers
Function
do_utimes
Common function to handle updating file times, supporting both fd and path based operations
kernel/src/syscall/utimens.rs:150
↓ 3 callers
Function
edit_config_files
(dir: &Path)
osdk/tests/util/mod.rs:24
↓ 3 callers
Method
effective_parent
Gets the effective parent of the `Dentry`. If it is the root of a mount, it will go up to the mountpoint to get the parent of the mountpoint recursiv
kernel/src/fs/path/dentry.rs:623
↓ 3 callers
Function
emit_note
(tcx: TyCtxt<'_>, span: Span, crate_name: &str, def_paths: Vec<String>)
kernel/libs/comp-sys/cargo-component/analysis/src/lib.rs:288
↓ 3 callers
Method
enable
Enables a softirq line by registering its callback. # Panics Each softirq can only be enabled once.
kernel/comps/softirq/src/lib.rs:97
↓ 3 callers
Function
enable_local_if
(cond: bool)
ostd/src/arch/x86/trap/mod.rs:149
↓ 3 callers
Method
enqueue
Submit a work item. Return `false` if the work item is currently pending.
kernel/src/thread/work_queue/mod.rs:137
↓ 3 callers
Method
events
(&self)
kernel/src/syscall/poll.rs:249
↓ 3 callers
Method
evict_range
Evict the data within a specified range from the page cache and persist them to the backend.
kernel/src/fs/utils/page_cache.rs:63
↓ 3 callers
Method
fetch_weight
(&self)
kernel/src/sched/sched_class/fair.rs:155
↓ 3 callers
Method
fill_bytes
(&self, dest: &mut [u8])
kernel/comps/mlsdisk/src/os/mod.rs:244
↓ 3 callers
Method
find
(&self, name: &str)
kernel/src/fs/ramfs/fs.rs:494
↓ 3 callers
Function
find_allocator
( allocators: &'a [RangeAllocator], range: &Range<usize>, )
ostd/src/io/io_mem/allocator.rs:119
↓ 3 callers
Method
find_entry
(&self, name: &XattrName, buf: &USegment)
kernel/src/fs/ext2/xattr.rs:394
↓ 3 callers
Method
find_log
(&self, log_id: u64)
kernel/comps/mlsdisk/src/layers/3-log/raw_log.rs:874
↓ 3 callers
Function
finish_grace_period
()
kernel/libs/xarray/src/test.rs:311
↓ 3 callers
Method
flags
(&self)
ostd/src/arch/x86/iommu/interrupt_remapping/table.rs:210
↓ 3 callers
Method
flush
Ensures that blocks are persisted to the disk.
kernel/comps/mlsdisk/src/layers/3-log/raw_log.rs:411
↓ 3 callers
Method
flush_buf
Flushes the buffer to the backed log.
kernel/comps/mlsdisk/src/layers/4-lsm/wal.rs:142
↓ 3 callers
Method
foreground
Returns the foreground process group.
kernel/src/process/process/job_control.rs:96
↓ 3 callers
Method
format
Get the output format for the profile data. If the user does not specify the format, it will be inferred from the output file extension. If the outpu
osdk/src/cli.rs:283
↓ 3 callers
Method
free
Returns an allocated bio segment to the pool, free the space. This method is not public and should only be called automatically by `BioSegmentInner::d
kernel/comps/block/src/bio.rs:657
↓ 3 callers
Method
free_indirect_blocks_required_by
Frees the indirect blocks required by the specified block ID. It ensures that the indirect blocks that are required by the block ID are properly rele
kernel/src/fs/ext2/inode.rs:1713
↓ 3 callers
Method
free_inode
Frees an inode.
kernel/src/fs/ext2/fs.rs:193
↓ 3 callers
Method
fs
(&self)
kernel/src/fs/ext2/xattr.rs:352
↓ 3 callers
Method
fs
(&self)
kernel/src/fs/ext2/indirect_block_cache.rs:131
↓ 3 callers
Method
full_name_len
(&self)
kernel/src/fs/utils/xattr.rs:78
↓ 3 callers
Method
general_regs
Returns a reference to the general registers.
ostd/src/arch/riscv/cpu/context.rs:105
↓ 3 callers
Method
get
Gets the total counter value. This function may be inaccurate since other CPUs may be updating the counter.
kernel/src/util/per_cpu_counter.rs:40
↓ 3 callers
Method
get
(&self)
kernel/libs/comp-sys/cargo-component/tests/trait_method_test/foo2/src/lib.rs:45
↓ 3 callers
Method
get
Get the item at position `idx`. Return `None` if `idx` is out of bounds or the item is not exist.
kernel/libs/aster-util/src/slot_vec.rs:51
↓ 3 callers
Method
get
(&self, _pos: Pbid)
kernel/comps/mlsdisk/src/layers/1-crypto/crypto_log.rs:1093
↓ 3 callers
Method
get_cur_and_max
Gets the rlimit with synchronization. Only called when handling the `getrlimit` or `prlimit` syscall.
kernel/src/process/rlimit.rs:145
↓ 3 callers
Method
get_current_mut_with
Get a _mutable_ reference to the current transaction of the current thread, passing it to a given closure. # Panics The `get_current_mut_with` metho
kernel/comps/mlsdisk/src/tx/current.rs:139
↓ 3 callers
Function
get_default_arch
Get the default architecture implied by the host rustc's default architecture.
osdk/src/arch.rs:82
↓ 3 callers
Method
get_info
(&self)
kernel/src/net/socket/vsock/stream/connected.rs:118
↓ 3 callers
Function
get_intersected_range
Gets the intersection range of two ranges. The two ranges should be ensured to be intersected.
kernel/src/vm/vmar/mod.rs:1129
↓ 3 callers
Function
get_network_timestamp
()
kernel/libs/aster-bigtcp/src/iface/time.rs:5
↓ 3 callers
Function
get_next_free_index
(segments: &BitArray, nr_blocks_per_page: usize)
kernel/comps/network/src/dma_pool.rs:199
↓ 3 callers
Method
get_or_create_context_table
(&mut self, device_id: PciDeviceLocation)
ostd/src/arch/x86/iommu/dma_remapping/context_table.rs:139
↓ 3 callers
Method
get_ptr_on_target
(&self, cpu_id: CpuId)
ostd/src/cpu/local/dyn_cpu_local.rs:37
↓ 3 callers
Method
get_stream_dentry
(&self)
kernel/src/fs/exfat/dentry.rs:373
↓ 3 callers
Method
get_top_valid_lower_inode
Returns the top valid lower inode.
kernel/src/fs/overlayfs/fs.rs:562
↓ 3 callers
Function
get_workspace_root
(cargo_metadata: &serde_json::Value)
osdk/src/commands/new/mod.rs:185
↓ 3 callers
Function
get_xapic_base_address
Gets xAPIC base address
ostd/src/arch/x86/kernel/apic/xapic.rs:127
↓ 3 callers
Function
getxattr
( file_ctx: XattrFileCtx, name_ptr: Vaddr, value_ptr: Vaddr, value_len: usize, user_space:
kernel/src/syscall/getxattr.rs:86
↓ 3 callers
Method
group_descriptors_bid
Returns the starting block id of the block group descriptor table inside the block group pointed by `block_group_idx`. # Panics If `block_group_idx`
kernel/src/fs/ext2/super_block.rs:321
↓ 3 callers
Method
groups
Returns the group ID set.
kernel/src/net/socket/netlink/addr/mod.rs:43
↓ 3 callers
Method
handle_page_faults_around
Sets the mapping to handle surrounding pages when handling page fault.
kernel/src/vm/vmar/mod.rs:951
↓ 3 callers
Function
hard_link_or_copy
Attempts to create a hard link from `from` to `to`. If the hard link operation fails (e.g., due to crossing file systems), it falls back to performing
osdk/src/util.rs:392
↓ 3 callers
Method
has_signal_blocked
Returns whether the signal is blocked by the thread.
kernel/src/process/posix_thread/mod.rs:131
↓ 3 callers
Method
id
Return the ID of this `SSTable`, which is the same ID to the underlying `TxLog`.
kernel/comps/mlsdisk/src/layers/4-lsm/sstable.rs:125
↓ 3 callers
Method
id
Gets the unique ID of raw log.
kernel/comps/mlsdisk/src/layers/3-log/raw_log.rs:430
↓ 3 callers
Method
iface
(&self)
kernel/src/net/socket/ip/stream/connected.rs:144
↓ 3 callers
Method
inc_hard_links
(&mut self)
kernel/src/fs/ext2/inode.rs:1265
↓ 3 callers
Method
inc_nlinks
(&mut self)
kernel/src/fs/ramfs/fs.rs:259
↓ 3 callers
Method
index
Returns the target index of the cursor.
kernel/libs/xarray/src/cursor.rs:190
↓ 3 callers
Method
indirect
Returns the block ID of single indirect block pointer.
kernel/src/fs/ext2/block_ptr.rs:36
↓ 3 callers
Method
inherit
(&mut self, from: &Self)
osdk/src/config/scheme/mod.rs:80
↓ 3 callers
Function
init
()
kernel/src/lib.rs:98
↓ 3 callers
Method
init_observer
Initializes the observer whose `on_events` will be called when certain iface events happen. The caller needs to be responsible for race conditions if
kernel/libs/aster-bigtcp/src/socket/bound/common.rs:90
↓ 3 callers
Method
init_stack_bottom
Returns the bottom address of the init stack (lowest address).
kernel/src/process/process_vm/init_stack/mod.rs:500
↓ 3 callers
Method
inner_dma_slice
Returns the inner DMA slice.
kernel/comps/block/src/bio.rs:478
↓ 3 callers
Method
inode
Gets the inner inode.
kernel/src/fs/path/dentry.rs:109
↓ 3 callers
Method
insert_inode
(&self, inode: Arc<ExfatInode>)
kernel/src/fs/exfat/fs.rs:150
↓ 3 callers
Method
instruction_pointer
(&self)
ostd/src/arch/x86/task/mod.rs:75
↓ 3 callers
Method
into_node
(self)
kernel/libs/xarray/src/cursor.rs:65
↓ 3 callers
Method
into_result
(self)
kernel/src/net/socket/ip/stream/connecting.rs:75
↓ 3 callers
Method
irq_mut
Gets mutable IrqLine. User can register callbacks by using this function.
ostd/src/bus/pci/capability/msix.rs:178
↓ 3 callers
Method
is_at_node
(&self)
kernel/libs/xarray/src/cursor.rs:75
↓ 3 callers
Method
is_cluster_range_unused
(&self, clusters: Range<ClusterID>)
kernel/src/fs/exfat/bitmap.rs:118
↓ 3 callers
Method
is_destroying
(&self)
kernel/src/thread/work_queue/worker.rs:113
↓ 3 callers
Method
is_empty
Determines whether the signal number is empty
kernel/src/process/signal/sig_num.rs:103
↓ 3 callers
Method
is_empty
Checks if the `RingBuffer` is empty.
kernel/src/util/ring_buffer.rs:117
↓ 3 callers
Method
is_empty
(&self)
kernel/comps/virtio/src/device/socket/header.rs:88
↓ 3 callers
Method
is_full
(&self)
kernel/src/device/tty/line_discipline.rs:235
↓ 3 callers
Function
is_groups_equal
test/src/apps/network/sockoption_unix.c:180
↓ 3 callers
Method
is_huge
(&self)
ostd/src/arch/loongarch/mm/mod.rs:142
← previous
next →
1,101–1,200 of 7,307, ranked by callers