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
remove_child
(&self, child_name: &str)
kernel/comps/systree/src/utils.rs:154
↓ 1 callers
Method
remove_cluster_fat
( &mut self, start_physical_cluster: ClusterID, drop_num: u32, sync_bitmap: bo
kernel/src/fs/exfat/fat.rs:253
↓ 1 callers
Method
remove_connected_socket
Remove a connected socket
kernel/src/net/socket/vsock/common.rs:97
↓ 1 callers
Method
remove_dead_tcp_connection
(&mut self, key: &ConnectionKey)
kernel/libs/aster-bigtcp/src/socket_table.rs:280
↓ 1 callers
Method
remove_exited
Removes the exited task from the task set if necessary. The task will be removed from the task set if the corresponding thread is not the main thread
kernel/src/process/task_set.rs:48
↓ 1 callers
Method
remove_inode
(&self, hash: usize)
kernel/src/fs/exfat/fs.rs:134
↓ 1 callers
Method
remove_listen_socket
Remove a listening socket
kernel/src/net/socket/vsock/common.rs:129
↓ 1 callers
Method
remove_listener
(&mut self, key: &ListenerKey)
kernel/libs/aster-bigtcp/src/socket_table.rs:266
↓ 1 callers
Method
remove_posix_timer
Removes the POSIX timer with the ID `timer_id`.
kernel/src/process/process/timer_manager.rs:186
↓ 1 callers
Method
remove_segment
(&mut self, index: usize)
kernel/libs/comp-sys/cargo-component/analysis/src/conf.rs:167
↓ 1 callers
Method
remove_slave
Remove the slave from fs. This is called when the master is being dropped.
kernel/src/fs/devpts/mod.rs:81
↓ 1 callers
Method
remove_tcp_listener
(&self, socket: &Arc<TcpListenerBg<E>>)
kernel/libs/aster-bigtcp/src/iface/common.rs:211
↓ 1 callers
Method
remove_udp_socket
(&self, socket: &Arc<UdpSocketBg<E>>)
kernel/libs/aster-bigtcp/src/iface/common.rs:217
↓ 1 callers
Method
remove_xattr
(&self, name: XattrName)
kernel/src/fs/ext2/inode.rs:856
↓ 1 callers
Method
rename
(&self, old_name: &str, target: &Arc<dyn Inode>, new_name: &str)
kernel/src/fs/utils/inode.rs:444
↓ 1 callers
Method
rename
(&self, old_name: &str, target: &Inode, new_name: &str)
kernel/src/fs/ext2/inode.rs:427
↓ 1 callers
Method
rename_entry
Renames the `DirEntry` from `old_name` to the `new_name` from the current offset. It will moves the `DirEntry` to another position, if the record len
kernel/src/fs/ext2/dir.rs:509
↓ 1 callers
Method
rename_within
Rename within its own directory.
kernel/src/fs/ext2/inode.rs:323
↓ 1 callers
Method
render
Renders the pixel into a specific format.
kernel/comps/framebuffer/src/pixel.rs:33
↓ 1 callers
Function
renew_vm_and_map
Renews the [`ProcessVm`] of the current process and then maps the heap VMO to the new VMAR.
kernel/src/process/process_vm/mod.rs:185
↓ 1 callers
Method
replace
Replaces the file table with a new one, returning the old one.
kernel/src/process/posix_thread/thread_local.rs:218
↓ 1 callers
Function
report_ice
(info: &panic::PanicInfo<'_>)
kernel/libs/comp-sys/cargo-component/src/driver.rs:139
↓ 1 callers
Method
request
Send a request packet for initializing a new connection.
kernel/src/net/socket/vsock/common.rs:143
↓ 1 callers
Method
request
(&self, request: &RtnlMessage, dst_port: PortNum)
kernel/src/net/socket/netlink/route/kernel/mod.rs:33
↓ 1 callers
Method
request_device_id
TODO: Most logic is the same as read and write, there should be a refactor. TODO: Should return an Err instead of panic if the device fails.
kernel/comps/virtio/src/device/block/device.rs:243
↓ 1 callers
Method
request_type
(&self)
ostd/src/arch/x86/iommu/fault.rs:108
↓ 1 callers
Method
requeue_items_to_another_bucket
( &mut self, key: FutexKey, another: &mut Self, new_key: FutexKey, max
kernel/src/process/posix_thread/futex.rs:421
↓ 1 callers
Function
reschedule
(mut f: F)
ostd/src/task/scheduler/mod.rs:546
↓ 1 callers
Method
reserve
Increases the height of the `XArray` so that the `index`-th element can be stored.
kernel/libs/xarray/src/cursor.rs:280
↓ 1 callers
Method
reset_ready
Marks the epoll entry as not being in the ready list. This method must be called while holding the lock of the ready list. This is the only way to en
kernel/src/fs/epoll/entry.rs:231
↓ 1 callers
Method
reset_sgid
(&self)
kernel/src/process/credentials/static_cap.rs:245
↓ 1 callers
Method
reset_suid
(&self)
kernel/src/process/credentials/static_cap.rs:143
↓ 1 callers
Method
resize
(&self, new_size: usize)
kernel/src/fs/inode_handle/mod.rs:125
↓ 1 callers
Method
resize
(&self, new_size: usize)
kernel/src/fs/overlayfs/fs.rs:422
↓ 1 callers
Method
resolution
Return the resolution of this clock. Set to the resolution of system time interrupt by default.
kernel/src/time/core/mod.rs:20
↓ 1 callers
Method
resolve_ether_or_generate_arp
( &self, pkt: &Packet, iface_cx: &mut Context, )
kernel/libs/aster-bigtcp/src/iface/phy/ether.rs:208
↓ 1 callers
Method
response
Send a response packet for accepting a new connection.
kernel/src/net/socket/vsock/common.rs:151
↓ 1 callers
Function
restore_signal_mask
(sig_mask_val: SigMask, ctx: &Context)
kernel/src/syscall/epoll.rs:202
↓ 1 callers
Method
resume
Resumes the stopped process.
kernel/src/process/process/mod.rs:689
↓ 1 callers
Method
rights
(&self)
kernel/src/vm/vmo/static_cap.rs:143
↓ 1 callers
Method
rights
(&self)
kernel/src/vm/vmar/dyn_cap.rs:127
↓ 1 callers
Method
rights
(&self)
kernel/src/vm/vmar/static_cap.rs:157
↓ 1 callers
Method
rip
(&self)
ostd/src/arch/x86/cpu/context/tdx.rs:75
↓ 1 callers
Method
rmdir
(&self, name: &str)
kernel/src/fs/utils/inode.rs:436
↓ 1 callers
Method
rmdir
(&self, name: &str)
kernel/src/fs/ext2/inode.rs:271
↓ 1 callers
Method
rmdir
Deletes the target directory by creating an "opaque" directory from the upper layer. The corresponding parent directories will be created also if they
kernel/src/fs/overlayfs/fs.rs:371
↓ 1 callers
Method
root_inode
(&self)
kernel/src/fs/devpts/mod.rs:95
↓ 1 callers
Method
root_inode
(&self)
kernel/src/fs/procfs/mod.rs:76
↓ 1 callers
Method
root_mht_node
(&self, root_key: &Key, root_meta: &RootMhtMeta)
kernel/comps/mlsdisk/src/layers/1-crypto/crypto_log.rs:468
↓ 1 callers
Method
rows
Iterates over the rows of the character bitmap.
kernel/comps/console/src/font.rs:148
↓ 1 callers
Function
run
()
scripts/src/populate.rs:69
↓ 1 callers
Method
run
(&self)
kernel/src/thread/work_queue/worker_pool.rs:149
↓ 1 callers
Method
run
Goes to user space with the context, and comes back when a trap occurs. On return, the context will be reset to the status before the trap. Trap reas
ostd/src/arch/loongarch/trap/trap.rs:78
↓ 1 callers
Method
run
Goes to user space with the context, and comes back when a trap occurs. On return, the context will be reset to the status before the trap. Trap reas
ostd/src/arch/x86/trap/syscall.rs:98
↓ 1 callers
Method
run
Goes to user space with the context, and comes back when a trap occurs. On return, the context will be reset to the status before the trap. Trap reas
ostd/src/arch/riscv/trap/trap.rs:104
↓ 1 callers
Function
run_crate_ktests
(crate_: &KtestCrate, whitelist: &Option<SuffixTrie>)
osdk/deps/test-kernel/src/lib.rs:123
↓ 1 callers
Function
run_ktests
Run all the tests registered by `#[ktest]` in the `.ktest_array` section. The `whitelist` argument is optional. If it is `None`, all tests compiled w
osdk/deps/test-kernel/src/lib.rs:89
↓ 1 callers
Method
run_monitor_loop
(self: &Arc<Self>)
kernel/src/thread/work_queue/worker_pool.rs:259
↓ 1 callers
Method
run_worker_loop
The thread function bound to normal workers. It pulls a work item from the work queue and sleeps if there is no more pending items.
kernel/src/thread/work_queue/worker.rs:81
↓ 1 callers
Method
schedule
(&self)
kernel/src/thread/work_queue/worker_pool.rs:165
↓ 1 callers
Method
schedule
Schedules this taskless job and it will be executed in later time. If the taskless job has been scheduled, this function will do nothing.
kernel/comps/softirq/src/taskless.rs:92
↓ 1 callers
Method
search
(&self, search_ctx: &mut SearchCtx<'_>)
kernel/comps/mlsdisk/src/layers/1-crypto/crypto_log.rs:340
↓ 1 callers
Method
search_data_nodes
(&self, search_ctx: &mut SearchCtx)
kernel/comps/mlsdisk/src/layers/1-crypto/crypto_log.rs:921
↓ 1 callers
Method
search_hierarchy
( &self, level_targets: Vec<Arc<MhtNode>>, mut curr_height: Height, search_ctx
kernel/comps/mlsdisk/src/layers/1-crypto/crypto_log.rs:359
↓ 1 callers
Method
second_stage_large_page_support
Second Stage Large Page Support.
ostd/src/arch/x86/iommu/registers/capability.rs:71
↓ 1 callers
Method
second_stage_pointer
Gets the second stage page translation pointer. This function will not right shift the value after the `and` operation.
ostd/src/arch/x86/iommu/dma_remapping/context_table.rs:204
↓ 1 callers
Method
segments_mut
(&mut self)
kernel/src/net/socket/netlink/message/mod.rs:42
↓ 1 callers
Method
select_cpu
TODO: Implement a better algorithm and replace the current naive implementation.
kernel/src/sched/sched_class/mod.rs:275
↓ 1 callers
Method
select_cpu
(&self)
ostd/src/task/scheduler/fifo_scheduler.rs:35
↓ 1 callers
Function
sem_op
( sem_id: key_t, sops: Vec<SemBuf>, timeout: Option<Duration>, ctx: &Context, )
kernel/src/ipc/semaphore/system_v/sem.rs:131
↓ 1 callers
Function
sem_sets_mut
()
kernel/src/ipc/semaphore/system_v/sem_set.rs:297
↓ 1 callers
Method
send
(&self, reader: &mut dyn MultiRead, flags: SendRecvFlags)
kernel/src/net/socket/vsock/stream/socket.rs:81
↓ 1 callers
Method
send_char
Sends a single character to be drawn on the framebuffer.
kernel/comps/framebuffer/src/console.rs:108
↓ 1 callers
Function
send_child_death_signal
Sends a child-death signal to the parent.
kernel/src/process/exit.rs:119
↓ 1 callers
Method
send_command
(&mut self, command: Command)
kernel/comps/keyboard/src/i8042_chip/controller.rs:145
↓ 1 callers
Method
send_data
(&mut self, data: u8)
kernel/comps/keyboard/src/i8042_chip/controller.rs:172
↓ 1 callers
Function
send_init_deassert
# Safety The caller should ensure it's valid to deassert INIT IPIs for all CPUs excluding self.
ostd/src/arch/x86/boot/smp.rs:316
↓ 1 callers
Function
send_init_to_all_aps
# Safety The caller should ensure it's valid to send INIT IPIs to all CPUs excluding self.
ostd/src/arch/x86/boot/smp.rs:298
↓ 1 callers
Function
send_ipi
Sends a general inter-processor interrupt (IPI) to the specified CPU. # Safety The caller must ensure that the interrupt number is valid and that th
ostd/src/arch/riscv/irq.rs:88
↓ 1 callers
Function
send_parent_death_signal
Sends parent-death signals to the children. FIXME: According to the Linux implementation, the signal should be sent when the POSIX thread that create
kernel/src/process/exit.rs:36
↓ 1 callers
Function
sequential_read
test/src/apps/file_io/file_io.c:81
↓ 1 callers
Function
sequential_write
test/src/apps/file_io/file_io.c:86
↓ 1 callers
Method
serialize
(&self, buf: &mut [u8])
kernel/src/syscall/getdents64.rs:145
↓ 1 callers
Method
set
Sets the new `sig_num`
kernel/src/process/signal/sig_num.rs:118
↓ 1 callers
Method
set
( &self, name: XattrName, value_reader: &mut VmReader, flags: XattrSetFlags,
kernel/src/fs/ramfs/xattr.rs:39
↓ 1 callers
Method
set_acl
(&mut self, bid: Bid)
kernel/src/fs/ext2/inode.rs:1282
↓ 1 callers
Function
set_apic_base_address
Sets APIC base address and enables it
ostd/src/arch/x86/kernel/apic/xapic.rs:119
↓ 1 callers
Method
set_backlog
(&self, backlog: usize)
kernel/src/net/socket/unix/stream/listener.rs:215
↓ 1 callers
Function
set_caps
test/src/apps/capability/capabilities.c:10
↓ 1 callers
Function
set_child_subreaper
test/src/apps/prctl/subreaper.c:10
↓ 1 callers
Method
set_child_subreaper
Sets the child subreaper attribute of the current process.
kernel/src/process/process/mod.rs:722
↓ 1 callers
Method
set_clock_mode
(&mut self, mode: VdsoClockMode)
kernel/src/vdso.rs:148
↓ 1 callers
Method
set_coeff
(&mut self, coeff: &Coeff)
kernel/src/vdso.rs:152
↓ 1 callers
Method
set_connected
(&self)
kernel/src/net/socket/vsock/stream/connecting.rs:65
↓ 1 callers
Function
set_contain_where_clause
( require_attr: &RequireAttr, required_type: Ident, old_where_clause: Option<WhereClause>, )
kernel/libs/aster-rights-proc/src/require_attr.rs:109
↓ 1 callers
Method
set_cursor
(&mut self, x: usize, y: usize)
kernel/comps/framebuffer/src/ansi_escape.rs:202
↓ 1 callers
Method
set_default
(&mut self, num: SigNum)
kernel/src/process/signal/sig_disposition.rs:36
↓ 1 callers
Method
set_device_id
(&self, device_id: u64)
kernel/src/fs/ext2/inode.rs:661
↓ 1 callers
Method
set_effective_capset
(&self, effective_capset: CapSet)
kernel/src/process/credentials/credentials_.rs:453
↓ 1 callers
Method
set_effective_capset
(&self, effective_capset: CapSet)
kernel/src/process/credentials/static_cap.rs:314
← previous
next →
3,301–3,400 of 7,307, ranked by callers