MCPcopy Create free account

hub / github.com/asterinas/vostd / functions

Functions7,307 in github.com/asterinas/vostd

↓ 16 callersMethodcheck_permission
Used to check for read/write/execute permissions on a file. Similar to Linux, using "fsuid" here allows setting filesystem permissions without changi
kernel/src/fs/utils/inode.rs:536
↓ 16 callersMethodfile_size
(&self)
kernel/src/fs/ext2/inode.rs:1217
↓ 16 callersMethodhard_links
(&self)
kernel/src/fs/ext2/inode.rs:1261
↓ 16 callersMethodino
(&self)
kernel/src/fs/ext2/inode.rs:69
↓ 16 callersMethodinsert
Inserts a new item into the DB. # Transaction This method must be called within the context of a transaction.
kernel/comps/mlsdisk/src/tx/mod.rs:353
↓ 16 callersMethodis_empty
Returns whether the auxiliary data contains nothing.
kernel/src/net/socket/unix/ctrl_msg.rs:304
↓ 16 callersMethodload
Loads the value of the set with the given ordering. This operation is not atomic. When racing with a [`Self::store`] operation, this load may return
ostd/src/cpu/set.rs:179
↓ 16 callersMethodlocation
PCI device location
ostd/src/bus/pci/common_device.rs:29
↓ 16 callersFunctionnum_cpus
Returns the number of CPUs.
ostd/src/cpu/mod.rs:89
↓ 16 callersMethodpush_front
(&mut self, s: &str)
osdk/deps/test-kernel/src/path.rs:50
↓ 16 callersMethodsum_lens
(&self)
kernel/src/util/iovec.rs:204
↓ 15 callersMethodas_u8
(&self)
kernel/src/process/signal/sig_num.rs:35
↓ 15 callersMethodfind
Retrieves a reference to an `IndirectBlock` by its `bid`. If the block is not present in the cache, it will be loaded from the disk.
kernel/src/fs/ext2/indirect_block_cache.rs:40
↓ 15 callersMethodinode
Binds an [`Inode`] to the mapping. This is used for file-backed mappings. The provided file inode will be mapped. See [`Self::vmo`] for details on th
kernel/src/vm/vmar/mod.rs:971
↓ 15 callersMethodintersects
(&self, other: impl Into<Self>)
kernel/src/process/signal/sig_mask.rs:155
↓ 15 callersMethoditer
(&self)
kernel/libs/comp-sys/cargo-component/analysis/src/conf.rs:125
↓ 15 callersMethodlen
Gets the number of items in the `RingBuffer`.
kernel/src/util/ring_buffer.rs:127
↓ 15 callersMethodlock
Acquires the lock to perform mutable operations.
kernel/libs/xarray/src/lib.rs:136
↓ 15 callersMethodmetadata
(&self)
kernel/src/fs/utils/systree_inode.rs:287
↓ 15 callersMethodpoll_with
Polls the I/O events in the local [`Pollee`].
kernel/src/fs/utils/endpoint.rs:180
↓ 15 callersMethodset
(&mut self, key: AuxKey, val: u64)
kernel/src/process/process_vm/init_stack/aux_vec.rs:73
↓ 15 callersMethodstore
Stores a new value to the set with the given ordering. This operation is not atomic. When racing with a [`Self::load`] operation, that load may retur
ostd/src/cpu/set.rs:197
↓ 14 callersMethodadd_dma_buf
Add dma buffers to the virtqueue, return a token. Ref: linux virtio_ring.c virtqueue_add
kernel/comps/virtio/src/queue.rs:187
↓ 14 callersMethodas_inode_or_err
(&self)
kernel/src/fs/file_handle.rs:142
↓ 14 callersMethodas_mut_slice
Returns the mutable slice of owned buffer.
kernel/comps/mlsdisk/src/layers/0-bio/block_buf.rs:56
↓ 14 callersMethodas_ref
Gets the reference (handle) of raw log. # Panics This method must be called within a TX. Otherwise, this method panics.
kernel/comps/mlsdisk/src/layers/3-log/raw_log.rs:439
↓ 14 callersMethodcheck_rights
Checks whether current rights meet the input `rights`.
kernel/src/vm/vmo/mod.rs:86
↓ 14 callersMethodconcat
Merges the `Bio` requests from another `BioWaiter` into this one. The another `BioWaiter`'s `Bio` requests are appended to the end of the `Bio` list
kernel/comps/block/src/bio.rs:198
↓ 14 callersMethodcreate_timer
Creates a timer for the timeout.
kernel/src/time/wait.rs:160
↓ 14 callersMethodget
(&self, pos: BlockId)
kernel/comps/mlsdisk/src/layers/3-log/tx_log.rs:888
↓ 14 callersMethodinsert
Inserts or updates an `IndirectBlock` in the cache with the specified `bid`.
kernel/src/fs/ext2/indirect_block_cache.rs:80
↓ 14 callersMethodlen
Returns the number of characters in the current line.
kernel/src/device/tty/line_discipline.rs:81
↓ 14 callersMethodlen
(&self)
kernel/comps/mlsdisk/src/layers/3-log/raw_log.rs:608
↓ 14 callersMethodprof_clock
(&self)
kernel/src/process/wait.rs:155
↓ 14 callersMethodpush
(&mut self, region: MemoryRegion)
ostd/src/boot/memory_region.rs:306
↓ 14 callersMethodread32
(&self, offset: u16)
ostd/src/bus/pci/device_info.rs:116
↓ 14 callersMethodresize
(&self, new_size: usize)
kernel/src/fs/ext2/inode.rs:109
↓ 14 callersMethodroot_inode
(&self)
kernel/src/fs/exfat/fs.rs:324
↓ 14 callersMethodset
Equivalent to FD_SET.
kernel/src/syscall/select.rs:212
↓ 14 callersMethodset
Set the given bit with `value`. One bit is set for `true`, and zero bit for `false`. # Panics The `index` must be within the total number of bits.
kernel/comps/mlsdisk/src/util/bitmap.rs:98
↓ 14 callersMethodset_mtime
(&mut self, time: Duration)
kernel/src/fs/ramfs/fs.rs:251
↓ 14 callersMethodvm_space
FIXME: This function should require access control
kernel/src/vm/vmar/mod.rs:80
↓ 14 callersMethodwrite_once
Writes a value of a specified type at a specified offset.
ostd/src/bus/pci/cfg_space.rs:193
↓ 13 callersMethodas_direntry
(&self)
kernel/src/fs/ramfs/fs.rs:150
↓ 13 callersMethodas_slice
Returns the immutable slice of owned buffer.
kernel/comps/mlsdisk/src/layers/0-bio/block_buf.rs:51
↓ 13 callersMethodas_socket_or_err
(&self)
kernel/src/fs/file_handle.rs:137
↓ 13 callersFunctionassert_max_order_from
(frame_num: usize, expected: BuddyOrder)
osdk/deps/frame-allocator/src/chunk.rs:298
↓ 13 callersFunctionassert_success
(output: &Output)
osdk/tests/util/mod.rs:34
↓ 13 callersMethodborrow
(&self)
kernel/src/fs/utils/mod.rs:203
↓ 13 callersMethodchecked_sub
Subtract a duration from self. If the result does not exceed inner bounds return Some(t), else return None.
kernel/src/time/system_time.rs:58
↓ 13 callersMethodfind_entry_item
(&self, name: &str)
kernel/src/fs/ext2/inode.rs:1089
↓ 13 callersMethodget
(&self, key: AuxKey)
kernel/src/process/process_vm/init_stack/aux_vec.rs:84
↓ 13 callersMethodget
(&self)
kernel/libs/comp-sys/cargo-component/tests/reexport_test/foo/src/lib.rs:19
↓ 13 callersMethodget_on_cpu
Gets access to the CPU-local value on a specific CPU. This allows the caller to access CPU-local data from a remote CPU, so the data type must be `Sy
ostd/src/cpu/local/mod.rs:128
↓ 13 callersMethodget_with
Gets access to the underlying value on the current CPU with a provided IRQ guard. By this method, you can borrow a reference to the underlying value
ostd/src/cpu/local/mod.rs:112
↓ 13 callersMethodid
(&self)
kernel/src/fs/devpts/ptmx.rs:177
↓ 13 callersMethodis_all_supported
(&self)
kernel/src/net/socket/util/send_recv_flags.rs:43
↓ 13 callersFunctionis_dot_or_dotdot
Checks if the file name is "." or "..", indicating it's the current or parent directory.
kernel/src/fs/path/mod.rs:24
↓ 13 callersMethodis_sync
(&self)
kernel/src/fs/exfat/inode.rs:224
↓ 13 callersMethodlookup_inode
Finds and returns the inode by `ino`.
kernel/src/fs/ext2/fs.rs:142
↓ 13 callersMethodname
Returns the name.
kernel/src/fs/ext2/dir.rs:55
↓ 13 callersMethodnext
(&mut self)
kernel/comps/mlsdisk/src/layers/4-lsm/sstable.rs:584
↓ 13 callersMethodput
Put an object of `Arc<T>`. If there exists one object of the type, then the old one is returned.
kernel/src/fs/utils/inode.rs:680
↓ 13 callersMethodread_bytes
Reads bytes into the destination `VmWriter` from the user space of the current process. If the reading is completely successful, returns `Ok`. Otherw
kernel/src/context.rs:103
↓ 13 callersMethodroot_vmar
(&self)
kernel/src/process/posix_thread/thread_local.rs:70
↓ 13 callersMethodset_mtime
(&mut self, time: Duration)
kernel/src/fs/ext2/inode.rs:1298
↓ 13 callersMethodstate
Returns the filesystem state.
kernel/src/fs/ext2/super_block.rs:223
↓ 13 callersMethodwrite
Writes the specified amount of buffer content starting from the target offset in the VMO.
kernel/src/vm/vmo/mod.rs:359
↓ 13 callersMethodwriter
(&self)
ostd/src/io/io_mem/mod.rs:156
↓ 12 callersMethodas_usize
Returns the offset value as a `usize`.
kernel/comps/framebuffer/src/framebuffer.rs:153
↓ 12 callersMethodcluster_id
(&self)
kernel/src/fs/exfat/fat.rs:107
↓ 12 callersMethodcredentials_mut
Gets the write-only credentials of the current thread. It is illegal to mutate the credentials from a thread other than the current thread. For perfo
kernel/src/process/posix_thread/mod.rs:307
↓ 12 callersMethoddata
Returns the associated data.
kernel/src/thread/mod.rs:146
↓ 12 callersMethoddentry
(&self)
kernel/src/fs/inode_handle/mod.rs:298
↓ 12 callersMethodfree_blocks
Frees a range of blocks.
kernel/src/fs/ext2/fs.rs:284
↓ 12 callersMethodfs
(&self)
kernel/src/fs/exfat/fat.rs:123
↓ 12 callersMethodheight
Returns the height of the framebuffer in pixels.
kernel/comps/framebuffer/src/framebuffer.rs:93
↓ 12 callersMethodiface
(&self)
kernel/libs/aster-bigtcp/src/socket/bound/common.rs:98
↓ 12 callersMethodis_completed
Whether the range query context is completed, means all slots are filled with the corresponding values.
kernel/comps/mlsdisk/src/layers/4-lsm/range_query_ctx.rs:55
↓ 12 callersMethodlen
Returns the number of attributes in the set.
kernel/comps/systree/src/attr.rs:77
↓ 12 callersMethodlen
Returns the length of the data.
kernel/comps/virtio/src/device/socket/header.rs:84
↓ 12 callersMethodnotify
notify that there are available rings
kernel/comps/virtio/src/queue.rs:366
↓ 12 callersMethodparent
Gets the parent mount node if any.
kernel/src/fs/path/mount.rs:238
↓ 12 callersMethodrange
Returns the range of the lock
kernel/src/fs/utils/range_lock/mod.rs:60
↓ 12 callersMethodread
Read a specified number of blocks at a logical block address on the device. The block contents will be read into a single contiguous buffer.
kernel/comps/mlsdisk/src/layers/5-disk/mlsdisk.rs:171
↓ 12 callersMethodread
Reads one or multiple data blocks at a specified position.
kernel/comps/mlsdisk/src/layers/1-crypto/crypto_log.rs:253
↓ 12 callersFunctionread_hex_bytes_to_u32
(bytes: &[u8])
kernel/libs/cpio-decoder/src/lib.rs:363
↓ 12 callersMethodreader
(&self)
ostd/src/io/io_mem/mod.rs:145
↓ 12 callersMethodsched_attr
(&self)
kernel/src/thread/mod.rs:123
↓ 12 callersMethodsession
Returns the session whose controlling terminal is this terminal.
kernel/src/process/process/job_control.rs:37
↓ 12 callersMethodshould_notify
whether the driver should notify the device
kernel/comps/virtio/src/queue.rs:358
↓ 12 callersMethodsize
Returns the size of current VMO.
kernel/src/vm/vmo/mod.rs:413
↓ 12 callersFunctionsize_of_order
Returns the size of a buddy chunk of the given order.
osdk/deps/frame-allocator/src/chunk.rs:14
↓ 12 callersMethodstatus
Returns the status.
kernel/comps/block/src/bio.rs:74
↓ 12 callersMethodthis
(&self)
kernel/src/fs/path/dentry.rs:99
↓ 12 callersMethodthis_end
Returns a reference to the `T` on the local endpoint.
kernel/src/fs/utils/endpoint.rs:56
↓ 12 callersMethodtid
Returns the thread id
kernel/src/process/posix_thread/mod.rs:94
↓ 12 callersMethodtype_
Gets the type of the `Dentry_`.
kernel/src/fs/path/dentry.rs:70
↓ 12 callersMethodunwrap
Unwraps and returns a reference to the file table. # Panics This method will panic if the thread has exited and the file table has been dropped.
kernel/src/process/posix_thread/thread_local.rs:194
↓ 12 callersMethodwait_events
( &self, mask: IoEvents, timeout: Option<&Duration>, mut try_op: F, )
kernel/src/process/signal/poll.rs:354
← previousnext →201–300 of 7,307, ranked by callers