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
↓ 6 callers
Method
is_user
(&self)
kernel/src/fs/utils/xattr.rs:52
↓ 6 callers
Function
is_userspace_vaddr
Returns whether the input `vaddr` is a legal user space virtual address.
kernel/src/vm/vmar/mod.rs:422
↓ 6 callers
Method
iter
Returns an iterator over the processes in the table.
kernel/src/process/process_table.rs:59
↓ 6 callers
Method
iter
()
kernel/comps/mlsdisk/src/layers/4-lsm/tx_lsm_tree.rs:799
↓ 6 callers
Function
iter_all_ifaces
()
kernel/src/net/iface/init.rs:26
↓ 6 callers
Method
job_control
(&self)
kernel/src/device/tty/mod.rs:296
↓ 6 callers
Method
kernel_clock
Returns a reference to the kernel CPU clock in this profiling clock.
kernel/src/time/clocks/cpu_clock.rs:67
↓ 6 callers
Method
len
Return the total number of bits.
kernel/comps/mlsdisk/src/util/bitmap.rs:46
↓ 6 callers
Method
list_logs_in
Lists the IDs of all logs 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:579
↓ 6 callers
Method
listener_key
(&self)
kernel/libs/aster-bigtcp/src/socket/bound/tcp_listen.rs:188
↓ 6 callers
Function
load_config
()
scripts/src/manifest.rs:30
↓ 6 callers
Method
lock_guard
Returns an `XLockGuard` that marks the `XArray` is locked.
kernel/libs/xarray/src/cursor.rs:274
↓ 6 callers
Method
lock_root_vmar
Locks the root VMAR and gets a guard to it.
kernel/src/process/process_vm/mod.rs:144
↓ 6 callers
Method
lookup_by_name
Look up a target with "name", cur inode represent a dir. Return (target inode, dentries start offset, dentry set size). No inode should hold the write
kernel/src/fs/exfat/inode.rs:479
↓ 6 callers
Method
metadata
(&self)
kernel/src/fs/ext2/inode.rs:89
↓ 6 callers
Method
mount_option
(&self)
kernel/src/fs/exfat/fs.rs:366
↓ 6 callers
Method
nblocks
Returns the number of blocks reserved for storing a snapshot `CryptoBlob`.
kernel/comps/mlsdisk/src/layers/2-edit/journal.rs:495
↓ 6 callers
Method
nblocks
Returns the number of blocks. # Panics This method must be called within a TX. Otherwise, this method panics.
kernel/comps/mlsdisk/src/layers/3-log/raw_log.rs:422
↓ 6 callers
Method
new_tx
Creates a new transaction.
kernel/comps/mlsdisk/src/layers/3-log/tx_log.rs:692
↓ 6 callers
Method
next
(&mut self)
osdk/deps/test-kernel/src/tree.rs:153
↓ 6 callers
Method
notify_fd_events
(&self, events: &FdEvents)
kernel/src/fs/file_table.rs:198
↓ 6 callers
Method
notify_observers
Notify events to all registered observers. It will remove the observers which have been freed.
kernel/src/events/subject.rs:69
↓ 6 callers
Method
num_free_clusters
(&self)
kernel/src/fs/exfat/fs.rs:344
↓ 6 callers
Method
num_valid_entries
(&self)
kernel/comps/mlsdisk/src/layers/1-crypto/crypto_log.rs:589
↓ 6 callers
Method
offset
(&self)
kernel/comps/virtio/src/transport/pci/capability.rs:37
↓ 6 callers
Method
order
Returns the order of the buddy chunk.
osdk/deps/frame-allocator/src/chunk.rs:121
↓ 6 callers
Function
parse_isa_string_wrapper
(string: &str)
ostd/src/arch/riscv/cpu/extension.rs:252
↓ 6 callers
Function
part_idx
(cpu_id: CpuId)
ostd/src/cpu/set.rs:22
↓ 6 callers
Method
perms
Returns the permissions of pages in the mapping.
kernel/src/vm/vmar/vm_mapping.rs:139
↓ 6 callers
Method
push
(&self, item: T)
kernel/src/fs/utils/channel.rs:307
↓ 6 callers
Method
raise
Raises the softirq, marking it as pending. If this line is not enabled yet, the method has no effect.
kernel/comps/softirq/src/lib.rs:88
↓ 6 callers
Method
read
Reads the specified amount of buffer content starting from the target offset in the VMO.
kernel/src/vm/vmo/mod.rs:338
↓ 6 callers
Method
read
(&self, _writer: &mut VmWriter)
kernel/src/process/pid_file.rs:66
↓ 6 callers
Method
read
Reads a register from the MMIO region.
ostd/src/arch/x86/kernel/apic/xapic.rs:37
↓ 6 callers
Method
read_at
(&self, offset: usize, writer: &mut VmWriter)
kernel/src/fs/ext2/inode.rs:680
↓ 6 callers
Function
read_monotonic_time
Return the monotonic time from the tsc clocksource.
kernel/comps/time/src/lib.rs:86
↓ 6 callers
Method
reader
(&self, vm_space: &'a VmSpace)
kernel/src/util/iovec.rs:47
↓ 6 callers
Method
record_len
Returns the distance to the next entry.
kernel/src/fs/ext2/dir.rs:65
↓ 6 callers
Method
register_data_initializer
Register a per-TX data initializer. The registered initializer function will be called upon the creation of a TX.
kernel/comps/mlsdisk/src/tx/mod.rs:77
↓ 6 callers
Method
register_queue_callback
(&mut self, func: Box<IrqCallbackFunction>)
kernel/comps/virtio/src/transport/mmio/multiplex.rs:66
↓ 6 callers
Method
remove
Removes a `VmMapping` based on the provided key from the `Vmar`.
kernel/src/vm/vmar/mod.rs:248
↓ 6 callers
Method
remove_entry
(&mut self, idx: usize)
kernel/src/fs/ramfs/fs.rs:328
↓ 6 callers
Method
remove_entry_at
(&mut self, name: &str, offset: usize)
kernel/src/fs/ext2/inode.rs:1125
↓ 6 callers
Method
reset_to
Resets the target index to `index`.
kernel/libs/xarray/src/cursor.rs:195
↓ 6 callers
Function
rmdir
()
kernel/src/fs/exfat/mod.rs:392
↓ 6 callers
Method
root_inode
Utilizes the layered directory entries to build the root inode.
kernel/src/fs/overlayfs/fs.rs:155
↓ 6 callers
Method
set_instruction_pointer
(&mut self, ip: usize)
ostd/src/arch/x86/task/mod.rs:71
↓ 6 callers
Method
sid_range
Returns the range of sector id on device.
kernel/comps/block/src/request_queue.rs:157
↓ 6 callers
Method
sig_dispositions
(&self)
kernel/src/process/process/mod.rs:602
↓ 6 callers
Method
size
(&self)
kernel/src/fs/ext2/impl_for_vfs/inode.rs:23
↓ 6 callers
Method
size
(&self)
kernel/src/fs/procfs/template/mod.rs:54
↓ 6 callers
Method
size
(&self)
kernel/src/fs/ramfs/fs.rs:615
↓ 6 callers
Method
slice
Slices the `IoMem`, returning another `IoMem` representing the subslice. # Panics This method will panic if the range is empty or out of bounds.
ostd/src/io/io_mem/mod.rs:63
↓ 6 callers
Method
sops_iter
(&self)
kernel/src/ipc/semaphore/system_v/sem.rs:69
↓ 6 callers
Method
sync_tlb_flush
(&mut self)
ostd/src/mm/tlb.rs:173
↓ 6 callers
Method
tail
Gets the tail number of the `RingBuffer`. This is the number of items written into the ring buffer. The number wraps when crossing [`usize`] boundari
kernel/src/util/ring_buffer.rs:152
↓ 6 callers
Method
tb_indirect
Returns the block ID of treble indirect block pointer.
kernel/src/fs/ext2/block_ptr.rs:56
↓ 6 callers
Method
to_offset
Converts to a byte offset.
kernel/comps/block/src/id.rs:63
↓ 6 callers
Method
type_
(&self)
kernel/src/fs/overlayfs/fs.rs:445
↓ 6 callers
Method
unmap
( &mut self, device: PciDeviceLocation, daddr: Daddr, )
ostd/src/arch/x86/iommu/dma_remapping/context_table.rs:87
↓ 6 callers
Method
upcase_table
(&self)
kernel/src/fs/exfat/fs.rs:320
↓ 6 callers
Method
update
(&mut self)
kernel/src/sched/sched_class/mod.rs:99
↓ 6 callers
Method
with
(&self, f: F)
kernel/src/net/iface/init.rs:78
↓ 6 callers
Method
write
Writes data to the device, this function is non-blocking.
kernel/comps/virtio/src/device/block/device.rs:372
↓ 6 callers
Method
write
(&mut self, record: &Record<E, S>)
kernel/comps/mlsdisk/src/layers/2-edit/journal.rs:234
↓ 6 callers
Method
write
Write the buffer to the disk as the latest version of the content of this `CryptoBlob`. The size of the buffer must not be greater than the capacity
kernel/comps/mlsdisk/src/layers/1-crypto/crypto_blob.rs:135
↓ 6 callers
Method
write_bid
Writes a value of bid at a specified `idx`. After a successful write operation, the block's state will be marked as dirty.
kernel/src/fs/ext2/indirect_block_cache.rs:178
↓ 6 callers
Method
write_blocks_async
Writes contiguous blocks starting from the `bid` asynchronously.
kernel/src/fs/ext2/fs.rs:340
↓ 6 callers
Method
write_global_command
Writes value to the global command register. This function will not wait until the command is serviced. User need to check the global status register.
ostd/src/arch/x86/iommu/registers/mod.rs:240
↓ 6 callers
Method
write_next_fat
( &self, cluster: ClusterID, value: FatValue, sync: bool, )
kernel/src/fs/exfat/fs.rs:197
↓ 6 callers
Method
write_updated_state
Ensures that the socket state is up to date and obtains a write lock on it. A connecting socket can become obsolete because some network events can s
kernel/src/net/socket/ip/stream/mod.rs:162
↓ 5 callers
Method
abort
Aborts the current TX.
kernel/comps/mlsdisk/src/tx/current.rs:78
↓ 5 callers
Method
access_mode
(&self)
kernel/src/fs/inode_handle/mod.rs:129
↓ 5 callers
Method
add
(&mut self, component_name: &str, allowed: bool)
kernel/libs/comp-sys/cargo-component/analysis/src/conf.rs:120
↓ 5 callers
Method
add
Adds an attribute definition to the builder. If an attribute with the same name already exists, this is a no-op.
kernel/comps/systree/src/attr.rs:107
↓ 5 callers
Method
add
Add an edit to the current edit group.
kernel/comps/mlsdisk/src/layers/2-edit/journal.rs:210
↓ 5 callers
Method
addr
(&self)
kernel/src/process/posix_thread/futex.rs:485
↓ 5 callers
Method
alloc
Allocates a new `BioSegment` with the wanted blocks count and the bio direction.
kernel/comps/block/src/bio.rs:397
↓ 5 callers
Method
alloc_free_region_exact_truncate
Allocates a free region for mapping with a specific offset and size. If the provided range is already occupied, this function truncates all the mappi
kernel/src/vm/vmar/mod.rs:291
↓ 5 callers
Method
alloc_specific
Allocates a specific kernel virtual area.
ostd/src/util/range_alloc.rs:29
↓ 5 callers
Method
append_entry
(&mut self, name: &str, inode: Arc<RamInode>)
kernel/src/fs/ramfs/fs.rs:321
↓ 5 callers
Method
as_bytes
Views the id allocator as a slice of `u8` bytes.
ostd/libs/id-alloc/src/lib.rs:182
↓ 5 callers
Method
as_device
(&self)
kernel/src/fs/ramfs/fs.rs:171
↓ 5 callers
Method
as_handle_mut
Returns a mutable reference of [`PollHandle`].
kernel/src/process/signal/poll.rs:270
↓ 5 callers
Method
as_slice
Returns a slice to the rendered pixel data.
kernel/comps/framebuffer/src/pixel.rs:88
↓ 5 callers
Method
atomic_cpu_affinity
Returns the reference to the atomic CPU affinity.
kernel/src/thread/mod.rs:119
↓ 5 callers
Method
available_desc
The number of free descriptors.
kernel/comps/virtio/src/queue.rs:265
↓ 5 callers
Method
bios
Returns an iterator to the `SubmittedBio`s.
kernel/comps/block/src/request_queue.rs:162
↓ 5 callers
Method
bound_addr
(&self)
kernel/src/net/socket/vsock/stream/init.rs:58
↓ 5 callers
Method
build
Creates the mapping and adds it to the parent VMAR. All options will be checked at this point. On success, the virtual address of the new mapping is
kernel/src/vm/vmar/mod.rs:996
↓ 5 callers
Function
check_and_ctl
(semid: i32, permission: PermissionMode, ctl_func: F)
kernel/src/syscall/semctl.rs:101
↓ 5 callers
Method
check_data_is_empty
(&self)
kernel/comps/virtio/src/device/socket/header.rs:110
↓ 5 callers
Function
check_vaddr
Checks if the user space pointer is below the lowest userspace address. If a pointer is below the lowest userspace address, it is likely to be a NULL
kernel/src/context.rs:319
↓ 5 callers
Method
clear
Clear all records in the buffer.
kernel/comps/mlsdisk/src/layers/2-edit/journal.rs:654
↓ 5 callers
Method
clear_child_tid
(mut self, clear_child_tid: Vaddr)
kernel/src/process/posix_thread/builder.rs:82
↓ 5 callers
Method
close
Closes the connection. Polling the iface is _always_ required after this method succeeds. Note that either this method or [`Self::reset`] must be ca
kernel/libs/aster-bigtcp/src/socket/bound/tcp_conn.rs:479
↓ 5 callers
Method
cpu
(&self)
ostd/src/task/scheduler/info.rs:78
↓ 5 callers
Function
create
()
kernel/src/fs/exfat/mod.rs:181
↓ 5 callers
Function
create_overlay_fs
()
kernel/src/fs/overlayfs/fs.rs:1187
↓ 5 callers
Method
current_tx
Returns the current transaction.
kernel/comps/mlsdisk/src/layers/3-log/tx_log.rs:697
← previous
next →
601–700 of 7,307, ranked by callers