MCPcopy Create free account

hub / github.com/asterinas/vostd / functions

Functions7,307 in github.com/asterinas/vostd

↓ 1 callersMethodcloned_pollee
(&self)
kernel/src/net/socket/unix/stream/connected.rs:326
↓ 1 callersFunctionclose_and_linger
(tcp_conn: TcpConnection, linger: LingerOption, pollee: &Pollee)
kernel/src/net/socket/ip/stream/connected.rs:227
↓ 1 callersMethodclose_files_on_exec
(&mut self)
kernel/src/fs/file_table.rs:133
↓ 1 callersMethodcluster_to_off
(&self, cluster: u32)
kernel/src/fs/exfat/fs.rs:348
↓ 1 callersMethodcmp
(&self, other: &Self)
kernel/src/sched/sched_class/fair.rs:221
↓ 1 callersMethodcmp
(&self, other: &Self)
kernel/src/time/core/timer.rs:268
↓ 1 callersMethodcmp
(&self, other: &Self)
kernel/libs/comp-sys/component/src/lib.rs:81
↓ 1 callersMethodcoeff
Returns the reference to the generated cycles coeff of the `ClockSource`.
kernel/comps/time/src/clocksource.rs:143
↓ 1 callersMethodcollect_incomplete_nodes
(&mut self)
kernel/comps/mlsdisk/src/layers/1-crypto/crypto_log.rs:814
↓ 1 callersMethodcommit_overwrite
(&self, idx: usize)
kernel/src/fs/utils/page_cache.rs:479
↓ 1 callersMethodcommit_page
(&self, idx: usize)
kernel/src/fs/utils/page_cache.rs:448
↓ 1 callersFunctioncommitted_pages_if_continuous
(flags: VmoFlags, size: usize)
kernel/src/vm/vmo/options.rs:134
↓ 1 callersMethodcompact
(&mut self)
kernel/comps/mlsdisk/src/layers/2-edit/journal.rs:285
↓ 1 callersFunctioncomplete
(irq: u8)
ostd/src/arch/loongarch/kernel/irq/mod.rs:30
↓ 1 callersFunctioncomponent_generate
Automatic generate all the component information
kernel/libs/comp-sys/component-macro/src/priority.rs:33
↓ 1 callersMethodcomponent_path
(&self, component_ident: &str)
kernel/libs/comp-sys/cargo-component/analysis/src/conf.rs:48
↓ 1 callersFunctionconditionally_add_tdx_args
( command: &mut Command, args: I, )
osdk/tests/util/mod.rs:193
↓ 1 callersMethodconduct_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 callersMethodconflict_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 callersMethodconnect
(&self, socket_addr: SocketAddr)
kernel/src/net/socket/ip/stream/mod.rs:435
↓ 1 callersFunctionconstruct_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 callersFunctionconstruct_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 callersFunctionconstruct_remappable_msix_address
(remapping_index: u32)
ostd/src/arch/x86/pci.rs:28
↓ 1 callersFunctionconsumer_process
test/src/apps/shm/posix_shm.c:102
↓ 1 callersMethodcontain_echo
(&self)
kernel/src/device/tty/termio.rs:306
↓ 1 callersFunctioncontains_build_run_or_test
(args: I)
osdk/tests/util/mod.rs:202
↓ 1 callersFunctioncontains_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 callersMethodcontains_echo_ctl
(&self)
kernel/src/device/tty/termio.rs:310
↓ 1 callersMethodcontains_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 callersMethodcontains_iexten
(&self)
kernel/src/device/tty/termio.rs:314
↓ 1 callersMethodcontains_isig
(&self)
kernel/src/device/tty/termio.rs:302
↓ 1 callersMethodcontains_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 callersMethodcontains_set
(&self, other_set: &FlagSet)
kernel/libs/typeflags/src/flag_set.rs:95
↓ 1 callersMethodcontains_unsupported_flag
(&self)
kernel/src/process/signal/sig_action.rs:126
↓ 1 callersMethodcontains_whiteout
(&self)
kernel/src/fs/overlayfs/fs.rs:1034
↓ 1 callersMethodcontext_mut
Returns a mutable reference the user-mode CPU context.
ostd/src/user.rs:102
↓ 1 callersMethodcontinue_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 callersMethodcontrol
Controls the interest list of the epoll file.
kernel/src/fs/epoll/file.rs:59
↓ 1 callersMethodcontrol_messages
Returns the control messages.
kernel/src/net/socket/util/message_header.rs:30
↓ 1 callersMethodconvert_12_hour_to_24_hour
Converts 12 hour clock to 24 hour clock.
kernel/comps/time/src/rtc/cmos.rs:83
↓ 1 callersMethodconvert_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 callersFunctionconvert_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 callersFunctionconvert_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 callersFunctionconvert_system_time
convert ostd::time::Time to System time
kernel/src/time/system_time.rs:85
↓ 1 callersFunctionconvert_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 callersMethodcopy
(&self)
scripts/src/populate.rs:28
↓ 1 callersFunctioncopy_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 callersFunctioncopy_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 callersMethodcopy_from_range_lock
(&mut self, lock: &RangeLockItem)
kernel/src/syscall/fcntl.rs:211
↓ 1 callersMethodcopy_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 callersFunctioncopy_profile_configurations
(workspace_root: impl AsRef<Path>)
osdk/src/base_crate/mod.rs:279
↓ 1 callersMethodcopy_reader_array_from_user
( &self, user_space: &'a CurrentUserSpace<'a>, )
kernel/src/util/net/socket.rs:153
↓ 1 callersMethodcopy_user_regs_from
(&mut self, src: &UserContext)
kernel/src/arch/x86/cpu.rs:119
↓ 1 callersMethodcopy_user_regs_to
(&self, dst: &mut UserContext)
kernel/src/arch/x86/cpu.rs:114
↓ 1 callersMethodcopy_writer_array_from_user
( &self, user_space: &'a CurrentUserSpace<'a>, )
kernel/src/util/net/socket.rs:160
↓ 1 callersMethodcount_clusters
When the num_clusters is unknown, we need to count it from the begin.
kernel/src/fs/exfat/fat.rs:148
↓ 1 callersMethodcount_events
Counts the number of the ready files.
kernel/src/syscall/poll.rs:180
↓ 1 callersMethodcount_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 callersMethodcount_overlap_size
Calculates the total amount of overlap between `VmMapping`s and the provided range.
kernel/src/vm/vmar/mod.rs:261
↓ 1 callersFunctioncount_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 callersMethodcpu_set
(&self)
kernel/src/thread/work_queue/worker_pool.rs:173
↓ 1 callersMethodcreate
(&self, name: &str, type_: InodeType, mode: InodeMode)
kernel/src/fs/utils/inode.rs:412
↓ 1 callersMethodcreate
( &self, name: &str, inode_type: InodeType, file_perm: FilePerm, )
kernel/src/fs/ext2/inode.rs:129
↓ 1 callersMethodcreate
(&self, name: &str, type_: InodeType, mode: InodeMode)
kernel/src/fs/ext2/impl_for_vfs/inode.rs:114
↓ 1 callersMethodcreate
Creates a `Dentry_` by creating a new inode of the `type_` with the `mode`.
kernel/src/fs/path/dentry.rs:151
↓ 1 callersFunctioncreate_abstract_name
(name: Arc<[u8]>)
kernel/src/net/socket/unix/ns/abs.rs:106
↓ 1 callersMethodcreate_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 callersFunctioncreate_child_process
( pid: Pid, parent: Weak<Process>, executable_path: &str, process_vm: ProcessVm, resource_
kernel/src/process/clone.rs:572
↓ 1 callersFunctioncreate_file
test/src/apps/mmap/mmap_shared_filebacked.c:15
↓ 1 callersFunctioncreate_init_process
( executable_path: &str, argv: Vec<CString>, envp: Vec<CString>, )
kernel/src/process/process/init_proc.rs:47
↓ 1 callersFunctioncreate_init_task
Creates the init task from the given executable file.
kernel/src/process/process/init_proc.rs:100
↓ 1 callersMethodcreate_inode
Creates a new inode.
kernel/src/fs/ext2/fs.rs:149
↓ 1 callersFunctioncreate_kernel_in_workspace
(workspace: &str, kernel_name: &str)
osdk/tests/commands/run.rs:16
↓ 1 callersFunctioncreate_mock_systree_instance
Create a mock SysTree instance populated with mock nodes.
kernel/src/fs/sysfs/test.rs:212
↓ 1 callersFunctioncreate_n_tty
(index: u32, device: Arc<dyn AnyConsoleDevice>)
kernel/src/device/tty/n_tty.rs:78
↓ 1 callersMethodcreate_new_file
( &self, open_args: &OpenArgs, lookup_ctx: &mut LookupCtx, )
kernel/src/fs/fs_resolver.rs:121
↓ 1 callersFunctioncreate_new_signalfd
( ctx: &Context, mask: SigMask, non_blocking: bool, fd_flags: FdFlags, )
kernel/src/syscall/signalfd.rs:86
↓ 1 callersFunctioncreate_new_user_task
create new task with userspace and parent process
kernel/src/thread/task.rs:25
↓ 1 callersFunctioncreate_osdk_manifest
(cargo_metadata: &serde_json::Value, type_: &ProjectType)
osdk/src/commands/new/mod.rs:94
↓ 1 callersFunctioncreate_process_timer_callback
(process_ref: &Weak<Process>)
kernel/src/process/process/timer_manager.rs:88
↓ 1 callersFunctioncreate_rawdisk
(nblocks: usize)
kernel/comps/mlsdisk/src/lib.rs:192
↓ 1 callersFunctioncreate_sem_set
(nsems: usize, mode: u16, credentials: Credentials<ReadOp>)
kernel/src/ipc/semaphore/system_v/sem_set.rs:277
↓ 1 callersFunctioncreate_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 callersFunctioncreate_socket_file
(path: &str)
kernel/src/net/socket/unix/ns/path.rs:40
↓ 1 callersFunctioncreate_user_context
()
osdk/tests/examples_in_book/write_a_kernel_in_100_lines_templates/lib.rs:99
↓ 1 callersFunctioncreate_user_task
(vm_space: Arc<VmSpace>)
osdk/tests/examples_in_book/write_a_kernel_in_100_lines_templates/lib.rs:66
↓ 1 callersFunctioncreate_vm_space
(program: &[u8])
osdk/tests/examples_in_book/write_a_kernel_in_100_lines_templates/lib.rs:37
↓ 1 callersMethodcredentials_dup
Gets the duplicatable read-only credentials of the thread.
kernel/src/process/posix_thread/mod.rs:298
↓ 1 callersFunctionctrl_char_to_printable
(ch: u8)
kernel/src/device/tty/line_discipline.rs:299
↓ 1 callersMethodctrl_map
(&self)
kernel/comps/keyboard/src/i8042_chip/keyboard.rs:286
↓ 1 callersMethodcuid
Returns creator's UID
kernel/src/ipc/mod.rs:74
↓ 1 callersMethodcur_offset
(&self)
kernel/src/fs/overlayfs/fs.rs:1038
↓ 1 callersMethodcurrent_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 callersMethodcycles_to_nanos_lossy
(&self, cycles: u64)
kernel/comps/time/src/clocksource.rs:107
↓ 1 callersMethoddata
(&self)
kernel/src/fs/procfs/pid/stat.rs:103
↓ 1 callersMethoddata
(&mut self)
kernel/comps/mlsdisk/src/tx/mod.rs:211
↓ 1 callersMethoddeactivate
(&self)
kernel/src/process/posix_thread/thread_local.rs:143
↓ 1 callersMethoddealloc_block
Record a diff of `Dealloc`.
kernel/comps/mlsdisk/src/layers/5-disk/block_alloc.rs:312
↓ 1 callersFunctiondealloc_cpu_local
Deallocates a dynamically-allocated CPU-local object of type `T`.
osdk/deps/heap-allocator/src/cpu_local_allocator.rs:117
↓ 1 callersMethoddealloc_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
← previousnext →2,401–2,500 of 7,307, ranked by callers