MCPcopy Create free account

hub / github.com/asterinas/vostd / functions

Functions7,307 in github.com/asterinas/vostd

↓ 4 callersMethodinode_idx
(&self, ino: u32)
kernel/src/fs/ext2/fs.rs:433
↓ 4 callersMethodinode_size
Returns the size of inode.
kernel/src/fs/ext2/fs.rs:117
↓ 4 callersMethodinodes_per_group
Returns the number of inodes in each block group.
kernel/src/fs/ext2/fs.rs:122
↓ 4 callersMethodinsert_try_merge
Inserts a `VmMapping` into the `Vmar`, and attempts to merge it with neighboring mappings. This method will try to merge the `VmMapping` with neighbo
kernel/src/vm/vmar/mod.rs:223
↓ 4 callersMethodinto_guard
(self)
kernel/src/process/sync/condvar.rs:25
↓ 4 callersFunctionis_block_aligned
(offset: usize)
kernel/src/fs/ext2/inode.rs:2381
↓ 4 callersFunctionis_block_aligned
(off: usize)
kernel/src/fs/exfat/inode.rs:1076
↓ 4 callersMethodis_canonical_mode
Returns whether the terminal is in the canonical mode. The canonical mode means that the input characters will be handled by lines, not by single cha
kernel/src/device/tty/termio.rs:291
↓ 4 callersMethodis_cluster_range_valid
(&self, clusters: Range<ClusterID>)
kernel/src/fs/exfat/fs.rs:358
↓ 4 callersMethodis_cluster_unused
(&self, cluster: u32)
kernel/src/fs/exfat/bitmap.rs:114
↓ 4 callersMethodis_control_and
Runs `op` when the process controls the terminal. Note that this requires that the terminal is the controlling terminal of the session, but does _not
kernel/src/process/process/terminal.rs:185
↓ 4 callersMethodis_empty
Checks if the run queue is empty.
kernel/src/sched/sched_class/mod.rs:116
↓ 4 callersMethodis_empty
(&self)
kernel/src/sched/sched_class/real_time.rs:196
↓ 4 callersMethodis_empty
(&self)
kernel/src/process/signal/sig_queues.rs:34
↓ 4 callersMethodis_empty
Returns whether the session is empty.
kernel/src/process/process/session.rs:124
↓ 4 callersMethodis_empty
Return whether the table is empty.
kernel/comps/mlsdisk/src/layers/4-lsm/mem_table.rs:265
↓ 4 callersMethodis_empty
Returns whether the edit group contains no edits.
kernel/comps/mlsdisk/src/layers/2-edit/edits.rs:46
↓ 4 callersMethodis_empty
Returns whether there are no pending requests in this queue.
kernel/comps/mlsdisk/src/layers/5-disk/bio.rs:61
↓ 4 callersMethodis_root
(&self)
kernel/src/process/credentials/user.rs:37
↓ 4 callersMethodis_root_of_mount
Currently, the root `Dentry_` of a fs is the root of a mount.
kernel/src/fs/path/dentry.rs:146
↓ 4 callersMethodis_utime_omit
(&self)
kernel/src/syscall/utimens.rs:232
↓ 4 callersMethodis_valid_cluster
(&self, cluster: u32)
kernel/src/fs/exfat/fs.rs:354
↓ 4 callersMethodissue_tlb_flush
(&mut self, op: TlbFlushOp)
ostd/src/mm/tlb.rs:73
↓ 4 callersMethodkey
Returns the key associated with this `CryptoBlob`.
kernel/comps/mlsdisk/src/layers/1-crypto/crypto_blob.rs:209
↓ 4 callersFunctionkill_process
(process: &Process, signal: Option<UserSignal>, ctx: &Context)
kernel/src/process/kill.rs:122
↓ 4 callersMethodlazy_init
Lazily initialize the xattr structures only when actual xattr operations are performed.
kernel/src/fs/ext2/xattr.rs:111
↓ 4 callersFunctionline_sts
()
ostd/src/arch/x86/serial.rs:21
↓ 4 callersMethodload
(&self, order: Ordering)
kernel/src/fs/utils/page_cache.rs:571
↓ 4 callersFunctionlookup_dentry_for_xattr
( file_ctx: &'a XattrFileCtx<'a>, ctx: &'a Context, )
kernel/src/syscall/setxattr.rs:127
↓ 4 callersMethodlookup_dir_and_new_basename
Lookups the target parent directory dentry and checks whether the base file does not exist yet according to the given `path`. `is_dir` is used to det
kernel/src/fs/fs_resolver.rs:320
↓ 4 callersMethodmajor
Returns the major device number.
kernel/src/fs/device.rs:58
↓ 4 callersFunctionmake_hash_index
(cluster: ClusterID, offset: u32)
kernel/src/fs/exfat/utils.rs:10
↓ 4 callersMethodmap_end
Returns the mapping's end address.
kernel/src/vm/vmar/vm_mapping.rs:129
↓ 4 callersMethodmembers
Returns all members in this group.
kernel/src/net/socket/netlink/table/multicast.rs:32
↓ 4 callersMethodmetadata
(&self)
kernel/src/syscall/eventfd.rs:237
↓ 4 callersMethodmetadata
(&self)
kernel/src/fs/utils/page_cache.rs:539
↓ 4 callersFunctionmini_system
TODO: Use `system` directly after we implement `vfork`.
test/src/apps/exit/exit_procfs.c:14
↓ 4 callersMethodminor
Returns the minor device number.
kernel/src/fs/device.rs:63
↓ 4 callersMethodnblocks
(&self)
kernel/comps/mlsdisk/src/lib.rs:123
↓ 4 callersMethodnblocks
Returns the number of blocks to read or write by this request. If the request is a flush, then the returned value is meaningless.
kernel/comps/mlsdisk/src/layers/5-disk/bio.rs:152
↓ 4 callersMethodnblocks
(&self)
kernel/comps/mlsdisk/src/layers/0-bio/block_log.rs:87
↓ 4 callersMethodnblocks
(&self)
kernel/comps/mlsdisk/src/layers/0-bio/block_set.rs:193
↓ 4 callersMethodnbytes
Returns the number of bytes.
kernel/libs/aster-util/src/segment_slice.rs:68
↓ 4 callersMethodnext
(&mut self)
kernel/src/fs/exfat/dentry.rs:472
↓ 4 callersMethodnice
(&self)
kernel/src/process/process/mod.rs:271
↓ 4 callersMethodnotify_one
Wakes up one blocked thread waiting on this condition variable. If there is a waiting thread, it will be unblocked and allowed to reacquire the assoc
kernel/src/process/sync/condvar.rs:240
↓ 4 callersMethodobserver
Gets the underlying observer.
kernel/src/fs/epoll/entry.rs:167
↓ 4 callersMethodon_add_record
(&self, _record: &dyn AsKV<K, V>)
kernel/comps/mlsdisk/src/layers/4-lsm/tx_lsm_tree.rs:947
↓ 4 callersMethodon_drop_record
(&self, _record: &dyn AsKV<K, V>)
kernel/comps/mlsdisk/src/layers/4-lsm/tx_lsm_tree.rs:950
↓ 4 callersMethodopen_log
Opens the raw 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 meth
kernel/comps/mlsdisk/src/layers/3-log/raw_log.rs:274
↓ 4 callersMethodpaddr
Gets the physical address of the slot.
ostd/src/mm/heap/slot.rs:128
↓ 4 callersMethodpage_cache
(&self)
kernel/src/fs/ext2/inode.rs:85
↓ 4 callersMethodparent
(&self)
kernel/src/process/process/mod.rs:281
↓ 4 callersMethodpeer_end
(&self)
kernel/src/fs/utils/channel.rs:111
↓ 4 callersMethodpermitted_capset
(&self)
kernel/src/process/credentials/static_cap.rs:282
↓ 4 callersMethodpick_next
(&mut self)
kernel/src/sched/sched_class/stop.rs:54
↓ 4 callersMethodpop_slice
Pops a slice of items from the `RingBuffer`. Returns `Some` on success, all items are popped from the ring buffer. Returns `None` if the ring buffer
kernel/src/util/ring_buffer.rs:204
↓ 4 callersMethodport
Returns the port number.
kernel/src/net/socket/netlink/addr/mod.rs:38
↓ 4 callersMethodprocess
(&self)
kernel/src/process/wait.rs:159
↓ 4 callersMethodprocess
(&self)
kernel/src/process/process/mod.rs:162
↓ 4 callersMethodprocess
( &self, data: &'pkt [u8], iface_cx: &mut Context, tx_token: T, )
kernel/libs/aster-bigtcp/src/iface/phy/ether.rs:100
↓ 4 callersMethodprof_clock
Gets the profiling clock of the process.
kernel/src/process/process/mod.rs:246
↓ 4 callersMethodprof_timer
Gets the profiling timer of the corresponding process.
kernel/src/process/process/timer_manager.rs:140
↓ 4 callersMethodpush_front
(&mut self, frame: Paddr)
osdk/deps/frame-allocator/src/cache.rs:88
↓ 4 callersMethodpush_slice
Pushes a slice of items to the `RingBuffer`. Returns `Some` on success, all items are pushed to the ring buffer. Returns `None` if the ring buffer is
kernel/src/util/ring_buffer.rs:180
↓ 4 callersMethodrange_uncompleted
Gets the uncompleted range within the whole, returns `None` if all slots are already completed.
kernel/comps/mlsdisk/src/layers/4-lsm/range_query_ctx.rs:36
↓ 4 callersMethodraw_with
(&self, f: impl FnOnce(&RawTcpSocketExt) -> R)
kernel/src/net/socket/ip/stream/connected.rs:218
↓ 4 callersMethodread
(&self, writer: &mut dyn MultiWrite)
kernel/src/fs/utils/channel.rs:286
↓ 4 callersMethodread
(&mut self, writer: &mut VmWriter<'_, Infallible>)
kernel/src/util/iovec.rs:191
↓ 4 callersMethodread
Read the content of the `CryptoBlob` from the disk into the buffer. The given buffer must has a length that is no less than the size of the plaintext
kernel/comps/mlsdisk/src/layers/1-crypto/crypto_blob.rs:176
↓ 4 callersMethodread
(&self, pos: BlockId, mut buf: BufMut)
kernel/comps/mlsdisk/src/layers/0-bio/block_set.rs:150
↓ 4 callersMethodread_cstring_with_max_len
(&mut self, max_len: usize)
kernel/src/context.rs:196
↓ 4 callersFunctionread_df_flag_and_assert
test/src/apps/signal_c/signal_rflags_df.c:12
↓ 4 callersMethodread_link
(&self)
kernel/src/fs/ext2/inode.rs:652
↓ 4 callersMethodread_once
Reads a value of a specified type at a specified offset.
ostd/src/bus/pci/cfg_space.rs:185
↓ 4 callersMethodread_slice
(&self, slice: &mut [T])
kernel/libs/aster-util/src/safe_ptr.rs:199
↓ 4 callersFunctionread_socket_addr_from_user
Reads a socket address from userspace. This method returns `Err(EINVAL)` for invalid socket address lengths and `Err(EAFNOSUPPORT)` for unsupported a
kernel/src/util/net/addr/family.rs:138
↓ 4 callersFunctionread_tsc
Reads the current value of the processor’s time-stamp counter (TSC).
ostd/src/arch/riscv/mod.rs:49
↓ 4 callersMethodrecycle_port
Recycle a port
kernel/src/net/socket/vsock/common.rs:81
↓ 4 callersMethodremove
(&self, name: XattrName)
kernel/src/fs/ramfs/xattr.rs:145
↓ 4 callersMethodremove
Removes the item at the target index. Returns the removed item if some item was previously stored in the same position.
kernel/libs/xarray/src/lib.rs:231
↓ 4 callersMethodremove_clusters_from_tail
(&mut self, drop_num: u32, sync: bool)
kernel/src/fs/exfat/fat.rs:352
↓ 4 callersMethodremove_entry
Removes and returns an existing `DirEntry` indicated by `name`.
kernel/src/fs/ext2/dir.rs:467
↓ 4 callersMethodremove_sub_names
(&mut self, name: &String)
kernel/src/fs/utils/random_test.rs:123
↓ 4 callersFunctionrenew_connect_and_accept
test/src/apps/network/tcp_poll.c:152
↓ 4 callersMethodreset
Resets the cursor to the inactive state.
kernel/libs/xarray/src/cursor.rs:201
↓ 4 callersMethodresize
Resizes the current page cache to a target size.
kernel/src/fs/utils/page_cache.rs:79
↓ 4 callersMethodroot
Gets the root directory.
kernel/src/fs/fs_resolver.rs:36
↓ 4 callersMethodroot_dentry
Gets the root `Dentry_` of this mount node.
kernel/src/fs/path/mount.rs:205
↓ 4 callersMethodroot_node
(&self)
kernel/comps/mlsdisk/src/layers/1-crypto/crypto_log.rs:243
↓ 4 callersMethodroot_vmar
Returns the root `Vmar` of the current userspace. # Panics This method will panic if the current process has cleared its `Vmar`.
kernel/src/context.rs:76
↓ 4 callersMethodrun
(&self, config: &Config, action: ActionChoice)
osdk/src/bundle/mod.rs:195
↓ 4 callersMethodrun
(&self)
kernel/src/thread/mod.rs:105
↓ 4 callersMethodsend
Send a data packet
kernel/src/net/socket/vsock/common.rs:191
↓ 4 callersMethodsend
(&self, data: u8)
ostd/src/arch/x86/device/serial.rs:75
↓ 4 callersMethodset_db_indirect
Sets the block ID of double indirect block pointer.
kernel/src/fs/ext2/block_ptr.rs:51
↓ 4 callersMethodset_end
Sets a new ending position for the lock range If the range shrinks, it will wake all waiting processes
kernel/src/fs/utils/range_lock/mod.rs:127
↓ 4 callersMethodset_entry
Sets the slot at the given `offset` to the given `entry`. If `entry` represents an item, the old marks at the same offset will be cleared. Otherwise,
kernel/libs/xarray/src/node.rs:214
↓ 4 callersMethodset_flags
(&self, flags: FdFlags)
kernel/src/fs/file_table.rs:354
↓ 4 callersMethodset_group
(&self, gid: Gid)
kernel/src/fs/procfs/template/mod.rs:104
← previousnext →901–1,000 of 7,307, ranked by callers