MCPcopy Create free account

hub / github.com/asterinas/vostd / functions

Functions7,307 in github.com/asterinas/vostd

↓ 3 callersMethodtype_
Returns the type.
kernel/comps/block/src/bio.rs:59
↓ 3 callersMethodunset_mark
Unsets 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 m
kernel/libs/xarray/src/node.rs:259
↓ 3 callersMethodupdate_global_size_if_locked
Updates [`GLOBAL_POOL_SIZE`] if the global pool is locked.
osdk/deps/frame-allocator/src/pools/mod.rs:158
↓ 3 callersMethodvalidate
(&self)
osdk/src/bundle/file.rs:27
↓ 3 callersMethodvirtual_timer
Gets the virtual timer of the corresponding process.
kernel/src/process/process/timer_manager.rs:135
↓ 3 callersMethodwait
Atomically releases the given `MutexGuard`, blocking the current thread until the condition variable is notified, after which the mutex will be reacqu
kernel/comps/mlsdisk/src/os/mod.rs:90
↓ 3 callersMethodwait_until_or_timeout
(&self, mut cond: F, timeout: T)
kernel/src/time/wait.rs:21
↓ 3 callersMethodwait_until_or_timeout_cancelled
( &self, cond: F, cancel_cond: FCancel, timeout: Option<&ManagedTimeout>,
kernel/src/time/wait.rs:171
↓ 3 callersMethodwake_all
Wakes all the processes waiting on this lock Returns the number of processes that were woken
kernel/src/fs/utils/range_lock/mod.rs:144
↓ 3 callersMethodweak_process
(&self)
kernel/src/process/posix_thread/mod.rs:89
↓ 3 callersMethodwrite
(mut self)
kernel/src/process/process_vm/init_stack/mod.rs:235
↓ 3 callersMethodwrite
(&mut self, buf: &[u8])
kernel/src/fs/utils/inode.rs:615
↓ 3 callersMethodwrite
(&self, pos: BlockId, buf: BufRef)
kernel/comps/mlsdisk/src/lib.rs:89
↓ 3 callersMethodwrite
(&self, pos: BlockId, buf: BufRef)
kernel/comps/mlsdisk/src/layers/0-bio/block_set.rs:163
↓ 3 callersMethodwrite_bytes_at
Writes raw bytes at the specified offset.
kernel/comps/framebuffer/src/framebuffer.rs:121
↓ 3 callersMethodwrite_configuration
(&mut self, config: &Configuration)
kernel/comps/keyboard/src/i8042_chip/controller.rs:130
↓ 3 callersMethodwrite_link
(&self, target: &str)
kernel/src/fs/ext2/inode.rs:643
↓ 3 callersFunctionwrite_lock_two_inodes
( this: &'a Inode, other: &'a Inode, )
kernel/src/fs/ext2/inode.rs:918
↓ 3 callersMethodwrite_manifest_to_fs
(&mut self)
osdk/src/bundle/mod.rs:333
↓ 3 callersMethodwrite_meta_at
(&self, offset: usize, buf: &[u8])
kernel/src/fs/exfat/fs.rs:159
↓ 3 callersMethodwrite_val_trunc
Writes a `T` value, truncating the value if the writers have insufficient bytes.
kernel/src/util/iovec.rs:296
↓ 3 callersMethodwrite_with
Writes to the endpoint and updates the local/remote [`Pollee`]s. Note that if `write` returns `Ok(0)`, it is assumed that there is no space to write
kernel/src/fs/utils/endpoint.rs:160
↓ 3 callersMethodwriter
Returns a writer to write data into it.
kernel/comps/block/src/bio.rs:494
↓ 2 callersFunctionFN_SETUP
test/src/apps/network/unix_streamlike_epilogue.h:3
↓ 2 callersFunction_print
Prints the formatted arguments to the standard output.
kernel/comps/logger/src/console.rs:15
↓ 2 callersMethodactivate_receive_buffer
(&self, receive_queue: &mut VirtQueue)
kernel/comps/virtio/src/device/console/device.rs:160
↓ 2 callersMethodactual_len
Returns the actual length of the current entry.
kernel/src/fs/ext2/dir.rs:76
↓ 2 callersMethodadd_counter_val
Adds val to the counter. If the new_value is overflowed or exceeds MAX_COUNTER_VALUE, the counter value will not be modified, and this method returns
kernel/src/syscall/eventfd.rs:150
↓ 2 callersMethodadd_entry
Add new dentries. Create a new file or folder.
kernel/src/fs/exfat/inode.rs:888
↓ 2 callersMethodadd_groups
(&mut self, groups: GroupIdSet)
kernel/src/net/socket/netlink/common/unbound.rs:37
↓ 2 callersMethodadd_item
(&mut self, item: FutexItem)
kernel/src/process/posix_thread/futex.rs:387
↓ 2 callersFunctionadd_tdx_scheme
(osdk_path: impl AsRef<Path>)
osdk/tests/util/mod.rs:175
↓ 2 callersMethodadd_to_write_set
(&mut self, log_id: RawLogId)
kernel/comps/mlsdisk/src/layers/3-log/raw_log.rs:844
↓ 2 callersMethodaddr
(&self)
kernel/src/net/socket/netlink/table/mod.rs:205
↓ 2 callersFunctionalign_up
(size: usize, align: usize)
kernel/src/syscall/getdents64.rs:263
↓ 2 callersFunctionalign_up_pad
(size: usize, align: usize)
kernel/libs/cpio-decoder/src/lib.rs:370
↓ 2 callersMethodalloc
Allocates a new `ProcessVm`
kernel/src/process/process_vm/mod.rs:118
↓ 2 callersMethodalloc_batch
Allocates `count` number of chunks. Returns IDs of newly-allocated chunks, returns `None` if any allocation fails.
kernel/comps/mlsdisk/src/layers/3-log/chunk.rs:142
↓ 2 callersMethodalloc_cluster_fat
Allocate clusters in fat mode, return the first allocated cluster id. Bitmap need to be already locked.
kernel/src/fs/exfat/fat.rs:227
↓ 2 callersMethodalloc_free_region
Allocates a free region for mapping. If no such region is found, return an error.
kernel/src/vm/vmar/mod.rs:326
↓ 2 callersMethodalloc_free_region_exact
Allocates a free region for mapping with a specific offset and size. If the provided range is already occupied, return an error.
kernel/src/vm/vmar/mod.rs:274
↓ 2 callersMethodalloc_inode_number
(&self)
kernel/src/fs/exfat/fs.rs:125
↓ 2 callersFunctionalloc_vmo_
(size: usize, flags: VmoFlags, pager: Option<Arc<dyn Pager>>)
kernel/src/vm/vmo/options.rs:123
↓ 2 callersMethodappend
Appends one or multiple data blocks at the end. # Panics This method must be called within a TX. Otherwise, this method panics.
kernel/comps/mlsdisk/src/layers/3-log/tx_log.rs:832
↓ 2 callersMethodappend_data_nodes
(&mut self, data_nodes: Vec<Arc<DataNode>>)
kernel/comps/mlsdisk/src/layers/1-crypto/crypto_log.rs:420
↓ 2 callersMethodappend_descriptor
(&mut self, descriptor: u128)
ostd/src/arch/x86/iommu/invalidate/queue.rs:16
↓ 2 callersMethodappend_log
(&mut self, log_id: TxLogId, root_mht: RootMhtMeta)
kernel/comps/mlsdisk/src/layers/3-log/tx_log.rs:1041
↓ 2 callersMethodappend_log
(&mut self, log_id: u64, tail: &RawLogTail)
kernel/comps/mlsdisk/src/layers/3-log/raw_log.rs:878
↓ 2 callersMethodappend_raw_line
(&mut self, line: &str)
osdk/src/commands/profile.rs:240
↓ 2 callersMethodappend_rustflags
(&mut self, rustflags: &str)
osdk/src/config/scheme/action.rs:94
↓ 2 callersMethodappend_write_buf_to_journal
(&mut self)
kernel/comps/mlsdisk/src/layers/2-edit/journal.rs:252
↓ 2 callersMethodapply
(&self, socket: &mut RawTcpSocket)
kernel/libs/aster-bigtcp/src/socket/option.rs:29
↓ 2 callersFunctionapply_args_after_finalize
(action: &mut Action, args: &CommonArgs)
osdk/src/config/mod.rs:175
↓ 2 callersFunctionapply_args_before_finalize
( action_scheme: &mut ActionScheme, args: &CommonArgs, workdir: &PathBuf, )
osdk/src/config/mod.rs:45
↓ 2 callersMethodapply_common_args
(&mut self, common_args: &CommonArgs)
osdk/src/config/scheme/action.rs:67
↓ 2 callersFunctionare_files_identical
Compares two files byte-by-byte to check if they are identical. Returns `Ok(true)` if files are identical, `Ok(false)` if they are different, or `Err`
osdk/src/base_crate/mod.rs:17
↓ 2 callersMethodargc
Reads argc from the process init stack
kernel/src/process/process_vm/init_stack/mod.rs:390
↓ 2 callersMethodas_atomic_mode_guard
(&self)
kernel/comps/softirq/src/lock.rs:33
↓ 2 callersMethodas_sig_num
Returns the corresponding [`SigNum`]
kernel/src/process/signal/sig_num.rs:108
↓ 2 callersMethodas_symlink
(&self)
kernel/src/fs/ramfs/fs.rs:164
↓ 2 callersMethodas_trap_frame
(&self)
ostd/src/arch/x86/cpu/context/mod.rs:319
↓ 2 callersMethodas_u32
(&self)
kernel/src/process/signal/sig_action.rs:122
↓ 2 callersFunctionaster_rust_toolchain
OSDK assumes that the toolchain used by the kernel should be same same as the toolchain specified in the asterinas workspace.
osdk/src/commands/new/mod.rs:25
↓ 2 callersMethodbackend
Returns the backend.
kernel/src/fs/utils/page_cache.rs:74
↓ 2 callersFunctionbalance
Balances a local cache and the global free pool.
osdk/deps/frame-allocator/src/pools/balancing.rs:49
↓ 2 callersFunctionbalance_to
Balances from `a` to `b`.
osdk/deps/frame-allocator/src/pools/balancing.rs:82
↓ 2 callersMethodbar_manager
PCI Base Address Register (BAR) manager
ostd/src/bus/pci/common_device.rs:34
↓ 2 callersFunctionbase_slice_clocks
Returns the base time slice allocated for every thread, measured in TSC clock units.
kernel/src/sched/sched_class/time.rs:46
↓ 2 callersFunctionbegin_panic
(_: alloc::boxed::Box<R>)
ostd/src/panic.rs:120
↓ 2 callersMethodbid
Returns the starting block id of the super block inside the block group pointed by `block_group_idx`. # Panics If `block_group_idx` is neither 0 nor
kernel/src/fs/ext2/super_block.rs:303
↓ 2 callersMethodbind
Binds a socket to the iface. After binding the socket to the iface, the iface will handle all packets to and from the socket. If [`BindPortConfig::E
kernel/libs/aster-bigtcp/src/iface/iface.rs:36
↓ 2 callersMethodbind_common
( &mut self, endpoint: &NetlinkSocketAddr, )
kernel/src/net/socket/netlink/common/bound.rs:26
↓ 2 callersMethodbits_not_in_use
(&self)
kernel/comps/mlsdisk/src/util/bitmap.rs:106
↓ 2 callersMethodblock_size
Returns the size of block.
kernel/src/fs/ext2/fs.rs:112
↓ 2 callersFunctionboot_all_aps
Boots all application processors. This function should be called late in the system startup. The system must at least ensure that the scheduler, ACPI
ostd/src/boot/smp.rs:69
↓ 2 callersMethodbuild
Build the request.
kernel/comps/mlsdisk/src/layers/5-disk/bio.rs:254
↓ 2 callersMethodbuild
(&self, data_node_entries: Vec<MhtNodeEntry>)
kernel/comps/mlsdisk/src/layers/1-crypto/crypto_log.rs:637
↓ 2 callersMethodcalc_offset
Calculates the offset of a pixel at the specified position.
kernel/comps/framebuffer/src/framebuffer.rs:108
↓ 2 callersMethodcalculate_checksum
Name dentries are not permitted to modify. We should create a new dentry set for renaming.
kernel/src/fs/exfat/dentry.rs:409
↓ 2 callersMethodcalculate_instant
Uses the instant cycles to calculate the instant. It first calculates the difference between the instant cycles and the last recorded cycles stored i
kernel/comps/time/src/clocksource.rs:92
↓ 2 callersMethodcall_abort_handlers
(&self)
kernel/comps/mlsdisk/src/tx/mod.rs:161
↓ 2 callersMethodcan_reuse
(&self)
kernel/libs/aster-bigtcp/src/iface/common.rs:342
↓ 2 callersMethodcapabilities
(&self)
kernel/comps/network/src/driver.rs:34
↓ 2 callersMethodcapability_data
Gets the capability data
ostd/src/bus/pci/capability/mod.rs:82
↓ 2 callersMethodcapacity
Returns the capacity of the allocator, which is the number of chunks.
kernel/comps/mlsdisk/src/layers/3-log/chunk.rs:209
↓ 2 callersMethodcapacity
Gets the capacity of the slab (regardless of the number of allocated slots).
ostd/src/mm/heap/slab.rs:61
↓ 2 callersFunctioncargo
()
osdk/src/util.rs:26
↓ 2 callersFunctioncargo_clean
(cwd: &PathBuf, target_dir: &PathBuf)
kernel/libs/comp-sys/cargo-component/tests/test_utils/mod.rs:43
↓ 2 callersMethodcast_to_branch
Casts this object to a trait object of a `SysTree` branch node.
kernel/comps/systree/src/node.rs:201
↓ 2 callersMethodcast_to_node
Casts this object to a trait object of a `SysTree` node.
kernel/comps/systree/src/node.rs:196
↓ 2 callersMethodcast_to_symlink
Casts this object to a trait object of `SysTree` symlink.
kernel/comps/systree/src/node.rs:191
↓ 2 callersFunctioncatch_panics_as_oops
Executes the given function and catches any panics that occur. All the panics in the given function will be regarded as oops. If a oops happens, this
kernel/src/thread/oops.rs:50
↓ 2 callersFunctioncheck_caps
test/src/apps/capability/capabilities.c:29
↓ 2 callersFunctioncheck_constant
( constant: &Constant<'_>, tcx: TyCtxt<'_>, def_paths: &mut Vec<String>, checked_def_ids: &mut
kernel/libs/comp-sys/cargo-component/analysis/src/lib.rs:187
↓ 2 callersFunctioncheck_executable_file
(dentry: &Dentry)
kernel/src/process/program_loader/mod.rs:105
↓ 2 callersMethodcheck_gid_perm
For `setregid`, rgid can *NOT* be set to old sgid, while for `setresgid`, ruid can be set to old sgid.
kernel/src/process/credentials/credentials_.rs:358
↓ 2 callersMethodcheck_io_events
(&self)
kernel/src/fs/pipe.rs:80
↓ 2 callersMethodcheck_io_events_common
(&self)
kernel/src/net/socket/netlink/common/bound.rs:43
↓ 2 callersFunctioncheck_length
(len: isize, ctx: &Context)
kernel/src/syscall/truncate.rs:44
↓ 2 callersMethodcheck_lies_in_single_mapping
Checks whether `addr..addr + size` is covered by a single `VmMapping`, and returns the address of the single `VmMapping` if successful.
kernel/src/vm/vmar/mod.rs:192
← previousnext →1,401–1,500 of 7,307, ranked by callers