MCPcopy Create free account

hub / github.com/asterinas/vostd / functions

Functions7,307 in github.com/asterinas/vostd

↓ 11 callersMethodas_duration
(&self)
kernel/src/fs/exfat/utils.rs:116
↓ 11 callersMethodas_slice
Return the immutable slice of the data block.
kernel/comps/mlsdisk/src/layers/5-disk/data_buf.rs:126
↓ 11 callersMethoddup
(&mut self, fd: FileDesc, new_fd: FileDesc, flags: FdFlags)
kernel/src/fs/file_table.rs:74
↓ 11 callersMethodenqueue_signal
Enqueues a process-directed signal. This method should only be used for enqueue kernel signals and fault signals. The signal may be delivered to any
kernel/src/process/process/mod.rs:615
↓ 11 callersFunctionhandle_error
test/src/apps/overlayfs/ovl_test.c:22
↓ 11 callersMethodinode
(&self)
kernel/src/fs/ext2/inode.rs:1225
↓ 11 callersMethodinsert_chunk
Inserts a free chunk into the set.
osdk/deps/frame-allocator/src/set.rs:30
↓ 11 callersMethoditer
Returns an iterator over the processes in the process group.
kernel/src/process/process/process_group.rs:85
↓ 11 callersMethodlen
Return the number of items.
kernel/libs/aster-util/src/slot_vec.rs:39
↓ 11 callersMethodmain_thread
(&self)
kernel/src/process/process/mod.rs:275
↓ 11 callersMethodnew_tx
Creates a new transaction for the chunk allocator.
kernel/comps/mlsdisk/src/layers/3-log/chunk.rs:121
↓ 11 callersMethodread_bid
Reads a bid at a specified `idx`.
kernel/src/fs/ext2/indirect_block_cache.rs:169
↓ 11 callersFunctionrecover
()
kernel/comps/mlsdisk/src/layers/1-crypto/crypto_chain.rs:376
↓ 11 callersMethodsegments
Returns the slice to the memory segments.
kernel/comps/block/src/bio.rs:69
↓ 11 callersMethodspecial_char
(&self, id: CCtrlCharId)
kernel/src/device/tty/termio.rs:279
↓ 11 callersMethodstore
(offset: *mut Self, val: Self)
ostd/src/arch/x86/cpu/local.rs:205
↓ 11 callersMethodsuper_block
(&self)
kernel/src/fs/exfat/fs.rs:312
↓ 11 callersMethodsync
(&self, byte_range: Range<usize>)
kernel/comps/network/src/dma_pool.rs:252
↓ 11 callersMethodtimer_manager
Return a reference to the [`TimerManager`] which manages the current timer.
kernel/src/time/core/timer.rs:122
↓ 11 callersMethodupdate_next_poll_at_ms
Updates the next poll time of `socket` to `poll_at`. This method (or [`PollableIfaceMut::update_next_poll_at_ms`]) should be called after network or
kernel/libs/aster-bigtcp/src/iface/poll_iface.rs:65
↓ 11 callersMethodwait_and_send_command
(&mut self, command: Command)
kernel/comps/keyboard/src/i8042_chip/controller.rs:135
↓ 11 callersMethodwidth
Returns the width of the framebuffer in pixels.
kernel/comps/framebuffer/src/framebuffer.rs:88
↓ 11 callersMethodwrite32
(&self, offset: u16, val: u32)
ostd/src/bus/pci/device_info.rs:144
↓ 11 callersMethodwrite_bytes_at
(&self, offset: usize, buf: &[u8])
kernel/src/fs/utils/inode.rs:592
↓ 11 callersMethodwrite_u64
Writes u64 to the stack. Returns the writing address
kernel/src/process/process_vm/init_stack/mod.rs:345
↓ 10 callersFunctionall_cpus
Returns an iterator over all CPUs.
ostd/src/cpu/mod.rs:96
↓ 10 callersMethodas_thread_local
(&self)
kernel/src/process/posix_thread/thread_local.rs:230
↓ 10 callersMethodbase
Base address
ostd/src/bus/pci/cfg_space.rs:224
↓ 10 callersMethodblock_on
(&self, events: IoEvents, mut try_op: F)
kernel/src/net/socket/mod.rs:43
↓ 10 callersMethodbucket
(&self)
kernel/comps/mlsdisk/src/layers/4-lsm/tx_lsm_tree.rs:813
↓ 10 callersMethodbuild
(self)
kernel/src/process/posix_thread/builder.rs:107
↓ 10 callersMethodbuild_upper_recursively_if_needed
(&self)
kernel/src/fs/overlayfs/fs.rs:759
↓ 10 callersMethodbyte_add
Increase the address in units of bytes.
kernel/libs/aster-util/src/safe_ptr.rs:270
↓ 10 callersMethodcached_children
(&self)
kernel/src/fs/procfs/template/dir.rs:64
↓ 10 callersMethodclear
Clears the target range in current VMO.
kernel/src/vm/vmo/mod.rs:405
↓ 10 callersFunctionclone
(repo: &Subrepo, gits: &Path)
scripts/src/gits.rs:58
↓ 10 callersMethodconnection_key
(&self)
kernel/libs/aster-bigtcp/src/socket/bound/tcp_conn.rs:547
↓ 10 callersMethodcreate_log
Creates a new, empty log in a bucket. On success, the returned `TxLog` is opened in the appendable mode. # Panics This method must be called within
kernel/comps/mlsdisk/src/layers/3-log/tx_log.rs:443
↓ 10 callersMethoddup
(&self)
kernel/src/process/credentials/static_cap.rs:34
↓ 10 callersMethodends_with
(&self, other: &Self)
osdk/deps/test-kernel/src/path.rs:79
↓ 10 callersMethodfpu
(&self)
kernel/src/process/posix_thread/thread_local.rs:94
↓ 10 callersMethodget
Get an object of `Arc<T>`.
kernel/src/fs/utils/inode.rs:659
↓ 10 callersFunctionget_process
Process Gets a process with pid
kernel/src/process/process_table.rs:23
↓ 10 callersMethodget_rlimit
Get a reference to a specific resource limit
kernel/src/process/rlimit.rs:36
↓ 10 callersMethodlen
(&self)
kernel/libs/cpio-decoder/src/lib.rs:358
↓ 10 callersMethodload
Loads CPU's FPU context from this instance.
ostd/src/arch/x86/cpu/context/mod.rs:530
↓ 10 callersMethodlookup_no_follow
Lookups the target dentry according to the `path`. If the last component is a symlink, it will not be followed.
kernel/src/fs/fs_resolver.rs:156
↓ 10 callersMethodmount_node
Gets the mount node of current `Dentry`.
kernel/src/fs/path/dentry.rs:756
↓ 10 callersFunctionnew_command_checked_exists
Check if an OSDK dependent executable (e.g. QEMU) exists. If it exists, create a command. If not, print an error message and exit the process.
osdk/src/util.rs:171
↓ 10 callersMethodnext
Gets the next readahead window. Most of the time, we push the window forward and double its size. The `max_size` is the maximum size of the window. T
kernel/src/fs/utils/page_cache.rs:167
↓ 10 callersMethodnext
(&mut self)
ostd/src/arch/x86/boot/multiboot/mod.rs:349
↓ 10 callersMethodoffset
Returns the offset of the entry.
kernel/src/fs/ext2/dir.rs:303
↓ 10 callersMethodos_dir
(&self)
osdk/tests/commands/run.rs:50
↓ 10 callersMethodowner
Returns the owner (process ID) of the lock
kernel/src/fs/utils/range_lock/mod.rs:50
↓ 10 callersMethodpid
(&self)
kernel/src/process/process/mod.rs:144
↓ 10 callersMethodpoll
(&self, mask: IoEvents, poller: Option<&mut PollHandle>)
kernel/src/net/socket/ip/stream/mod.rs:406
↓ 10 callersMethodquery
Finds all the mapped regions that intersect with the specified range.
kernel/src/vm/vmar/static_cap.rs:89
↓ 10 callersMethodreaddir_at
(&self, dir_cnt: usize, visitor: &mut dyn DirentVisitor)
kernel/src/fs/exfat/inode.rs:1454
↓ 10 callersMethodremove
Removes a CPU from the set.
ostd/src/cpu/set.rs:58
↓ 10 callersMethodresource_limits
(&self)
kernel/src/process/process/mod.rs:267
↓ 10 callersMethodset
( &self, name: XattrName, value_reader: &mut VmReader, flags: XattrSetFlags,
kernel/src/fs/ext2/xattr.rs:152
↓ 10 callersMethodtasks
(&self)
kernel/src/process/process/mod.rs:255
↓ 10 callersMethodto_le_bytes
(&self)
kernel/src/fs/exfat/dentry.rs:323
↓ 10 callersMethodupdate
(&self, _guard: XLockGuard, offset: u8, set: bool)
kernel/libs/xarray/src/mark.rs:29
↓ 10 callersMethoduser_clock
Returns a reference to the user CPU clock in this profiling clock.
kernel/src/time/clocks/cpu_clock.rs:62
↓ 10 callersMethodvisit
(&mut self, name: &str, ino: u64, type_: InodeType, _next_offset: usize)
kernel/src/fs/sysfs/test.rs:443
↓ 9 callersMethodall
Returns an iterator that enumerates all possible PCI device locations.
ostd/src/bus/pci/device_info.rs:72
↓ 9 callersMethodalloc_chunk
Allocates a chunk from the set. The function will choose and remove a buddy chunk of the given order from the set. The address of the chunk will be r
osdk/deps/frame-allocator/src/set.rs:63
↓ 9 callersFunctionassert_greater_order_of
(nframes: usize, expected: BuddyOrder)
osdk/deps/frame-allocator/src/chunk.rs:262
↓ 9 callersFunctionassert_lesser_order_of
(nframes: usize, expected: BuddyOrder)
osdk/deps/frame-allocator/src/chunk.rs:280
↓ 9 callersFunctionassert_range_difference
( a: Range<usize>, b: Range<usize>, expected: [Range<usize>; N], )
ostd/src/util/ops.rs:33
↓ 9 callersMethodcast
Cast the accessed structure into a new one, which is usually used when accessing a field in a structure.
kernel/libs/aster-util/src/safe_ptr.rs:317
↓ 9 callersMethodchildren
(&self)
kernel/src/process/process/mod.rs:289
↓ 9 callersMethodcreate
Creates a new non-exist child `OverlayInode` in the upper layer. If the parent directories do not exist, they will be created recursively in the upper
kernel/src/fs/overlayfs/fs.rs:218
↓ 9 callersFunctioncreate_dir
test/src/apps/overlayfs/ovl_test.c:30
↓ 9 callersFunctioncreate_folder
(parent: Arc<dyn Inode>, foldername: &str)
kernel/src/fs/exfat/mod.rs:159
↓ 9 callersFunctionenable_local
FIXME: Mark this as unsafe. See <https://github.com/asterinas/asterinas/issues/1120#issuecomment-2748696592>.
ostd/src/arch/riscv/irq.rs:34
↓ 9 callersMethodencrypt
( &self, input: &[u8], key: &AeadKey, iv: &AeadIv, aad: &[u8],
kernel/comps/mlsdisk/src/os/mod.rs:312
↓ 9 callersMethoderrno
Returns the error type.
kernel/comps/mlsdisk/src/error.rs:60
↓ 9 callersMethodfree_len
Gets the number of free items in the `RingBuffer`.
kernel/src/util/ring_buffer.rs:136
↓ 9 callersMethodfs
(&self)
kernel/src/fs/exfat/bitmap.rs:86
↓ 9 callersMethodget
(&self, sem_num: usize, func: &dyn Fn(&Semaphore) -> T)
kernel/src/ipc/semaphore/system_v/sem_set.rs:143
↓ 9 callersFunctionget_base
Gets the base address for the CPU local storage by reading the GS base model-specific register.
ostd/src/arch/x86/cpu/local.rs:6
↓ 9 callersFunctiongetrandom
Fill `dest` with random bytes. It's cryptographically secure, as documented in [`rand::rngs::StdRng`].
kernel/src/util/random.rs:15
↓ 9 callersFunctioninit
Unpack and prepare the rootfs from the initramfs CPIO buffer.
kernel/src/fs/rootfs.rs:32
↓ 9 callersMethodio_mem
Grants I/O memory access
ostd/src/bus/pci/cfg_space.rs:234
↓ 9 callersMethodis_empty
(&self)
osdk/deps/test-kernel/src/path.rs:63
↓ 9 callersMethodis_empty
(&self)
kernel/comps/mlsdisk/src/layers/3-log/tx_log.rs:1227
↓ 9 callersMethodmap_to_addr
Returns the mapping's start address.
kernel/src/vm/vmar/vm_mapping.rs:124
↓ 9 callersFunctionmin
(a: u32, b: u32)
ostd/src/sync/rcu/non_null/either.rs:445
↓ 9 callersMethodnamespace
(&self)
kernel/src/fs/utils/xattr.rs:70
↓ 9 callersMethodnbytes
Returns the number of bytes.
kernel/comps/block/src/bio.rs:458
↓ 9 callersMethodnext
Stops if reaches to the trailer entry or encounters an error.
kernel/libs/cpio-decoder/src/lib.rs:76
↓ 9 callersMethodnode_kind
(&self)
kernel/src/fs/sysfs/inode.rs:55
↓ 9 callersMethodopen_log
Opens the log of a given ID. For any log at any time, there can be at most one TX that opens the log in the appendable mode. # Panics This method m
kernel/comps/mlsdisk/src/layers/3-log/tx_log.rs:495
↓ 9 callersMethodpoll_key
(&self)
kernel/libs/aster-bigtcp/src/socket/bound/tcp_conn.rs:543
↓ 9 callersMethodprocess
(&self)
kernel/src/process/pid_file.rs:60
↓ 9 callersMethodput
Puts a key-value pair into the mutable `MemTable`, and return whether the mutable `MemTable` is full.
kernel/comps/mlsdisk/src/layers/4-lsm/mem_table.rs:93
↓ 9 callersMethodrange
(&self)
kernel/src/vm/vmar/interval_set.rs:263
↓ 9 callersMethodraw
(&self)
kernel/src/net/socket/ip/stream/mod.rs:90
← previousnext →301–400 of 7,307, ranked by callers