MCPcopy Create free account

hub / github.com/asterinas/vostd / functions

Functions7,307 in github.com/asterinas/vostd

↓ 1 callersMethodalloc_consecutive
Allocates a consecutive range of new `id`s. The `count` is the number of consecutive `id`s to allocate. If it is 0, return `None`. If allocation is
ostd/libs/id-alloc/src/lib.rs:76
↓ 1 callersFunctionalloc_cpu_local
Allocates a dynamically-allocated CPU-local object of type `T` and initializes it with `init_values`. Currently, the size of `T` must be no larger th
osdk/deps/heap-allocator/src/cpu_local_allocator.rs:100
↓ 1 callersMethodalloc_ephemeral
(&self)
kernel/src/net/socket/unix/ns/abs.rs:90
↓ 1 callersFunctionalloc_ephemeral_abstract_name
()
kernel/src/net/socket/unix/ns/abs.rs:112
↓ 1 callersMethodalloc_ephemeral_port
Alloc an unused port range
kernel/src/net/socket/vsock/common.rs:62
↓ 1 callersMethodalloc_ino
Allocates a new inode number, internally used by `new_inode`. Attempts to allocate from the `dir_block_group_idx` group first. If allocation is not p
kernel/src/fs/ext2/fs.rs:170
↓ 1 callersMethodalloc_inode
Allocates and returns an inode index.
kernel/src/fs/ext2/block_group.rs:155
↓ 1 callersMethodalloc_log_id
(&mut self)
kernel/comps/mlsdisk/src/layers/3-log/raw_log.rs:835
↓ 1 callersFunctionalloc_mmio
Allocates an MMIO address range using the global allocator.
ostd/src/arch/loongarch/pci.rs:158
↓ 1 callersMethodallocate
Allocates a physical address range with the specified alignment and size.
ostd/src/arch/loongarch/pci.rs:112
↓ 1 callersFunctionallocate_boot_params
()
ostd/libs/linux-bzimage/setup/src/x86/amd64_efi/efi.rs:46
↓ 1 callersMethodallow_access
(&self, crate_name: &str, def_path: &str)
kernel/libs/comp-sys/cargo-component/analysis/src/conf.rs:55
↓ 1 callersFunctionap_boot_code_size
The size of the AP boot code (the `.ap_boot` section).
ostd/src/arch/x86/boot/smp.rs:137
↓ 1 callersMethodappend
(&self, buf: BufRef)
kernel/comps/mlsdisk/src/layers/0-bio/block_ring.rs:68
↓ 1 callersMethodappend
(&self, buf: BufRef)
kernel/comps/mlsdisk/src/layers/0-bio/block_log.rs:69
↓ 1 callersFunctionappend_done_segment
Appends a done segment as the last segment of the provided segments.
kernel/src/net/socket/netlink/route/kernel/util.rs:26
↓ 1 callersMethodappend_entry_in_the_end
(&mut self, mut header: DirEntryHeader, name: &str)
kernel/src/fs/ext2/dir.rs:455
↓ 1 callersMethodappend_entry_in_the_gap
( &mut self, mut entry_with_enough_gap: DirEntryItem, mut header: DirEntryHeader,
kernel/src/fs/ext2/dir.rs:440
↓ 1 callersMethodappend_mht_nodes
(&self, nodes: &[Arc<MhtNode>])
kernel/comps/mlsdisk/src/layers/1-crypto/crypto_log.rs:488
↓ 1 callersMethodappend_new_entry
Appends a new `DirEntry` starting from the current offset. If there is a gap between existing entries, inserts the new entry into the gap; If there i
kernel/src/fs/ext2/dir.rs:404
↓ 1 callersMethodappend_root_mht_node
(&self, root_key: &Key, node: &Arc<MhtNode>)
kernel/comps/mlsdisk/src/layers/1-crypto/crypto_log.rs:472
↓ 1 callersMethodapply
(&mut self, edit: &TxLogStoreEdit)
kernel/comps/mlsdisk/src/layers/3-log/tx_log.rs:974
↓ 1 callersMethodapply
(&mut self, edit: &RawLogStoreEdit)
kernel/comps/mlsdisk/src/layers/3-log/raw_log.rs:831
↓ 1 callersMethodapply_qemu_args
(&mut self, args: &Vec<String>)
osdk/src/config/scheme/qemu.rs:79
↓ 1 callersMethodapply_to
(&self, state: &mut S)
kernel/comps/mlsdisk/src/layers/2-edit/edits.rs:57
↓ 1 callersMethodapply_to
(&self, state: &mut TxLogStoreState)
kernel/comps/mlsdisk/src/layers/3-log/tx_log.rs:1233
↓ 1 callersMethodapply_to
(&self, state: &mut RawLogStoreState)
kernel/comps/mlsdisk/src/layers/3-log/raw_log.rs:1033
↓ 1 callersMethodapply_to
(&self, state: &mut ChunkAllocState)
kernel/comps/mlsdisk/src/layers/3-log/chunk.rs:401
↓ 1 callersFunctionarg_value
If a command-line option matches `find_arg`, then apply the predicate `pred` on its value. If true, then return it. The parameter is assumed to be eit
kernel/libs/comp-sys/cargo-component/src/driver.rs:30
↓ 1 callersMethodargv
Reads argv from the process init stack
kernel/src/process/process_vm/init_stack/mod.rs:413
↓ 1 callersMethodas_bytes_mut
Returns the FPU context as a mutable byte slice.
ostd/src/arch/x86/cpu/context/mod.rs:550
↓ 1 callersMethodas_c_type
(&self)
kernel/src/process/signal/sig_action.rs:53
↓ 1 callersMethodas_cstr
(&self)
kernel/src/fs/utils/mod.rs:92
↓ 1 callersMethodas_duration
Gets the [`Duration`] calculated from the jiffies counts.
ostd/src/timer/jiffies.rs:43
↓ 1 callersMethodas_merged_view
Returns the merged view of the directory.
kernel/src/fs/overlayfs/fs.rs:1026
↓ 1 callersMethodas_named_pipe
(&self)
kernel/src/fs/ramfs/fs.rs:178
↓ 1 callersMethodas_raw_u64
(&self)
ostd/src/arch/x86/iommu/interrupt_remapping/table.rs:171
↓ 1 callersMethodas_sock_option
(&self)
kernel/src/util/net/options/socket.rs:113
↓ 1 callersMethodas_sock_option_mut
(&mut self)
kernel/src/util/net/options/socket.rs:109
↓ 1 callersMethodas_socket
(&self)
kernel/src/fs/file_handle.rs:103
↓ 1 callersMethodas_string
(&self)
kernel/src/process/posix_thread/name.rs:59
↓ 1 callersMethodas_trap_frame
(&self)
ostd/src/arch/loongarch/cpu/context.rs:243
↓ 1 callersMethodas_u64
Gets the value of the ID.
kernel/comps/systree/src/node.rs:287
↓ 1 callersMethodas_u64
Gets the number of jiffies.
ostd/src/timer/jiffies.rs:33
↓ 1 callersMethodas_xterm_control_sequence
Gets the xterm control sequence for this key. Reference: <https://invisible-island.net/xterm/ctlseqs/ctlseqs.pdf>
kernel/comps/keyboard/src/lib.rs:194
↓ 1 callersFunctionassert_elf64_reloc_supported
(elf_file: &[u8])
ostd/libs/linux-bzimage/builder/src/lib.rs:114
↓ 1 callersMethodassign_work_queue
(&self, work_queue: Arc<WorkQueue>)
kernel/src/thread/work_queue/worker_pool.rs:153
↓ 1 callersMethodat_capacity
Return whether the table is full.
kernel/comps/mlsdisk/src/layers/4-lsm/mem_table.rs:270
↓ 1 callersMethodattach_mount_node
Attaches the mount node to the mountpoint.
kernel/src/fs/path/mount.rs:175
↓ 1 callersMethodattrs
(&self)
kernel/src/net/socket/netlink/message/segment/common.rs:32
↓ 1 callersMethodattrs_len
(&self)
kernel/src/net/socket/netlink/message/segment/common.rs:81
↓ 1 callersMethodavail_buf
(&mut self)
kernel/comps/mlsdisk/src/layers/2-edit/journal.rs:667
↓ 1 callersFunctionavailable_memory
()
osdk/tests/examples_in_book/work_in_workspace_templates/mylib/src/lib.rs:3
↓ 1 callersMethodbackspace
Removes the last character, if it is present.
kernel/src/device/tty/line_discipline.rs:76
↓ 1 callersMethodbackspace
(&mut self)
kernel/comps/framebuffer/src/console.rs:152
↓ 1 callersMethodbar_manager_mut
(&mut self)
ostd/src/bus/pci/common_device.rs:90
↓ 1 callersMethodbase
(&self)
kernel/src/process/signal/sig_stack.rs:49
↓ 1 callersMethodbase_addr
(&self)
ostd/src/arch/x86/boot/multiboot/mod.rs:311
↓ 1 callersMethodbase_load_address_offset
An offset to be subtracted from ELF vaddr for PIE
kernel/src/process/program_loader/elf/elf_file.rs:112
↓ 1 callersMethodbase_paddr
(&self)
ostd/src/arch/x86/iommu/invalidate/queue.rs:34
↓ 1 callersMethodbefore_schedule
(&self)
kernel/src/process/posix_thread/thread_local.rs:165
↓ 1 callersFunctionbefore_switching_to
(next_task: &Task, irq_guard: &DisabledLocalIrqGuard)
ostd/src/task/processor.rs:88
↓ 1 callersMethodbind
(self)
kernel/src/net/socket/unix/addr.rs:20
↓ 1 callersMethodbind
(&self, sockaddr: SocketAddr)
kernel/src/net/socket/vsock/stream/socket.rs:138
↓ 1 callersMethodbind
Binds a socket to the table. Returns the bound handle. The socket will be bound to a port specified by `addr.port()`. If `addr.port()` is zero, the k
kernel/src/net/socket/netlink/table/mod.rs:113
↓ 1 callersMethodbind
(&mut self, endpoint: &Self::Endpoint)
kernel/src/net/socket/netlink/kobject_uevent/bound.rs:25
↓ 1 callersMethodbind
( &mut self, endpoint: &Self::Endpoint, pollee: &Pollee, options: BindOptions,
kernel/src/net/socket/ip/datagram/unbound.rs:36
↓ 1 callersMethodbind
(&mut self, endpoint: &IpEndpoint, can_reuse: bool)
kernel/src/net/socket/ip/stream/init.rs:72
↓ 1 callersMethodbind_ephemeral
( &mut self, _remote_endpoint: &Self::Endpoint, pollee: &Pollee, )
kernel/src/net/socket/netlink/common/unbound.rs:73
↓ 1 callersMethodbind_ephemeral
( &mut self, remote_endpoint: &Self::Endpoint, pollee: &Pollee, )
kernel/src/net/socket/ip/datagram/unbound.rs:55
↓ 1 callersMethodbind_ephemeral
( &mut self, remote_endpoint: &UnboundSocket::Endpoint, pollee: &Pollee, )
kernel/src/net/socket/util/datagram_common.rs:89
↓ 1 callersMethodbind_groups
(&mut self, groups: GroupIdSet)
kernel/src/net/socket/netlink/table/mod.rs:231
↓ 1 callersMethodbind_mount_to
Binds mount the `Dentry` to the destination `Dentry`. If `recursive` is true, it will bind mount the whole mount tree to the destination `Dentry`. Ot
kernel/src/fs/path/dentry.rs:743
↓ 1 callersMethodbind_port
Bind a port
kernel/src/net/socket/vsock/common.rs:75
↓ 1 callersMethodbind_port
(&self, config: BindPortConfig)
kernel/libs/aster-bigtcp/src/iface/common.rs:154
↓ 1 callersFunctionbio_segment_pool_init
Initializes the bio segment pool.
kernel/comps/block/src/bio.rs:687
↓ 1 callersMethodbitand_assign
Bitwise ANDs a value to the per-CPU object in a single instruction. Note that this memory operation will not be elided or reordered by the compiler s
ostd/src/cpu/local/cell.rs:187
↓ 1 callersMethodbitor_assign
(&mut self, rhs: T)
kernel/src/process/signal/sig_mask.rs:82
↓ 1 callersMethodbitor_assign
Bitwise ORs a value to the per-CPU object in a single instruction. Note that this memory operation will not be elided or reordered by the compiler si
ostd/src/cpu/local/cell.rs:202
↓ 1 callersMethodblock_group_idx
(&self)
kernel/src/fs/ext2/inode.rs:77
↓ 1 callersMethodblock_group_of_bid
(&self, bid: Ext2Bid)
kernel/src/fs/ext2/fs.rs:417
↓ 1 callersMethodblock_idx
(&self, bid: Ext2Bid)
kernel/src/fs/ext2/fs.rs:437
↓ 1 callersMethodblock_macs
Returns the MACs of valid blocks. Each success call to `next` pushes the MAC of the new valid block.
kernel/comps/mlsdisk/src/layers/1-crypto/crypto_chain.rs:264
↓ 1 callersMethodbound_port
(&self)
kernel/src/net/socket/ip/datagram/bound.rs:35
↓ 1 callersMethodbound_task
(&self)
kernel/src/thread/work_queue/worker.rs:105
↓ 1 callersFunctionbringup_all_aps
Brings up all application processors. # Safety The caller must ensure that 1. we're in the boot context of the BSP, 2. all APs have not yet been boo
ostd/src/arch/x86/boot/smp.rs:115
↓ 1 callersMethodbrk
(&self, new_heap_end: Option<Vaddr>, ctx: &Context)
kernel/src/process/process_vm/heap.rs:68
↓ 1 callersFunctionbroadcast_signal_async
Broadcasts a process-directed kernel signal asynchronously. This is the asynchronous version of [`ProcessGroup::broadcast_signal`]. By asynchronous,
kernel/src/process/process/mod.rs:785
↓ 1 callersMethodbuddy
Gets the address of the buddy of this chunk.
osdk/deps/frame-allocator/src/chunk.rs:194
↓ 1 callersMethodbuf
(&self)
kernel/comps/network/src/buffer.rs:121
↓ 1 callersMethodbuf_len
(&self)
kernel/comps/network/src/buffer.rs:130
↓ 1 callersMethodbufs
Give the buffers of the request.
kernel/comps/mlsdisk/src/layers/5-disk/bio.rs:229
↓ 1 callersMethodbuild
Consumes the builder and returns the constructed `SysAttrSet`. # Errors Returns `Err` if the capacity limit is reached.
kernel/comps/systree/src/attr.rs:123
↓ 1 callersMethodbuild_entries_from_buf
(&mut self, blocks_buf: &USegment)
kernel/src/fs/ext2/xattr.rs:372
↓ 1 callersMethodbuild_hierarchy
( &self, level_entries: Vec<MhtNodeEntry>, total_data_nodes: usize, mut curr_h
kernel/comps/mlsdisk/src/layers/1-crypto/crypto_log.rs:652
↓ 1 callersMethodbuild_last_node
Building last MHT node of the level can be complicated, since the last node may be incomplete
kernel/comps/mlsdisk/src/layers/1-crypto/crypto_log.rs:760
↓ 1 callersFunctionbuild_pe_sec_headers_from
(elf: &xmas_elf::ElfFile)
ostd/libs/linux-bzimage/builder/src/pe_header.rs:358
↓ 1 callersFunctioncache_maximal_size
Returns the maximal size of cache for each CPU-local free pool. It depends on the size of the global free pool.
osdk/deps/frame-allocator/src/pools/balancing.rs:44
↓ 1 callersFunctioncache_minimal_size
Returns the minimal size of cache for each CPU-local free pool. It depends on the size of the global free pool.
osdk/deps/frame-allocator/src/pools/balancing.rs:32
↓ 1 callersFunctioncalc_checksum_32
(data: &[u8])
kernel/src/fs/exfat/utils.rs:14
← previousnext →2,201–2,300 of 7,307, ranked by callers