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
Method
cloned_pollee
(&self)
kernel/src/net/socket/unix/stream/connected.rs:326
↓ 1 callers
Function
close_and_linger
(tcp_conn: TcpConnection, linger: LingerOption, pollee: &Pollee)
kernel/src/net/socket/ip/stream/connected.rs:227
↓ 1 callers
Method
close_files_on_exec
(&mut self)
kernel/src/fs/file_table.rs:133
↓ 1 callers
Method
cluster_to_off
(&self, cluster: u32)
kernel/src/fs/exfat/fs.rs:348
↓ 1 callers
Method
cmp
(&self, other: &Self)
kernel/src/sched/sched_class/fair.rs:221
↓ 1 callers
Method
cmp
(&self, other: &Self)
kernel/src/time/core/timer.rs:268
↓ 1 callers
Method
cmp
(&self, other: &Self)
kernel/libs/comp-sys/component/src/lib.rs:81
↓ 1 callers
Method
coeff
Returns the reference to the generated cycles coeff of the `ClockSource`.
kernel/comps/time/src/clocksource.rs:143
↓ 1 callers
Method
collect_incomplete_nodes
(&mut self)
kernel/comps/mlsdisk/src/layers/1-crypto/crypto_log.rs:814
↓ 1 callers
Method
commit_overwrite
(&self, idx: usize)
kernel/src/fs/utils/page_cache.rs:479
↓ 1 callers
Method
commit_page
(&self, idx: usize)
kernel/src/fs/utils/page_cache.rs:448
↓ 1 callers
Function
committed_pages_if_continuous
(flags: VmoFlags, size: usize)
kernel/src/vm/vmo/options.rs:134
↓ 1 callers
Method
compact
(&mut self)
kernel/comps/mlsdisk/src/layers/2-edit/journal.rs:285
↓ 1 callers
Function
complete
(irq: u8)
ostd/src/arch/loongarch/kernel/irq/mod.rs:30
↓ 1 callers
Function
component_generate
Automatic generate all the component information
kernel/libs/comp-sys/component-macro/src/priority.rs:33
↓ 1 callers
Method
component_path
(&self, component_ident: &str)
kernel/libs/comp-sys/cargo-component/analysis/src/conf.rs:48
↓ 1 callers
Function
conditionally_add_tdx_args
( command: &mut Command, args: I, )
osdk/tests/util/mod.rs:193
↓ 1 callers
Method
conduct_readahead
Conducts the new readahead. Sends the relevant read request and sets the relevant page in the page cache to `Uninit`.
kernel/src/fs/utils/page_cache.rs:305
↓ 1 callers
Method
conflict_with
Returns true if this lock conflicts with another lock. Two locks conflict if they have different owners and at least one of them is an exclusive lock.
kernel/src/fs/utils/flock.rs:53
↓ 1 callers
Method
connect
(&self, socket_addr: SocketAddr)
kernel/src/net/socket/ip/stream/mod.rs:435
↓ 1 callers
Function
construct_hw_cpu_id_mapping
Constructs a boxed slice that maps [`CpuId`] to [`HwCpuId`]. # Panics This method will panic if it is called either before all APs have booted or mo
ostd/src/boot/smp.rs:182
↓ 1 callers
Function
construct_io_mem_allocator_builder
Initializes the allocatable MMIO area based on the LoongArch memory distribution map. Here we consider all the holes (filtering usable RAM) in the ph
ostd/src/arch/loongarch/io.rs:11
↓ 1 callers
Function
construct_remappable_msix_address
(remapping_index: u32)
ostd/src/arch/x86/pci.rs:28
↓ 1 callers
Function
consumer_process
test/src/apps/shm/posix_shm.c:102
↓ 1 callers
Method
contain_echo
(&self)
kernel/src/device/tty/termio.rs:306
↓ 1 callers
Function
contains_build_run_or_test
(args: I)
osdk/tests/util/mod.rs:202
↓ 1 callers
Function
contains_controlled_attr
if the def_id has attribute component_access_control::controlled, return true, else return false
kernel/libs/comp-sys/cargo-component/analysis/src/lib.rs:241
↓ 1 callers
Method
contains_echo_ctl
(&self)
kernel/src/device/tty/termio.rs:310
↓ 1 callers
Method
contains_icrnl
Returns whether the input flags contain `ICRNL`. The `ICRNL` flag means the `\r` characters in the input should be mapped to `\n`.
kernel/src/device/tty/termio.rs:298
↓ 1 callers
Method
contains_iexten
(&self)
kernel/src/device/tty/termio.rs:314
↓ 1 callers
Method
contains_isig
(&self)
kernel/src/device/tty/termio.rs:302
↓ 1 callers
Method
contains_log
Checks whether the log of a given log ID exists or not. # Panics This method must be called within a TX. Otherwise, this method panics.
kernel/comps/mlsdisk/src/layers/3-log/tx_log.rs:623
↓ 1 callers
Method
contains_set
(&self, other_set: &FlagSet)
kernel/libs/typeflags/src/flag_set.rs:95
↓ 1 callers
Method
contains_unsupported_flag
(&self)
kernel/src/process/signal/sig_action.rs:126
↓ 1 callers
Method
contains_whiteout
(&self)
kernel/src/fs/overlayfs/fs.rs:1034
↓ 1 callers
Method
context_mut
Returns a mutable reference the user-mode CPU context.
ostd/src/user.rs:102
↓ 1 callers
Method
continue_traverse_to_target_mut
Traverses from an interior node to the leaf node according to the target index. This method will potentially create new nodes.
kernel/libs/xarray/src/cursor.rs:322
↓ 1 callers
Method
control
Controls the interest list of the epoll file.
kernel/src/fs/epoll/file.rs:59
↓ 1 callers
Method
control_messages
Returns the control messages.
kernel/src/net/socket/util/message_header.rs:30
↓ 1 callers
Method
convert_12_hour_to_24_hour
Converts 12 hour clock to 24 hour clock.
kernel/comps/time/src/rtc/cmos.rs:83
↓ 1 callers
Method
convert_bcd_to_binary
Converts BCD to binary values. ref: https://wiki.osdev.org/CMOS#Reading_All_RTC_Time_and_Date_Registers
kernel/comps/time/src/rtc/cmos.rs:63
↓ 1 callers
Function
convert_events_to_rwe
Converts `poll` I/O event results to `select` RWE results according to Linux's behavior.
kernel/src/syscall/select.rs:190
↓ 1 callers
Function
convert_rwe_to_events
Converts `select` RWE input to `poll` I/O event input according to Linux's behavior.
kernel/src/syscall/select.rs:174
↓ 1 callers
Function
convert_system_time
convert ostd::time::Time to System time
kernel/src/time/system_time.rs:85
↓ 1 callers
Function
convert_to_core_duration
FIXME: need to further check precision loss convert time::Duration to core::time::Duration
kernel/src/time/system_time.rs:116
↓ 1 callers
Method
copy
(&self)
scripts/src/populate.rs:28
↓ 1 callers
Function
copy_ap_boot_code
# Safety The caller must ensure the memory region to be filled with AP boot code is valid to write.
ostd/src/arch/x86/boot/smp.rs:152
↓ 1 callers
Function
copy_bsp_for_ap
Copies the static CPU-local data on the bootstrap processor (BSP) for application processors (APs). # Safety This function must be called in the boo
ostd/src/cpu/local/mod.rs:201
↓ 1 callers
Method
copy_from_range_lock
(&mut self, lock: &RangeLockItem)
kernel/src/syscall/fcntl.rs:211
↓ 1 callers
Method
copy_metadata_from
Copy metadata from the given inode. There will be no deadlock since this function is only used in rename and the arg "inode". is a temporary inode whi
kernel/src/fs/exfat/inode.rs:990
↓ 1 callers
Function
copy_profile_configurations
(workspace_root: impl AsRef<Path>)
osdk/src/base_crate/mod.rs:279
↓ 1 callers
Method
copy_reader_array_from_user
( &self, user_space: &'a CurrentUserSpace<'a>, )
kernel/src/util/net/socket.rs:153
↓ 1 callers
Method
copy_user_regs_from
(&mut self, src: &UserContext)
kernel/src/arch/x86/cpu.rs:119
↓ 1 callers
Method
copy_user_regs_to
(&self, dst: &mut UserContext)
kernel/src/arch/x86/cpu.rs:114
↓ 1 callers
Method
copy_writer_array_from_user
( &self, user_space: &'a CurrentUserSpace<'a>, )
kernel/src/util/net/socket.rs:160
↓ 1 callers
Method
count_clusters
When the num_clusters is unknown, we need to count it from the begin.
kernel/src/fs/exfat/fat.rs:148
↓ 1 callers
Method
count_events
Counts the number of the ready files.
kernel/src/syscall/poll.rs:180
↓ 1 callers
Method
count_io_apics
Counts the number of I/O APICs. If I/O APICs are in use, this method counts how many I/O APICs are in use, otherwise, this method return zero. This
ostd/src/arch/x86/kernel/irq/mod.rs:115
↓ 1 callers
Method
count_overlap_size
Calculates the total amount of overlap between `VmMapping`s and the provided range.
kernel/src/vm/vmar/mod.rs:261
↓ 1 callers
Function
count_processors
Counts the number of processors. This function needs to be called after the OS initializes the ACPI table.
ostd/src/arch/x86/boot/smp.rs:52
↓ 1 callers
Method
cpu_set
(&self)
kernel/src/thread/work_queue/worker_pool.rs:173
↓ 1 callers
Method
create
(&self, name: &str, type_: InodeType, mode: InodeMode)
kernel/src/fs/utils/inode.rs:412
↓ 1 callers
Method
create
( &self, name: &str, inode_type: InodeType, file_perm: FilePerm, )
kernel/src/fs/ext2/inode.rs:129
↓ 1 callers
Method
create
(&self, name: &str, type_: InodeType, mode: InodeMode)
kernel/src/fs/ext2/impl_for_vfs/inode.rs:114
↓ 1 callers
Method
create
Creates a `Dentry_` by creating a new inode of the `type_` with the `mode`.
kernel/src/fs/path/dentry.rs:151
↓ 1 callers
Function
create_abstract_name
(name: Arc<[u8]>)
kernel/src/net/socket/unix/ns/abs.rs:106
↓ 1 callers
Method
create_child
Creates a new child node with the given name. This new child will be added to this branch node.
kernel/comps/systree/src/node.rs:115
↓ 1 callers
Function
create_child_process
( pid: Pid, parent: Weak<Process>, executable_path: &str, process_vm: ProcessVm, resource_
kernel/src/process/clone.rs:572
↓ 1 callers
Function
create_file
test/src/apps/mmap/mmap_shared_filebacked.c:15
↓ 1 callers
Function
create_init_process
( executable_path: &str, argv: Vec<CString>, envp: Vec<CString>, )
kernel/src/process/process/init_proc.rs:47
↓ 1 callers
Function
create_init_task
Creates the init task from the given executable file.
kernel/src/process/process/init_proc.rs:100
↓ 1 callers
Method
create_inode
Creates a new inode.
kernel/src/fs/ext2/fs.rs:149
↓ 1 callers
Function
create_kernel_in_workspace
(workspace: &str, kernel_name: &str)
osdk/tests/commands/run.rs:16
↓ 1 callers
Function
create_mock_systree_instance
Create a mock SysTree instance populated with mock nodes.
kernel/src/fs/sysfs/test.rs:212
↓ 1 callers
Function
create_n_tty
(index: u32, device: Arc<dyn AnyConsoleDevice>)
kernel/src/device/tty/n_tty.rs:78
↓ 1 callers
Method
create_new_file
( &self, open_args: &OpenArgs, lookup_ctx: &mut LookupCtx, )
kernel/src/fs/fs_resolver.rs:121
↓ 1 callers
Function
create_new_signalfd
( ctx: &Context, mask: SigMask, non_blocking: bool, fd_flags: FdFlags, )
kernel/src/syscall/signalfd.rs:86
↓ 1 callers
Function
create_new_user_task
create new task with userspace and parent process
kernel/src/thread/task.rs:25
↓ 1 callers
Function
create_osdk_manifest
(cargo_metadata: &serde_json::Value, type_: &ProjectType)
osdk/src/commands/new/mod.rs:94
↓ 1 callers
Function
create_process_timer_callback
(process_ref: &Weak<Process>)
kernel/src/process/process/timer_manager.rs:88
↓ 1 callers
Function
create_rawdisk
(nblocks: usize)
kernel/comps/mlsdisk/src/lib.rs:192
↓ 1 callers
Function
create_sem_set
(nsems: usize, mode: u16, credentials: Credentials<ReadOp>)
kernel/src/ipc/semaphore/system_v/sem_set.rs:277
↓ 1 callers
Function
create_sem_set_with_id
( id: key_t, nsems: usize, mode: u16, credentials: Credentials<ReadOp>, )
kernel/src/ipc/semaphore/system_v/sem_set.rs:230
↓ 1 callers
Function
create_socket_file
(path: &str)
kernel/src/net/socket/unix/ns/path.rs:40
↓ 1 callers
Function
create_user_context
()
osdk/tests/examples_in_book/write_a_kernel_in_100_lines_templates/lib.rs:99
↓ 1 callers
Function
create_user_task
(vm_space: Arc<VmSpace>)
osdk/tests/examples_in_book/write_a_kernel_in_100_lines_templates/lib.rs:66
↓ 1 callers
Function
create_vm_space
(program: &[u8])
osdk/tests/examples_in_book/write_a_kernel_in_100_lines_templates/lib.rs:37
↓ 1 callers
Method
credentials_dup
Gets the duplicatable read-only credentials of the thread.
kernel/src/process/posix_thread/mod.rs:298
↓ 1 callers
Function
ctrl_char_to_printable
(ch: u8)
kernel/src/device/tty/line_discipline.rs:299
↓ 1 callers
Method
ctrl_map
(&self)
kernel/comps/keyboard/src/i8042_chip/keyboard.rs:286
↓ 1 callers
Method
cuid
Returns creator's UID
kernel/src/ipc/mod.rs:74
↓ 1 callers
Method
cur_offset
(&self)
kernel/src/fs/overlayfs/fs.rs:1038
↓ 1 callers
Method
current_mac
Returns the current MAC of encrypted payload. # Security It is valid after a successful call to `create`, `read` or `write`.
kernel/comps/mlsdisk/src/layers/1-crypto/crypto_blob.rs:271
↓ 1 callers
Method
cycles_to_nanos_lossy
(&self, cycles: u64)
kernel/comps/time/src/clocksource.rs:107
↓ 1 callers
Method
data
(&self)
kernel/src/fs/procfs/pid/stat.rs:103
↓ 1 callers
Method
data
(&mut self)
kernel/comps/mlsdisk/src/tx/mod.rs:211
↓ 1 callers
Method
deactivate
(&self)
kernel/src/process/posix_thread/thread_local.rs:143
↓ 1 callers
Method
dealloc_block
Record a diff of `Dealloc`.
kernel/comps/mlsdisk/src/layers/5-disk/block_alloc.rs:312
↓ 1 callers
Function
dealloc_cpu_local
Deallocates a dynamically-allocated CPU-local object of type `T`.
osdk/deps/heap-allocator/src/cpu_local_allocator.rs:117
↓ 1 callers
Method
dealloc_large
Deallocates a large slot. # Panics This function aborts if the slot was not allocated with [`HeapSlot::alloc_large`], as it requires specific memory
ostd/src/mm/heap/slot.rs:108
← previous
next →
2,401–2,500 of 7,307, ranked by callers