MCPcopy Create free account

hub / github.com/asterinas/vostd / functions

Functions7,307 in github.com/asterinas/vostd

↓ 5 callersMethoddb_indirect
Returns the block ID of double indirect block pointer.
kernel/src/fs/ext2/block_ptr.rs:46
↓ 5 callersMethoddec_size
(&mut self)
kernel/src/fs/ramfs/fs.rs:241
↓ 5 callersMethodderef_target
(&self)
ostd/src/sync/rcu/non_null/mod.rs:386
↓ 5 callersMethoddevice_config_mem
(&self)
kernel/comps/virtio/src/transport/pci/device.rs:132
↓ 5 callersMethoddevice_id
(&self)
kernel/comps/virtio/src/transport/pci/device.rs:49
↓ 5 callersMethoddisplay_mht
(&self)
kernel/comps/mlsdisk/src/layers/1-crypto/crypto_log.rs:287
↓ 5 callersMethodeffective_capset
(&self)
kernel/src/process/credentials/static_cap.rs:290
↓ 5 callersMethodegid
(&self)
kernel/src/process/credentials/static_cap.rs:170
↓ 5 callersMethodendpoint
Returns the bound endpoint.
kernel/libs/aster-bigtcp/src/iface/common.rs:293
↓ 5 callersMethodentry_point
The following info is used to setup init stack the entry point of the elf
kernel/src/process/program_loader/elf/elf_file.rs:53
↓ 5 callersMethodeq
(&self, other: &Self)
kernel/src/fs/epoll/file.rs:293
↓ 5 callersFunctionexit_qemu
Exits QEMU with the given exit code. This function assumes that the kernel is run in QEMU with the following QEMU command line arguments that specifi
ostd/src/arch/x86/qemu.rs:24
↓ 5 callersMethodfind_next
Finds the first interval item after the given point. If no such item exists, returns [`None`].
kernel/src/vm/vmar/interval_set.rs:112
↓ 5 callersMethodfind_next_unused_cluster_range
Return the next contiguous unused clusters, set cluster_num=1 to find a single cluster
kernel/src/fs/exfat/bitmap.rs:251
↓ 5 callersMethodfind_one
Finds an interval item that contains the given point. If no such item exists, returns [`None`]. Otherwise, returns the item that contains the point.
kernel/src/vm/vmar/interval_set.rs:71
↓ 5 callersMethodfinish_init
Set to driver ok status
kernel/comps/virtio/src/transport/pci/legacy.rs:253
↓ 5 callersMethodflags
(&self)
kernel/src/fs/exfat/fat.rs:111
↓ 5 callersMethodfree
(&self)
kernel/src/fs/ext2/xattr.rs:341
↓ 5 callersFunctionfrom_sysnode_id
(node_id: &SysNodeId)
kernel/src/fs/utils/systree_inode.rs:746
↓ 5 callersMethodfs
(&self)
kernel/src/process/posix_thread/mod.rs:106
↓ 5 callersFunctionfutex_val_to_max_count
(futex_val: u32)
kernel/src/syscall/futex.rs:151
↓ 5 callersMethodget
(&mut self)
osdk/deps/frame-allocator/src/pools/mod.rs:153
↓ 5 callersMethodget
(&self, pid: Pid)
kernel/src/process/process_table.rs:45
↓ 5 callersMethodget
(&self, name: XattrName, value_writer: &mut VmWriter)
kernel/src/fs/ramfs/xattr.rs:89
↓ 5 callersMethodget
Gets the target value of the given key from the `MemTable`s.
kernel/comps/mlsdisk/src/layers/4-lsm/mem_table.rs:69
↓ 5 callersFunctionget_current_crates
Gets the default crates in the current directory.
osdk/src/util.rs:94
↓ 5 callersFunctionget_device
TODO: Implement a more scalable solution for ID-to-device mapping. Instead of hardcoding every device numbers in this function, a registration mechani
kernel/src/device/mod.rs:67
↓ 5 callersMethodget_entry
(&self, fd: FileDesc)
kernel/src/fs/file_table.rs:172
↓ 5 callersFunctionget_page_idx_range
Gets the page index range that contains the offset range of VMO.
kernel/src/vm/vmo/mod.rs:500
↓ 5 callersFunctiongroup_table_mut
()
kernel/src/process/process_table.rs:101
↓ 5 callersMethodid
Get the current master sync ID.
kernel/comps/mlsdisk/src/layers/4-lsm/tx_lsm_tree.rs:745
↓ 5 callersMethodinfo
Gets the type and size of the slot.
ostd/src/mm/heap/slot.rs:141
↓ 5 callersFunctioninit_for_ktest
Init `CLOCK_REALTIME_MANAGER` for process-related ktests. TODO: `ktest` may require a feature that allows the registration of initialization function
kernel/src/time/clocks/system_wide.rs:309
↓ 5 callersMethodinner
(&self)
kernel/src/ipc/semaphore/system_v/sem_set.rs:172
↓ 5 callersMethodinterrupt_base
Returns the base number of the global system interrupts controlled by the I/O APIC.
ostd/src/arch/x86/kernel/irq/ioapic.rs:131
↓ 5 callersMethodis_allocated
Returns true if the `id` is allocated. # Panics If the `id` is out of bounds, this method will panic.
ostd/libs/id-alloc/src/lib.rs:177
↓ 5 callersMethodis_dirty
Returns true if dirty, false otherwise.
kernel/src/fs/ext2/utils.rs:59
↓ 5 callersFunctionis_leader
test/src/apps/process/job_control.c:59
↓ 5 callersMethodjoin
Waits for the associated thread to finish.
kernel/comps/mlsdisk/src/os/mod.rs:220
↓ 5 callersMethodkey
(&self)
kernel/src/sched/sched_class/fair.rs:201
↓ 5 callersMethodkey
Gets the key associated with the epoll entry.
kernel/src/fs/epoll/entry.rs:172
↓ 5 callersMethodleft
Converts to the left value, if any.
ostd/src/util/either.rs:21
↓ 5 callersMethodlen
(&self)
kernel/src/sched/sched_class/stop.rs:46
↓ 5 callersMethodlist_level
List all SSTs of a given level from newer to older.
kernel/comps/mlsdisk/src/layers/4-lsm/tx_lsm_tree.rs:848
↓ 5 callersMethodload
Loads CPU's FPU context from this instance, if needed.
ostd/src/arch/riscv/cpu/context.rs:281
↓ 5 callersMethodlocal_addr
(&self)
kernel/src/net/socket/vsock/stream/connected.rs:47
↓ 5 callersMethodlocal_endpoint
(&self)
kernel/src/net/socket/ip/stream/init.rs:199
↓ 5 callersMethodlookup_dir_and_base_name
Lookups the target parent directory dentry and the base file name according to the given `path`. If the last component is a symlink, do not deference
kernel/src/fs/fs_resolver.rs:296
↓ 5 callersMethodlookup_inner
(&self, path: &FsPath, lookup_ctx: &mut LookupCtx)
kernel/src/fs/fs_resolver.rs:161
↓ 5 callersFunctionmetadata
()
kernel/libs/comp-sys/component-macro/src/priority.rs:212
↓ 5 callersMethodmount
Mounts a fs on the mountpoint, it will create a new child mount node. If the given mountpoint has already been mounted, then its mounted child mount
kernel/src/fs/path/mount.rs:72
↓ 5 callersMethodmove_to
(&mut self, node: NodeEntryRef<'a, P>, index: u64)
kernel/libs/xarray/src/cursor.rs:47
↓ 5 callersMethodname
(&self)
osdk/deps/test-kernel/src/tree.rs:40
↓ 5 callersMethodname
The name of the file.
kernel/libs/cpio-decoder/src/lib.rs:152
↓ 5 callersMethodnbytes
Returns the number of bytes per pixel (color depth).
kernel/comps/framebuffer/src/pixel.rs:71
↓ 5 callersMethodnext
(&mut self)
kernel/src/vm/vmar/interval_set.rs:183
↓ 5 callersMethodnotify_events
(&self, new_events: SocketEvents)
kernel/libs/aster-bigtcp/src/socket/bound/common.rs:127
↓ 5 callersMethodnpages
(&self)
kernel/src/fs/exfat/fs.rs:400
↓ 5 callersMethodnum_data_nodes
(&self)
kernel/comps/mlsdisk/src/layers/1-crypto/crypto_log.rs:585
↓ 5 callersMethodoperate_on_range
Traverses the indices within a specified range of a VMO sequentially. For each index position, you have the option to commit the page as well as perf
kernel/src/vm/vmo/mod.rs:301
↓ 5 callersFunctionparse_isa_extensions_list_wrapper
(strings: &[&str])
ostd/src/arch/riscv/cpu/extension.rs:261
↓ 5 callersMethodpath
(&self)
osdk/src/bundle/bin.rs:45
↓ 5 callersMethodpolicy
Retrieves the current scheduling policy of the thread.
kernel/src/sched/sched_class/mod.rs:164
↓ 5 callersMethodpoll
Poll for each event from the driver
kernel/src/net/socket/vsock/common.rs:204
↓ 5 callersMethodpop
Pops a slot from the front of the list. It returns `None` if the list is empty.
ostd/src/mm/heap/slot_list.rs:75
↓ 5 callersMethodquery
Finds a set of [`VmMapping`]s that intersect with the provided range.
kernel/src/vm/vmar/mod.rs:255
↓ 5 callersMethodrange
(&self)
kernel/src/vm/vmar/mod.rs:427
↓ 5 callersMethodread16
Reads u16 from the capability.
ostd/src/bus/pci/capability/vendor.rs:46
↓ 5 callersMethodread_blocks
Reads contiguous blocks starting from the `bid` synchronously.
kernel/src/fs/ext2/fs.rs:306
↓ 5 callersMethodread_mht_node
(&self, pos: Pbid, key: &Key, mac: &Mac, iv: &Iv)
kernel/comps/mlsdisk/src/layers/1-crypto/crypto_log.rs:534
↓ 5 callersMethodread_name
Reads the name of the entry from the page cache to the inner buffer.
kernel/src/fs/ext2/dir.rs:234
↓ 5 callersFunctionread_repeat
test/src/apps/pty/pty_blocking.c:27
↓ 5 callersFunctionrefresh_connection
test/src/apps/network/sockoption.c:65
↓ 5 callersFunctionregister_callback
Registers a function that will be executed during timer softirq.
kernel/src/time/softirq.rs:20
↓ 5 callersMethodregister_cfg_callback
(&mut self, func: Box<IrqCallbackFunction>)
kernel/comps/virtio/src/transport/mmio/multiplex.rs:70
↓ 5 callersMethodregister_commit_handler
Register a callback for the commit stage, which is after the pre-commit stage. Committing a TX triggers first the pre-commit stage of the TX and then
kernel/comps/mlsdisk/src/tx/mod.rs:131
↓ 5 callersFunctionregister_device
(name: String, device: Arc<SpinLock<SocketDevice>>)
kernel/comps/virtio/src/device/socket/mod.rs:21
↓ 5 callersMethodremove_and_wake_items
(&mut self, key: FutexKey, max_count: usize)
kernel/src/process/posix_thread/futex.rs:391
↓ 5 callersFunctionrenew_socks
test/src/apps/network/tcp_reuseaddr.c:49
↓ 5 callersMethodrepeat
Create a new `BitMap` by repeating the `value` for the desired length.
kernel/comps/mlsdisk/src/util/bitmap.rs:25
↓ 5 callersMethodrevents
(&self)
kernel/src/syscall/poll.rs:253
↓ 5 callersMethodrgid
(&self)
kernel/src/process/credentials/credentials_.rs:260
↓ 5 callersMethodroot_meta
Gets the metadata of the root MHT node. Returns `None` if there hasn't been any appends or flush.
kernel/comps/mlsdisk/src/layers/1-crypto/crypto_log.rs:239
↓ 5 callersMethodrss_type
Returns the mapping's RSS type.
kernel/src/vm/vmar/vm_mapping.rs:149
↓ 5 callersMethodruid
(&self)
kernel/src/process/credentials/credentials_.rs:83
↓ 5 callersMethodsched_policy
Sets the scheduling policy.
kernel/src/thread/kernel_thread.rs:46
↓ 5 callersMethodset_atime
(&mut self, time: Duration)
kernel/src/fs/ramfs/fs.rs:247
↓ 5 callersMethodset_mark
Sets the input `mark` at the given `offset`. This method will also update the marks on the ancestors of this node if necessary to ensure that the mar
kernel/libs/xarray/src/node.rs:248
↓ 5 callersMethodset_stack_pointer
(&mut self, sp: usize)
ostd/src/arch/x86/task/mod.rs:79
↓ 5 callersMethodsig_context
(&self)
kernel/src/process/posix_thread/thread_local.rs:86
↓ 5 callersMethodsize
Gets the size of the slot.
ostd/src/mm/heap/slot.rs:48
↓ 5 callersMethodstore_state
Stores a new state for the cache page.
kernel/src/fs/utils/page_cache.rs:533
↓ 5 callersFunctiontest_blocking
(write: W, read: R, ordering: Ordering)
kernel/src/fs/pipe.rs:300
↓ 5 callersMethodthis
(&self)
kernel/src/fs/path/mount.rs:251
↓ 5 callersMethodtimer_manager
Gets the timer resources and utilities of the process.
kernel/src/process/process/mod.rs:251
↓ 5 callersMethodtotal_len
(&self)
kernel/src/fs/ext2/xattr.rs:86
↓ 5 callersMethodtraverse_to_target
Traverses from the root node to the leaf node according to the target index. This method will not create new nodes. If the cursor can not reach the t
kernel/libs/xarray/src/cursor.rs:134
↓ 5 callersMethodtyp
(&self)
kernel/src/syscall/mmap.rs:228
↓ 5 callersMethodtype_
Returns the type of the request.
kernel/comps/mlsdisk/src/layers/5-disk/bio.rs:105
↓ 5 callersMethodunlink
Deletes the target file by creating a "whiteout" file from the upper layer. The corresponding parent directories will be created also if they do not e
kernel/src/fs/overlayfs/fs.rs:329
← previousnext →701–800 of 7,307, ranked by callers