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
Function
__ostd_panic_handler
(info: &core::panic::PanicInfo)
ostd/src/panic.rs:22
Function
abort_has_no_effect
()
kernel/comps/mlsdisk/src/tx/mod.rs:405
Method
accept
(&self)
kernel/src/net/socket/unix/stream/socket.rs:349
Method
accept
(&self)
kernel/src/net/socket/vsock/stream/socket.rs:232
Method
accept
Accepts a TCP connection. Polling the iface is _not_ required after this method succeeds.
kernel/libs/aster-bigtcp/src/socket/bound/tcp_listen.rs:123
Method
access_bufs_with
Access the immutable buffers with a closure.
kernel/comps/mlsdisk/src/layers/5-disk/bio.rs:117
Method
access_mode
(&self)
kernel/src/vm/memfd.rs:135
Method
access_mode
(&self)
kernel/src/fs/pipe.rs:125
Method
access_mode
(&self)
kernel/src/fs/named_pipe.rs:49
Method
access_mode
(&self)
kernel/src/fs/file_handle.rs:91
Method
access_mut_bufs_with
Access the mutable buffers with a closure.
kernel/comps/mlsdisk/src/layers/5-disk/bio.rs:126
Method
access_scan
Scan the whole SST and collect all records. # Panics This method must be called within a TX. Otherwise, this method panics.
kernel/comps/mlsdisk/src/layers/4-lsm/sstable.rs:305
Method
acl
(&self)
kernel/src/fs/ext2/inode.rs:1278
Method
acquire
Acquires an `IoPort` instance for the given range.
ostd/src/io/io_port/mod.rs:31
Method
acquire
Acquires the `IoPort`. Return None if any region in `port` cannot be allocated.
ostd/src/io/io_port/allocator.rs:26
Method
acquire
Acquires an `IoMem` instance for the given range.
ostd/src/io/io_mem/mod.rs:40
Method
acquire
Acquires the I/O memory access for `range`. If the range is not available, then the return value will be `None`.
ostd/src/io/io_mem/allocator.rs:24
Function
activate_page_table
Activates the given level 4 page table. "pgdl" or "pgdh" register doesn't have a field that encodes the cache policy, so `_root_pt_cache` is ignored.
ostd/src/arch/loongarch/mm/mod.rs:115
Function
activate_page_table
Activate the given level 4 page table. "satp" register doesn't have a field that encodes the cache policy, so `_root_pt_cache` is ignored. # Safety
ostd/src/arch/riscv/mm/mod.rs:99
Method
activate_tls_pointer
Activates thread-local storage pointer on the current CPU.
ostd/src/arch/loongarch/cpu/context.rs:132
Method
activate_tls_pointer
Activates thread-local storage pointer on the current CPU. # Safety The method by itself is safe because the value of the TLS register won't affect
ostd/src/arch/x86/cpu/context/mod.rs:256
Function
add
(left: usize, right: usize)
kernel/libs/comp-sys/cargo-component/tests/regression_test/bar1/src/lib.rs:3
Function
add
(left: usize, right: usize)
kernel/libs/comp-sys/cargo-component/tests/duplicate_lib_name_test/src/lib.rs:1
Function
add
(left: usize, right: usize)
kernel/libs/comp-sys/cargo-component/tests/missing_toml_test/src/lib.rs:1
Function
add
(left: usize, right: usize)
kernel/libs/comp-sys/cargo-component/tests/violate_policy_test/bar3/src/lib.rs:3
Method
add
(self, rhs: T)
kernel/src/process/signal/sig_mask.rs:91
Method
add
Adds `increment` to the counter on the given CPU.
kernel/src/util/per_cpu_counter.rs:30
Method
add
Increase the address in units of bytes occupied by the generic T.
kernel/libs/aster-util/src/safe_ptr.rs:254
Method
add
(self, other: u64)
kernel/comps/block/src/id.rs:76
Method
add
(self, other: Duration)
kernel/comps/time/src/clocksource.rs:215
Method
add
(self, other: usize)
kernel/comps/mlsdisk/src/layers/5-disk/mlsdisk.rs:801
Method
add
(self, rhs: usize)
ostd/libs/linux-bzimage/builder/src/mapping.rs:54
Method
add_all
Adds all CPUs to the set.
ostd/src/cpu/set.rs:99
Method
add_assign
(offset: *mut Self, rhs: T)
ostd/src/cpu/local/single_instr.rs:41
Function
add_counter
()
kernel/comps/softirq/src/taskless.rs:210
Method
add_groups
(&mut self, groups: GroupIdSet)
kernel/src/net/socket/netlink/table/mod.rs:209
Method
add_groups
(&mut self, groups: GroupIdSet)
kernel/src/net/socket/netlink/common/mod.rs:206
Method
add_groups
(&mut self, groups: GroupIdSet)
kernel/src/net/socket/netlink/common/bound.rs:54
Method
add_groups
Adds some new groups to the address.
kernel/src/net/socket/netlink/addr/mod.rs:48
Method
add_groups
Adds some new groups.
kernel/src/net/socket/netlink/addr/multicast.rs:28
Method
add_lazy_delete
( log_id: TxLogId, delete_table: &mut HashMap<TxLogId, Arc<LazyDelete<TxLogId>>>, raw_
kernel/comps/mlsdisk/src/layers/3-log/tx_log.rs:367
Method
add_lazy_delete
Adds a lazy delete for the given log.
kernel/comps/mlsdisk/src/layers/3-log/raw_log.rs:177
Method
add_lazy_deletes_for_created_logs
( state: &mut State, edit: &TxLogStoreEdit, raw_log_store: &Arc<RawLogStore<D>>, )
kernel/comps/mlsdisk/src/layers/3-log/tx_log.rs:381
Method
add_lazy_deletes_for_created_logs
( state: &mut State, edit: &RawLogStoreEdit, chunk_alloc: &ChunkAlloc, )
kernel/comps/mlsdisk/src/layers/3-log/raw_log.rs:193
Method
addr
Gets the address of this socket.
kernel/src/net/socket/mod.rs:85
Method
addr
(&self)
kernel/src/net/socket/unix/stream/socket.rs:363
Method
addr
(&self)
kernel/src/net/socket/unix/stream/connected.rs:78
Method
addr
(&self)
kernel/src/net/socket/unix/stream/init.rs:118
Method
addr
(&self)
kernel/src/net/socket/netlink/common/mod.rs:104
Method
addr
(&self)
kernel/src/net/socket/netlink/common/unbound.rs:33
Method
addr
(&self)
kernel/src/net/socket/ip/datagram/mod.rs:147
Method
addr
(&self)
kernel/src/net/socket/ip/stream/mod.rs:508
Method
addr
Returns the socket address.
kernel/src/net/socket/util/message_header.rs:25
Method
addr
(&self)
kernel/src/net/socket/util/datagram_common.rs:125
Method
address_width
(&self)
ostd/src/arch/x86/iommu/dma_remapping/context_table.rs:190
Method
adjust_time_zone
(sec: u64, time_zone: u8)
kernel/src/fs/exfat/utils.rs:163
Method
after_analysis
( &mut self, _: &rustc_interface::interface::Compiler, queries: &'tcx rustc_interface:
kernel/libs/comp-sys/cargo-component/src/driver.rs:105
Function
alignment
()
ostd/src/sync/rcu/non_null/either.rs:522
Function
all_devices
()
kernel/comps/virtio/src/device/socket/mod.rs:36
Function
all_devices
()
kernel/comps/console/src/lib.rs:54
Function
all_devices
()
kernel/comps/network/src/lib.rs:164
Function
all_devices
()
kernel/comps/input/src/lib.rs:48
Function
all_false
()
kernel/comps/mlsdisk/src/util/bitmap.rs:252
Function
all_true
()
kernel/comps/mlsdisk/src/util/bitmap.rs:244
Function
alloc
(guard: &DisabledLocalIrqGuard, layout: Layout)
osdk/deps/frame-allocator/src/pools/mod.rs:54
Method
alloc
Allocates a CPU-local object and initializes it with `init_values`.
osdk/deps/heap-allocator/src/cpu_local_allocator.rs:30
Method
alloc
Allocates a slot from the cache. The caller must provide which cache is it because we don't know from `&mut self`. The information is used for deallo
osdk/deps/heap-allocator/src/slab_cache.rs:44
Method
alloc
(&mut self, class: CommonSizeClass)
osdk/deps/heap-allocator/src/allocator.rs:128
Method
alloc
(&self, layout: Layout)
osdk/deps/frame-allocator/src/lib.rs:66
Method
alloc
Allocate a free slot for a new block, returns `None` if there are no free slots.
kernel/comps/mlsdisk/src/layers/5-disk/block_alloc.rs:76
Method
alloc
Allocate specific number of blocks as memory buffer.
kernel/comps/mlsdisk/src/layers/0-bio/block_buf.rs:34
Method
alloc
Allocates a CPU-local object from the chunk, and initializes it with `init_values`. Returns `None` if the chunk is full.
ostd/src/cpu/local/dyn_cpu_local.rs:153
Method
alloc
Allocates a slot from the slab.
ostd/src/mm/heap/slab.rs:71
Method
alloc
(&self, layout: Layout)
ostd/src/mm/heap/mod.rs:99
Method
alloc
Allocates a range specific by the `size`. This is currently implemented with a simple FIRST-FIT algorithm.
ostd/src/util/range_alloc.rs:72
Method
alloc
Allocates and returns a new `id`. If allocation is not possible, it returns `None`.
ostd/libs/id-alloc/src/lib.rs:56
Function
alloc_aligned_in_user_stack
alloc memory of size on user stack, the return address should respect the align argument.
kernel/src/process/signal/mod.rs:338
Function
alloc_and_free_irq
()
ostd/src/trap/irq.rs:276
Function
alloc_at
(addr: usize, size: usize)
ostd/libs/linux-bzimage/setup/src/x86/legacy_i386/alloc.rs:58
Method
alloc_blocks
Allocates and returns a consecutive range of block indices. Returns `None` if the allocation fails. The actual allocated range size may be smaller t
kernel/src/fs/ext2/block_group.rs:184
Function
alloc_continuous_vmo
()
kernel/src/vm/vmo/options.rs:170
Method
alloc_ephemeral_port
Allocates an ephemeral port. We follow the port range that many Linux kernels use by default, which is 32768-60999. See <https://en.wikipedia.org/wi
kernel/libs/aster-bigtcp/src/iface/common.rs:138
Method
alloc_inner
The inner function that do the real segment allocation. Support two extended parameters: 1. `offset_within_first_block`: the offset (in bytes) within
kernel/comps/block/src/bio.rs:412
Method
alloc_ino
Allocates a new unique inode number.
kernel/src/fs/overlayfs/fs.rs:199
Function
alloc_irt_entry
()
ostd/src/arch/x86/iommu/interrupt_remapping/mod.rs:40
Method
alloc_large
Allocates a large slot. This function allocates in units of [`PAGE_SIZE`] bytes. This function returns an error if the frame allocation fails. # Pa
ostd/src/mm/heap/slot.rs:80
Function
alloc_page_size_segment
()
kernel/comps/network/src/dma_pool.rs:301
Function
alloc_small_size_segment
()
kernel/comps/network/src/dma_pool.rs:345
Method
alloc_specific
Allocate a specific ID. If the ID is already allocated, it returns `None`, otherwise it returns the allocated ID. # Panics If the `id` is out of bo
ostd/libs/id-alloc/src/lib.rs:159
Method
alloc_uninit
Allocates a new cache page which content and state are uninitialized.
kernel/src/fs/utils/page_cache.rs:506
Method
alloc_uninit
Allocates an uninitialized block whose bytes are to be populated with data loaded from the disk.
kernel/src/fs/ext2/indirect_block_cache.rs:146
Function
alloc_vmo
()
kernel/src/vm/vmo/options.rs:162
Method
alloc_zero
Allocates a new zeroed cache page with the wanted state.
kernel/src/fs/utils/page_cache.rs:517
Method
any_addr
()
kernel/src/net/socket/vsock/addr.rs:18
Method
any_error
Returns if any error occurs while deserializing the records.
kernel/comps/mlsdisk/src/layers/2-edit/journal.rs:692
Function
ap_early_entry
(cpu_id: u32)
ostd/src/boot/smp.rs:126
Function
ap_idle_thread
()
kernel/src/lib.rs:114
Function
ap_init
()
kernel/src/lib.rs:113
Function
append_trim_and_read
()
kernel/comps/mlsdisk/src/layers/1-crypto/crypto_chain.rs:351
Method
apply_log_caches
(state: &mut State, current_tx: &mut CurrentTx<'_>)
kernel/comps/mlsdisk/src/layers/3-log/tx_log.rs:412
← previous
next →
3,801–3,900 of 7,307, ranked by callers