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
get_ephemeral_iface
Get a suitable iface to deal with sendto/connect request if the socket is not bound to an iface. If the remote address is the same as that of some ifa
kernel/src/net/socket/ip/common.rs:30
↓ 1 callers
Function
get_fs
Get the filesystem by fs_type and devname.
kernel/src/syscall/mount.rs:155
↓ 1 callers
Method
get_global_size
Returns the size of the global pool. If the global pool is locked, returns the actual size of the global pool. Otherwise, returns the last snapshot o
osdk/deps/frame-allocator/src/pools/mod.rs:169
↓ 1 callers
Function
get_guard_count
()
ostd/src/task/preempt/cpu_local.rs:40
↓ 1 callers
Function
get_iface_to_bind
(ip_addr: &IpAddress)
kernel/src/net/socket/ip/common.rs:14
↓ 1 callers
Function
get_init_process
Gets the init process
kernel/src/process/exit.rs:133
↓ 1 callers
Method
get_initproc_argv
Gets the argument vector(argv) of the initprocess.
kernel/src/kcmdline.rs:51
↓ 1 callers
Method
get_initproc_envp
Gets the environment vector(envp) of the initprocess.
kernel/src/kcmdline.rs:55
↓ 1 callers
Method
get_initproc_path
Gets the path of the initprocess.
kernel/src/kcmdline.rs:47
↓ 1 callers
Method
get_item_index
Gets the index of a dynamically-allocated CPU-local object within the chunk. Returns `None` if the object does not belong to the chunk.
ostd/src/cpu/local/dyn_cpu_local.rs:180
↓ 1 callers
Function
get_ktest_crate_whitelist
Get the whitelist of the crates. The whitelist is generated by the OSDK runner, indicating the target crate that the user wants to test.
ostd/libs/ostd-test/src/lib.rs:245
↓ 1 callers
Function
get_ktest_test_whitelist
Get the whitelist of the tests. The whitelist is generated by the OSDK runner, indicating name of the target tests that the user wants to run.
ostd/libs/ostd-test/src/lib.rs:236
↓ 1 callers
Function
get_loadavg
Returns the calculated load average of the system.
kernel/src/sched/stats/loadavg.rs:35
↓ 1 callers
Function
get_log_level
()
ostd/src/logger.rs:75
↓ 1 callers
Function
get_manifest_path
(cargo_metadata: &'a serde_json::Value, crate_name: &str)
osdk/src/commands/new/mod.rs:167
↓ 1 callers
Method
get_max
Gets the max rlimit without synchronization.
kernel/src/process/rlimit.rs:138
↓ 1 callers
Method
get_memory_map
(&self)
ostd/src/arch/x86/boot/multiboot/mod.rs:247
↓ 1 callers
Method
get_name
( &self, upcase_table: Arc<SpinLock<ExfatUpcaseTable>>, )
kernel/src/fs/exfat/dentry.rs:385
↓ 1 callers
Function
get_netlink_route_kernel
()
kernel/src/net/socket/netlink/route/kernel/mod.rs:72
↓ 1 callers
Function
get_old_stack
( old_sig_stack_addr: Vaddr, old_stack: Option<&SigStack>, ctx: &Context, )
kernel/src/syscall/sigaltstack.rs:27
↓ 1 callers
Method
get_option
(&self, option: &mut dyn SocketOption)
kernel/src/net/socket/ip/options.rs:34
↓ 1 callers
Method
get_physical_cluster
Get the physical cluster id from the logical cluster id in the inode.
kernel/src/fs/exfat/inode.rs:214
↓ 1 callers
Method
get_ptr_on_current
(&self, guard: &DisabledLocalIrqGuard)
ostd/src/cpu/local/dyn_cpu_local.rs:33
↓ 1 callers
Method
get_range
Gets a range of target values given a range of keys.
kernel/comps/mlsdisk/src/layers/4-lsm/tx_lsm_tree.rs:197
↓ 1 callers
Function
get_range_for_all_segments
Returns the range that covers all segments in the ELF file. The range must be tight, i.e., will not include any padding bytes. So the boundaries may
kernel/src/process/program_loader/elf/load_elf.rs:282
↓ 1 callers
Function
get_sops_flags
Iter the sops and return the flags (alter, dupsop)
kernel/src/ipc/semaphore/system_v/sem.rs:296
↓ 1 callers
Function
get_src_path
(cargo_metadata: &'a serde_json::Value, crate_name: &str)
osdk/src/commands/new/mod.rs:172
↓ 1 callers
Function
get_timebase_freq
()
ostd/src/arch/riscv/timer/mod.rs:117
↓ 1 callers
Method
get_top_dentry
Gets the top `Dentry` of the current. Used when different file systems are mounted on the same mount point. For example, first `mount /dev/sda1 /mnt
kernel/src/fs/path/dentry.rs:645
↓ 1 callers
Function
git_branch
(repo: &Repository)
scripts/src/git.rs:8
↓ 1 callers
Function
git_branches
(repo: &Repository)
scripts/src/git.rs:15
↓ 1 callers
Function
git_clone
(url: &str, path: &str, branch: &str, shallow: bool)
scripts/src/git.rs:103
↓ 1 callers
Function
git_fetch
(repo: &Repository)
scripts/src/git.rs:42
↓ 1 callers
Function
git_pull
(repo: &Repository, remote: &Option<String>, branch: &Option<String>)
scripts/src/git.rs:71
↓ 1 callers
Function
git_sync
(repo: &Subrepo, shallow: bool)
scripts/src/git.rs:131
↓ 1 callers
Function
gits_prepare
(gits: &Path)
scripts/src/gits.rs:40
↓ 1 callers
Method
global_invalidation
(&mut self)
ostd/src/arch/x86/iommu/registers/mod.rs:219
↓ 1 callers
Method
go_leaf
Goes down, which decreases the height value by one.
kernel/libs/xarray/src/node.rs:79
↓ 1 callers
Method
go_root
Goes up, which increases the height value by one.
kernel/libs/xarray/src/node.rs:74
↓ 1 callers
Method
groups_mut
(&self)
kernel/src/process/credentials/static_cap.rs:264
↓ 1 callers
Method
guest_cid
Get the CID of the guest
kernel/src/net/socket/vsock/common.rs:137
↓ 1 callers
Method
handle
(&self, ctx: &mut UserContext)
ostd/src/arch/x86/cpu/context/tdx.rs:29
↓ 1 callers
Method
handle_bio_req
Handle one block I/O request. Mark the request completed when finished, return any error that occurs.
kernel/comps/mlsdisk/src/layers/5-disk/mlsdisk.rs:568
↓ 1 callers
Method
handle_config_change
(&self)
kernel/comps/virtio/src/device/block/device.rs:237
↓ 1 callers
Function
handle_exception
We can't handle most exceptions, just send self a fault signal before return to user space.
kernel/src/thread/exception.rs:36
↓ 1 callers
Function
handle_get_report
(arg: usize)
kernel/src/device/tdxguest/mod.rs:84
↓ 1 callers
Function
handle_getfd
(fd: FileDesc, ctx: &Context)
kernel/src/syscall/fcntl.rs:46
↓ 1 callers
Function
handle_getfl
(fd: FileDesc, ctx: &Context)
kernel/src/syscall/fcntl.rs:67
↓ 1 callers
Function
handle_getlk
(fd: FileDesc, arg: u64, ctx: &Context)
kernel/src/syscall/fcntl.rs:92
↓ 1 callers
Function
handle_getown
(fd: FileDesc, ctx: &Context)
kernel/src/syscall/fcntl.rs:132
↓ 1 callers
Method
handle_irq
Handles the irq issued from the device
kernel/comps/virtio/src/device/block/device.rs:190
↓ 1 callers
Method
handle_irq
(&self)
kernel/comps/virtio/src/device/input/device.rs:210
↓ 1 callers
Function
handle_kernel_page_fault
FIXME: this is a hack because we don't allocate kernel space for IO memory. We are currently using the linear mapping for IO memory. This is not a goo
ostd/src/arch/x86/trap/mod.rs:240
↓ 1 callers
Method
handle_page_fault
Handles user space page fault, if the page fault is successfully handled, return Ok(()).
kernel/src/vm/vmar/mod.rs:514
↓ 1 callers
Method
handle_page_faults_around
Handles a page fault and maps additional surrounding pages.
kernel/src/vm/vmar/vm_mapping.rs:340
↓ 1 callers
Function
handle_recv_irq
(name: &str)
kernel/comps/virtio/src/device/socket/mod.rs:52
↓ 1 callers
Method
handle_recv_irq
(&self)
kernel/comps/virtio/src/device/console/device.rs:141
↓ 1 callers
Method
handle_requests
Dequeues a `BioRequest` from the software staging queue and processes the request.
kernel/comps/virtio/src/device/block/device.rs:73
↓ 1 callers
Method
handle_set_font
(&self, font_op: &CFontOp)
kernel/src/device/tty/mod.rs:149
↓ 1 callers
Function
handle_setfd
(fd: FileDesc, arg: u64, ctx: &Context)
kernel/src/syscall/fcntl.rs:54
↓ 1 callers
Function
handle_setfl
(fd: FileDesc, arg: u64, ctx: &Context)
kernel/src/syscall/fcntl.rs:77
↓ 1 callers
Function
handle_setown
(fd: FileDesc, arg: u64, ctx: &Context)
kernel/src/syscall/fcntl.rs:140
↓ 1 callers
Method
handle_srg
Handles the "Select Graphic Rendition" sequence.
kernel/comps/framebuffer/src/ansi_escape.rs:154
↓ 1 callers
Function
handle_syscall
(user_context: &mut UserContext, vm_space: &VmSpace)
osdk/tests/examples_in_book/write_a_kernel_in_100_lines_templates/lib.rs:109
↓ 1 callers
Function
handle_syscall
(ctx: &Context, user_ctx: &mut UserContext)
kernel/src/syscall/mod.rs:356
↓ 1 callers
Function
handle_user_page_fault
Handles page fault from user space.
ostd/src/arch/x86/trap/mod.rs:218
↓ 1 callers
Function
handle_user_signal
( ctx: &Context, sig_num: SigNum, handler_addr: Vaddr, flags: SigActionFlags, restorer_add
kernel/src/process/signal/mod.rs:156
↓ 1 callers
Method
has_error
(&self)
kernel/comps/keyboard/src/i8042_chip/keyboard.rs:83
↓ 1 callers
Method
has_exited_group
Returns whether an `exit_group` has been initiated.
kernel/src/process/task_set.rs:71
↓ 1 callers
Function
has_extensions
Checks if the specified set of ISA extensions are available.
ostd/src/arch/riscv/cpu/extension.rs:38
↓ 1 callers
Function
has_pci_bus
()
ostd/src/arch/x86/pci.rs:22
↓ 1 callers
Method
has_pending
Returns whether the thread has some pending signals that are not blocked.
kernel/src/process/posix_thread/mod.rs:125
↓ 1 callers
Method
has_pending_work_items
(&self)
kernel/src/thread/work_queue/worker_pool.rs:103
↓ 1 callers
Method
has_pending_work_items
(&self, request_cpu: CpuId)
kernel/src/thread/work_queue/mod.rs:166
↓ 1 callers
Method
has_set_gid
(&self)
kernel/src/fs/utils/inode.rs:200
↓ 1 callers
Method
has_set_uid
(&self)
kernel/src/fs/utils/inode.rs:196
↓ 1 callers
Function
has_valid_repr
(attrs: Vec<Attribute>)
kernel/libs/int-to-c-enum/derive/src/lib.rs:85
↓ 1 callers
Method
has_valid_upper
(&self)
kernel/src/fs/overlayfs/fs.rs:577
↓ 1 callers
Function
has_zero
Determines whether the value contains a zero byte. This magic algorithm is from the Linux `has_zero` function: <https://elixir.bootlin.com/linux/v6.0
kernel/src/context.rs:302
↓ 1 callers
Function
hash_addr_port
(addr: IpAddress, port: PortNum)
kernel/libs/aster-bigtcp/src/socket_table.rs:118
↓ 1 callers
Function
hash_local_remote
( local_addr: IpAddress, local_port: PortNum, remote_addr: IpAddress, remote_port: PortNum, )
kernel/libs/aster-bigtcp/src/socket_table.rs:100
↓ 1 callers
Method
header
(&self)
kernel/src/net/socket/netlink/message/segment/common.rs:20
↓ 1 callers
Method
header
Returns a reference to the header.
kernel/src/fs/ext2/dir.rs:45
↓ 1 callers
Method
heap
(&self)
kernel/src/process/process/mod.rs:592
↓ 1 callers
Method
heartbeat
(&self)
kernel/src/thread/work_queue/worker_pool.rs:110
↓ 1 callers
Method
height_offset
Calculates the corresponding offset for the target index at the current height.
kernel/libs/xarray/src/node.rs:89
↓ 1 callers
Method
hit_target
(&self, target: &K)
kernel/comps/mlsdisk/src/layers/4-lsm/sstable.rs:573
↓ 1 callers
Method
id
(&self)
kernel/comps/systree/src/utils.rs:49
↓ 1 callers
Method
ident_full_path
(&self, ident: &Ident)
kernel/libs/comp-sys/cargo-component/analysis/src/conf.rs:34
↓ 1 callers
Method
idle_current_worker
(&self, worker: Arc<Worker>)
kernel/src/thread/work_queue/worker_pool.rs:118
↓ 1 callers
Method
iface
Returns a reference to the iface.
kernel/libs/aster-bigtcp/src/iface/common.rs:283
↓ 1 callers
Function
iface_to_new_addr
(request_header: &CMsgSegHdr, iface: &Arc<Iface>)
kernel/src/net/socket/netlink/route/kernel/addr.rs:42
↓ 1 callers
Function
iface_to_new_link
(request_header: &CMsgSegHdr, iface: &Arc<Iface>)
kernel/src/net/socket/netlink/route/kernel/link.rs:123
↓ 1 callers
Method
impl_main_trait_tokens
the tokens to impl main trait for the current flagset
kernel/libs/typeflags/src/flag_set.rs:52
↓ 1 callers
Function
impl_same_as
impl SameAs trait for each struct
kernel/libs/typeflags/src/util.rs:56
↓ 1 callers
Function
impl_set_extend
(type_flags_def: &TypeFlagDef, flag_sets: &[FlagSet])
kernel/libs/typeflags/src/util.rs:81
↓ 1 callers
Function
impl_try_from
( data_enum: DataEnum, attrs: Vec<Attribute>, generics: Generics, ident: Ident, )
kernel/libs/int-to-c-enum/derive/src/lib.rs:30
↓ 1 callers
Function
import_util
import crate typeflags_util
kernel/libs/typeflags/src/util.rs:38
↓ 1 callers
Function
in_interrupt_context
Returns whether we are in the interrupt context. Note that both the top half and the bottom half is processed in the interrupt context.
ostd/src/trap/handler.rs:82
↓ 1 callers
Method
inc_dirs
(&mut self)
kernel/src/fs/ext2/block_group.rs:447
← previous
next →
2,701–2,800 of 7,307, ranked by callers