Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/asterinas/vostd
/ functions
Functions
7,307 in github.com/asterinas/vostd
⨍
Functions
7,307
◇
Types & classes
1,661
↓ 1 callers
Function
calc_duration
test/src/apps/file_io/file_io.c:37
↓ 1 callers
Method
calc_needed_chunks
Calculate how many new chunks we need for an append request
kernel/comps/mlsdisk/src/layers/3-log/raw_log.rs:731
↓ 1 callers
Method
calc_target_height
(&self, num_data_node_entries: usize)
kernel/comps/mlsdisk/src/layers/1-crypto/crypto_log.rs:690
↓ 1 callers
Method
calculate_new_val
(&self, old_val: u32)
kernel/src/process/posix_thread/futex.rs:196
↓ 1 callers
Function
calculate_priority
calculate the priority of one node
kernel/libs/comp-sys/component-macro/src/priority.rs:187
↓ 1 callers
Function
calculate_si_code_and_si_status
(wait_status: &WaitStatus)
kernel/src/syscall/waitid.rs:68
↓ 1 callers
Function
calculate_status_code
(wait_status: &WaitStatus)
kernel/src/syscall/wait4.rs:52
↓ 1 callers
Function
calibrate
Calibrate the TSC and system time based on the RTC time.
kernel/comps/time/src/tsc.rs:43
↓ 1 callers
Method
calibrate
Calibrates the recorded `Instant` to zero, and record the instant cycles.
kernel/comps/time/src/clocksource.rs:153
↓ 1 callers
Function
call_aster_entrypoint
(entrypoint: *const (), boot_params_ptr: *mut BootParams)
ostd/libs/linux-bzimage/setup/src/x86/legacy_i386/mod.rs:40
↓ 1 callers
Function
call_aster_entrypoint
(entrypoint: *const (), boot_params_ptr: *mut BootParams)
ostd/libs/linux-bzimage/setup/src/x86/amd64_efi/mod.rs:15
↓ 1 callers
Method
call_commit_handlers
(&self)
kernel/comps/mlsdisk/src/tx/mod.rs:140
↓ 1 callers
Method
call_precommit_handlers
(&self)
kernel/comps/mlsdisk/src/tx/mod.rs:116
↓ 1 callers
Method
call_work_func
(&self)
kernel/src/thread/work_queue/work_item.rs:63
↓ 1 callers
Method
can_accept
Returns whether there is a TCP connection to accept. It's the caller's responsibility to deal with race conditions when using this method.
kernel/libs/aster-bigtcp/src/socket/bound/tcp_listen.rs:144
↓ 1 callers
Method
can_merge
Returns `true` if can merge the `SubmittedBio`, `false` otherwise.
kernel/comps/block/src/request_queue.rs:179
↓ 1 callers
Method
can_push
Returns whether new characters can be pushed into the input buffer. This method should return `false` if the input buffer is full.
kernel/src/device/tty/mod.rs:89
↓ 1 callers
Method
can_push
(&self)
kernel/src/device/pty/driver.rs:107
↓ 1 callers
Method
can_read
Returns whether read operations are allowed.
kernel/comps/systree/src/node.rs:357
↓ 1 callers
Method
can_receive
(&self)
kernel/comps/virtio/src/device/network/device.rs:323
↓ 1 callers
Method
can_run_with_config
(&self, config: &Config, action: ActionChoice)
osdk/src/bundle/mod.rs:117
↓ 1 callers
Method
can_write
Returns whether write operations are allowed.
kernel/comps/systree/src/node.rs:362
↓ 1 callers
Function
canonicalize_and_eval
(action_scheme: &mut ActionScheme, workdir: &PathBuf)
osdk/src/config/mod.rs:105
↓ 1 callers
Method
capacity_sectors
(&self)
kernel/comps/virtio/src/device/block/mod.rs:188
↓ 1 callers
Function
cargo
()
osdk/src/commands/util.rs:14
↓ 1 callers
Function
cargo_component
(cwd: &PathBuf, target_dir: &PathBuf)
kernel/libs/comp-sys/cargo-component/tests/test_utils/mod.rs:52
↓ 1 callers
Function
cargo_new_lib
Create a new library crate with cargo
osdk/src/util.rs:31
↓ 1 callers
Method
carriage_return
(&mut self)
kernel/comps/framebuffer/src/console.rs:148
↓ 1 callers
Function
catch_unwind
( f: F, )
ostd/src/panic.rs:112
↓ 1 callers
Function
century_register
Gets the century register location. This function is used in RTC(Real Time Clock) module initialization.
ostd/src/arch/x86/device/cmos.rs:26
↓ 1 callers
Method
char
Returns the bitmap of the specified character in the font. This method will return [`None`] if the font does not contain a bitmap for the specified c
kernel/comps/console/src/font.rs:128
↓ 1 callers
Function
char_to_signal
(ch: u8, termios: &CTermios)
kernel/src/device/tty/line_discipline.rs:287
↓ 1 callers
Method
char_to_upcase
(&self, value: UTF16Char)
kernel/src/fs/exfat/upcase_table.rs:96
↓ 1 callers
Method
check
(&self)
kernel/src/process/wait.rs:35
↓ 1 callers
Function
check_body_mir
(mir_key: LocalDefId, tcx: TyCtxt<'_>)
kernel/libs/comp-sys/cargo-component/analysis/src/lib.rs:40
↓ 1 callers
Method
check_config
ensure the config to be valid. We will check three things. 1. The component ident and library name(The last segment of component path) cannot be dupli
kernel/libs/comp-sys/cargo-component/analysis/src/conf.rs:75
↓ 1 callers
Method
check_connect
(&self)
kernel/src/net/socket/ip/stream/mod.rs:274
↓ 1 callers
Function
check_corner_cases_for_rename
( old_inode: &Arc<ExfatInode>, exist_inode: &Arc<ExfatInode>, )
kernel/src/fs/exfat/inode.rs:1080
↓ 1 callers
Function
check_cpu_config
Checks the LoongArch CPU configuration using `cpucfg` instruction.
ostd/src/arch/loongarch/boot/mod.rs:85
↓ 1 callers
Function
check_current_privileged
()
kernel/src/net/socket/util/options.rs:229
↓ 1 callers
Method
check_dead
Checks whether the TCP connection becomes dead. A TCP connection is considered dead when and only when the TCP socket is in the closed state, meaning
kernel/libs/aster-bigtcp/src/socket/bound/tcp_conn.rs:193
↓ 1 callers
Function
check_elf_header
(elf_header: &ElfHeader)
kernel/src/process/program_loader/elf/elf_file.rs:188
↓ 1 callers
Function
check_gdb_config
Exit if the QEMU GDB server configuration is not valid
osdk/src/commands/run.rs:267
↓ 1 callers
Function
check_inline_asm_operand
( asm_operand: &InlineAsmOperand<'_>, tcx: TyCtxt<'_>, def_paths: &mut Vec<String>, checked_de
kernel/libs/comp-sys/cargo-component/analysis/src/lib.rs:147
↓ 1 callers
Method
check_io_events
(&self)
kernel/src/device/tty/mod.rs:135
↓ 1 callers
Method
check_io_events
(&self)
kernel/src/device/pty/master.rs:53
↓ 1 callers
Method
check_io_events
(&self)
kernel/src/net/socket/unix/stream/socket.rs:81
↓ 1 callers
Method
check_io_events
(&self)
kernel/src/net/socket/vsock/stream/connecting.rs:57
↓ 1 callers
Method
check_io_events
(&self)
kernel/src/net/socket/vsock/stream/connected.rs:144
↓ 1 callers
Method
check_io_events
(&self)
kernel/src/net/socket/vsock/stream/listen.rs:64
↓ 1 callers
Method
check_io_events
(&self)
kernel/src/net/socket/netlink/common/unbound.rs:93
↓ 1 callers
Method
check_io_events
(&self)
kernel/src/net/socket/ip/datagram/bound.rs:110
↓ 1 callers
Method
check_io_events
(&self)
kernel/src/net/socket/ip/stream/mod.rs:381
↓ 1 callers
Method
check_io_events
(&self)
kernel/src/syscall/eventfd.rs:103
↓ 1 callers
Method
check_io_events
Check current readable I/O events
kernel/src/syscall/signalfd.rs:196
↓ 1 callers
Method
check_io_events
(&self)
kernel/src/process/pid_file.rs:44
↓ 1 callers
Method
check_io_events
(&self)
kernel/src/time/timerfd.rs:96
↓ 1 callers
Method
check_io_events
(&self)
kernel/src/fs/epoll/entry.rs:334
↓ 1 callers
Function
check_local_decl
(local_decl: &LocalDecl<'_>, tcx: TyCtxt<'_>, checked_def_ids: &HashSet<DefId>)
kernel/libs/comp-sys/cargo-component/analysis/src/lib.rs:129
↓ 1 callers
Function
check_map_with_property
(prop: PageProperty)
ostd/src/mm/page_table/test.rs:251
↓ 1 callers
Method
check_mid_units
Check if the next mid_unit_num units are zero. If not, return the index of the first not zero unit.
kernel/src/fs/exfat/bitmap.rs:203
↓ 1 callers
Function
check_offset_and_len
(offset: i64, len: i64, ctx: &Context)
kernel/src/syscall/fallocate.rs:39
↓ 1 callers
Function
check_option
(addr: Vaddr, size: usize, option: &MMapOptions)
kernel/src/syscall/mmap.rs:154
↓ 1 callers
Method
check_options
Checks whether all options are valid.
kernel/src/vm/vmar/mod.rs:1071
↓ 1 callers
Method
check_peer_buffer_is_sufficient
( &mut self, connection_info: &mut ConnectionInfo, buffer_len: usize, )
kernel/comps/virtio/src/device/socket/device.rs:216
↓ 1 callers
Method
check_perms
Checks whether the permissions of the mapping is subset of vmo rights.
kernel/src/vm/vmar/mod.rs:1097
↓ 1 callers
Function
check_qemu_arg
(arg: &str)
osdk/src/config/scheme/qemu.rs:129
↓ 1 callers
Method
check_range_lock_with_access_mode
(&self, lock: &RangeLockItem)
kernel/src/fs/inode_handle/mod.rs:231
↓ 1 callers
Method
check_rights
Checks whether current rights meet the input `rights`.
kernel/src/vm/vmar/mod.rs:63
↓ 1 callers
Function
check_rust_toolchain
(toolchain: &toml::Table)
osdk/src/commands/new/mod.rs:208
↓ 1 callers
Function
check_segment_align
(program_header: &ProgramHeader64)
kernel/src/process/program_loader/elf/load_elf.rs:456
↓ 1 callers
Function
check_sigaction
(sig_action: &SigAction)
kernel/src/process/signal/sig_disposition.rs:58
↓ 1 callers
Function
check_statement
(statement: &Statement, tcx: TyCtxt<'_>, checked_def_ids: &mut HashSet<DefId>)
kernel/libs/comp-sys/cargo-component/analysis/src/lib.rs:68
↓ 1 callers
Function
check_terminator
( terminator: &Terminator, tcx: TyCtxt<'_>, checked_def_ids: &mut HashSet<DefId>, )
kernel/libs/comp-sys/cargo-component/analysis/src/lib.rs:98
↓ 1 callers
Method
check_unsupported_flags
(&self)
kernel/src/syscall/umount.rs:48
↓ 1 callers
Method
check_unsupported_flags
(&self)
kernel/src/process/clone.rs:164
↓ 1 callers
Function
child_process
test/src/apps/prctl/subreaper.c:34
↓ 1 callers
Function
child_process
test/src/apps/process/wait4.c:188
↓ 1 callers
Function
child_process2
test/src/apps/process/wait4.c:237
↓ 1 callers
Method
children
Collects all children into a `Vec`.
kernel/comps/systree/src/node.rs:93
↓ 1 callers
Method
class
(&self)
kernel/src/net/socket/netlink/route/message/attr/addr.rs:39
↓ 1 callers
Function
clean_after_test
(cwd: &PathBuf, target_dir: &PathBuf)
kernel/libs/comp-sys/cargo-component/tests/test_utils/mod.rs:61
↓ 1 callers
Method
clear
Clears the interval set, removing all intervals.
kernel/src/vm/vmar/interval_set.rs:159
↓ 1 callers
Method
clear
Clears all mappings. After being cleared, this vmar will become an empty vmar
kernel/src/vm/vmar/dyn_cap.rs:81
↓ 1 callers
Method
clear
Clears the framebuffer with default color (black).
kernel/comps/framebuffer/src/framebuffer.rs:126
↓ 1 callers
Method
clear
Clears the edit group by removing all contained edits.
kernel/comps/mlsdisk/src/layers/2-edit/edits.rs:41
↓ 1 callers
Method
clear_and_map
Clears existing mappings and then maps the heap VMO to the current VMAR.
kernel/src/process/process_vm/mod.rs:177
↓ 1 callers
Method
clear_fault
(&mut self)
ostd/src/arch/x86/iommu/fault.rs:104
↓ 1 callers
Method
clear_mountpoint
(&self)
kernel/src/fs/path/dentry.rs:140
↓ 1 callers
Method
clear_rst_closed
Checks if the socket is closed by a RST packet and clears the flag. This flag is set when the socket is closed by a RST packet, and cleared when the
kernel/libs/aster-bigtcp/src/socket/bound/tcp_conn.rs:427
↓ 1 callers
Method
clear_ticks
Clears the tick count.
kernel/src/time/timerfd.rs:76
↓ 1 callers
Method
clock
Returns the clock associated with this timer manager.
kernel/src/time/core/timer.rs:164
↓ 1 callers
Method
clone
(&self)
kernel/src/process/process_vm/init_stack/mod.rs:119
↓ 1 callers
Function
clone_child_process
( ctx: &Context, parent_context: &UserContext, clone_args: CloneArgs, )
kernel/src/process/clone.rs:309
↓ 1 callers
Function
clone_child_task
( ctx: &Context, parent_context: &UserContext, clone_args: CloneArgs, )
kernel/src/process/clone.rs:221
↓ 1 callers
Method
clone_for_remap_at
(&self, va: Vaddr)
kernel/src/vm/vmar/vm_mapping.rs:117
↓ 1 callers
Method
clone_mount_node_tree
Clones a mount tree starting from the specified root `Dentry_`. The new mount tree will replicate the structure of the original tree. The new tree is
kernel/src/fs/path/mount.rs:125
↓ 1 callers
Function
clone_pidfd
( ctx: &Context, child: &Arc<Process>, clone_flags: CloneFlags, pidfd_addr: Option<Vaddr>, )
kernel/src/process/clone.rs:539
↓ 1 callers
Function
clone_sighand
( parent_sig_dispositions: &Arc<Mutex<SigDispositions>>, clone_flags: CloneFlags, )
kernel/src/process/clone.rs:520
↓ 1 callers
Function
clone_vm
Clone child process vm. If CLONE_VM is set, both threads share the same root vmar. Otherwise, fork a new copy-on-write vmar.
kernel/src/process/clone.rs:459
← previous
next →
2,301–2,400 of 7,307, ranked by callers