MCPcopy Create free account

hub / github.com/asterinas/vostd / functions

Functions7,307 in github.com/asterinas/vostd

↓ 2 callersMethodrdx
(&self)
ostd/src/arch/x86/tdx_guest.rs:161
↓ 2 callersMethodread
(&self, writer: &mut VmWriter)
kernel/src/time/timerfd.rs:115
↓ 2 callersMethodread
Read a block at a specified position. The length of the given buffer should not be smaller than payload_len stored in `Footer`. # Security The auth
kernel/comps/mlsdisk/src/layers/1-crypto/crypto_chain.rs:105
↓ 2 callersMethodread
Reads one or multiple blocks at a specified position. # Panics This method must be called within a TX. Otherwise, this method panics.
kernel/comps/mlsdisk/src/layers/3-log/raw_log.rs:389
↓ 2 callersMethodread32
Reads u32 from the capability.
ostd/src/bus/pci/capability/vendor.rs:59
↓ 2 callersFunctionread_all
test/src/apps/pty/pty_blocking.c:38
↓ 2 callersMethodread_all
Read all data to the writer.
kernel/libs/cpio-decoder/src/lib.rs:157
↓ 2 callersMethodread_at
(&self, offset: usize, writer: &mut VmWriter)
kernel/src/fs/inode_handle/mod.rs:86
↓ 2 callersMethodread_attr
(&self, _name: &str, _writer: &mut VmWriter)
kernel/comps/systree/src/utils.rs:359
↓ 2 callersMethodread_blocks_async
Reads one or multiple blocks to the segment start from `bid` asynchronously.
kernel/src/fs/ext2/inode.rs:1840
↓ 2 callersMethodread_config
(&self)
kernel/comps/virtio/src/device/network/config.rs:92
↓ 2 callersMethodread_configuration
(&mut self)
kernel/comps/keyboard/src/i8042_chip/controller.rs:124
↓ 2 callersFunctionread_cstring_vec
( array_ptr: Vaddr, max_string_number: usize, max_string_len: usize, ctx: &Context, )
kernel/src/syscall/execve.rs:185
↓ 2 callersMethodread_cycles
Reads current cycles of the `ClockSource`.
kernel/comps/time/src/clocksource.rs:128
↓ 2 callersMethodread_data_node
(&self, entry: &MhtNodeEntry, node_buf: &mut [u8])
kernel/comps/mlsdisk/src/layers/1-crypto/crypto_log.rs:564
↓ 2 callersMethodread_extended_capability
Reads the extended Capability of IOMMU
ostd/src/arch/x86/iommu/registers/mod.rs:98
↓ 2 callersFunctionread_filename
(filename_ptr: Vaddr, ctx: &Context)
kernel/src/syscall/execve.rs:178
↓ 2 callersMethodread_len
(&self)
kernel/src/syscall/getdents64.rs:93
↓ 2 callersMethodread_multi_blocks
(&self, lba: Lba, bufs: &'a mut [BufMut<'a>])
kernel/comps/mlsdisk/src/layers/5-disk/mlsdisk.rs:409
↓ 2 callersMethodread_page_async
(&self, idx: usize, frame: &CachePage)
kernel/src/fs/exfat/fs.rs:372
↓ 2 callersFunctionread_random
Reads a hardware generated 64-bit random value. Returns None if no random value was generated.
ostd/src/arch/riscv/mod.rs:56
↓ 2 callersMethodread_slice
Read a slice of bytes at a specified byte offset.
kernel/comps/mlsdisk/src/layers/0-bio/block_set.rs:22
↓ 2 callersMethodread_time
(&self)
kernel/src/time/clocks/system_wide.rs:147
↓ 2 callersFunctionread_until_nul_byte
Reads bytes from `reader` into `buffer` until a nul byte is found. This method returns the following values: 1. `Ok(true)`: If a nul byte is found in
kernel/src/context.rs:241
↓ 2 callersMethodreaddir
(&self, visitor: &mut dyn DirentVisitor)
kernel/src/fs/inode_handle/mod.rs:143
↓ 2 callersMethodreaddir_at
(&self, offset: usize, visitor: &mut dyn DirentVisitor)
kernel/src/fs/ext2/inode.rs:605
↓ 2 callersMethodreaddir_inner
(&self, offset: usize)
kernel/src/fs/overlayfs/fs.rs:705
↓ 2 callersMethodreceive
Receive bytes from peer, returns the header
kernel/comps/virtio/src/device/socket/device.rs:260
↓ 2 callersMethodrecv
Receives some data. Polling the iface is _not_ required after this method succeeds.
kernel/libs/aster-bigtcp/src/socket/bound/udp.rs:173
↓ 2 callersMethodrecycle_descriptors
Recycle descriptors in the list specified by head. This will push all linked descriptors at the front of the free list.
kernel/comps/virtio/src/queue.rs:272
↓ 2 callersFunctionregister_callback
(callback: &'static KeyboardCallback)
kernel/comps/keyboard/src/lib.rs:30
↓ 2 callersFunctionregister_device
(name: String, device: Arc<dyn BlockDevice>)
kernel/comps/block/src/lib.rs:79
↓ 2 callersMethodregister_driver
Registers a MMIO driver to the MMIO bus.
kernel/comps/virtio/src/transport/mmio/bus/bus.rs:43
↓ 2 callersMethodregister_observer
( &self, observer: Weak<dyn Observer<SigEvents>>, filter: SigEventsFilter, )
kernel/src/process/signal/sig_queues.rs:78
↓ 2 callersMethodregister_observer
(&self, observer: Weak<dyn Observer<FdEvents>>)
kernel/src/fs/file_table.rs:190
↓ 2 callersMethodregister_poller
Registers a poller to listen notification for new events. The functionality of this method is a subset of calling [`Self::poll_with`] and providing t
kernel/src/process/signal/poll.rs:159
↓ 2 callersFunctionregister_recv_callback
Registers callback which will be called when receiving message. Since the callback will be called in softirq context, the callback function should _n
kernel/comps/network/src/lib.rs:94
↓ 2 callersMethodregister_sigqueue_observer
( &self, observer: Weak<dyn Observer<SigEvents>>, filter: SigEventsFilter, )
kernel/src/process/posix_thread/mod.rs:280
↓ 2 callersMethodremap
Remaps the original mapping to a new address and/or size. If the new mapping size is smaller than the original mapping size, the extra part will be u
kernel/src/vm/vmar/mod.rs:123
↓ 2 callersMethodremapping_index
Gets the remapping index of the IRQ line. This method will return `None` if interrupt remapping is disabled or not supported by the architecture.
ostd/src/arch/riscv/irq.rs:27
↓ 2 callersMethodremove
Removes an interval item from the interval set.
kernel/src/vm/vmar/interval_set.rs:58
↓ 2 callersMethodremove
(&mut self, pid: Pid)
kernel/src/process/process_table.rs:53
↓ 2 callersMethodremove
Remove and return the item at position `idx`. Return `None` if `idx` is out of bounds or the item has been removed.
kernel/libs/aster-util/src/slot_vec.rs:97
↓ 2 callersMethodremove_from_write_set
(&mut self, log_id: RawLogId)
kernel/comps/mlsdisk/src/layers/3-log/raw_log.rs:853
↓ 2 callersFunctionremove_thread
Removes a posix thread to global thread table
kernel/src/process/posix_thread/thread_table.rs:15
↓ 2 callersMethodrename_entry_at
(&mut self, old_name: &str, new_name: &str, offset: usize)
kernel/src/fs/ext2/inode.rs:1138
↓ 2 callersMethodrender_pixel
Renders the pixel according to the pixel format of the framebuffer.
kernel/comps/framebuffer/src/framebuffer.rs:103
↓ 2 callersFunctionreport_online_and_hw_cpu_id
(cpu_id: u32)
ostd/src/boot/smp.rs:156
↓ 2 callersMethodrequest_number
The number of bio requests in waiter. This number will be zero if there are no previous readahead.
kernel/src/fs/utils/page_cache.rs:229
↓ 2 callersMethodrequire_major_compaction
Check whether a major compaction is required from `from_level` to its lower level.
kernel/comps/mlsdisk/src/layers/4-lsm/tx_lsm_tree.rs:883
↓ 2 callersMethodreset
Resets the handle. The observer will be unregistered and will no longer receive events.
kernel/src/process/signal/poll.rs:222
↓ 2 callersMethodreset
Resets the connection. Polling the iface is _always_ required after this method succeeds. Note that either this method or [`Self::close`] must be ca
kernel/libs/aster-bigtcp/src/socket/bound/tcp_conn.rs:502
↓ 2 callersMethodreset_enabled
Marks the epoll entry as not enabled. This method must be called while holding the lock of the event masks and flags. This is the only way to ensure
kernel/src/fs/epoll/entry.rs:258
↓ 2 callersMethodright
Converts to the right value, if any.
ostd/src/util/either.rs:30
↓ 2 callersMethodrights
(&self)
kernel/src/vm/vmo/dyn_cap.rs:148
↓ 2 callersMethodroot
Returns a reference to the root node of the tree.
kernel/comps/systree/src/tree.rs:39
↓ 2 callersMethodrsi
(&self)
ostd/src/arch/x86/tdx_guest.rs:167
↓ 2 callersMethodrun
(&self)
kernel/src/thread/work_queue/worker.rs:74
↓ 2 callersMethodrun_and_test_inherit_from_global
Produces a scheme in which `run` and `test` action settings inherit from the default settings in the provided scheme.
osdk/src/config/scheme/mod.rs:108
↓ 2 callersMethodsame_owner_with
Checks if this lock has the same owner as another lock.
kernel/src/fs/utils/flock.rs:47
↓ 2 callersMethodschedule_next_poll
(&self, poll_at: Option<u64>)
kernel/src/net/iface/sched.rs:39
↓ 2 callersMethodsectors_count
(&self)
kernel/src/fs/exfat/mod.rs:59
↓ 2 callersMethodseek
(&self, pos: SeekFrom)
kernel/src/fs/inode_handle/mod.rs:116
↓ 2 callersMethodsegments
(&self)
kernel/src/net/socket/netlink/message/mod.rs:38
↓ 2 callersMethodselect_config
Query a specific piece of information by `select` and `subsel`, return the result size.
kernel/comps/virtio/src/device/input/device.rs:198
↓ 2 callersFunctionselect_remote_and_bind
Selects the remote endpoint and binds if the socket is not bound. The remote endpoint specified in the system call (e.g., `sendto`) argument is prefe
kernel/src/net/socket/util/datagram_common.rs:176
↓ 2 callersMethodsem_num
(&self)
kernel/src/ipc/semaphore/system_v/sem.rs:29
↓ 2 callersMethodsend
Sends the buffer to the destination.
kernel/comps/virtio/src/device/socket/device.rs:242
↓ 2 callersFunctionsend_startup_to_all_aps
# Safety The caller should ensure it's valid to send STARTUP IPIs to all CPUs excluding self.
ostd/src/arch/x86/boot/smp.rs:280
↓ 2 callersMethodserialize_to
(&self, format: ProfileFormat, cpu_mask: u128, mut target: W)
osdk/src/commands/profile.rs:148
↓ 2 callersMethodset_anyway
Sets the inner value of an `AtomicCpuId` anyway.
ostd/src/task/scheduler/info.rs:50
↓ 2 callersMethodset_arguments
(&mut self, sig_num: SigNum, siginfo_addr: usize, ucontext_addr: usize)
kernel/src/arch/x86/signal.rs:10
↓ 2 callersFunctionset_blocking
test/src/apps/network/udp_err.c:267
↓ 2 callersMethodset_can_reuse
Sets whether the port can be reused.
kernel/libs/aster-bigtcp/src/iface/common.rs:302
↓ 2 callersMethodset_command
Sets the PCI Command
ostd/src/bus/pci/common_device.rs:52
↓ 2 callersMethodset_control
Sets the terminal to be the controlling terminal of the process.
kernel/src/process/process/terminal.rs:94
↓ 2 callersMethodset_cur_and_max
Sets the rlimit with synchronization. Only called when handling the `setrlimit` or `prlimit` syscall.
kernel/src/process/rlimit.rs:153
↓ 2 callersMethodset_cwd
Sets the current working directory to the given `dentry`.
kernel/src/fs/fs_resolver.rs:46
↓ 2 callersMethodset_deallocated
Mark a specific slot deallocated.
kernel/comps/mlsdisk/src/layers/5-disk/block_alloc.rs:277
↓ 2 callersMethodset_device_range
Sets the device block IDs for a specified range. It updates the mapping between the file's block IDs and the device's block IDs starting from `start_
kernel/src/fs/ext2/inode.rs:1519
↓ 2 callersMethodset_direct
Sets the direct block ID. # Panics If the `idx` is out of bounds, this method will panic.
kernel/src/fs/ext2/block_ptr.rs:30
↓ 2 callersFunctionset_dma_buf
(desc_ptr: &DescriptorPtr, buf: &T)
kernel/comps/virtio/src/queue.rs:424
↓ 2 callersMethodset_font
(&self, font: aster_console::BitmapFont)
kernel/src/device/tty/n_tty.rs:37
↓ 2 callersMethodset_gid
(&self, gid: u32)
kernel/src/fs/ext2/inode.rs:774
↓ 2 callersMethodset_heartbeat
(&self, heartbeat: bool)
kernel/src/thread/work_queue/worker_pool.rs:114
↓ 2 callersMethodset_keep_alive
(&self, interval: Option<Duration>)
kernel/libs/aster-bigtcp/src/socket/bound/tcp_conn.rs:526
↓ 2 callersMethodset_keep_capabilities
(&self, keep_capabilities: bool)
kernel/src/process/credentials/static_cap.rs:152
↓ 2 callersMethodset_lock
Sets a lock on the file. If no conflicting locks exist, the lock is set and the function returns `Ok(())`. If is_nonblocking is true and a conflictin
kernel/src/fs/utils/flock.rs:141
↓ 2 callersMethodset_lvt_timer
(&self, value: u64)
ostd/src/arch/x86/kernel/apic/xapic.rs:109
↓ 2 callersMethodset_mountpoint
Makes current `Dentry` to be a mountpoint, sets it as the mountpoint of the child mount.
kernel/src/fs/path/dentry.rs:661
↓ 2 callersMethodset_mountpoint_dentry
(&self)
kernel/src/fs/path/dentry.rs:135
↓ 2 callersMethodset_nagle_enabled
(&self, enabled: bool)
kernel/libs/aster-bigtcp/src/socket/bound/tcp_conn.rs:536
↓ 2 callersMethodset_name
(&mut self, name: &CStr)
kernel/src/process/posix_thread/name.rs:40
↓ 2 callersMethodset_name_and_parent
(&self, name: &str, parent: Arc<Self>)
kernel/src/fs/path/dentry.rs:94
↓ 2 callersMethodset_new_session
( self: &Arc<Self>, process_group_mut: &mut MutexGuard<Weak<ProcessGroup>>, session_ta
kernel/src/process/process/mod.rs:403
↓ 2 callersFunctionset_next_timer
()
ostd/src/arch/riscv/timer/mod.rs:82
↓ 2 callersMethodset_non_blocking
(&self, non_blocking: bool)
kernel/src/syscall/signalfd.rs:187
↓ 2 callersFunctionset_nonblocking
test/src/apps/network/udp_err.c:329
↓ 2 callersMethodset_nonblocking
(&self, nonblocking: bool)
kernel/src/net/socket/ip/stream/mod.rs:417
↓ 2 callersMethodset_packet_len
(&mut self, packet_len: usize)
kernel/comps/network/src/buffer.rs:107
← previousnext →1,901–2,000 of 7,307, ranked by callers