MCPcopy Create free account

hub / github.com/asterinas/vostd / functions

Functions7,307 in github.com/asterinas/vostd

↓ 7 callersMethodhead
Gets the head number of the `RingBuffer`. This is the number of items read from the ring buffer. The number wraps when crossing [`usize`] boundaries.
kernel/src/util/ring_buffer.rs:144
↓ 7 callersMethodheader
(&self)
kernel/src/net/socket/netlink/route/message/segment/mod.rs:60
↓ 7 callersMethodids_iter
Creates an iterator over all group IDs.
kernel/src/net/socket/netlink/addr/multicast.rs:23
↓ 7 callersMethodiface
(&self)
kernel/src/net/socket/ip/stream/mod.rs:795
↓ 7 callersMethodindex
(&self)
kernel/src/device/tty/mod.rs:78
↓ 7 callersFunctioninit
()
kernel/comps/virtio/src/transport/mod.rs:257
↓ 7 callersMethodinsert_without_try_merge
Inserts a `VmMapping` into the `Vmar`, without attempting to merge with neighboring mappings. The caller must ensure that the given `VmMapping` is no
kernel/src/vm/vmar/mod.rs:211
↓ 7 callersMethodinto_unique_head
Turns the free chunk into a pointer to the head frame.
osdk/deps/frame-allocator/src/chunk.rs:179
↓ 7 callersFunctionis_dot
Checks if the file name is ".", indicating it's the current directory.
kernel/src/fs/path/mod.rs:12
↓ 7 callersMethodis_marked
(&self, offset: u8)
kernel/libs/xarray/src/mark.rs:42
↓ 7 callersMethodis_shutdown
(&self)
kernel/src/fs/utils/channel.rs:360
↓ 7 callersMethodis_zombie
Returns whether the process is a zombie process.
kernel/src/process/status.rs:41
↓ 7 callersMethodkind
(&self)
kernel/src/sched/sched_class/policy.rs:36
↓ 7 callersMethodlocal_pool
(&self, cpu_id: CpuId)
kernel/src/thread/work_queue/worker_pool.rs:187
↓ 7 callersMethodlock_root_vmar
(&self)
kernel/src/process/process/mod.rs:588
↓ 7 callersMethodmap_size
Returns the mapping's size.
kernel/src/vm/vmar/vm_mapping.rs:134
↓ 7 callersMethodmountpoint_dentry
Gets the mountpoint `Dentry_` of this mount node if any.
kernel/src/fs/path/mount.rs:210
↓ 7 callersMethodname_len
Returns the length of the name.
kernel/src/fs/ext2/dir.rs:318
↓ 7 callersMethodnew_header
(&self, src_cid: u64)
kernel/comps/virtio/src/device/socket/connect.rs:202
↓ 7 callersMethodnew_tx
Creates a new transaction for `RawLogStore`.
kernel/comps/mlsdisk/src/layers/3-log/raw_log.rs:228
↓ 7 callersMethodnext
Increases the target index of the cursor by one. Once increased, the cursor will be positioned on the corresponding leaf node if the leaf node exists
kernel/libs/xarray/src/cursor.rs:209
↓ 7 callersMethodoffset
Sets the mapping's offset inside the VMAR. The offset must satisfy the alignment requirement. Also, the mapping's range `[offset, offset + size)` mus
kernel/src/vm/vmar/mod.rs:923
↓ 7 callersMethodparent
Gets the parent `Dentry_`. Returns None if it is a root `Dentry_`.
kernel/src/fs/path/dentry.rs:87
↓ 7 callersMethodpause_until
(&self, mut cond: F)
kernel/src/net/socket/unix/stream/listener.rs:304
↓ 7 callersMethodpayload_len
Returns the payload length of the control message.
kernel/src/net/socket/util/message_header.rs:181
↓ 7 callersMethodpos
(&self)
kernel/src/process/process_vm/init_stack/mod.rs:218
↓ 7 callersFunctionprocess_table_mut
()
kernel/src/process/process_table.rs:27
↓ 7 callersMethodrange
The range of keys covered by this `SSTable`.
kernel/comps/mlsdisk/src/layers/4-lsm/sstable.rs:136
↓ 7 callersMethodrb
(&self)
kernel/src/fs/utils/channel.rs:391
↓ 7 callersMethodread
Reads data from the device, this function is non-blocking.
kernel/comps/virtio/src/device/block/device.rs:308
↓ 7 callersMethodread16
(&self, offset: u16)
ostd/src/bus/pci/device_info.rs:111
↓ 7 callersMethodread_bytes_at
(&self, offset: usize, buf: &mut [u8])
kernel/src/fs/utils/inode.rs:587
↓ 7 callersMethodreaddir_at
Returns the children objects in a unified view. The object from the upper layer with the same name will mask the lower ones.
kernel/src/fs/overlayfs/fs.rs:313
↓ 7 callersMethodrmdir
(&self, name: &str)
kernel/src/fs/exfat/inode.rs:1545
↓ 7 callersMethodsend_packet_to_tx_queue
( &mut self, header: &VirtioVsockHdr, buffer: &[u8], )
kernel/comps/virtio/src/device/socket/device.rs:183
↓ 7 callersMethodset_cursor
Set the cursor for appending new blocks. # Panics Calling the `append` method without setting the append cursor first via this method `set_cursor` c
kernel/comps/mlsdisk/src/layers/0-bio/block_ring.rs:52
↓ 7 callersMethodset_xattr
( &self, name: XattrName, value_reader: &mut VmReader, flags: XattrSetFlags,
kernel/src/fs/ext2/inode.rs:823
↓ 7 callersFunctionspawn
Spawns a new thread, returning a `JoinHandle` for it.
kernel/comps/mlsdisk/src/os/mod.rs:179
↓ 7 callersMethodstatus_flags
(&self)
kernel/src/fs/inode_handle/mod.rs:133
↓ 7 callersMethodsubmit_and_wait
Submits self to the `block_device` and waits for the result synchronously. Returns the result status of the `Bio`. # Panics The caller must not sub
kernel/comps/block/src/bio.rs:119
↓ 7 callersMethodsync
Flushes all pending filesystem metadata and cached file data to the device.
kernel/src/fs/path/mount.rs:224
↓ 7 callersMethodtyp
(&self)
ostd/src/boot/memory_region.rs:191
↓ 7 callersMethodupdate_atime_and_mtime
(&mut self)
kernel/src/fs/exfat/inode.rs:610
↓ 7 callersMethodupper
Returns the upper inode if it exists.
kernel/src/fs/overlayfs/fs.rs:582
↓ 7 callersMethodvalue
(&self)
kernel/src/sched/nice.rs:29
↓ 7 callersMethodwait_and_recv_data
(&mut self)
kernel/comps/keyboard/src/i8042_chip/controller.rs:185
↓ 7 callersMethodwalk
The destination cluster must be a valid cluster.
kernel/src/fs/exfat/fat.rs:173
↓ 6 callersFunctionabort
Aborts the QEMU
ostd/src/panic.rs:43
↓ 6 callersFunctionaccess_sched_attr_with
( tid: Tid, ctx: &Context, f: impl FnOnce(&SchedAttr) -> Result<T>, )
kernel/src/syscall/sched_getattr.rs:193
↓ 6 callersMethodadd_child
(&self, child: Arc<dyn SysObj>)
kernel/src/fs/sysfs/test.rs:149
↓ 6 callersMethodadd_child
(&self, new_child: Arc<C>)
kernel/comps/systree/src/utils.rs:141
↓ 6 callersMethodaddr
Returns the address of the buddy chunk.
osdk/deps/frame-allocator/src/chunk.rs:189
↓ 6 callersMethodalign
Sets the mapping's alignment. The default value is the page size. The provided alignment must be a power of two and a multiple of the page size.
kernel/src/vm/vmar/mod.rs:911
↓ 6 callersMethodalloc_id
(&self)
kernel/src/fs/ramfs/fs.rs:71
↓ 6 callersFunctionappend_and_recover
A test case for `EditJournal`. The `threshold` is used to control the compact frequency, see `ThresholdPolicy`. The `commit_times` is used to control
kernel/comps/mlsdisk/src/layers/2-edit/journal.rs:964
↓ 6 callersMethodas_bytes
Returns the FPU context as a byte slice.
ostd/src/arch/x86/cpu/context/mod.rs:545
↓ 6 callersMethodas_bytes_with_nul
(&self)
kernel/src/fs/utils/mod.rs:100
↓ 6 callersMethodas_node
(&self)
kernel/libs/xarray/src/cursor.rs:55
↓ 6 callersFunctionbit_idx
(cpu_id: CpuId)
ostd/src/cpu/set.rs:26
↓ 6 callersMethodbitmap
(&self)
kernel/src/fs/exfat/fs.rs:316
↓ 6 callersMethodblocks_count
(&self)
kernel/src/fs/ext2/inode.rs:1274
↓ 6 callersMethodborrow_vm
Construct a new SafePtr which will point to the same address
kernel/libs/aster-util/src/safe_ptr.rs:298
↓ 6 callersFunctioncallback
(unwind_ctx: &UnwindContext<'_>, arg: *mut c_void)
ostd/src/panic.rs:70
↓ 6 callersMethodcheck_range
(&self, offset: u16)
ostd/src/bus/pci/capability/vendor.rs:71
↓ 6 callersMethodcheck_rights
(&self, rights: Rights)
kernel/src/vm/vmar/static_cap.rs:140
↓ 6 callersMethodclear
Clear all records from the table.
kernel/comps/mlsdisk/src/layers/4-lsm/mem_table.rs:275
↓ 6 callersMethodclone
(&self)
kernel/src/fs/utils/range_lock/mod.rs:172
↓ 6 callersMethodclose_file
(&mut self, fd: FileDesc)
kernel/src/fs/file_table.rs:123
↓ 6 callersMethoddealloc
Deallocates the chunk of a given ID. # Panic Deallocating a free chunk causes panic.
kernel/comps/mlsdisk/src/layers/3-log/chunk.rs:174
↓ 6 callersFunctiondefault_prop
()
ostd/src/mm/kspace/test.rs:15
↓ 6 callersMethoddelete
Deletes a dentry by name, turning it into a negative entry if exists.
kernel/src/fs/path/dentry.rs:470
↓ 6 callersMethoddispatch_tlb_flush
(&mut self)
ostd/src/mm/tlb.rs:114
↓ 6 callersMethoddriver
(&self)
kernel/src/device/tty/mod.rs:82
↓ 6 callersMethodfind
Finds all interval items that intersect with the given range.
kernel/src/vm/vmar/interval_set.rs:88
↓ 6 callersMethodfind_mut
Retrieves a mutable reference to an `IndirectBlock` by its `bid`. If the block is not present in the cache, it will be loaded from the disk.
kernel/src/fs/ext2/indirect_block_cache.rs:61
↓ 6 callersMethodfirst_one
Find the index of the first one bit, starting from the given index (inclusively). Return `None` if no one bit is found. # Panics The `from` index m
kernel/comps/mlsdisk/src/util/bitmap.rs:128
↓ 6 callersMethodflags
(&self)
kernel/src/syscall/mmap.rs:232
↓ 6 callersMethodfree_blocks_count
(&self)
kernel/src/fs/ext2/block_group.rs:418
↓ 6 callersFunctionget_acpi_tables
()
ostd/src/arch/x86/kernel/acpi/mod.rs:39
↓ 6 callersFunctionget_cargo_metadata
Get the Cargo metadata parsed from the standard output of the invocation of Cargo. Return `None` if the command fails or the `current_dir` is not in a
osdk/src/util.rs:44
↓ 6 callersFunctionget_futex_bucket
(key: FutexKey)
kernel/src/process/posix_thread/futex.rs:336
↓ 6 callersFunctionget_kernel_crate
Get the kernel crate in the current directory. If the current directory is a virtual workspace and no/multiple kernel crate is found, This function w
osdk/src/util.rs:153
↓ 6 callersMethodget_top_valid_inode
Returns the top valid inode who must exist.
kernel/src/fs/overlayfs/fs.rs:553
↓ 6 callersFunctionget_value_from_range
(value: u16, range: Range<usize>)
kernel/src/fs/exfat/utils.rs:35
↓ 6 callersFunctionhandler
test/src/apps/itimer/timer_create.c:16
↓ 6 callersMethodhash
(&self)
kernel/libs/aster-bigtcp/src/socket_table.rs:41
↓ 6 callersMethodhash_index
The hash_value to index inode. This should be unique in the whole fs. Currently use dentry set physical position as hash value except for root(0).
kernel/src/fs/exfat/inode.rs:183
↓ 6 callersMethodheight
(&self)
kernel/comps/mlsdisk/src/layers/1-crypto/crypto_log.rs:581
↓ 6 callersMethodid
Returns the log ID.
kernel/comps/mlsdisk/src/layers/3-log/tx_log.rs:797
↓ 6 callersMethodinterval
Returns the interval time of the current timer.
kernel/src/time/core/timer.rs:127
↓ 6 callersMethodio_mem
Returns a reference to the I/O memory.
kernel/comps/virtio/src/transport/mmio/bus/common_device.rs:38
↓ 6 callersFunctionis_dotdot
Checks if the file name is "..", indicating it's the parent directory.
kernel/src/fs/path/mod.rs:18
↓ 6 callersMethodis_empty
Checks if the set of group IDs is empty.
kernel/src/net/socket/netlink/addr/multicast.rs:48
↓ 6 callersMethodis_empty
Return `true` if the vector contains no items.
kernel/libs/aster-util/src/slot_vec.rs:34
↓ 6 callersMethodis_empty
Returns true if the set is empty.
ostd/src/cpu/set.rs:82
↓ 6 callersMethodis_modern
Return if the modern configuration space exists.
kernel/comps/virtio/src/transport/mod.rs:131
↓ 6 callersMethodis_privileged
(&self)
kernel/src/process/credentials/credentials_.rs:77
↓ 6 callersFunctionis_sector_aligned
Checks if the given offset is aligned to sector.
kernel/comps/block/src/bio.rs:710
↓ 6 callersFunctionis_tdx_enabled
()
osdk/tests/util/mod.rs:189
↓ 6 callersMethodis_unicast_local
Returns whether the destination address is the unicast address of a local interface. Note: "local" means that the IP address belongs to the local int
kernel/libs/aster-bigtcp/src/iface/poll.rs:344
← previousnext →501–600 of 7,307, ranked by callers