MCPcopy Create free account

hub / github.com/asterinas/vostd / functions

Functions7,307 in github.com/asterinas/vostd

↓ 1 callersMethodremove_child
(&self, child_name: &str)
kernel/comps/systree/src/utils.rs:154
↓ 1 callersMethodremove_cluster_fat
( &mut self, start_physical_cluster: ClusterID, drop_num: u32, sync_bitmap: bo
kernel/src/fs/exfat/fat.rs:253
↓ 1 callersMethodremove_connected_socket
Remove a connected socket
kernel/src/net/socket/vsock/common.rs:97
↓ 1 callersMethodremove_dead_tcp_connection
(&mut self, key: &ConnectionKey)
kernel/libs/aster-bigtcp/src/socket_table.rs:280
↓ 1 callersMethodremove_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 callersMethodremove_inode
(&self, hash: usize)
kernel/src/fs/exfat/fs.rs:134
↓ 1 callersMethodremove_listen_socket
Remove a listening socket
kernel/src/net/socket/vsock/common.rs:129
↓ 1 callersMethodremove_listener
(&mut self, key: &ListenerKey)
kernel/libs/aster-bigtcp/src/socket_table.rs:266
↓ 1 callersMethodremove_posix_timer
Removes the POSIX timer with the ID `timer_id`.
kernel/src/process/process/timer_manager.rs:186
↓ 1 callersMethodremove_segment
(&mut self, index: usize)
kernel/libs/comp-sys/cargo-component/analysis/src/conf.rs:167
↓ 1 callersMethodremove_slave
Remove the slave from fs. This is called when the master is being dropped.
kernel/src/fs/devpts/mod.rs:81
↓ 1 callersMethodremove_tcp_listener
(&self, socket: &Arc<TcpListenerBg<E>>)
kernel/libs/aster-bigtcp/src/iface/common.rs:211
↓ 1 callersMethodremove_udp_socket
(&self, socket: &Arc<UdpSocketBg<E>>)
kernel/libs/aster-bigtcp/src/iface/common.rs:217
↓ 1 callersMethodremove_xattr
(&self, name: XattrName)
kernel/src/fs/ext2/inode.rs:856
↓ 1 callersMethodrename
(&self, old_name: &str, target: &Arc<dyn Inode>, new_name: &str)
kernel/src/fs/utils/inode.rs:444
↓ 1 callersMethodrename
(&self, old_name: &str, target: &Inode, new_name: &str)
kernel/src/fs/ext2/inode.rs:427
↓ 1 callersMethodrename_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 callersMethodrename_within
Rename within its own directory.
kernel/src/fs/ext2/inode.rs:323
↓ 1 callersMethodrender
Renders the pixel into a specific format.
kernel/comps/framebuffer/src/pixel.rs:33
↓ 1 callersFunctionrenew_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 callersMethodreplace
Replaces the file table with a new one, returning the old one.
kernel/src/process/posix_thread/thread_local.rs:218
↓ 1 callersFunctionreport_ice
(info: &panic::PanicInfo<'_>)
kernel/libs/comp-sys/cargo-component/src/driver.rs:139
↓ 1 callersMethodrequest
Send a request packet for initializing a new connection.
kernel/src/net/socket/vsock/common.rs:143
↓ 1 callersMethodrequest
(&self, request: &RtnlMessage, dst_port: PortNum)
kernel/src/net/socket/netlink/route/kernel/mod.rs:33
↓ 1 callersMethodrequest_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 callersMethodrequest_type
(&self)
ostd/src/arch/x86/iommu/fault.rs:108
↓ 1 callersMethodrequeue_items_to_another_bucket
( &mut self, key: FutexKey, another: &mut Self, new_key: FutexKey, max
kernel/src/process/posix_thread/futex.rs:421
↓ 1 callersFunctionreschedule
(mut f: F)
ostd/src/task/scheduler/mod.rs:546
↓ 1 callersMethodreserve
Increases the height of the `XArray` so that the `index`-th element can be stored.
kernel/libs/xarray/src/cursor.rs:280
↓ 1 callersMethodreset_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 callersMethodreset_sgid
(&self)
kernel/src/process/credentials/static_cap.rs:245
↓ 1 callersMethodreset_suid
(&self)
kernel/src/process/credentials/static_cap.rs:143
↓ 1 callersMethodresize
(&self, new_size: usize)
kernel/src/fs/inode_handle/mod.rs:125
↓ 1 callersMethodresize
(&self, new_size: usize)
kernel/src/fs/overlayfs/fs.rs:422
↓ 1 callersMethodresolution
Return the resolution of this clock. Set to the resolution of system time interrupt by default.
kernel/src/time/core/mod.rs:20
↓ 1 callersMethodresolve_ether_or_generate_arp
( &self, pkt: &Packet, iface_cx: &mut Context, )
kernel/libs/aster-bigtcp/src/iface/phy/ether.rs:208
↓ 1 callersMethodresponse
Send a response packet for accepting a new connection.
kernel/src/net/socket/vsock/common.rs:151
↓ 1 callersFunctionrestore_signal_mask
(sig_mask_val: SigMask, ctx: &Context)
kernel/src/syscall/epoll.rs:202
↓ 1 callersMethodresume
Resumes the stopped process.
kernel/src/process/process/mod.rs:689
↓ 1 callersMethodrights
(&self)
kernel/src/vm/vmo/static_cap.rs:143
↓ 1 callersMethodrights
(&self)
kernel/src/vm/vmar/dyn_cap.rs:127
↓ 1 callersMethodrights
(&self)
kernel/src/vm/vmar/static_cap.rs:157
↓ 1 callersMethodrip
(&self)
ostd/src/arch/x86/cpu/context/tdx.rs:75
↓ 1 callersMethodrmdir
(&self, name: &str)
kernel/src/fs/utils/inode.rs:436
↓ 1 callersMethodrmdir
(&self, name: &str)
kernel/src/fs/ext2/inode.rs:271
↓ 1 callersMethodrmdir
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 callersMethodroot_inode
(&self)
kernel/src/fs/devpts/mod.rs:95
↓ 1 callersMethodroot_inode
(&self)
kernel/src/fs/procfs/mod.rs:76
↓ 1 callersMethodroot_mht_node
(&self, root_key: &Key, root_meta: &RootMhtMeta)
kernel/comps/mlsdisk/src/layers/1-crypto/crypto_log.rs:468
↓ 1 callersMethodrows
Iterates over the rows of the character bitmap.
kernel/comps/console/src/font.rs:148
↓ 1 callersFunctionrun
()
scripts/src/populate.rs:69
↓ 1 callersMethodrun
(&self)
kernel/src/thread/work_queue/worker_pool.rs:149
↓ 1 callersMethodrun
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 callersMethodrun
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 callersMethodrun
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 callersFunctionrun_crate_ktests
(crate_: &KtestCrate, whitelist: &Option<SuffixTrie>)
osdk/deps/test-kernel/src/lib.rs:123
↓ 1 callersFunctionrun_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 callersMethodrun_monitor_loop
(self: &Arc<Self>)
kernel/src/thread/work_queue/worker_pool.rs:259
↓ 1 callersMethodrun_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 callersMethodschedule
(&self)
kernel/src/thread/work_queue/worker_pool.rs:165
↓ 1 callersMethodschedule
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 callersMethodsearch
(&self, search_ctx: &mut SearchCtx<'_>)
kernel/comps/mlsdisk/src/layers/1-crypto/crypto_log.rs:340
↓ 1 callersMethodsearch_data_nodes
(&self, search_ctx: &mut SearchCtx)
kernel/comps/mlsdisk/src/layers/1-crypto/crypto_log.rs:921
↓ 1 callersMethodsearch_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 callersMethodsecond_stage_large_page_support
Second Stage Large Page Support.
ostd/src/arch/x86/iommu/registers/capability.rs:71
↓ 1 callersMethodsecond_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 callersMethodsegments_mut
(&mut self)
kernel/src/net/socket/netlink/message/mod.rs:42
↓ 1 callersMethodselect_cpu
TODO: Implement a better algorithm and replace the current naive implementation.
kernel/src/sched/sched_class/mod.rs:275
↓ 1 callersMethodselect_cpu
(&self)
ostd/src/task/scheduler/fifo_scheduler.rs:35
↓ 1 callersFunctionsem_op
( sem_id: key_t, sops: Vec<SemBuf>, timeout: Option<Duration>, ctx: &Context, )
kernel/src/ipc/semaphore/system_v/sem.rs:131
↓ 1 callersFunctionsem_sets_mut
()
kernel/src/ipc/semaphore/system_v/sem_set.rs:297
↓ 1 callersMethodsend
(&self, reader: &mut dyn MultiRead, flags: SendRecvFlags)
kernel/src/net/socket/vsock/stream/socket.rs:81
↓ 1 callersMethodsend_char
Sends a single character to be drawn on the framebuffer.
kernel/comps/framebuffer/src/console.rs:108
↓ 1 callersFunctionsend_child_death_signal
Sends a child-death signal to the parent.
kernel/src/process/exit.rs:119
↓ 1 callersMethodsend_command
(&mut self, command: Command)
kernel/comps/keyboard/src/i8042_chip/controller.rs:145
↓ 1 callersMethodsend_data
(&mut self, data: u8)
kernel/comps/keyboard/src/i8042_chip/controller.rs:172
↓ 1 callersFunctionsend_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 callersFunctionsend_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 callersFunctionsend_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 callersFunctionsend_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 callersFunctionsequential_read
test/src/apps/file_io/file_io.c:81
↓ 1 callersFunctionsequential_write
test/src/apps/file_io/file_io.c:86
↓ 1 callersMethodserialize
(&self, buf: &mut [u8])
kernel/src/syscall/getdents64.rs:145
↓ 1 callersMethodset
Sets the new `sig_num`
kernel/src/process/signal/sig_num.rs:118
↓ 1 callersMethodset
( &self, name: XattrName, value_reader: &mut VmReader, flags: XattrSetFlags,
kernel/src/fs/ramfs/xattr.rs:39
↓ 1 callersMethodset_acl
(&mut self, bid: Bid)
kernel/src/fs/ext2/inode.rs:1282
↓ 1 callersFunctionset_apic_base_address
Sets APIC base address and enables it
ostd/src/arch/x86/kernel/apic/xapic.rs:119
↓ 1 callersMethodset_backlog
(&self, backlog: usize)
kernel/src/net/socket/unix/stream/listener.rs:215
↓ 1 callersFunctionset_caps
test/src/apps/capability/capabilities.c:10
↓ 1 callersFunctionset_child_subreaper
test/src/apps/prctl/subreaper.c:10
↓ 1 callersMethodset_child_subreaper
Sets the child subreaper attribute of the current process.
kernel/src/process/process/mod.rs:722
↓ 1 callersMethodset_clock_mode
(&mut self, mode: VdsoClockMode)
kernel/src/vdso.rs:148
↓ 1 callersMethodset_coeff
(&mut self, coeff: &Coeff)
kernel/src/vdso.rs:152
↓ 1 callersMethodset_connected
(&self)
kernel/src/net/socket/vsock/stream/connecting.rs:65
↓ 1 callersFunctionset_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 callersMethodset_cursor
(&mut self, x: usize, y: usize)
kernel/comps/framebuffer/src/ansi_escape.rs:202
↓ 1 callersMethodset_default
(&mut self, num: SigNum)
kernel/src/process/signal/sig_disposition.rs:36
↓ 1 callersMethodset_device_id
(&self, device_id: u64)
kernel/src/fs/ext2/inode.rs:661
↓ 1 callersMethodset_effective_capset
(&self, effective_capset: CapSet)
kernel/src/process/credentials/credentials_.rs:453
↓ 1 callersMethodset_effective_capset
(&self, effective_capset: CapSet)
kernel/src/process/credentials/static_cap.rs:314
← previousnext →3,301–3,400 of 7,307, ranked by callers