MCPcopy Create free account

hub / github.com/asterinas/vostd / functions

Functions7,307 in github.com/asterinas/vostd

↓ 3 callersMethodclear
Removes all CPUs from the set.
ostd/src/cpu/set.rs:105
↓ 3 callersMethodclone_context
(&self)
kernel/src/process/posix_thread/thread_local.rs:149
↓ 3 callersMethodcomplete
Completes the `Bio` with the `status` and invokes the callback function. When the driver finishes the request for this `Bio`, it will call this metho
kernel/comps/block/src/bio.rs:272
↓ 3 callersMethodcontains_entry
(&self, name: &str)
kernel/src/fs/ramfs/fs.rs:294
↓ 3 callersMethodcontains_type
(&self, type_ident: &Ident)
kernel/libs/typeflags/src/flag_set.rs:90
↓ 3 callersMethodcontains_valid
Checks if a valid dentry with the given name exists.
kernel/src/fs/path/dentry.rs:438
↓ 3 callersMethodcopy_to
Copy the binary to the `base` directory and convert the path to a relative path.
osdk/src/bundle/bin.rs:95
↓ 3 callersFunctioncow_copy_pt
Sets mappings in the source page table as read-only to trigger COW, and copies the mappings to the destination page table. The copied range starts fr
kernel/src/vm/vmar/mod.rs:768
↓ 3 callersFunctioncreate_crypto_log
()
kernel/comps/mlsdisk/src/layers/1-crypto/crypto_log.rs:1105
↓ 3 callersFunctioncreate_user_pt_mapped_at
(virt_range: Range<Vaddr>)
ostd/src/mm/page_table/test.rs:18
↓ 3 callersFunctioncreate_workspace
(workspace_name: &str, members: &[&str])
osdk/tests/util/mod.rs:48
↓ 3 callersMethoddealloc
Deallocates a CPU-local object.
osdk/deps/heap-allocator/src/cpu_local_allocator.rs:51
↓ 3 callersMethoddealloc_batch
Deallocates the set of chunks of given IDs. # Panic Deallocating a free chunk causes panic.
kernel/comps/mlsdisk/src/layers/3-log/chunk.rs:191
↓ 3 callersMethoddecommit
Decommits a range of pages in the VMO.
kernel/src/vm/vmo/mod.rs:327
↓ 3 callersMethoddelete_log
Deletes the raw log of a given ID. # Panics This method must be called within a TX. Otherwise, this method panics.
kernel/comps/mlsdisk/src/layers/3-log/raw_log.rs:326
↓ 3 callersMethoddequeue_signal
(&self, mask: &SigMask)
kernel/src/process/posix_thread/mod.rs:276
↓ 3 callersMethoddevice_config_bar
(&self)
kernel/comps/virtio/src/transport/pci/device.rs:146
↓ 3 callersMethoddevice_type
(&self)
kernel/comps/virtio/src/transport/pci/device.rs:72
↓ 3 callersFunctiondisable_local_bottom_half
()
kernel/comps/softirq/src/lock.rs:61
↓ 3 callersFunctiondo_epoll_pwait2
( epfd: FileDesc, events_addr: Vaddr, max_events: i32, timeout: Option<Duration>, sigmask:
kernel/src/syscall/epoll.rs:96
↓ 3 callersFunctiondo_faccessat
( dirfd: FileDesc, path_ptr: Vaddr, mode: u16, flags: u32, ctx: &Context, )
kernel/src/syscall/access.rs:66
↓ 3 callersFunctiondo_sys_poll
( fds: Vaddr, nfds: u32, timeout: Option<Duration>, ctx: &Context, )
kernel/src/syscall/poll.rs:26
↓ 3 callersFunctiondo_utimes
Common function to handle updating file times, supporting both fd and path based operations
kernel/src/syscall/utimens.rs:150
↓ 3 callersFunctionedit_config_files
(dir: &Path)
osdk/tests/util/mod.rs:24
↓ 3 callersMethodeffective_parent
Gets the effective parent of the `Dentry`. If it is the root of a mount, it will go up to the mountpoint to get the parent of the mountpoint recursiv
kernel/src/fs/path/dentry.rs:623
↓ 3 callersFunctionemit_note
(tcx: TyCtxt<'_>, span: Span, crate_name: &str, def_paths: Vec<String>)
kernel/libs/comp-sys/cargo-component/analysis/src/lib.rs:288
↓ 3 callersMethodenable
Enables a softirq line by registering its callback. # Panics Each softirq can only be enabled once.
kernel/comps/softirq/src/lib.rs:97
↓ 3 callersFunctionenable_local_if
(cond: bool)
ostd/src/arch/x86/trap/mod.rs:149
↓ 3 callersMethodenqueue
Submit a work item. Return `false` if the work item is currently pending.
kernel/src/thread/work_queue/mod.rs:137
↓ 3 callersMethodevents
(&self)
kernel/src/syscall/poll.rs:249
↓ 3 callersMethodevict_range
Evict the data within a specified range from the page cache and persist them to the backend.
kernel/src/fs/utils/page_cache.rs:63
↓ 3 callersMethodfetch_weight
(&self)
kernel/src/sched/sched_class/fair.rs:155
↓ 3 callersMethodfill_bytes
(&self, dest: &mut [u8])
kernel/comps/mlsdisk/src/os/mod.rs:244
↓ 3 callersMethodfind
(&self, name: &str)
kernel/src/fs/ramfs/fs.rs:494
↓ 3 callersFunctionfind_allocator
( allocators: &'a [RangeAllocator], range: &Range<usize>, )
ostd/src/io/io_mem/allocator.rs:119
↓ 3 callersMethodfind_entry
(&self, name: &XattrName, buf: &USegment)
kernel/src/fs/ext2/xattr.rs:394
↓ 3 callersMethodfind_log
(&self, log_id: u64)
kernel/comps/mlsdisk/src/layers/3-log/raw_log.rs:874
↓ 3 callersFunctionfinish_grace_period
()
kernel/libs/xarray/src/test.rs:311
↓ 3 callersMethodflags
(&self)
ostd/src/arch/x86/iommu/interrupt_remapping/table.rs:210
↓ 3 callersMethodflush
Ensures that blocks are persisted to the disk.
kernel/comps/mlsdisk/src/layers/3-log/raw_log.rs:411
↓ 3 callersMethodflush_buf
Flushes the buffer to the backed log.
kernel/comps/mlsdisk/src/layers/4-lsm/wal.rs:142
↓ 3 callersMethodforeground
Returns the foreground process group.
kernel/src/process/process/job_control.rs:96
↓ 3 callersMethodformat
Get the output format for the profile data. If the user does not specify the format, it will be inferred from the output file extension. If the outpu
osdk/src/cli.rs:283
↓ 3 callersMethodfree
Returns an allocated bio segment to the pool, free the space. This method is not public and should only be called automatically by `BioSegmentInner::d
kernel/comps/block/src/bio.rs:657
↓ 3 callersMethodfree_indirect_blocks_required_by
Frees the indirect blocks required by the specified block ID. It ensures that the indirect blocks that are required by the block ID are properly rele
kernel/src/fs/ext2/inode.rs:1713
↓ 3 callersMethodfree_inode
Frees an inode.
kernel/src/fs/ext2/fs.rs:193
↓ 3 callersMethodfs
(&self)
kernel/src/fs/ext2/xattr.rs:352
↓ 3 callersMethodfs
(&self)
kernel/src/fs/ext2/indirect_block_cache.rs:131
↓ 3 callersMethodfull_name_len
(&self)
kernel/src/fs/utils/xattr.rs:78
↓ 3 callersMethodgeneral_regs
Returns a reference to the general registers.
ostd/src/arch/riscv/cpu/context.rs:105
↓ 3 callersMethodget
Gets the total counter value. This function may be inaccurate since other CPUs may be updating the counter.
kernel/src/util/per_cpu_counter.rs:40
↓ 3 callersMethodget
(&self)
kernel/libs/comp-sys/cargo-component/tests/trait_method_test/foo2/src/lib.rs:45
↓ 3 callersMethodget
Get the item at position `idx`. Return `None` if `idx` is out of bounds or the item is not exist.
kernel/libs/aster-util/src/slot_vec.rs:51
↓ 3 callersMethodget
(&self, _pos: Pbid)
kernel/comps/mlsdisk/src/layers/1-crypto/crypto_log.rs:1093
↓ 3 callersMethodget_cur_and_max
Gets the rlimit with synchronization. Only called when handling the `getrlimit` or `prlimit` syscall.
kernel/src/process/rlimit.rs:145
↓ 3 callersMethodget_current_mut_with
Get a _mutable_ reference to the current transaction of the current thread, passing it to a given closure. # Panics The `get_current_mut_with` metho
kernel/comps/mlsdisk/src/tx/current.rs:139
↓ 3 callersFunctionget_default_arch
Get the default architecture implied by the host rustc's default architecture.
osdk/src/arch.rs:82
↓ 3 callersMethodget_info
(&self)
kernel/src/net/socket/vsock/stream/connected.rs:118
↓ 3 callersFunctionget_intersected_range
Gets the intersection range of two ranges. The two ranges should be ensured to be intersected.
kernel/src/vm/vmar/mod.rs:1129
↓ 3 callersFunctionget_network_timestamp
()
kernel/libs/aster-bigtcp/src/iface/time.rs:5
↓ 3 callersFunctionget_next_free_index
(segments: &BitArray, nr_blocks_per_page: usize)
kernel/comps/network/src/dma_pool.rs:199
↓ 3 callersMethodget_or_create_context_table
(&mut self, device_id: PciDeviceLocation)
ostd/src/arch/x86/iommu/dma_remapping/context_table.rs:139
↓ 3 callersMethodget_ptr_on_target
(&self, cpu_id: CpuId)
ostd/src/cpu/local/dyn_cpu_local.rs:37
↓ 3 callersMethodget_stream_dentry
(&self)
kernel/src/fs/exfat/dentry.rs:373
↓ 3 callersMethodget_top_valid_lower_inode
Returns the top valid lower inode.
kernel/src/fs/overlayfs/fs.rs:562
↓ 3 callersFunctionget_workspace_root
(cargo_metadata: &serde_json::Value)
osdk/src/commands/new/mod.rs:185
↓ 3 callersFunctionget_xapic_base_address
Gets xAPIC base address
ostd/src/arch/x86/kernel/apic/xapic.rs:127
↓ 3 callersFunctiongetxattr
( file_ctx: XattrFileCtx, name_ptr: Vaddr, value_ptr: Vaddr, value_len: usize, user_space:
kernel/src/syscall/getxattr.rs:86
↓ 3 callersMethodgroup_descriptors_bid
Returns the starting block id of the block group descriptor table inside the block group pointed by `block_group_idx`. # Panics If `block_group_idx`
kernel/src/fs/ext2/super_block.rs:321
↓ 3 callersMethodgroups
Returns the group ID set.
kernel/src/net/socket/netlink/addr/mod.rs:43
↓ 3 callersMethodhandle_page_faults_around
Sets the mapping to handle surrounding pages when handling page fault.
kernel/src/vm/vmar/mod.rs:951
↓ 3 callersFunctionhard_link_or_copy
Attempts to create a hard link from `from` to `to`. If the hard link operation fails (e.g., due to crossing file systems), it falls back to performing
osdk/src/util.rs:392
↓ 3 callersMethodhas_signal_blocked
Returns whether the signal is blocked by the thread.
kernel/src/process/posix_thread/mod.rs:131
↓ 3 callersMethodid
Return the ID of this `SSTable`, which is the same ID to the underlying `TxLog`.
kernel/comps/mlsdisk/src/layers/4-lsm/sstable.rs:125
↓ 3 callersMethodid
Gets the unique ID of raw log.
kernel/comps/mlsdisk/src/layers/3-log/raw_log.rs:430
↓ 3 callersMethodiface
(&self)
kernel/src/net/socket/ip/stream/connected.rs:144
↓ 3 callersMethodinc_hard_links
(&mut self)
kernel/src/fs/ext2/inode.rs:1265
↓ 3 callersMethodinc_nlinks
(&mut self)
kernel/src/fs/ramfs/fs.rs:259
↓ 3 callersMethodindex
Returns the target index of the cursor.
kernel/libs/xarray/src/cursor.rs:190
↓ 3 callersMethodindirect
Returns the block ID of single indirect block pointer.
kernel/src/fs/ext2/block_ptr.rs:36
↓ 3 callersMethodinherit
(&mut self, from: &Self)
osdk/src/config/scheme/mod.rs:80
↓ 3 callersFunctioninit
()
kernel/src/lib.rs:98
↓ 3 callersMethodinit_observer
Initializes the observer whose `on_events` will be called when certain iface events happen. The caller needs to be responsible for race conditions if
kernel/libs/aster-bigtcp/src/socket/bound/common.rs:90
↓ 3 callersMethodinit_stack_bottom
Returns the bottom address of the init stack (lowest address).
kernel/src/process/process_vm/init_stack/mod.rs:500
↓ 3 callersMethodinner_dma_slice
Returns the inner DMA slice.
kernel/comps/block/src/bio.rs:478
↓ 3 callersMethodinode
Gets the inner inode.
kernel/src/fs/path/dentry.rs:109
↓ 3 callersMethodinsert_inode
(&self, inode: Arc<ExfatInode>)
kernel/src/fs/exfat/fs.rs:150
↓ 3 callersMethodinstruction_pointer
(&self)
ostd/src/arch/x86/task/mod.rs:75
↓ 3 callersMethodinto_node
(self)
kernel/libs/xarray/src/cursor.rs:65
↓ 3 callersMethodinto_result
(self)
kernel/src/net/socket/ip/stream/connecting.rs:75
↓ 3 callersMethodirq_mut
Gets mutable IrqLine. User can register callbacks by using this function.
ostd/src/bus/pci/capability/msix.rs:178
↓ 3 callersMethodis_at_node
(&self)
kernel/libs/xarray/src/cursor.rs:75
↓ 3 callersMethodis_cluster_range_unused
(&self, clusters: Range<ClusterID>)
kernel/src/fs/exfat/bitmap.rs:118
↓ 3 callersMethodis_destroying
(&self)
kernel/src/thread/work_queue/worker.rs:113
↓ 3 callersMethodis_empty
Determines whether the signal number is empty
kernel/src/process/signal/sig_num.rs:103
↓ 3 callersMethodis_empty
Checks if the `RingBuffer` is empty.
kernel/src/util/ring_buffer.rs:117
↓ 3 callersMethodis_empty
(&self)
kernel/comps/virtio/src/device/socket/header.rs:88
↓ 3 callersMethodis_full
(&self)
kernel/src/device/tty/line_discipline.rs:235
↓ 3 callersFunctionis_groups_equal
test/src/apps/network/sockoption_unix.c:180
↓ 3 callersMethodis_huge
(&self)
ostd/src/arch/loongarch/mm/mod.rs:142
← previousnext →1,101–1,200 of 7,307, ranked by callers