MCPcopy Create free account

hub / github.com/asterinas/vostd / functions

Functions7,307 in github.com/asterinas/vostd

↓ 4 callersMethodset_if_is_none
Sets the inner value of an `AtomicCpuId` if it's empty. The return value is a result indicating whether the new value was written and containing the
ostd/src/task/scheduler/info.rs:37
↓ 4 callersMethodset_indirect
Sets the block ID of single indirect block pointer.
kernel/src/fs/ext2/block_ptr.rs:41
↓ 4 callersMethodset_interval
Set the interval time for this timer. The timer will be reset with the interval time upon expiration.
kernel/src/time/core/timer.rs:60
↓ 4 callersMethodset_range
(&mut self, clusters: Range<ClusterID>, bit: bool, sync: bool)
kernel/src/fs/exfat/bitmap.rs:334
↓ 4 callersMethodset_start
Sets a new starting position for the lock range If the range shrinks, it will wake all waiting processes
kernel/src/fs/utils/range_lock/mod.rs:114
↓ 4 callersMethodset_status
(&self, status: Status)
kernel/src/ipc/semaphore/system_v/sem.rs:73
↓ 4 callersMethodset_status_flags
(&self, new_flags: StatusFlags)
kernel/src/syscall/eventfd.rs:223
↓ 4 callersMethodset_syscall_ret
(&mut self, ret: usize)
kernel/src/arch/x86/cpu.rs:34
↓ 4 callersMethodset_tb_indirect
Sets the block ID of treble indirect block pointer.
kernel/src/fs/ext2/block_ptr.rs:61
↓ 4 callersMethodset_tls_pointer
Sets thread-local storage pointer.
ostd/src/arch/x86/task/mod.rs:25
↓ 4 callersMethodset_type
Sets the type of the lock to the specified type
kernel/src/fs/utils/range_lock/mod.rs:45
↓ 4 callersMethodsgid
(&self)
kernel/src/process/credentials/credentials_.rs:268
↓ 4 callersMethodshared_irq_line
Get shared IRQ line used by virtqueue. If a virtqueue will not send interrupt frequently. Then this virtqueue should use shared interrupt IRQ. This fu
kernel/comps/virtio/src/transport/pci/msix.rs:48
↓ 4 callersMethodshut_read
(&self)
kernel/src/net/socket/util/shutdown_cmd.rs:20
↓ 4 callersMethodshut_write
(&self)
kernel/src/net/socket/util/shutdown_cmd.rs:24
↓ 4 callersMethodsid
(&self)
kernel/src/process/kill.rs:209
↓ 4 callersMethodsig_stack
(&self)
kernel/src/process/posix_thread/thread_local.rs:90
↓ 4 callersFunctionspin_wait_cycles
Spin wait approximately `c` cycles. Since the timer requires CPU local storage to be initialized, we can only wait by spinning.
ostd/src/arch/x86/boot/smp.rs:335
↓ 4 callersMethodstatus_flags
(&self)
kernel/src/syscall/eventfd.rs:215
↓ 4 callersMethodstatus_flags
(&self)
kernel/src/vm/memfd.rs:124
↓ 4 callersMethodstop_status
(&self)
kernel/src/process/status.rs:82
↓ 4 callersMethodstr_to_upcase
(&self, value: &str)
kernel/src/fs/exfat/upcase_table.rs:84
↓ 4 callersMethodsubmit
Submits self to the `block_device` asynchronously. Returns a `BioWaiter` to the caller to wait for its completion. # Panics The caller must not sub
kernel/comps/block/src/bio.rs:85
↓ 4 callersMethodsuid
(&self)
kernel/src/process/credentials/credentials_.rs:91
↓ 4 callersMethodsync_all
(&self)
kernel/src/fs/ext2/inode.rs:752
↓ 4 callersMethodsync_id
Return the sync ID of this `SSTable`, it may be smaller than the current master sync ID.
kernel/comps/mlsdisk/src/layers/4-lsm/sstable.rs:131
↓ 4 callersMethodsync_meta_at
(&self, range: core::ops::Range<usize>)
kernel/src/fs/exfat/fs.rs:154
↓ 4 callersMethodtarget_record_block
Locate the target record block given its position, it resides in either the cache or the log.
kernel/comps/mlsdisk/src/layers/4-lsm/sstable.rs:244
↓ 4 callersMethodterminal
Returns the controlling terminal of the process, if any.
kernel/src/process/process/mod.rs:323
↓ 4 callersMethodthis_end
(&self)
kernel/src/fs/utils/channel.rs:107
↓ 4 callersFunctionthread_master
test/src/apps/exit/exit_code.c:33
↓ 4 callersMethodto_dyn
Converts to a dynamic capability.
kernel/src/vm/vmo/dyn_cap.rs:153
↓ 4 callersFunctionto_optional_id
(id: i32, f: impl Fn(u32) -> T)
kernel/src/syscall/chown.rs:97
↓ 4 callersFunctiontsc_freq
Return the frequency of TSC. The unit is Hz.
ostd/src/arch/riscv/mod.rs:44
↓ 4 callersMethodtype_
(&self)
kernel/src/fs/devpts/mod.rs:198
↓ 4 callersMethodtype_name_tokens
the tokens represents the flag set type name
kernel/libs/typeflags/src/flag_set.rs:30
↓ 4 callersMethodumask
Returns the associated `FileCreationMask`.
kernel/src/fs/thread_info.rs:20
↓ 4 callersMethodupdate
Updates the epoll entry by the given event masks and flags. This method needs to be called in response to `EpollCtl::Add` and `EpollCtl::Mod`.
kernel/src/fs/epoll/entry.rs:143
↓ 4 callersMethodupdate_atime
(&mut self)
kernel/src/fs/exfat/inode.rs:605
↓ 4 callersMethodupdate_info
(&self, event: &VsockEvent)
kernel/src/net/socket/vsock/stream/connected.rs:113
↓ 4 callersMethodvalue
(&self)
kernel/comps/mlsdisk/src/layers/5-disk/mlsdisk.rs:824
↓ 4 callersMethodversion_id
Returns the current version ID. # Security It is valid after a successful call to `create`, `read` or `write`. User could also get a version ID from
kernel/comps/mlsdisk/src/layers/1-crypto/crypto_blob.rs:220
↓ 4 callersMethodvisit_sub_inodes
Read all sub-inodes from the given position(offset) in this directory. The number of inodes to read is given by dir_cnt. Return (the new offset after
kernel/src/fs/exfat/inode.rs:362
↓ 4 callersMethodvmo
Binds a [`Vmo`] to the mapping. If the mapping is a private mapping, its size may not be equal to that of the [`Vmo`]. For example, it is OK to creat
kernel/src/vm/vmar/mod.rs:885
↓ 4 callersMethodwill_ignore
Returns whether signals will be ignored. Signals will be ignored because either the signal action is explicitly set to ignore the signals, or the sig
kernel/src/process/signal/sig_action.rs:86
↓ 4 callersFunctionwith_sigmask_changed
Executes a closure after temporarily adjusting the signal mask of the current POSIX thread.
kernel/src/process/signal/pause.rs:210
↓ 4 callersFunctionworkspace_root
()
osdk/src/commands/run.rs:196
↓ 4 callersMethodwrite
(&mut self, reader: &mut VmReader<'_, Infallible>)
kernel/src/util/iovec.rs:250
↓ 4 callersMethodwrite_attr
(&self, _name: &str, _reader: &mut VmReader)
kernel/comps/systree/src/utils.rs:363
↓ 4 callersMethodwrite_bytes_async
Asynchronously writes consecutive bytes of several sectors in size.
kernel/comps/block/src/impl_block_device.rs:178
↓ 4 callersMethodwrite_device_status
(&mut self, status: DeviceStatus)
kernel/comps/virtio/src/transport/pci/device.rs:193
↓ 4 callersMethodwrite_header_only
Writes the header of a `DirEntry` at the current offset.
kernel/src/fs/ext2/dir.rs:378
↓ 4 callersFunctionwrite_lock_multiple_inodes
(inodes: Vec<&Inode>)
kernel/src/fs/ext2/inode.rs:936
↓ 4 callersFunctionwrite_repeat
test/src/apps/pty/pty_blocking.c:18
↓ 4 callersMethodwrite_slice
(&self, slice: &[T])
kernel/libs/aster-util/src/safe_ptr.rs:219
↓ 4 callersFunctionwrite_socket_addr_to_user
Writes a socket address and its length to userspace. Similar to [`write_socket_addr_with_max_len`], the socket address may be truncated if the buffer
kernel/src/util/net/addr/family.rs:206
↓ 4 callersMethodwrite_str
(&mut self, s: &str)
kernel/comps/logger/src/console.rs:27
↓ 3 callersMethodactive_array
(&mut self)
kernel/src/sched/sched_class/real_time.rs:171
↓ 3 callersMethodadd_assign
Adds a value to the per-CPU object in a single instruction. This operation wraps on overflow/underflow. Note that this memory operation will not be
ostd/src/cpu/local/cell.rs:155
↓ 3 callersMethodadd_member
Adds a new member to the multicast group.
kernel/src/net/socket/netlink/table/multicast.rs:22
↓ 3 callersMethodadd_slab
(&mut self, slab: Slab<SLOT_SIZE>)
osdk/deps/heap-allocator/src/slab_cache.rs:120
↓ 3 callersMethodaddr
(&self)
kernel/src/net/socket/vsock/stream/socket.rs:287
↓ 3 callersMethodaddr
Returns the starting address of requested blocks. The return value is meaningless if the request is not a read or write.
kernel/comps/mlsdisk/src/layers/5-disk/bio.rs:112
↓ 3 callersMethodadvance_tail
(&self, mut tail: Wrapping<usize>, len: usize)
kernel/src/util/ring_buffer.rs:212
↓ 3 callersMethodalarm_timer
Gets the alarm timer of the corresponding process.
kernel/src/process/process/timer_manager.rs:130
↓ 3 callersMethodalign_record_buf
(&mut self)
kernel/comps/mlsdisk/src/layers/4-lsm/wal.rs:255
↓ 3 callersFunctionall_devices
()
kernel/comps/block/src/lib.rs:98
↓ 3 callersMethodalloc_and_map_vm
Initializes and maps the heap virtual memory.
kernel/src/process/process_vm/heap.rs:38
↓ 3 callersMethodalloc_blocks
Allocates a consecutive range of blocks. The returned allocated range size may be smaller than the requested `count` if insufficient consecutive bloc
kernel/src/fs/ext2/fs.rs:230
↓ 3 callersMethodalloc_id
(&self)
kernel/src/fs/procfs/mod.rs:66
↓ 3 callersFunctionallocate_posix_tid
Allocates a new tid for the new posix thread
kernel/src/process/posix_thread/mod.rs:324
↓ 3 callersMethodappend
Append a block at the end. The length of the given buffer must not be larger than `AVAIL_BLOCK_SIZE`. # Security The confidentiality of the block i
kernel/comps/mlsdisk/src/layers/1-crypto/crypto_chain.rs:146
↓ 3 callersFunctionapply_kv_array
Apply key-value pairs to an array of strings. The provided arguments will be appended to the array if the key is not already present or if the key is
osdk/src/config/unix_args.rs:45
↓ 3 callersMethodapply_to
(&self, state: &mut XState)
kernel/comps/mlsdisk/src/layers/2-edit/journal.rs:836
↓ 3 callersMethodas_le_bytes
(&self)
kernel/src/fs/exfat/dentry.rs:40
↓ 3 callersMethodas_ptr
Gets access to the underlying value through a raw pointer. This method is safe, but using the returned pointer will be unsafe.
ostd/src/cpu/local/static_cpu_local.rs:67
↓ 3 callersFunctionassert_eq
test/src/apps/overlayfs/ovl_test.c:84
↓ 3 callersMethodatime
(&self)
kernel/src/fs/ext2/inode.rs:1286
↓ 3 callersMethodbase
The base address, i.e., the offset relative to the root VMAR. The base address of a root VMAR is zero.
kernel/src/vm/vmar/mod.rs:803
↓ 3 callersFunctionbin_file_name
()
osdk/src/commands/util.rs:25
↓ 3 callersFunctionbind_port
(endpoint: &IpEndpoint, can_reuse: bool)
kernel/src/net/socket/ip/common.rs:51
↓ 3 callersMethodbind_unnamed
(&self)
kernel/src/net/socket/unix/addr.rs:33
↓ 3 callersMethodblock_group_of_ino
(&self, ino: u32)
kernel/src/fs/ext2/fs.rs:425
↓ 3 callersMethodblock_groups_count
Returns the number of block groups.
kernel/src/fs/ext2/super_block.rs:218
↓ 3 callersMethodblocks_per_group
Returns the number of blocks in each block group.
kernel/src/fs/ext2/fs.rs:127
↓ 3 callersMethodbody
(&self)
kernel/src/net/socket/netlink/message/segment/common.rs:28
↓ 3 callersMethodbound_port
(&self)
kernel/src/net/socket/ip/stream/init.rs:82
↓ 3 callersMethodbroadcast_signal
Broadcasts the signal to all processes in the process group. This method should only be used to broadcast fault signals and kernel signals. TODO: Do
kernel/src/process/process/process_group.rs:67
↓ 3 callersMethodbuffer_len
(&self)
kernel/src/device/tty/line_discipline.rs:231
↓ 3 callersFunctioncache_expected_size
Returns the expected 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:20
↓ 3 callersFunctioncalc_checksum_16
Calculating checksum, ignoring certarin bytes in the range
kernel/src/fs/exfat/utils.rs:23
↓ 3 callersFunctioncalc_loadavg
(old_load: FixedPoint, exp: FixedPoint, new_load: FixedPoint)
kernel/src/sched/stats/loadavg.rs:69
↓ 3 callersMethodcan_overwrite
Sets whether the mapping can overwrite existing mappings. The default value is false. If this option is set to true, then the `offset` option must b
kernel/src/vm/vmar/mod.rs:934
↓ 3 callersMethodcan_process
Returns whether an incoming packet _may_ be processed by the socket. The check is intended to be lock-free and fast, but may have false positives.
kernel/libs/aster-bigtcp/src/socket/bound/common.rs:138
↓ 3 callersMethodcapabilities
(&self)
kernel/comps/virtio/src/device/network/device.rs:319
↓ 3 callersMethodcheck_expired
Checks whether the timeout is expired. This method will return: - `Ok(Some(_))` if the timeout isn't expired but it may be expired later. - `Ok(None)
kernel/src/time/wait.rs:72
↓ 3 callersMethodcheck_extra_size_fits_rlimit
Returns `Ok` if the calling process may expand its mapped memory by the passed size.
kernel/src/vm/vmar/mod.rs:168
↓ 3 callersFunctioncheck_xattr_namespace
(namespace: XattrNamespace, ctx: &Context)
kernel/src/syscall/setxattr.rs:180
↓ 3 callersMethodclear
Equivalent to FD_ZERO.
kernel/src/syscall/select.rs:242
↓ 3 callersMethodclear
Clears the signal number
kernel/src/process/signal/sig_num.rs:123
← previousnext →1,001–1,100 of 7,307, ranked by callers