MCPcopy Create free account

hub / github.com/asterinas/vostd / functions

Functions7,307 in github.com/asterinas/vostd

Methodfrom_segments
(segments: Vec<String>)
kernel/libs/comp-sys/cargo-component/analysis/src/conf.rs:155
Methodfrom_signum
(num: SigNum)
kernel/src/process/signal/sig_action.rs:142
Methodfrom_size
(size: usize)
osdk/deps/heap-allocator/src/allocator.rs:70
Methodfrom_str
(args: &str)
osdk/src/commands/run.rs:109
Methodfrom_str
(s: &str)
kernel/src/net/socket/netlink/kobject_uevent/message/uevent.rs:66
Methodfrom_str
(s: &str)
kernel/src/net/socket/netlink/kobject_uevent/message/syn_uevent.rs:26
Methodfrom_str
(name: &str, _upcase_table: Arc<SpinLock<ExfatUpcaseTable>>)
kernel/src/fs/exfat/dentry.rs:700
Methodfrom_str
(path: &str)
kernel/libs/comp-sys/cargo-component/analysis/src/conf.rs:137
Methodfrom_str
(s: &str)
ostd/libs/linux-bzimage/builder/src/encoder.rs:28
Methodfrom_tx_log_edit
(tx_log_edit: &TxLogStoreEdit)
kernel/comps/mlsdisk/src/layers/3-log/tx_log.rs:1342
Methodfrom_u32
(bits: u32)
kernel/src/process/posix_thread/futex.rs:180
Methodfrom_u32
(flags: u32)
kernel/src/fs/utils/access_mode.rs:30
Methodfrom_u8
Caller must ensure the sig_num is valid. Otherwise, use try_from will check sig_num and does not panic.
kernel/src/process/signal/sig_num.rs:28
Methodfrom_unused
Gets a buddy chunk from unused frames. # Panics Panics if: - the range is not actually unused; - the address is not aligned to the order.
osdk/deps/frame-allocator/src/chunk.rs:153
Methodfrom_user_io_vecs
Creates a new `VmReaderArray` from user-provided io vec buffer.
kernel/src/util/iovec.rs:98
Methodfrom_which_and_id
For `waitpid`.
kernel/src/process/process_filter.rs:16
Methodfrom_which_and_who
(which: u32, who: u32, ctx: &Context)
kernel/src/syscall/get_ioprio.rs:26
Methodfs
(mut self, fs: Arc<ThreadFsInfo>)
kernel/src/process/posix_thread/builder.rs:92
Methodfs
(&self)
kernel/src/fs/cgroupfs/inode.rs:75
Methodfs
(&self)
kernel/src/fs/devpts/slave.rs:143
Methodfs
(&self)
kernel/src/fs/devpts/ptmx.rs:159
Methodfs
(&self)
kernel/src/fs/sysfs/inode.rs:82
Methodfs
Gets the associated fs.
kernel/src/fs/path/mount.rs:256
Methodgen_unique_ino
XXX: Linux uses embedded fsid for unique ino. Should we follow the technique?
kernel/src/fs/overlayfs/fs.rs:1075
Methodgen_unique_offset
(layer_idx: LayerIdx, fs_offset: usize)
kernel/src/fs/overlayfs/fs.rs:1067
Functiongeneral_complete_fn
(bio: &SubmittedBio)
kernel/comps/block/src/impl_block_device.rs:213
Methodgeneral_regs
Returns a reference to the general registers.
ostd/src/arch/loongarch/cpu/context.rs:107
Methodgeneral_regs
Returns a reference to the general registers.
ostd/src/arch/x86/cpu/context/mod.rs:225
Methodgeneral_regs_mut
Returns a mutable reference to the general registers
ostd/src/arch/loongarch/cpu/context.rs:112
Methodgenerate_random_dir_operation
( dir: &mut DirInMemory, idx: u32, rng: &mut dyn RngCore, )
kernel/src/fs/utils/random_test.rs:57
Methodgenerate_random_file_operation
( file: &mut FileInMemory, idx: u32, rng: &mut dyn RngCore, )
kernel/src/fs/utils/random_test.rs:97
Functiongeneric
(object: T)
kernel/libs/comp-sys/cargo-component/tests/trait_method_test/bar2/src/lib.rs:24
Methodget
()
scripts/src/populate.rs:13
Methodget
Get a new value.
kernel/src/fs/utils/file_creation_mask.rs:15
Methodget_address_sizes
()
kernel/src/arch/x86/cpu.rs:576
Methodget_apicid
()
kernel/src/arch/x86/cpu.rs:438
Functionget_base
SPDX-License-Identifier: MPL-2.0 Architecture dependent CPU-local information utilities.
ostd/src/arch/loongarch/cpu/local.rs:3
Functionget_base
SPDX-License-Identifier: MPL-2.0 Architecture dependent CPU-local information utilities.
ostd/src/arch/riscv/cpu/local.rs:3
Methodget_cache_alignment
()
kernel/src/arch/x86/cpu.rs:556
Methodget_cache_size
Get cache size in KB
kernel/src/arch/x86/cpu.rs:353
Methodget_clflush_size
()
kernel/src/arch/x86/cpu.rs:551
Methodget_clock_speed
()
kernel/src/arch/x86/cpu.rs:333
Methodget_core_id
()
kernel/src/arch/x86/cpu.rs:426
Methodget_cpu_bugs
FIXME: https://github.com/torvalds/linux/blob/master/tools/arch/x86/include/asm/cpufeatures.h#L505
kernel/src/arch/x86/cpu.rs:547
Methodget_cpu_cores
()
kernel/src/arch/x86/cpu.rs:432
Methodget_cpu_family
()
kernel/src/arch/x86/cpu.rs:304
Methodget_cpu_flags
()
kernel/src/arch/x86/cpu.rs:452
Methodget_cpuid_level
()
kernel/src/arch/x86/cpu.rs:448
Functionget_device
(str: &str)
kernel/comps/virtio/src/device/socket/mod.rs:30
Functionget_device
(str: &str)
kernel/comps/network/src/lib.rs:84
Functionget_device
(str: &str)
kernel/comps/input/src/lib.rs:38
Methodget_initial_apicid
()
kernel/src/arch/x86/cpu.rs:444
Methodget_microcode
()
kernel/src/arch/x86/cpu.rs:328
Methodget_model
()
kernel/src/arch/x86/cpu.rs:310
Methodget_model_name
()
kernel/src/arch/x86/cpu.rs:322
Methodget_module_args
Gets the argument vector of a kernel module.
kernel/src/kcmdline.rs:59
Methodget_mut_ptr_on_target
(&mut self, _: CpuId)
ostd/src/cpu/local/static_cpu_local.rs:123
Functionget_next_when
()
ostd/src/arch/riscv/timer/mod.rs:111
Methodget_option
Gets options on the socket. If the method succeeds, the result will be stored in the `option` parameter.
kernel/src/net/socket/mod.rs:97
Methodget_option
(&self, option: &mut dyn SocketOption)
kernel/src/net/socket/unix/stream/socket.rs:440
Methodget_option
(&self, option: &mut dyn SocketOption)
kernel/src/net/socket/ip/datagram/mod.rs:216
Methodget_option
(&self, option: &mut dyn SocketOption)
kernel/src/net/socket/ip/stream/mod.rs:583
Methodget_option
Gets socket-level options. Note that the socket error has to be handled separately, because it is automatically cleared after reading. This method do
kernel/src/net/socket/util/options.rs:85
Methodget_or_put_default
Try to get an object of `Arc<T>`. If no object of the type exists, put the default value for the type, then return it.
kernel/src/fs/utils/inode.rs:668
Methodget_physical_id
()
kernel/src/arch/x86/cpu.rs:414
Methodget_power_management
FIXME: add power management information
kernel/src/arch/x86/cpu.rs:587
Methodget_ptr_on_current
(&self, _guard: &DisabledLocalIrqGuard)
ostd/src/cpu/local/static_cpu_local.rs:93
Methodget_ptr_on_target
(&self, cpu_id: CpuId)
ostd/src/cpu/local/static_cpu_local.rs:97
Methodget_range
Gets the range of values from the `MemTable`s.
kernel/comps/mlsdisk/src/layers/4-lsm/mem_table.rs:82
Functionget_real_time
get real time
kernel/comps/time/src/lib.rs:66
Functionget_session
Gets a session with `sid`.
kernel/src/process/process_table.rs:108
Methodget_siblings_count
()
kernel/src/arch/x86/cpu.rs:420
Methodget_stepping
()
kernel/src/arch/x86/cpu.rs:316
Methodget_tlb_size
()
kernel/src/arch/x86/cpu.rs:389
Methodget_vendor_id
()
kernel/src/arch/x86/cpu.rs:299
Methodget_xattr
(&self, name: XattrName, value_writer: &mut VmWriter)
kernel/src/fs/utils/inode.rs:520
Methodget_xattr
(&self, name: XattrName, value_writer: &mut VmWriter)
kernel/src/fs/ext2/impl_for_vfs/inode.rs:207
Methodget_xattr
(&self, name: XattrName, value_writer: &mut VmWriter)
kernel/src/fs/ramfs/fs.rs:1228
Methodgetrandom
(buf: &mut [u8])
kernel/src/device/random.rs:19
Methodgetrandom
(buf: &mut [u8])
kernel/src/device/urandom.rs:19
Methodgid
Returns owner's GID
kernel/src/ipc/mod.rs:69
Methodgid
The group ID of the file owner.
kernel/libs/cpio-decoder/src/lib.rs:242
Functionglobal_frame_allocator
(_attr: TokenStream, item: TokenStream)
ostd/libs/ostd-macros/src/lib.rs:92
Functionglobal_heap_allocator
(_attr: TokenStream, item: TokenStream)
ostd/libs/ostd-macros/src/lib.rs:137
Functionglobal_heap_allocator_slot_map
(_attr: TokenStream, item: TokenStream)
ostd/libs/ostd-macros/src/lib.rs:167
Methodglobal_invalidation
()
ostd/src/arch/x86/iommu/invalidate/descriptor/mod.rs:7
Methodgroup
(&self)
kernel/src/fs/file_handle.rs:75
Methodgroup
(&self)
kernel/src/fs/devpts/mod.rs:220
Methodgroup
(&self)
kernel/src/fs/devpts/slave.rs:86
Methodgroup
(&self)
kernel/src/fs/devpts/ptmx.rs:106
Methodgroup
(&self)
kernel/src/fs/utils/systree_inode.rs:339
Methodgroup
(&self)
kernel/src/fs/ext2/impl_for_vfs/inode.rs:85
Methodgroup
(&self)
kernel/src/fs/exfat/inode.rs:1213
Methodgroup
(&self)
kernel/src/fs/ramfs/fs.rs:694
Methodgroups
(&self)
kernel/src/process/credentials/credentials_.rs:421
Methodgroups
(&self)
kernel/src/process/credentials/static_cap.rs:256
Methodgroups_mut
(&self)
kernel/src/process/credentials/credentials_.rs:425
Methodguard
()
kernel/comps/softirq/src/lock.rs:83
Methodguard
()
ostd/src/sync/guard.rs:55
Methodguest_cid
Return the CID which has been assigned to this guest.
kernel/comps/virtio/src/device/socket/device.rs:124
← previousnext →4,701–4,800 of 7,307, ranked by callers