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
↓ 1 callers
Method
mac_addr
(&self)
kernel/comps/virtio/src/device/network/device.rs:315
↓ 1 callers
Method
macro_item_tokens
The token stream inside macro definition. We will generate a token stream for each permutation of items since the user may use arbitrary order of item
kernel/libs/typeflags/src/flag_set.rs:106
↓ 1 callers
Function
madv_free
(start: Vaddr, end: Vaddr, ctx: &Context)
kernel/src/syscall/madvise.rs:53
↓ 1 callers
Function
make_pe_coff_header
(setup_elf: &[u8])
ostd/libs/linux-bzimage/builder/src/pe_header.rs:187
↓ 1 callers
Method
map_and_write
Maps the VMO of the init stack and constructs a writer to initialize its content.
kernel/src/process/process_vm/init_stack/mod.rs:164
↓ 1 callers
Method
map_and_write_init_stack
( &self, argv: Vec<CString>, envp: Vec<CString>, aux_vec: AuxVec, )
kernel/src/process/process_vm/mod.rs:161
↓ 1 callers
Function
map_segment_vmo
Creates and map the corresponding segment VMO to `root_vmar`. If needed, create additional anonymous mapping to represents .bss segment.
kernel/src/process/program_loader/elf/load_elf.rs:311
↓ 1 callers
Function
map_vdso_to_vm
Maps the VDSO VMO to the corresponding virtual memory address.
kernel/src/process/program_loader/elf/load_elf.rs:497
↓ 1 callers
Method
mark_completed
Mark the specific slot as completed.
kernel/comps/mlsdisk/src/layers/4-lsm/range_query_ctx.rs:73
↓ 1 callers
Function
mark_filde_mayblock
test/src/apps/network/send_buf_full.c:83
↓ 1 callers
Function
mark_filde_nonblock
test/src/apps/network/send_buf_full.c:65
↓ 1 callers
Method
mask
(&self)
kernel/src/syscall/signalfd.rs:169
↓ 1 callers
Function
match_and_call
Match the ComponentInfo with ComponentRegistry. The key is the relative path of one component
kernel/libs/comp-sys/component/src/lib.rs:132
↓ 1 callers
Method
max_delay_secs
Returns the maximum delay seconds for updating of the `ClockSource`.
kernel/comps/time/src/clocksource.rs:138
↓ 1 callers
Method
max_nr_segments_per_bio
Returns the upper limit for the number of segments per bio.
kernel/comps/block/src/request_queue.rs:43
↓ 1 callers
Function
max_order_from
Returns the maximum order starting from the address. If the start address is not aligned to the order, the address/order pair cannot form a buddy chu
osdk/deps/frame-allocator/src/chunk.rs:87
↓ 1 callers
Method
max_queue_size
(&self, idx: u16)
kernel/comps/virtio/src/transport/pci/device.rs:200
↓ 1 callers
Method
maximum_address_mask_value
Maximum Address Mask Value, indicates the maximum supported value for them Address Mask (AM) field in the Invalidation Address register (IVA_REG), and
ostd/src/arch/x86/iommu/registers/capability.rs:33
↓ 1 callers
Method
maximum_guest_address_width
Maximum Guest Address Width. The maximum guest physical address width supported by second-stage translation in remapping hardware. MGAW is computed as
ostd/src/arch/x86/iommu/registers/capability.rs:78
↓ 1 callers
Method
maximum_handle_mask
Maximum Handle Mask Value, indicates the maximum supported value for the Interrupt Mask (IM) field in the Interrupt Entry Cache Invalidation Descripto
ostd/src/arch/x86/iommu/registers/extended_cap.rs:31
↓ 1 callers
Method
memory_type
(&self)
ostd/src/arch/x86/boot/multiboot/mod.rs:321
↓ 1 callers
Method
merge
(&mut self, other: &Self)
kernel/src/fs/utils/range_lock/range.rs:92
↓ 1 callers
Method
merge_bio
Merges the `SubmittedBio` into this request. The merged `SubmittedBio` can only be placed at the front or back. # Panics If the `SubmittedBio` can
kernel/comps/block/src/request_queue.rs:195
↓ 1 callers
Method
merge_with
Merges the range of this lock with another lock's range If the merge fails, it will trigger a panic
kernel/src/fs/utils/range_lock/mod.rs:95
↓ 1 callers
Method
metadata
The metadata of the file.
kernel/libs/cpio-decoder/src/lib.rs:147
↓ 1 callers
Method
metadata
(&self)
kernel/comps/mlsdisk/src/lib.rs:184
↓ 1 callers
Method
method
(&self)
kernel/libs/comp-sys/cargo-component/tests/trait_method_test/foo2/src/lib.rs:16
↓ 1 callers
Function
might_preempt
()
ostd/src/task/scheduler/mod.rs:384
↓ 1 callers
Function
min_period_clocks
Returns the minimum scheduling period, measured in TSC clock units.
kernel/src/sched/sched_class/time.rs:51
↓ 1 callers
Method
mknod
(&self, name: &str, mode: InodeMode, type_: MknodType)
kernel/src/fs/overlayfs/fs.rs:456
↓ 1 callers
Function
mmio_check_magic
(io_mem: &IoMem)
kernel/comps/virtio/src/transport/mmio/bus/common_device.rs:73
↓ 1 callers
Method
mmio_device
(&self)
kernel/comps/virtio/src/transport/mmio/device.rs:57
↓ 1 callers
Function
mmio_read_version
(io_mem: &IoMem)
kernel/comps/virtio/src/transport/mmio/bus/common_device.rs:79
↓ 1 callers
Method
mod_interest
( &self, fd: FileDesc, file: Arc<dyn FileLike>, new_ep_event: EpollEvent,
kernel/src/fs/epoll/file.rs:141
↓ 1 callers
Method
mode
(&self)
kernel/src/fs/utils/systree_inode.rs:297
↓ 1 callers
Method
mode
(&self)
kernel/src/fs/exfat/inode.rs:1169
↓ 1 callers
Method
mode
(&self)
kernel/src/fs/procfs/template/mod.rs:82
↓ 1 callers
Method
modified_time
(&self)
osdk/src/bundle/file.rs:44
↓ 1 callers
Method
modify_year
Converts raw year (10, 20 etc.) to real year (2010, 2020 etc.).
kernel/comps/time/src/rtc/cmos.rs:92
↓ 1 callers
Function
mount_overlayfs
test/src/apps/overlayfs/ovl_test.c:93
↓ 1 callers
Function
move_children_to_reaper_process
Moves the children to a reaper process.
kernel/src/process/exit.rs:100
↓ 1 callers
Method
move_process_to_group
Moves the process itself or its child process to another process group. The process to be moved is specified with the process ID `pid`; `self` is use
kernel/src/process/process/mod.rs:443
↓ 1 callers
Method
move_sst
(&mut self, id: TxLogId, from: LsmLevel, to: LsmLevel)
kernel/comps/mlsdisk/src/layers/4-lsm/tx_lsm_tree.rs:867
↓ 1 callers
Method
mult
Return the `mult` of the Coeff. Only used for the VdsoData and will be removed in the future.
kernel/libs/aster-util/src/coeff.rs:101
↓ 1 callers
Method
multicast
(&self, dst_groups: GroupIdSet, message: Message)
kernel/src/net/socket/netlink/table/mod.rs:153
↓ 1 callers
Method
mut_local_rq_with
(&self, f: &mut dyn FnMut(&mut dyn LocalRunQueue<T>))
ostd/src/task/scheduler/fifo_scheduler.rs:72
↓ 1 callers
Method
name
(&self)
kernel/src/process/posix_thread/name.rs:55
↓ 1 callers
Method
name
(&self)
kernel/comps/systree/src/utils.rs:53
↓ 1 callers
Method
name_upon_creation
(&self)
kernel/src/fs/overlayfs/fs.rs:597
↓ 1 callers
Method
nblocks
(&self)
kernel/src/fs/ext2/inode.rs:1937
↓ 1 callers
Method
need_dispatch
Returns whether the socket _may_ generate an outgoing packet. The check is intended to be lock-free and fast, but may have false positives.
kernel/libs/aster-bigtcp/src/socket/bound/udp.rs:96
↓ 1 callers
Function
new_base_crate
Create a new base crate that will be built by cargo. The dependencies of the base crate will be the target crate. If `link_unit_test_kernel` is set t
osdk/src/base_crate/mod.rs:65
↓ 1 callers
Function
new_bound_socket
test/src/apps/network/listen_backlog.c:9
↓ 1 callers
Function
new_bound_socket
test/src/apps/network/send_buf_full.c:12
↓ 1 callers
Function
new_connected_socket
test/src/apps/network/listen_backlog.c:28
↓ 1 callers
Function
new_connected_socket
test/src/apps/network/send_buf_full.c:31
↓ 1 callers
Method
new_dentry_iter
(&self, min_ino: Ino)
kernel/src/fs/utils/systree_inode.rs:236
↓ 1 callers
Function
new_detached_inode
Creates a RAM inode that is detached from any `RamFS`. TODO: Add "anonymous inode fs" and link the inode to it.
kernel/src/fs/ramfs/fs.rs:1255
↓ 1 callers
Function
new_fs_in_memory
(root: Arc<dyn Inode>)
kernel/src/fs/utils/random_test.rs:522
↓ 1 callers
Function
new_ip_option
(name: i32)
kernel/src/util/net/options/ip.rs:69
↓ 1 callers
Function
new_loopback
()
kernel/src/net/iface/init.rs:106
↓ 1 callers
Function
new_netlink_option
(name: i32)
kernel/src/util/net/options/netlink.rs:24
↓ 1 callers
Function
new_pty_pair
(index: u32, ptmx: Arc<dyn Inode>)
kernel/src/device/pty/mod.rs:44
↓ 1 callers
Function
new_socket_option
(name: i32)
kernel/src/util/net/options/socket.rs:50
↓ 1 callers
Function
new_tcp_option
(name: i32)
kernel/src/util/net/options/tcp.rs:46
↓ 1 callers
Function
new_udp_socket
()
kernel/libs/aster-bigtcp/src/socket/unbound.rs:17
↓ 1 callers
Function
new_virtio
()
kernel/src/net/iface/init.rs:57
↓ 1 callers
Function
new_vm_segment_from_image
Read exfat disk image
kernel/src/fs/exfat/mod.rs:123
↓ 1 callers
Method
next
(&mut self)
kernel/src/fs/epoll/entry.rs:355
↓ 1 callers
Method
next
(&mut self)
kernel/src/fs/ext2/dir.rs:282
↓ 1 callers
Method
next
(&mut self)
kernel/comps/mlsdisk/src/layers/2-edit/journal.rs:700
↓ 1 callers
Method
next
(&mut self)
kernel/comps/mlsdisk/src/layers/1-crypto/crypto_chain.rs:285
↓ 1 callers
Method
next
(&mut self)
kernel/comps/mlsdisk/src/layers/0-bio/block_buf.rs:178
↓ 1 callers
Method
next
(&mut self)
ostd/src/mm/page_table/test.rs:279
↓ 1 callers
Method
next_poll_at_ms
Returns the next poll time.
kernel/libs/aster-bigtcp/src/iface/poll_iface.rs:50
↓ 1 callers
Method
normalize
Normalizes time by adding carries from microseconds to seconds. Some Linux system calls do this before checking the validity (e.g., the [select] impl
kernel/src/time/mod.rs:92
↓ 1 callers
Method
notify_config
(&self, idx: usize)
kernel/comps/virtio/src/transport/pci/device.rs:116
↓ 1 callers
Method
notify_dead_events
(self: Arc<Self>)
kernel/libs/aster-bigtcp/src/socket/bound/common.rs:113
↓ 1 callers
Method
notify_input
(&self)
kernel/src/device/tty/n_tty.rs:35
↓ 1 callers
Method
notify_output
Notifies that the output buffer now has room for new characters. This method should be called when the state of [`TtyDriver::can_push`] changes from
kernel/src/device/tty/mod.rs:97
↓ 1 callers
Method
notify_poll_end
(&mut self)
kernel/comps/network/src/driver.rs:40
↓ 1 callers
Method
nsectors
Returns the number of sectors.
kernel/comps/block/src/bio.rs:463
↓ 1 callers
Method
nsems
(&self)
kernel/src/ipc/semaphore/system_v/sem_set.rs:109
↓ 1 callers
Method
num_complete_children
(&self)
kernel/comps/mlsdisk/src/layers/1-crypto/crypto_log.rs:609
↓ 1 callers
Method
num_events
(&self)
kernel/comps/virtio/src/device/input/device.rs:281
↓ 1 callers
Method
num_page_bytes
(&self)
kernel/src/fs/ext2/inode.rs:2186
↓ 1 callers
Method
num_queues
(&self)
kernel/comps/virtio/src/transport/pci/legacy.rs:199
↓ 1 callers
Method
num_reqs
Returns the number of pending requests in this queue.
kernel/comps/mlsdisk/src/layers/5-disk/bio.rs:56
↓ 1 callers
Method
num_workers
(&self, cpu_id: CpuId)
kernel/src/thread/work_queue/worker_pool.rs:169
↓ 1 callers
Method
observer_ref
(&self)
kernel/src/syscall/signalfd.rs:173
↓ 1 callers
Method
offset
(&self)
kernel/src/fs/inode_handle/mod.rs:120
↓ 1 callers
Method
offset_in_parent
(&self)
kernel/libs/xarray/src/node.rs:164
↓ 1 callers
Method
on_commit_edits
(&mut self, _edits: &EditGroup<E, S>)
kernel/comps/mlsdisk/src/layers/2-edit/journal.rs:745
↓ 1 callers
Method
on_events
(&self, events: &E)
kernel/src/events/observer.rs:38
↓ 1 callers
Method
on_new_state
(&mut self, this: &Arc<TcpConnectionBg<E>>)
kernel/libs/aster-bigtcp/src/socket/bound/tcp_conn.rs:158
↓ 1 callers
Function
on_qemu_exit
A hook to be invoked on QEMU exit for dumping the code coverage data.
ostd/src/coverage.rs:10
↓ 1 callers
Method
ondemand_readahead
(&self, idx: usize)
kernel/src/fs/utils/page_cache.rs:391
↓ 1 callers
Method
op
(&self)
kernel/comps/virtio/src/device/socket/header.rs:92
↓ 1 callers
Method
open
(&self)
kernel/src/device/tty/device.rs:18
↓ 1 callers
Method
open
Open a `CryptoChain<L>` from the recovery object. User should call `next` to retrieve valid blocks as much as possible.
kernel/comps/mlsdisk/src/layers/1-crypto/crypto_chain.rs:271
← previous
next →
3,001–3,100 of 7,307, ranked by callers