MCPcopy Create free account

hub / github.com/asterinas/vostd / functions

Functions7,307 in github.com/asterinas/vostd

↓ 1 callersMethodsize
(&self)
osdk/src/bundle/vm_image.rs:47
↓ 1 callersMethodsize
The size of the VMAR in bytes.
kernel/src/vm/vmar/mod.rs:808
↓ 1 callersMethodsize
(&self)
kernel/src/process/signal/sig_stack.rs:57
↓ 1 callersMethodsize
(&self)
kernel/comps/network/src/dma_pool.rs:234
↓ 1 callersMethodsize
Returns the size of the framebuffer in bytes.
kernel/comps/framebuffer/src/framebuffer.rs:83
↓ 1 callersMethodsize
(&self)
ostd/src/arch/x86/boot/multiboot/mod.rs:306
↓ 1 callersMethodslots_len
Return the number of slots.
kernel/libs/aster-util/src/slot_vec.rs:44
↓ 1 callersMethodsource
(&self)
kernel/comps/virtio/src/device/socket/header.rs:96
↓ 1 callersMethodsource_id_qualifier
(&self)
ostd/src/arch/x86/iommu/interrupt_remapping/table.rs:180
↓ 1 callersMethodsource_identifier
(&self)
ostd/src/arch/x86/iommu/fault.rs:131
↓ 1 callersMethodsource_identifier
(&self)
ostd/src/arch/x86/iommu/interrupt_remapping/table.rs:185
↓ 1 callersMethodsource_validation_type
(&self)
ostd/src/arch/x86/iommu/interrupt_remapping/table.rs:175
↓ 1 callersFunctionspawn_background_poll_thread
(iface: Arc<Iface>)
kernel/src/net/iface/poll.rs:28
↓ 1 callersFunctionspawn_init_process
Creates and schedules the init process to run.
kernel/src/process/process/init_proc.rs:27
↓ 1 callersMethodspecify_device_page_table
Specifies the device page table instead of creating a page table if not exists. This will be useful if we want all the devices to use the same page t
ostd/src/arch/x86/iommu/dma_remapping/context_table.rs:106
↓ 1 callersFunctionsplit_arg
Splits the command line string by spaces but preserve ones that are protected by double quotes(`"`).
kernel/src/kcmdline.rs:66
↓ 1 callersFunctionsplit_path
Splits a `path` to (`dir_path`, `file_name`). The `dir_path` must be a directory. The `file_name` is the last component. It can be suffixed by "/".
kernel/src/fs/fs_resolver.rs:509
↓ 1 callersFunctionsplit_to_kv_array
Split a string of Unix arguments into an array of key-value strings or switches. Positional arguments are not supported.
osdk/src/config/unix_args.rs:13
↓ 1 callersMethodstart_connect
Returns `None` to block the task and wait for the connection to be established, and returns `Some(_)` if blocking is not necessary or not allowed.
kernel/src/net/socket/ip/stream/mod.rs:187
↓ 1 callersFunctionstatic_to_rt
(prio: u32)
kernel/src/syscall/sched_get_priority_max.rs:12
↓ 1 callersMethodstatus
Gets the PCI status
ostd/src/bus/pci/common_device.rs:58
↓ 1 callersMethodstop
Stops the process. FIXME: `ptrace` is another reason that can cause a process to stop. Consider extending the method signature to support `ptrace` if
kernel/src/process/process/mod.rs:682
↓ 1 callersMethodstorage
Return a reference to the underlying storage.
kernel/comps/mlsdisk/src/layers/0-bio/block_ring.rs:57
↓ 1 callersMethodstore
Writes a value to the per-CPU object in a single instruction. Note that this memory operation will not be elided or reordered by the compiler since i
ostd/src/cpu/local/cell.rs:245
↓ 1 callersFunctionstrip_tcp_prefix
(addr: &str)
osdk/src/commands/run.rs:152
↓ 1 callersMethodsub_cnt
(&self)
kernel/src/fs/utils/random_test.rs:486
↓ 1 callersMethodswap_arrays
(&mut self)
kernel/src/sched/sched_class/real_time.rs:179
↓ 1 callersMethodswitch
Switch two `MemTable`s. Should only be called in a situation that the mutable `MemTable` becomes full and the immutable `MemTable` is ready to be clea
kernel/comps/mlsdisk/src/layers/4-lsm/mem_table.rs:117
↓ 1 callersFunctionswitch_to
(repo: &Repository, branch: &str)
scripts/src/git.rs:58
↓ 1 callersFunctionsync
(manifest: &Manifest)
scripts/src/init.rs:3
↓ 1 callersMethodsync
Persist all in-memory data of `TxLsmTree` to the backed storage.
kernel/comps/mlsdisk/src/layers/4-lsm/tx_lsm_tree.rs:230
↓ 1 callersMethodsync
Appends current sync ID to WAL then commit the TX to ensure WAL's persistency. Save the log ID for later appending.
kernel/comps/mlsdisk/src/layers/4-lsm/wal.rs:119
↓ 1 callersMethodsync
Syncs all the data managed by `TxLogStore` for persistence.
kernel/comps/mlsdisk/src/layers/3-log/tx_log.rs:702
↓ 1 callersFunctionsync_all
(repos: &[Subrepo], shallow: bool)
scripts/src/git.rs:153
↓ 1 callersMethodsync_all_inodes
Writes back all the cached inodes to the block device.
kernel/src/fs/ext2/fs.rs:410
↓ 1 callersMethodsync_data
(&self, fs_guard: &MutexGuard<()>)
kernel/src/fs/exfat/inode.rs:585
↓ 1 callersMethodsync_data
(&self)
kernel/src/fs/overlayfs/fs.rs:500
↓ 1 callersMethodsync_group_descriptor
Writes back the block group descriptor to the descriptors table.
kernel/src/fs/ext2/fs.rs:212
↓ 1 callersMethodsync_id
Return the sync ID of this table.
kernel/comps/mlsdisk/src/layers/4-lsm/mem_table.rs:250
↓ 1 callersMethodsync_inode
Writes back the metadata of inode.
kernel/src/fs/ext2/fs.rs:204
↓ 1 callersMethodsync_metadata
Writes back the metadata to the block device.
kernel/src/fs/ext2/fs.rs:352
↓ 1 callersMethodsync_metadata
(&mut self)
kernel/src/fs/ext2/inode.rs:1341
↓ 1 callersMethodsync_raw_inode
Writes back the raw inode metadata to the raw inode metadata cache.
kernel/src/fs/ext2/block_group.rs:213
↓ 1 callersFunctionsys_clone3
test/src/apps/clone3/clone_exit_signal.c:12
↓ 1 callersFunctionsys_clone3
test/src/apps/clone3/clone_no_exit_signal.c:11
↓ 1 callersFunctionsys_clone3
test/src/apps/clone3/clone_process.c:26
↓ 1 callersFunctionsys_epoll_create1
(flags: u32, ctx: &Context)
kernel/src/syscall/epoll.rs:28
↓ 1 callersFunctionsys_fchmodat
Glibc handles the `flags` argument, so we just ignore it.
kernel/src/syscall/chmod.rs:27
↓ 1 callersFunctionsys_fchown
(fd: FileDesc, uid: i32, gid: i32, ctx: &Context)
kernel/src/syscall/chown.rs:14
↓ 1 callersFunctionsys_fstat
(fd: FileDesc, stat_buf_ptr: Vaddr, ctx: &Context)
kernel/src/syscall/stat.rs:17
↓ 1 callersFunctionsys_linkat
( old_dirfd: FileDesc, old_path_addr: Vaddr, new_dirfd: FileDesc, new_path_addr: Vaddr, fl
kernel/src/syscall/link.rs:13
↓ 1 callersFunctionsys_mkdirat
( dirfd: FileDesc, path_addr: Vaddr, mode: u16, ctx: &Context, )
kernel/src/syscall/mkdir.rs:14
↓ 1 callersFunctionsys_mknodat
( dirfd: FileDesc, path_addr: Vaddr, mode: u16, dev: usize, ctx: &Context, )
kernel/src/syscall/mknod.rs:16
↓ 1 callersFunctionsys_pipe2
(fds: Vaddr, flags: u32, ctx: &Context)
kernel/src/syscall/pipe.rs:13
↓ 1 callersFunctionsys_readlinkat
( dirfd: FileDesc, path_addr: Vaddr, usr_buf_addr: Vaddr, usr_buf_len: usize, ctx: &Contex
kernel/src/syscall/readlink.rs:13
↓ 1 callersFunctionsys_renameat
( old_dirfd: FileDesc, old_path_addr: Vaddr, new_dirfd: FileDesc, new_path_addr: Vaddr, ct
kernel/src/syscall/rename.rs:14
↓ 1 callersFunctionsys_signalfd4
Creates a new signalfd or updates an existing one according to the given mask and flags
kernel/src/syscall/signalfd.rs:46
↓ 1 callersFunctionsys_symlinkat
( target_addr: Vaddr, dirfd: FileDesc, linkpath_addr: Vaddr, ctx: &Context, )
kernel/src/syscall/symlink.rs:14
↓ 1 callersFunctionsys_unlinkat
( dirfd: FileDesc, path_addr: Vaddr, flags: u32, ctx: &Context, )
kernel/src/syscall/unlink.rs:13
↓ 1 callersMethodsyscall_args
(&self)
kernel/src/arch/x86/cpu.rs:38
↓ 1 callersMethodsyscall_ret
(&self)
kernel/src/arch/x86/cpu.rs:26
↓ 1 callersMethodsysnode
(&self)
kernel/src/fs/ext2/fs.rs:462
↓ 1 callersMethodtable_size
MSI-X Table size
ostd/src/bus/pci/capability/msix.rs:136
↓ 1 callersMethodtake_exception
Returns the trap information.
ostd/src/arch/riscv/cpu/context.rs:115
↓ 1 callersMethodtarget_node
(&self, target_height: Height)
kernel/comps/mlsdisk/src/layers/1-crypto/crypto_log.rs:803
↓ 1 callersMethodtarget_path
(&self)
kernel/comps/systree/src/utils.rs:267
↓ 1 callersMethodtermios
(&self)
kernel/src/device/tty/line_discipline.rs:239
↓ 1 callersFunctiontest
test/src/apps/sched/sched_attr_idle.c:13
↓ 1 callersMethodtest_bit
Test if the given bit is set. Return `true` if the given bit is one bit. # Panics The `index` must be within the total number of bits. Otherwise, t
kernel/comps/mlsdisk/src/util/bitmap.rs:66
↓ 1 callersMethodtest_create
(&mut self, name: &String, type_: InodeType)
kernel/src/fs/utils/random_test.rs:132
↓ 1 callersFunctiontest_current_crate
(config: &Config, args: &TestArgs)
osdk/src/commands/test.rs:23
↓ 1 callersFunctiontest_fdatasync_on_fs
test/src/apps/fdatasync/fdatasync.c:9
↓ 1 callersFunctiontest_full_send_buffer
test/src/apps/network/send_buf_full.c:124
↓ 1 callersFunctiontest_handle_sigfpe
test/src/apps/signal_c/signal_test.c:171
↓ 1 callersFunctiontest_handle_sigsegv
test/src/apps/signal_c/signal_test.c:235
↓ 1 callersFunctiontest_listen_backlog
test/src/apps/network/listen_backlog.c:49
↓ 1 callersMethodtest_lock
Test whether `lock` may be set. If there is a conflict, return the conflicting lock. Otherwise, return a lock with type `Unlock`.
kernel/src/fs/utils/range_lock/mod.rs:206
↓ 1 callersMethodtest_lookup
(&self, name: &String)
kernel/src/fs/utils/random_test.rs:181
↓ 1 callersFunctiontest_mutex_with_concurrent_counter
test/src/apps/pthread/pthread_test.c:64
↓ 1 callersFunctiontest_raise
test/src/apps/signal_c/signal_test.c:122
↓ 1 callersMethodtest_range_lock
(&self, lock: RangeLockItem)
kernel/src/fs/inode_handle/mod.rs:170
↓ 1 callersMethodtest_read
(&self, offset: usize, len: usize)
kernel/src/fs/utils/random_test.rs:395
↓ 1 callersMethodtest_readdir
(&mut self)
kernel/src/fs/utils/random_test.rs:204
↓ 1 callersMethodtest_rename
(&mut self, old_name: &String, new_name: &String)
kernel/src/fs/utils/random_test.rs:285
↓ 1 callersMethodtest_resize
(&mut self, new_size: usize)
kernel/src/fs/utils/random_test.rs:450
↓ 1 callersMethodtest_rmdir
(&mut self, name: &String)
kernel/src/fs/utils/random_test.rs:256
↓ 1 callersFunctiontest_robust_mutex_with_concurrent_counter
test/src/apps/pthread/pthread_test.c:152
↓ 1 callersFunctiontest_sigaltstack
test/src/apps/signal_c/signal_test.c:322
↓ 1 callersFunctiontest_sigchld
test/src/apps/signal_c/signal_test.c:273
↓ 1 callersFunctiontest_sigpending
============================================================================ Test sigpending =========================================================
test/src/apps/signal_c/signal_test.c:369
↓ 1 callersFunctiontest_sigprocmask
test/src/apps/signal_c/signal_test.c:42
↓ 1 callersMethodtest_unlink
(&mut self, name: &String)
kernel/src/fs/utils/random_test.rs:228
↓ 1 callersMethodtest_write
(&mut self, offset: usize, len: usize, rng: &mut dyn RngCore)
kernel/src/fs/utils/random_test.rs:420
↓ 1 callersFunctiontgkill
Sends a signal to a target thread, using the current process as the sender. If `signal` is `None`, this method will only check permission without sen
kernel/src/process/kill.rs:71
↓ 1 callersMethodtime_slice
The time slice for each thread in the run queue, measured in sched clocks.
kernel/src/sched/sched_class/fair.rs:283
↓ 1 callersFunctiontimer_callback
A callback that needs to be called on timer interrupt.
ostd/src/arch/x86/timer/apic.rs:41
↓ 1 callersMethodtimer_current_count
(&self)
ostd/src/arch/x86/kernel/apic/xapic.rs:105
↓ 1 callersFunctiontlb_flush_addr
(vaddr: Vaddr)
ostd/src/arch/riscv/mm/mod.rs:65
↓ 1 callersFunctiontlb_flush_addr_range
(range: &Range<Vaddr>)
ostd/src/arch/riscv/mm/mod.rs:71
↓ 1 callersMethodtls_pointer
Gets thread-local storage pointer.
ostd/src/arch/x86/task/mod.rs:30
← previousnext →3,501–3,600 of 7,307, ranked by callers