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
↓ 2 callers
Method
udp_socket_iter
(&self)
kernel/libs/aster-bigtcp/src/socket_table.rs:312
↓ 2 callers
Method
uid
Returns owner's UID
kernel/src/ipc/mod.rs:64
↓ 2 callers
Method
uid
(&self)
kernel/src/fs/ext2/inode.rs:1241
↓ 2 callers
Method
unlink
(&self, name: &str)
kernel/src/fs/ext2/inode.rs:234
↓ 2 callers
Method
unlock
Unlocks the specified owner, waking any waiting threads. If the owner is no longer valid, the lock is removed from the list. If the owner is valid, th
kernel/src/fs/utils/flock.rs:166
↓ 2 callers
Method
unlock_flock
(&self, req_owner: &InodeHandle<R>)
kernel/src/fs/inode_handle/mod.rs:264
↓ 2 callers
Method
unlock_range_lock
(&self, lock: &RangeLockItem)
kernel/src/fs/inode_handle/mod.rs:223
↓ 2 callers
Method
unregister_observer
(&self, observer: &Weak<dyn Observer<SigEvents>>)
kernel/src/process/signal/sig_queues.rs:86
↓ 2 callers
Method
unregister_sigqueue_observer
(&self, observer: &Weak<dyn Observer<SigEvents>>)
kernel/src/process/posix_thread/mod.rs:288
↓ 2 callers
Method
update_checksum
(&mut self)
kernel/src/fs/exfat/dentry.rs:434
↓ 2 callers
Method
update_clock_instant
(&mut self, clockid: usize, secs: u64, nanos_info: u64)
kernel/src/vdso.rs:157
↓ 2 callers
Method
update_coarse_res_instant
(&mut self, instant: Instant)
kernel/src/vdso.rs:179
↓ 2 callers
Method
update_data_frame_instant
Update the requisite fields of the VDSO data in the `data_frame`.
kernel/src/vdso.rs:278
↓ 2 callers
Method
update_for_event
(&mut self, event: &VsockEvent)
kernel/src/net/socket/vsock/stream/connected.rs:203
↓ 2 callers
Method
update_high_res_instant
(&mut self, instant: Instant, instant_cycles: u64)
kernel/src/vdso.rs:162
↓ 2 callers
Method
update_indirect_block
(&mut self)
kernel/src/fs/ext2/inode.rs:2037
↓ 2 callers
Method
update_last_record
Uses an input instant and cycles to update the `last_record` in the `ClockSource`.
kernel/comps/time/src/clocksource.rs:123
↓ 2 callers
Method
update_min_uncompleted
(&mut self, completed_nth: usize)
kernel/comps/mlsdisk/src/layers/4-lsm/range_query_ctx.rs:86
↓ 2 callers
Function
update_pending_alter
Look for pending alter operations that can be completed, ref: <https://elixir.bootlin.com/linux/v6.0.9/source/ipc/sem.c#L949>
kernel/src/ipc/semaphore/system_v/sem.rs:244
↓ 2 callers
Method
update_size
(&mut self, new_size: usize)
kernel/src/fs/ext2/inode.rs:1654
↓ 2 callers
Method
update_sst_manager
( &self, created: impl Iterator<Item = (SSTable<K, V>, LsmLevel)>, deleted: impl Itera
kernel/comps/mlsdisk/src/layers/4-lsm/tx_lsm_tree.rs:713
↓ 2 callers
Method
val
(&self)
kernel/src/ipc/semaphore/system_v/sem.rs:111
↓ 2 callers
Method
valid_size
Returns the **valid** size of the `MappedVmo`. The **valid** size of a `MappedVmo` is the size of its accessible range that actually falls within the
kernel/src/vm/vmar/vm_mapping.rs:592
↓ 2 callers
Method
value
For the extensions list parser
ostd/src/arch/riscv/cpu/extension.rs:247
↓ 2 callers
Method
version
(&self)
ostd/src/arch/x86/kernel/apic/xapic.rs:72
↓ 2 callers
Function
virtio_iface
()
kernel/src/net/iface/init.rs:22
↓ 2 callers
Method
visit_children_with
(&self, min_id: u64, f: &mut dyn FnMut(&Arc<C>) -> Option<()>)
kernel/comps/systree/src/utils.rs:164
↓ 2 callers
Method
vmo_offset
Sets the offset of the first memory page in the VMO that is to be mapped into the VMAR. The offset must be page-aligned and within the VMO. The defa
kernel/src/vm/vmar/mod.rs:900
↓ 2 callers
Method
vtime_slice
The virtual time slice for each thread in the run queue, measured in vruntime clocks.
kernel/src/sched/sched_class/fair.rs:278
↓ 2 callers
Method
wait
Atomically releases the given `MutexGuard`, blocking the current thread until the condition variable is notified, after which the mutex will be reacqu
kernel/src/process/sync/condvar.rs:114
↓ 2 callers
Method
wait_and_send_data
(&mut self, data: u8)
kernel/comps/keyboard/src/i8042_chip/controller.rs:162
↓ 2 callers
Method
wait_compaction
Wait until the compaction is finished.
kernel/comps/mlsdisk/src/layers/4-lsm/compaction.rs:40
↓ 2 callers
Method
wait_for_prev_readahead
Waits for the previous readahead.
kernel/src/fs/utils/page_cache.rs:250
↓ 2 callers
Method
wait_timeout
Waits for the condition variable to be signaled or broadcasted, or a timeout to elapse. bool is true if the timeout is reached. The function returns
kernel/src/process/sync/condvar.rs:143
↓ 2 callers
Function
wake_const_ops
Wakeup pending const operations, ref: <https://elixir.bootlin.com/linux/v6.0.9/source/ipc/sem.c#L854>
kernel/src/ipc/semaphore/system_v/sem.rs:280
↓ 2 callers
Method
wake_signalled_waker
Wakes up the signalled waker.
kernel/src/process/posix_thread/mod.rs:206
↓ 2 callers
Method
wake_up_parent
(&self)
kernel/src/process/process/mod.rs:713
↓ 2 callers
Method
warn_unsupported_flags
(&self, flags: &EpollFlags)
kernel/src/fs/epoll/file.rs:242
↓ 2 callers
Method
write
(&self, _reader: &mut VmReader)
kernel/src/process/pid_file.rs:70
↓ 2 callers
Method
write_at
(&self, mut offset: usize, reader: &mut VmReader)
kernel/src/fs/inode_handle/mod.rs:98
↓ 2 callers
Method
write_at
(&self, offset: usize, reader: &mut VmReader)
kernel/src/fs/utils/inode.rs:404
↓ 2 callers
Method
write_at
Writes data to the target inode, if it resides in the lower layer, it will be copied up to the upper layer. The corresponding parent directories will
kernel/src/fs/overlayfs/fs.rs:281
↓ 2 callers
Method
write_blocks
Writes contiguous blocks starting from the `bid` synchronously.
kernel/src/fs/ext2/fs.rs:329
↓ 2 callers
Method
write_blocks_async
Writes one or multiple blocks from the segment start from `bid` asynchronously.
kernel/src/fs/ext2/inode.rs:1889
↓ 2 callers
Method
write_cstring
Writes a CString including the ending null byte to the stack. Returns the writing address
kernel/src/process/process_vm/init_stack/mod.rs:354
↓ 2 callers
Function
write_lock_two_direntries_by_ino
( this: (u64, &'a RwLock<DirEntry>), other: (u64, &'a RwLock<DirEntry>), )
kernel/src/fs/ramfs/fs.rs:1259
↓ 2 callers
Method
write_page_async
(&self, idx: usize, frame: &CachePage)
kernel/src/fs/exfat/fs.rs:386
↓ 2 callers
Function
write_socket_addr_with_max_len
Writes a socket address to the user space. If the specified maximum length for the socket address is not enough, the socket address is truncated to t
kernel/src/util/net/addr/family.rs:236
↓ 2 callers
Method
write_str
(&mut self, s: &str)
ostd/src/console.rs:10
↓ 2 callers
Method
writer
Creates a writer to write data into the user space. Returns `Err` if the `vaddr` and `len` do not represent a user space memory range.
kernel/src/context.rs:90
↓ 2 callers
Method
writer
(&self)
kernel/comps/network/src/dma_pool.rs:245
↓ 2 callers
Method
writers_mut
Returns mutable reference to [`VmWriter`]s.
kernel/src/util/iovec.rs:131
↓ 1 callers
Method
accept
Accepts a connection on the socket.
kernel/src/net/socket/mod.rs:75
↓ 1 callers
Method
accept
(&self)
kernel/src/net/socket/ip/stream/mod.rs:484
↓ 1 callers
Function
accept_without_addr
test/src/apps/network/send_buf_full.c:50
↓ 1 callers
Method
access_point
Point query. # Panics This method must be called within a TX. Otherwise, this method panics.
kernel/comps/mlsdisk/src/layers/4-lsm/sstable.rs:162
↓ 1 callers
Method
access_range
Range query. # Panics This method must be called within a TX. Otherwise, this method panics.
kernel/comps/mlsdisk/src/layers/4-lsm/sstable.rs:200
↓ 1 callers
Method
activate_tls_pointer
Activates thread-local storage pointer on the current CPU.
ostd/src/arch/riscv/cpu/context.rs:130
↓ 1 callers
Function
adapt_for_gdb_server
(config: &mut Config, gdb_server_str: &str)
osdk/src/commands/run.rs:47
↓ 1 callers
Method
add
(&mut self, bytes: &[u8])
kernel/src/net/socket/vsock/stream/connected.rs:207
↓ 1 callers
Method
add
Adds the given number of jiffies, saturating at [`Jiffies::MAX`] on overflow.
ostd/src/timer/jiffies.rs:38
↓ 1 callers
Method
add_assign
(&mut self, rhs: T)
kernel/src/process/signal/sig_mask.rs:100
↓ 1 callers
Method
add_backlog
( &self, addr: UnixSocketAddrBound, pollee: Pollee, backlog: usize, is
kernel/src/net/socket/unix/stream/listener.rs:121
↓ 1 callers
Method
add_connection_buffer
(&self, bytes: &[u8])
kernel/src/net/socket/vsock/stream/connected.rs:123
↓ 1 callers
Function
add_feature_entries
(dep_crate_name: &str, features: &toml::Table)
osdk/src/base_crate/mod.rs:306
↓ 1 callers
Function
add_free_memory
(_guard: &DisabledLocalIrqGuard, addr: Paddr, size: usize)
osdk/deps/frame-allocator/src/pools/mod.rs:112
↓ 1 callers
Method
add_free_memory
(&self, addr: Paddr, size: usize)
osdk/deps/frame-allocator/src/lib.rs:81
↓ 1 callers
Method
add_interest
( &self, fd: FileDesc, file: Arc<dyn FileLike>, ep_event: EpollEvent,
kernel/src/fs/epoll/file.rs:81
↓ 1 callers
Method
add_ktest
(&mut self, test: KtestItem)
osdk/deps/test-kernel/src/tree.rs:111
↓ 1 callers
Function
add_manifest_dependencies
(cargo_metadata: &serde_json::Value, crate_name: &str)
osdk/src/commands/new/mod.rs:33
↓ 1 callers
Function
add_manifest_dependency
( crate_name: &str, crate_path: impl AsRef<Path>, link_unit_test_kernel: bool, )
osdk/src/base_crate/mod.rs:198
↓ 1 callers
Function
add_member_to_workspace
(workspace: impl AsRef<Path>, new_member: &str)
osdk/tests/util/mod.rs:84
↓ 1 callers
Function
add_multi_flag
Adds the `MULTI` flag to all segments in `segments`.
kernel/src/net/socket/netlink/route/kernel/util.rs:32
↓ 1 callers
Method
add_posix_timer
Adds a POSIX timer to the managed `posix_timers`, and allocate a timer ID for this timer. Return the timer ID.
kernel/src/process/process/timer_manager.rs:162
↓ 1 callers
Method
add_rss_counter
(&self, rss_type: RssType, val: isize)
kernel/src/vm/vmar/mod.rs:754
↓ 1 callers
Function
add_rust_toolchain
Add the rust-toolchain.toml file in workspace root
osdk/src/commands/new/mod.rs:149
↓ 1 callers
Method
add_rx_buffer
Adds a `RxBuffer` to the receive queue.
kernel/comps/virtio/src/device/network/device.rs:156
↓ 1 callers
Method
add_rx_buffer
Add a used rx buffer to recv queue,@index is only to check the correctness
kernel/comps/virtio/src/device/socket/device.rs:305
↓ 1 callers
Method
add_slave
(&self, name: String, slave: Arc<PtySlaveInode>)
kernel/src/fs/devpts/mod.rs:159
↓ 1 callers
Function
add_thread
Adds a posix thread to global thread table
kernel/src/process/posix_thread/thread_table.rs:9
↓ 1 callers
Method
add_worker
(&self)
kernel/src/thread/work_queue/worker_pool.rs:82
↓ 1 callers
Method
addr
(&self)
kernel/src/net/socket/unix/stream/listener.rs:53
↓ 1 callers
Method
addr
(&self)
kernel/src/net/socket/vsock/stream/listen.rs:28
↓ 1 callers
Method
address_length
Memory BAR bits type
ostd/src/bus/pci/cfg_space.rs:213
↓ 1 callers
Method
address_type
(&self)
ostd/src/arch/x86/iommu/fault.rs:122
↓ 1 callers
Method
adjust_head_pos
Make sure the bit at the range start position is 0.
kernel/src/fs/exfat/bitmap.rs:177
↓ 1 callers
Method
adjust_stack_alignment
Libc ABI requires 16-byte alignment of the stack entrypoint. Current position of the stack is 8-byte aligned already, insert 8 byte to meet the requir
kernel/src/process/process_vm/init_stack/mod.rs:289
↓ 1 callers
Method
after_schedule
(&self)
kernel/src/process/posix_thread/thread_local.rs:178
↓ 1 callers
Function
after_switching_to
Does cleanups after switching to a task. # Safety This function must be called only once after switching to a task.
ostd/src/task/processor.rs:112
↓ 1 callers
Method
align
Returns the alignment.
kernel/comps/block/src/bio.rs:771
↓ 1 callers
Function
align_down
Aligns `x` down to the previous multiple of `align`.
kernel/comps/mlsdisk/src/util/mod.rs:20
↓ 1 callers
Function
align_up
(size: usize, align: usize)
kernel/libs/cpio-decoder/src/lib.rs:374
↓ 1 callers
Method
all_blocks
Return all the buffered data blocks.
kernel/comps/mlsdisk/src/layers/5-disk/data_buf.rs:109
↓ 1 callers
Function
all_devices_lock
( )
kernel/comps/console/src/lib.rs:62
↓ 1 callers
Method
alloc
Gets a memory region for testing.
osdk/deps/frame-allocator/src/test.rs:64
↓ 1 callers
Method
alloc
(&'static self)
ostd/src/arch/x86/iommu/interrupt_remapping/table.rs:35
↓ 1 callers
Function
alloc_at
(addr: usize, size: usize)
ostd/libs/linux-bzimage/setup/src/x86/amd64_efi/alloc.rs:7
↓ 1 callers
Method
alloc_batch
Allocate multiple free slots for a bunch of new blocks, returns `None` if there are no free slots for all.
kernel/comps/mlsdisk/src/layers/5-disk/block_alloc.rs:93
↓ 1 callers
Method
alloc_block
Record a diff of `Alloc`.
kernel/comps/mlsdisk/src/layers/5-disk/block_alloc.rs:301
↓ 1 callers
Method
alloc_cluster_from_empty
If current capacity is 0 (no start_cluster), this means we can choose a allocation type We first try continuous allocation If no continuous allocation
kernel/src/fs/exfat/fat.rs:202
← previous
next →
2,101–2,200 of 7,307, ranked by callers