MCPcopy Create free account

hub / github.com/asterinas/vostd / functions

Functions7,307 in github.com/asterinas/vostd

↓ 2 callersMethodudp_socket_iter
(&self)
kernel/libs/aster-bigtcp/src/socket_table.rs:312
↓ 2 callersMethoduid
Returns owner's UID
kernel/src/ipc/mod.rs:64
↓ 2 callersMethoduid
(&self)
kernel/src/fs/ext2/inode.rs:1241
↓ 2 callersMethodunlink
(&self, name: &str)
kernel/src/fs/ext2/inode.rs:234
↓ 2 callersMethodunlock
Unlocks the specified owner, waking any waiting threads. If the owner is no longer valid, the lock is removed from the list. If the owner is valid, th
kernel/src/fs/utils/flock.rs:166
↓ 2 callersMethodunlock_flock
(&self, req_owner: &InodeHandle<R>)
kernel/src/fs/inode_handle/mod.rs:264
↓ 2 callersMethodunlock_range_lock
(&self, lock: &RangeLockItem)
kernel/src/fs/inode_handle/mod.rs:223
↓ 2 callersMethodunregister_observer
(&self, observer: &Weak<dyn Observer<SigEvents>>)
kernel/src/process/signal/sig_queues.rs:86
↓ 2 callersMethodunregister_sigqueue_observer
(&self, observer: &Weak<dyn Observer<SigEvents>>)
kernel/src/process/posix_thread/mod.rs:288
↓ 2 callersMethodupdate_checksum
(&mut self)
kernel/src/fs/exfat/dentry.rs:434
↓ 2 callersMethodupdate_clock_instant
(&mut self, clockid: usize, secs: u64, nanos_info: u64)
kernel/src/vdso.rs:157
↓ 2 callersMethodupdate_coarse_res_instant
(&mut self, instant: Instant)
kernel/src/vdso.rs:179
↓ 2 callersMethodupdate_data_frame_instant
Update the requisite fields of the VDSO data in the `data_frame`.
kernel/src/vdso.rs:278
↓ 2 callersMethodupdate_for_event
(&mut self, event: &VsockEvent)
kernel/src/net/socket/vsock/stream/connected.rs:203
↓ 2 callersMethodupdate_high_res_instant
(&mut self, instant: Instant, instant_cycles: u64)
kernel/src/vdso.rs:162
↓ 2 callersMethodupdate_indirect_block
(&mut self)
kernel/src/fs/ext2/inode.rs:2037
↓ 2 callersMethodupdate_last_record
Uses an input instant and cycles to update the `last_record` in the `ClockSource`.
kernel/comps/time/src/clocksource.rs:123
↓ 2 callersMethodupdate_min_uncompleted
(&mut self, completed_nth: usize)
kernel/comps/mlsdisk/src/layers/4-lsm/range_query_ctx.rs:86
↓ 2 callersFunctionupdate_pending_alter
Look for pending alter operations that can be completed, ref: <https://elixir.bootlin.com/linux/v6.0.9/source/ipc/sem.c#L949>
kernel/src/ipc/semaphore/system_v/sem.rs:244
↓ 2 callersMethodupdate_size
(&mut self, new_size: usize)
kernel/src/fs/ext2/inode.rs:1654
↓ 2 callersMethodupdate_sst_manager
( &self, created: impl Iterator<Item = (SSTable<K, V>, LsmLevel)>, deleted: impl Itera
kernel/comps/mlsdisk/src/layers/4-lsm/tx_lsm_tree.rs:713
↓ 2 callersMethodval
(&self)
kernel/src/ipc/semaphore/system_v/sem.rs:111
↓ 2 callersMethodvalid_size
Returns the **valid** size of the `MappedVmo`. The **valid** size of a `MappedVmo` is the size of its accessible range that actually falls within the
kernel/src/vm/vmar/vm_mapping.rs:592
↓ 2 callersMethodvalue
For the extensions list parser
ostd/src/arch/riscv/cpu/extension.rs:247
↓ 2 callersMethodversion
(&self)
ostd/src/arch/x86/kernel/apic/xapic.rs:72
↓ 2 callersFunctionvirtio_iface
()
kernel/src/net/iface/init.rs:22
↓ 2 callersMethodvisit_children_with
(&self, min_id: u64, f: &mut dyn FnMut(&Arc<C>) -> Option<()>)
kernel/comps/systree/src/utils.rs:164
↓ 2 callersMethodvmo_offset
Sets the offset of the first memory page in the VMO that is to be mapped into the VMAR. The offset must be page-aligned and within the VMO. The defa
kernel/src/vm/vmar/mod.rs:900
↓ 2 callersMethodvtime_slice
The virtual time slice for each thread in the run queue, measured in vruntime clocks.
kernel/src/sched/sched_class/fair.rs:278
↓ 2 callersMethodwait
Atomically releases the given `MutexGuard`, blocking the current thread until the condition variable is notified, after which the mutex will be reacqu
kernel/src/process/sync/condvar.rs:114
↓ 2 callersMethodwait_and_send_data
(&mut self, data: u8)
kernel/comps/keyboard/src/i8042_chip/controller.rs:162
↓ 2 callersMethodwait_compaction
Wait until the compaction is finished.
kernel/comps/mlsdisk/src/layers/4-lsm/compaction.rs:40
↓ 2 callersMethodwait_for_prev_readahead
Waits for the previous readahead.
kernel/src/fs/utils/page_cache.rs:250
↓ 2 callersMethodwait_timeout
Waits for the condition variable to be signaled or broadcasted, or a timeout to elapse. bool is true if the timeout is reached. The function returns
kernel/src/process/sync/condvar.rs:143
↓ 2 callersFunctionwake_const_ops
Wakeup pending const operations, ref: <https://elixir.bootlin.com/linux/v6.0.9/source/ipc/sem.c#L854>
kernel/src/ipc/semaphore/system_v/sem.rs:280
↓ 2 callersMethodwake_signalled_waker
Wakes up the signalled waker.
kernel/src/process/posix_thread/mod.rs:206
↓ 2 callersMethodwake_up_parent
(&self)
kernel/src/process/process/mod.rs:713
↓ 2 callersMethodwarn_unsupported_flags
(&self, flags: &EpollFlags)
kernel/src/fs/epoll/file.rs:242
↓ 2 callersMethodwrite
(&self, _reader: &mut VmReader)
kernel/src/process/pid_file.rs:70
↓ 2 callersMethodwrite_at
(&self, mut offset: usize, reader: &mut VmReader)
kernel/src/fs/inode_handle/mod.rs:98
↓ 2 callersMethodwrite_at
(&self, offset: usize, reader: &mut VmReader)
kernel/src/fs/utils/inode.rs:404
↓ 2 callersMethodwrite_at
Writes data to the target inode, if it resides in the lower layer, it will be copied up to the upper layer. The corresponding parent directories will
kernel/src/fs/overlayfs/fs.rs:281
↓ 2 callersMethodwrite_blocks
Writes contiguous blocks starting from the `bid` synchronously.
kernel/src/fs/ext2/fs.rs:329
↓ 2 callersMethodwrite_blocks_async
Writes one or multiple blocks from the segment start from `bid` asynchronously.
kernel/src/fs/ext2/inode.rs:1889
↓ 2 callersMethodwrite_cstring
Writes a CString including the ending null byte to the stack. Returns the writing address
kernel/src/process/process_vm/init_stack/mod.rs:354
↓ 2 callersFunctionwrite_lock_two_direntries_by_ino
( this: (u64, &'a RwLock<DirEntry>), other: (u64, &'a RwLock<DirEntry>), )
kernel/src/fs/ramfs/fs.rs:1259
↓ 2 callersMethodwrite_page_async
(&self, idx: usize, frame: &CachePage)
kernel/src/fs/exfat/fs.rs:386
↓ 2 callersFunctionwrite_socket_addr_with_max_len
Writes a socket address to the user space. If the specified maximum length for the socket address is not enough, the socket address is truncated to t
kernel/src/util/net/addr/family.rs:236
↓ 2 callersMethodwrite_str
(&mut self, s: &str)
ostd/src/console.rs:10
↓ 2 callersMethodwriter
Creates a writer to write data into the user space. Returns `Err` if the `vaddr` and `len` do not represent a user space memory range.
kernel/src/context.rs:90
↓ 2 callersMethodwriter
(&self)
kernel/comps/network/src/dma_pool.rs:245
↓ 2 callersMethodwriters_mut
Returns mutable reference to [`VmWriter`]s.
kernel/src/util/iovec.rs:131
↓ 1 callersMethodaccept
Accepts a connection on the socket.
kernel/src/net/socket/mod.rs:75
↓ 1 callersMethodaccept
(&self)
kernel/src/net/socket/ip/stream/mod.rs:484
↓ 1 callersFunctionaccept_without_addr
test/src/apps/network/send_buf_full.c:50
↓ 1 callersMethodaccess_point
Point query. # Panics This method must be called within a TX. Otherwise, this method panics.
kernel/comps/mlsdisk/src/layers/4-lsm/sstable.rs:162
↓ 1 callersMethodaccess_range
Range query. # Panics This method must be called within a TX. Otherwise, this method panics.
kernel/comps/mlsdisk/src/layers/4-lsm/sstable.rs:200
↓ 1 callersMethodactivate_tls_pointer
Activates thread-local storage pointer on the current CPU.
ostd/src/arch/riscv/cpu/context.rs:130
↓ 1 callersFunctionadapt_for_gdb_server
(config: &mut Config, gdb_server_str: &str)
osdk/src/commands/run.rs:47
↓ 1 callersMethodadd
(&mut self, bytes: &[u8])
kernel/src/net/socket/vsock/stream/connected.rs:207
↓ 1 callersMethodadd
Adds the given number of jiffies, saturating at [`Jiffies::MAX`] on overflow.
ostd/src/timer/jiffies.rs:38
↓ 1 callersMethodadd_assign
(&mut self, rhs: T)
kernel/src/process/signal/sig_mask.rs:100
↓ 1 callersMethodadd_backlog
( &self, addr: UnixSocketAddrBound, pollee: Pollee, backlog: usize, is
kernel/src/net/socket/unix/stream/listener.rs:121
↓ 1 callersMethodadd_connection_buffer
(&self, bytes: &[u8])
kernel/src/net/socket/vsock/stream/connected.rs:123
↓ 1 callersFunctionadd_feature_entries
(dep_crate_name: &str, features: &toml::Table)
osdk/src/base_crate/mod.rs:306
↓ 1 callersFunctionadd_free_memory
(_guard: &DisabledLocalIrqGuard, addr: Paddr, size: usize)
osdk/deps/frame-allocator/src/pools/mod.rs:112
↓ 1 callersMethodadd_free_memory
(&self, addr: Paddr, size: usize)
osdk/deps/frame-allocator/src/lib.rs:81
↓ 1 callersMethodadd_interest
( &self, fd: FileDesc, file: Arc<dyn FileLike>, ep_event: EpollEvent,
kernel/src/fs/epoll/file.rs:81
↓ 1 callersMethodadd_ktest
(&mut self, test: KtestItem)
osdk/deps/test-kernel/src/tree.rs:111
↓ 1 callersFunctionadd_manifest_dependencies
(cargo_metadata: &serde_json::Value, crate_name: &str)
osdk/src/commands/new/mod.rs:33
↓ 1 callersFunctionadd_manifest_dependency
( crate_name: &str, crate_path: impl AsRef<Path>, link_unit_test_kernel: bool, )
osdk/src/base_crate/mod.rs:198
↓ 1 callersFunctionadd_member_to_workspace
(workspace: impl AsRef<Path>, new_member: &str)
osdk/tests/util/mod.rs:84
↓ 1 callersFunctionadd_multi_flag
Adds the `MULTI` flag to all segments in `segments`.
kernel/src/net/socket/netlink/route/kernel/util.rs:32
↓ 1 callersMethodadd_posix_timer
Adds a POSIX timer to the managed `posix_timers`, and allocate a timer ID for this timer. Return the timer ID.
kernel/src/process/process/timer_manager.rs:162
↓ 1 callersMethodadd_rss_counter
(&self, rss_type: RssType, val: isize)
kernel/src/vm/vmar/mod.rs:754
↓ 1 callersFunctionadd_rust_toolchain
Add the rust-toolchain.toml file in workspace root
osdk/src/commands/new/mod.rs:149
↓ 1 callersMethodadd_rx_buffer
Adds a `RxBuffer` to the receive queue.
kernel/comps/virtio/src/device/network/device.rs:156
↓ 1 callersMethodadd_rx_buffer
Add a used rx buffer to recv queue,@index is only to check the correctness
kernel/comps/virtio/src/device/socket/device.rs:305
↓ 1 callersMethodadd_slave
(&self, name: String, slave: Arc<PtySlaveInode>)
kernel/src/fs/devpts/mod.rs:159
↓ 1 callersFunctionadd_thread
Adds a posix thread to global thread table
kernel/src/process/posix_thread/thread_table.rs:9
↓ 1 callersMethodadd_worker
(&self)
kernel/src/thread/work_queue/worker_pool.rs:82
↓ 1 callersMethodaddr
(&self)
kernel/src/net/socket/unix/stream/listener.rs:53
↓ 1 callersMethodaddr
(&self)
kernel/src/net/socket/vsock/stream/listen.rs:28
↓ 1 callersMethodaddress_length
Memory BAR bits type
ostd/src/bus/pci/cfg_space.rs:213
↓ 1 callersMethodaddress_type
(&self)
ostd/src/arch/x86/iommu/fault.rs:122
↓ 1 callersMethodadjust_head_pos
Make sure the bit at the range start position is 0.
kernel/src/fs/exfat/bitmap.rs:177
↓ 1 callersMethodadjust_stack_alignment
Libc ABI requires 16-byte alignment of the stack entrypoint. Current position of the stack is 8-byte aligned already, insert 8 byte to meet the requir
kernel/src/process/process_vm/init_stack/mod.rs:289
↓ 1 callersMethodafter_schedule
(&self)
kernel/src/process/posix_thread/thread_local.rs:178
↓ 1 callersFunctionafter_switching_to
Does cleanups after switching to a task. # Safety This function must be called only once after switching to a task.
ostd/src/task/processor.rs:112
↓ 1 callersMethodalign
Returns the alignment.
kernel/comps/block/src/bio.rs:771
↓ 1 callersFunctionalign_down
Aligns `x` down to the previous multiple of `align`.
kernel/comps/mlsdisk/src/util/mod.rs:20
↓ 1 callersFunctionalign_up
(size: usize, align: usize)
kernel/libs/cpio-decoder/src/lib.rs:374
↓ 1 callersMethodall_blocks
Return all the buffered data blocks.
kernel/comps/mlsdisk/src/layers/5-disk/data_buf.rs:109
↓ 1 callersFunctionall_devices_lock
( )
kernel/comps/console/src/lib.rs:62
↓ 1 callersMethodalloc
Gets a memory region for testing.
osdk/deps/frame-allocator/src/test.rs:64
↓ 1 callersMethodalloc
(&'static self)
ostd/src/arch/x86/iommu/interrupt_remapping/table.rs:35
↓ 1 callersFunctionalloc_at
(addr: usize, size: usize)
ostd/libs/linux-bzimage/setup/src/x86/amd64_efi/alloc.rs:7
↓ 1 callersMethodalloc_batch
Allocate multiple free slots for a bunch of new blocks, returns `None` if there are no free slots for all.
kernel/comps/mlsdisk/src/layers/5-disk/block_alloc.rs:93
↓ 1 callersMethodalloc_block
Record a diff of `Alloc`.
kernel/comps/mlsdisk/src/layers/5-disk/block_alloc.rs:301
↓ 1 callersMethodalloc_cluster_from_empty
If current capacity is 0 (no start_cluster), this means we can choose a allocation type We first try continuous allocation If no continuous allocation
kernel/src/fs/exfat/fat.rs:202
← previousnext →2,101–2,200 of 7,307, ranked by callers