MCPcopy Create free account

hub / github.com/asterinas/vostd / functions

Functions7,307 in github.com/asterinas/vostd

↓ 5 callersMethodunmap
Unmaps the mapping from the VM space, and returns the number of unmapped pages.
kernel/src/vm/vmar/vm_mapping.rs:540
↓ 5 callersMethodvisit
( &mut self, name: &str, ino: u64, type_: Inod
kernel/src/fs/exfat/inode.rs:496
↓ 5 callersMethodvm
(&self)
kernel/src/process/process/mod.rs:584
↓ 5 callersMethodwait
Waits until some interesting events happen since the last wait. This method will fail with [`EINTR`] if interrupted by signals or [`ETIME`] on timeou
kernel/src/process/signal/poll.rs:313
↓ 5 callersFunctionwhiteout_name
(name: &str)
kernel/src/fs/overlayfs/fs.rs:890
↓ 5 callersMethodwrite_at
(&self, offset: usize, reader: &mut VmReader)
kernel/src/fs/ext2/inode.rs:708
↓ 5 callersMethodwrite_bytes
Writes u64 to the stack. Returns the writing address.
kernel/src/process/process_vm/init_stack/mod.rs:361
↓ 5 callersMethodwrite_entry
Writes a `DirEntry` at the current offset. The name is written after the header.
kernel/src/fs/ext2/dir.rs:367
↓ 5 callersFunctionwrite_to_file
test/src/apps/overlayfs/ovl_test.c:38
↓ 5 callersMethodwriter
(&self, vm_space: &'a VmSpace)
kernel/src/util/iovec.rs:51
↓ 4 callersMethodadd
Adds `a` to the counter on the given CPU.
osdk/deps/frame-allocator/src/smp_counter.rs:59
↓ 4 callersMethodadd_jiffies
Adds `jiffies` to the original recorded time to update the `CpuClock`.
kernel/src/time/clocks/cpu_clock.rs:36
↓ 4 callersFunctionadd_manifest_dependency_to
(manifest: &mut toml::Value, dep_name: &str, path: PathBuf)
osdk/src/base_crate/mod.rs:258
↓ 4 callersMethodadvance_head
(&self, mut head: Wrapping<usize>, len: usize)
kernel/src/util/ring_buffer.rs:217
↓ 4 callersMethodalloc
Allocates a segment of frames. It may allocate directly from this cache. If the cache is empty, it will fill the cache.
osdk/deps/frame-allocator/src/cache.rs:50
↓ 4 callersMethodalloc
Allocates a new block with its bytes initialized to zero.
kernel/src/fs/ext2/indirect_block_cache.rs:155
↓ 4 callersMethodalloc
Allocates a chunk, returning its ID.
kernel/comps/mlsdisk/src/layers/3-log/chunk.rs:126
↓ 4 callersFunctionalloc_pages
(ty: AllocateType, size: usize)
ostd/libs/linux-bzimage/setup/src/x86/amd64_efi/alloc.rs:24
↓ 4 callersMethodappend
Appends one or multiple blocks at the end. This method must be called within a TX. Otherwise, this method panics.
kernel/comps/mlsdisk/src/layers/3-log/raw_log.rs:397
↓ 4 callersMethodappend_new_entry
( &mut self, ino: u32, inode_type: InodeType, name: &str, check_existe
kernel/src/fs/ext2/inode.rs:1097
↓ 4 callersMethodas_bytes
Returns the FPU context as a byte slice.
ostd/src/arch/riscv/cpu/context.rs:284
↓ 4 callersMethodas_encoded_u64
Encodes the device ID as a `u64` value. The lower 32 bits use the same encoding strategy as Linux. See the Linux implementation at: <https://github.c
kernel/src/fs/device.rs:91
↓ 4 callersMethodas_file
(&self)
kernel/src/fs/ramfs/fs.rs:157
↓ 4 callersMethodas_u32
Return as a 32-bit integer encoded as specified in wait(2) man page.
kernel/src/process/term_status.rs:13
↓ 4 callersMethodas_u64
(&self)
kernel/src/process/process_vm/init_stack/aux_vec.rs:54
↓ 4 callersFunctionassert_split_to_order
( addr_frame_num: usize, order: BuddyOrder, split_order: BuddyOrder,
osdk/deps/frame-allocator/src/chunk.rs:353
↓ 4 callersMethodbar
Gain access to the BAR space and return None if that BAR is absent.
ostd/src/bus/pci/common_device.rs:108
↓ 4 callersMethodbuild
Builds a new kernel thread without running it immediately.
kernel/src/thread/kernel_thread.rs:54
↓ 4 callersFunctioncall_irq_callback_functions
(trap_frame: &TrapFrame, irq_number: usize)
ostd/src/trap/handler.rs:52
↓ 4 callersMethodcapacity
(&self)
kernel/src/fs/utils/channel.rs:79
↓ 4 callersMethodcapacity
Returns the capacity of this `CryptoBlob` in bytes.
kernel/comps/mlsdisk/src/layers/1-crypto/crypto_blob.rs:276
↓ 4 callersMethodcheck_mountpoint
Checks whether the dentry is a mount point. Returns an error if it is.
kernel/src/fs/path/dentry.rs:475
↓ 4 callersMethodcheck_rw_args
Check whether the arguments are valid for read/write operations.
kernel/comps/mlsdisk/src/layers/5-disk/mlsdisk.rs:324
↓ 4 callersFunctioncheck_status_flags
(status_flags: StatusFlags)
kernel/src/fs/pipe.rs:263
↓ 4 callersMethodchild
(&self, name: &str)
kernel/comps/systree/src/utils.rs:177
↓ 4 callersMethodchildren_wait_queue
(&self)
kernel/src/process/process/mod.rs:293
↓ 4 callersMethodclear_bit
Clear the given bit with zero bit. # Panics The `index` must be within the total number of bits. Otherwise, this method panics.
kernel/comps/mlsdisk/src/util/bitmap.rs:86
↓ 4 callersMethodclear_dirty
Clears the dirty flag.
kernel/src/fs/ext2/utils.rs:64
↓ 4 callersMethodclone
(&self)
ostd/src/arch/x86/cpu/context/mod.rs:562
↓ 4 callersFunctionclone_child
Clone a child thread or child process. FIXME: currently, the child process or thread will be scheduled to run at once, but this may not be the expect
kernel/src/process/clone.rs:189
↓ 4 callersMethodcommit_on
Commits a page at a specific page index. This method may involve I/O operations if the VMO needs to fetch a page from the underlying page cache.
kernel/src/vm/vmo/mod.rs:205
↓ 4 callersMethodconsume
(self, f: F)
kernel/comps/network/src/driver.rs:48
↓ 4 callersMethodcount_ones
Get the number of one bits in the bitmap.
kernel/comps/mlsdisk/src/util/bitmap.rs:111
↓ 4 callersMethodcreate_log
Creates a new raw log with a new log ID. # Panics This method must be called within a TX. Otherwise, this method panics.
kernel/comps/mlsdisk/src/layers/3-log/raw_log.rs:243
↓ 4 callersMethodcreate_prof_timer
Creates a timer based on the profiling CPU clock of the current thread.
kernel/src/process/posix_thread/mod.rs:255
↓ 4 callersMethoddealloc
Deallocates a segment of frames. It may deallocate directly to this cache. If the cache is full, it will deallocate to the global pool.
osdk/deps/frame-allocator/src/cache.rs:72
↓ 4 callersFunctiondefault_compact_policy_when_commit
A test case for `DefaultCompactPolicy`. The `commit_times` is used to control the number of `EditGroup` committed.
kernel/comps/mlsdisk/src/layers/2-edit/journal.rs:1030
↓ 4 callersMethoddelete_inode
Unlink a file or remove a directory. Need to delete dentry set and inode. Delete the file contents if delete_content is set.
kernel/src/fs/exfat/inode.rs:1043
↓ 4 callersMethoddiscard_range
Evict the data within a specified range from the page cache without persisting them to the backend.
kernel/src/fs/utils/page_cache.rs:69
↓ 4 callersFunctiondo_exit_group
Kills all threads and exits the current POSIX process. # Panics If the current thread is not a POSIX thread, this method will panic.
kernel/src/process/posix_thread/exit.rs:35
↓ 4 callersFunctiondo_test
test/src/apps/mmap/mmap_and_fork.c:12
↓ 4 callersMethoddup
Duplicates the capability.
kernel/src/vm/vmar/vm_mapping.rs:639
↓ 4 callersFunctionduplicate_frame
Creates a new `Frame<()>` and initializes it with the contents of the `src`. Note that it only duplicates the contents not the metadata.
kernel/src/vm/util.rs:10
↓ 4 callersMethodenqueue
(&self, task: Arc<Task>, flags: EnqueueFlags)
kernel/src/sched/sched_class/mod.rs:210
↓ 4 callersMethodenqueue_signal_locked
Enqueues a thread-directed signal with locked dispositions. By locking dispositions, the caller should have already checked the signal is not to be i
kernel/src/process/posix_thread/mod.rs:240
↓ 4 callersMethodentry_count
(&self)
kernel/src/fs/ext2/inode.rs:1093
↓ 4 callersMethodeuid
(&self)
kernel/src/process/credentials/static_cap.rs:60
↓ 4 callersMethodexecutable_path
(&self)
kernel/src/process/process/mod.rs:259
↓ 4 callersMethodexit_code
Returns the exit code.
kernel/src/process/status.rs:71
↓ 4 callersMethodfat_in_use
(&self)
kernel/src/fs/exfat/fat.rs:115
↓ 4 callersMethodfd
(&self)
kernel/src/syscall/poll.rs:245
↓ 4 callersMethodfinalize
(self)
osdk/src/config/scheme/grub.rs:55
↓ 4 callersMethodfind_opened_inode
(&self, hash: usize)
kernel/src/fs/exfat/fs.rs:130
↓ 4 callersFunctionfind_persistent_log_entry
( log_store: &Arc<RawLogStore<MemDisk>>, log_id: RawLogId, )
kernel/comps/mlsdisk/src/layers/3-log/raw_log.rs:1103
↓ 4 callersMethodfinish_last_connect
(&mut self)
kernel/src/net/socket/ip/stream/init.rs:119
↓ 4 callersMethodfirst_zero
Find the index of the first zero bit, starting from the given index (inclusively). Return `None` if no zero bit is found. # Panics The `from` index
kernel/comps/mlsdisk/src/util/bitmap.rs:180
↓ 4 callersMethodflush
Ensure that all committed edits are persisted to disk.
kernel/comps/mlsdisk/src/layers/2-edit/journal.rs:273
↓ 4 callersMethodflush_output_buffer
(&mut self)
kernel/comps/keyboard/src/i8042_chip/controller.rs:207
↓ 4 callersFunctionfrom_node_kind
(inner: &SysTreeNodeKind)
kernel/src/fs/utils/systree_inode.rs:754
↓ 4 callersMethodfs
(&self)
kernel/src/fs/ext2/block_group.rs:299
↓ 4 callersMethodfs
(&self)
kernel/src/fs/ramfs/fs.rs:1159
↓ 4 callersMethodfs_size
(&self)
kernel/src/fs/exfat/fs.rs:332
↓ 4 callersMethodfull_name
(&self)
kernel/src/fs/utils/xattr.rs:74
↓ 4 callersFunctionfutex_wake
Does futex wake
kernel/src/process/posix_thread/futex.rs:93
↓ 4 callersMethodgeneral_regs_mut
Returns a mutable reference to the general registers
ostd/src/arch/riscv/cpu/context.rs:110
↓ 4 callersMethodget
Retrieves an attribute by its name.
kernel/comps/systree/src/attr.rs:67
↓ 4 callersMethodget
Gets a target value given a key.
kernel/comps/mlsdisk/src/layers/4-lsm/tx_lsm_tree.rs:192
↓ 4 callersMethodget_file_dentry
(&self)
kernel/src/fs/exfat/dentry.rs:361
↓ 4 callersMethodget_modified_time
(&self)
osdk/src/bundle/file.rs:19
↓ 4 callersFunctionget_or_init
Returns a reference to the local APIC instance of the current CPU. The reference to the APIC instance will not outlive the given [`PinCurrentCpu`] gu
ostd/src/arch/x86/kernel/apic/mod.rs:40
↓ 4 callersMethodget_rss_counter
(&self, rss_type: RssType)
kernel/src/vm/vmar/mod.rs:750
↓ 4 callersMethodget_scheme
Get the scheme given the scheme from the command line arguments.
osdk/src/config/manifest.rs:89
↓ 4 callersMethodget_size
(&self)
osdk/src/bundle/file.rs:23
↓ 4 callersFunctionget_target_directory
()
osdk/src/util.rs:69
↓ 4 callersMethodget_xattr
(&self, name: XattrName, value_writer: &mut VmWriter)
kernel/src/fs/ext2/inode.rs:837
↓ 4 callersMethodgroups
(&self)
kernel/src/net/socket/unix/cred.rs:59
↓ 4 callersMethodheight
(&self)
kernel/libs/xarray/src/node.rs:155
↓ 4 callersMethodid
(&self)
kernel/src/net/socket/vsock/stream/connected.rs:51
↓ 4 callersMethodident
the item's ident
kernel/libs/typeflags/src/type_flag.rs:139
↓ 4 callersMethodinc_size
(&mut self)
kernel/src/fs/ramfs/fs.rs:236
↓ 4 callersFunctioninit
Init tsc clocksource module.
kernel/comps/time/src/tsc.rs:26
↓ 4 callersFunctioninit
()
ostd/src/arch/loongarch/pci.rs:41
↓ 4 callersFunctioninit
()
ostd/src/arch/riscv/pci.rs:29
↓ 4 callersFunctioninit_all
Component system initialization. It will collect invoke all functions that are marked by init_component based on dependencies between crates. The col
kernel/libs/comp-sys/component/src/lib.rs:116
↓ 4 callersMethodinit_parent
(&self, parent: Weak<dyn SysBranchNode>)
kernel/comps/systree/src/utils.rs:57
↓ 4 callersMethodinner
(&self)
kernel/libs/aster-bigtcp/src/socket/bound/common.rs:77
↓ 4 callersMethodinner_segment
(&self)
kernel/comps/block/src/bio.rs:484
↓ 4 callersMethodino
(&self)
kernel/src/fs/devpts/mod.rs:194
↓ 4 callersMethodino
(&self)
kernel/src/fs/procfs/template/mod.rs:46
↓ 4 callersMethodino
(&self)
kernel/src/fs/overlayfs/fs.rs:441
← previousnext →801–900 of 7,307, ranked by callers