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
Function
is_init_process
(process: &Process)
kernel/src/process/exit.rs:137
↓ 3 callers
Method
is_legacy_version
(&self)
kernel/comps/virtio/src/transport/pci/device.rs:263
↓ 3 callers
Method
is_mountpoint
(&self)
kernel/src/fs/path/dentry.rs:131
↓ 3 callers
Method
is_nonblocking
(&self)
kernel/src/net/socket/ip/stream/mod.rs:413
↓ 3 callers
Method
is_nonblocking
(&self)
kernel/src/syscall/eventfd.rs:99
↓ 3 callers
Method
is_peer_shutdown
Returns whether the remote endpoint has shut down.
kernel/src/fs/utils/endpoint.rs:231
↓ 3 callers
Method
is_power_of
Returns true if and only if `self == x^k` for some `k` where `k > 0`. The `x` must be a positive value.
kernel/src/fs/ext2/utils.rs:16
↓ 3 callers
Method
is_present
(&self)
ostd/src/arch/x86/iommu/dma_remapping/context_table.rs:29
↓ 3 callers
Method
is_set
Equivalent to FD_ISSET.
kernel/src/syscall/select.rs:233
↓ 3 callers
Method
is_shared_object
whether the elf is a shared object
kernel/src/process/program_loader/elf/elf_file.rs:88
↓ 3 callers
Method
is_shutdown
(&self)
kernel/src/net/socket/unix/stream/listener.rs:230
↓ 3 callers
Method
is_used
(&self, bit: usize)
kernel/src/fs/exfat/bitmap.rs:90
↓ 3 callers
Method
is_vfork_child
Returns whether the process is the vfork child.
kernel/src/process/status.rs:59
↓ 3 callers
Method
is_volatile
(&self)
kernel/src/fs/procfs/template/mod.rs:109
↓ 3 callers
Method
is_writable
(&self)
kernel/src/fs/utils/access_mode.rs:24
↓ 3 callers
Method
iter
Return the iterator over this `SSTable`. The given `event_listener` (optional) is used on dropping records during iteration. # Panics This method mu
kernel/comps/mlsdisk/src/layers/4-lsm/sstable.rs:270
↓ 3 callers
Function
jhash_3vals_inner
An internal function that handles hashing for 3 u32 values
kernel/libs/jhash/src/lib.rs:195
↓ 3 callers
Function
jhash_final
Finalizes the mix of three 32-bit values into a single u32 value
kernel/libs/jhash/src/lib.rs:204
↓ 3 callers
Method
last_lvl_idx
Returns the last level index. This index corresponds to the position of a block within the most deeply nested indirect block (if any), or the direct
kernel/src/fs/ext2/block_ptr.rs:145
↓ 3 callers
Method
latest_mac
Returns the MAC of latest snapshot.
kernel/comps/mlsdisk/src/layers/2-edit/journal.rs:490
↓ 3 callers
Function
lesser_order_of
Returns a order that covers at most the given size. The size must be larger than 0.
osdk/deps/frame-allocator/src/chunk.rs:29
↓ 3 callers
Method
level
Returns the level of the control message.
kernel/src/net/socket/util/message_header.rs:171
↓ 3 callers
Method
list_xattr
( &self, namespace: XattrNamespace, list_writer: &mut VmWriter, )
kernel/src/fs/ext2/inode.rs:845
↓ 3 callers
Method
listen
( self, backlog: usize, option: &RawTcpOption, observer: StreamObserver, )
kernel/src/net/socket/ip/stream/init.rs:138
↓ 3 callers
Function
listxattr
( file_ctx: XattrFileCtx, list_ptr: Vaddr, list_len: usize, user_space: &CurrentUserSpace,
kernel/src/syscall/listxattr.rs:78
↓ 3 callers
Method
load_state
Loads the current state of the cache page.
kernel/src/fs/utils/page_cache.rs:528
↓ 3 callers
Method
lookup
(&self, name: &[u8])
kernel/src/net/socket/unix/ns/abs.rs:84
↓ 3 callers
Method
lookup
(&self, name: &str)
kernel/src/fs/exfat/inode.rs:1582
↓ 3 callers
Method
lookup_from_parent
( &self, parent: &Dentry, relative_path: &str, lookup_ctx: &mut LookupCtx,
kernel/src/fs/fs_resolver.rs:199
↓ 3 callers
Method
main
Returns the main task/thread.
kernel/src/process/task_set.rs:83
↓ 3 callers
Function
make_kernel_cap
(low: u32, high: u32)
kernel/src/syscall/capset.rs:12
↓ 3 callers
Method
map_isa_pin_to
Maps an IRQ pin specified by an ISA interrupt number to an IRQ line. Industry Standard Architecture (ISA) is the 16-bit internal bus of IBM PC/AT. Fo
ostd/src/arch/x86/kernel/irq/mod.rs:90
↓ 3 callers
Function
map_untracked
( pt: &PageTable<TestPtConfig>, va: Vaddr, pa: Range<Paddr>, prop: PagePropert
ostd/src/mm/page_table/test.rs:39
↓ 3 callers
Method
match_up
(&self, another: &Self)
kernel/src/process/posix_thread/futex.rs:489
↓ 3 callers
Method
max_index
Calculates the maximum index that can be represented in an `XArray` with the current height.
kernel/libs/xarray/src/node.rs:95
↓ 3 callers
Method
may_exec
(&self)
kernel/src/fs/utils/inode.rs:112
↓ 3 callers
Method
may_read
(&self)
kernel/src/fs/utils/inode.rs:104
↓ 3 callers
Method
may_write
(&self)
kernel/src/fs/utils/inode.rs:108
↓ 3 callers
Method
memory_bar
(&self)
kernel/comps/virtio/src/transport/pci/capability.rs:33
↓ 3 callers
Method
merge_free
Merges the buddy chunk with the sibling buddy. # Panics Panics if either the buddy chunks are not free or not buddies.
osdk/deps/frame-allocator/src/chunk.rs:232
↓ 3 callers
Method
mknod
Creates a `Dentry_` by making an inode of the `type_` with the `mode`.
kernel/src/fs/path/dentry.rs:202
↓ 3 callers
Method
mode
(&self)
kernel/src/fs/sysfs/inode.rs:63
↓ 3 callers
Method
mtime
(&self)
kernel/src/fs/ext2/inode.rs:1294
↓ 3 callers
Method
name
(&self)
kernel/src/net/socket/unix/ns/abs.rs:17
↓ 3 callers
Method
name
Gets the name of the `Dentry_`. Returns "/" if it is a root `Dentry_`.
kernel/src/fs/path/dentry.rs:77
↓ 3 callers
Method
nanos
Returns the nanoseconds recorded in the Instant.
kernel/comps/time/src/clocksource.rs:198
↓ 3 callers
Method
nblocks
Returns the number of blocks occupied by the underlying `BlockSet`.
kernel/comps/mlsdisk/src/layers/1-crypto/crypto_blob.rs:281
↓ 3 callers
Method
nblocks
Gets the number of data nodes (blocks).
kernel/comps/mlsdisk/src/layers/1-crypto/crypto_log.rs:248
↓ 3 callers
Method
nblocks
(&self)
kernel/comps/mlsdisk/src/layers/0-bio/block_ring.rs:84
↓ 3 callers
Method
nblocks
Returns the length of the log in unit of block. # Panics This method must be called within a TX. Otherwise, this method panics.
kernel/comps/mlsdisk/src/layers/3-log/tx_log.rs:848
↓ 3 callers
Method
new_event_listener
(&self, _tx_type: TxType)
kernel/comps/mlsdisk/src/layers/4-lsm/tx_lsm_tree.rs:942
↓ 3 callers
Function
new_pair_with_capacity
(capacity: usize)
kernel/src/fs/pipe.rs:39
↓ 3 callers
Function
new_pe_sec_header
( segment: &xmas_elf::program::ProgramHeader, base: usize, f: impl FnOnce(u32, u32, u3
ostd/libs/linux-bzimage/builder/src/pe_header.rs:359
↓ 3 callers
Function
new_tcp_socket
()
kernel/libs/aster-bigtcp/src/socket/unbound.rs:8
↓ 3 callers
Method
next
(&mut self)
kernel/src/net/socket/netlink/addr/multicast.rs:72
↓ 3 callers
Method
next_poll_at_ms
(&self)
kernel/src/net/iface/sched.rs:24
↓ 3 callers
Method
node_buf
(&mut self, offset: usize)
kernel/comps/mlsdisk/src/layers/1-crypto/crypto_log.rs:859
↓ 3 callers
Method
now
()
kernel/src/fs/exfat/utils.rs:59
↓ 3 callers
Method
nr_allocated
Gets the number of allocated slots.
ostd/src/mm/heap/slab.rs:66
↓ 3 callers
Method
num_clusters
The number of clusters allocated.
kernel/src/fs/exfat/inode.rs:220
↓ 3 callers
Method
num_queues
(&self)
kernel/comps/virtio/src/transport/pci/device.rs:126
↓ 3 callers
Method
num_requests
Returns the number of requests currently in this queue.
kernel/comps/block/src/request_queue.rs:48
↓ 3 callers
Method
num_segments
Returns the number of segments.
kernel/comps/block/src/request_queue.rs:174
↓ 3 callers
Method
on_append_journal
(&mut self, _appended_nblocks: usize)
kernel/comps/mlsdisk/src/layers/2-edit/journal.rs:747
↓ 3 callers
Method
on_tx_begin
(&self, _tx: &mut Tx)
kernel/comps/mlsdisk/src/layers/4-lsm/tx_lsm_tree.rs:953
↓ 3 callers
Method
on_tx_commit
(&self)
kernel/comps/mlsdisk/src/layers/4-lsm/tx_lsm_tree.rs:959
↓ 3 callers
Method
on_tx_precommit
(&self, _tx: &mut Tx)
kernel/comps/mlsdisk/src/layers/4-lsm/tx_lsm_tree.rs:956
↓ 3 callers
Method
open_log_in
Opens the log with the maximum ID in a bucket. # Panics This method must be called within a TX. Otherwise, this method panics.
kernel/comps/mlsdisk/src/layers/3-log/tx_log.rs:609
↓ 3 callers
Method
overlap_with
Checks if this lock overlaps with another lock Returns an Option that contains the overlap details if they overlap
kernel/src/fs/utils/range_lock/mod.rs:89
↓ 3 callers
Method
overlap_with
Whether the target range is overlapped with the range of this `SSTable`.
kernel/comps/mlsdisk/src/layers/4-lsm/sstable.rs:150
↓ 3 callers
Method
owner
(&self)
kernel/src/fs/file_table.rs:323
↓ 3 callers
Method
page_cache
(&self)
kernel/src/fs/exfat/inode.rs:1228
↓ 3 callers
Function
parse_xattr_name
(name_str: &str)
kernel/src/syscall/setxattr.rs:168
↓ 3 callers
Method
pause_until
(&self, cond: F)
kernel/src/process/signal/pause.rs:36
↓ 3 callers
Method
payload_len
Returns the payload length (excluding padding).
kernel/src/net/socket/netlink/message/attr/mod.rs:71
↓ 3 callers
Method
peer_shutdown
Shuts down the remote endpoint. After this method, data cannot be written to from the remote endpoint.
kernel/src/fs/utils/endpoint.rs:208
↓ 3 callers
Function
perform_atomic_semop
Perform atomic semop, ref: <https://elixir.bootlin.com/linux/v6.0.9/source/ipc/sem.c#L719> 1. Return Ok(true) if the operation success. 2. Return Ok(f
kernel/src/ipc/semaphore/system_v/sem.rs:319
↓ 3 callers
Method
physical_cluster_start_offset
(&self)
kernel/src/fs/exfat/fat.rs:127
↓ 3 callers
Method
pollee
(&self)
kernel/src/device/pty/driver.rs:52
↓ 3 callers
Method
pop
(&mut self)
kernel/src/sched/sched_class/real_time.rs:119
↓ 3 callers
Method
pop_front
(&mut self)
osdk/deps/frame-allocator/src/cache.rs:98
↓ 3 callers
Method
port
(&self)
kernel/libs/aster-bigtcp/src/iface/port.rs:29
↓ 3 callers
Method
prepare_blocks
Collect and prepare a set of consecutive blocks in head for a read request.
kernel/comps/mlsdisk/src/layers/3-log/raw_log.rs:635
↓ 3 callers
Function
print_process_info
test/src/apps/prctl/subreaper.c:29
↓ 3 callers
Method
process
(&self)
kernel/src/process/posix_thread/mod.rs:85
↓ 3 callers
Method
process_expired_timers
Checks the `TimerCallback`s that are managed by the `prof_timer_manager`. If any have timed out, call the corresponding callback functions.
kernel/src/process/posix_thread/mod.rs:272
↓ 3 callers
Method
process_tcp
( &mut self, ip_repr: &IpRepr, tcp_repr: &TcpRepr, )
kernel/libs/aster-bigtcp/src/iface/poll.rs:163
↓ 3 callers
Method
propagate_mark
Propagates the mark updates on this node to the ancestors. This method must be called after the marks are updated to ensure that the marks on the anc
kernel/libs/xarray/src/node.rs:292
↓ 3 callers
Method
protect
Changes the permissions of the memory mappings in the specified range. The range's start and end addresses must be page-aligned. Also, the range must
kernel/src/vm/vmar/dyn_cap.rs:73
↓ 3 callers
Method
push
Pushes an item to the `RingBuffer`. Returns `Some` on success. Returns `None` if the ring buffer is full.
kernel/src/util/ring_buffer.rs:168
↓ 3 callers
Method
put
Puts a key-value record to the tree.
kernel/comps/mlsdisk/src/layers/4-lsm/tx_lsm_tree.rs:202
↓ 3 callers
Method
put
( &self, _pos: Pbid, _value: Arc<dyn Any + Send + Sync>, )
kernel/comps/mlsdisk/src/layers/1-crypto/crypto_log.rs:1096
↓ 3 callers
Method
put_at
Put and return the item at position `idx`. Return `None` if the item is not exist.
kernel/libs/aster-util/src/slot_vec.rs:82
↓ 3 callers
Method
range
(&self)
kernel/src/vm/vmar/vm_mapping.rs:81
↓ 3 callers
Method
range
(&self)
ostd/src/arch/loongarch/boot/efi.rs:113
↓ 3 callers
Function
range_from_start_and_len
(start: usize, len: usize)
ostd/libs/linux-bzimage/setup/src/x86/legacy_i386/alloc.rs:34
↓ 3 callers
Method
rax
(&self)
ostd/src/arch/x86/tdx_guest.rs:143
↓ 3 callers
Method
read8
Reads u8 from the capability.
ostd/src/bus/pci/capability/vendor.rs:33
↓ 3 callers
Method
read_at
(&self, offset: usize, writer: &mut VmWriter)
kernel/src/fs/overlayfs/fs.rs:297
↓ 3 callers
Method
read_blocks_async
Reads contiguous blocks starting from the `bid` asynchronously.
kernel/src/fs/ext2/fs.rs:317
← previous
next →
1,201–1,300 of 7,307, ranked by callers