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
set_egid
(&self, egid: Gid)
kernel/src/process/credentials/static_cap.rs:236
↓ 1 callers
Method
set_enabled
Marks the epoll entry as enabled. This method must be called while holding the lock of the event masks and flags. This is the only way to ensure that
kernel/src/fs/epoll/entry.rs:249
↓ 1 callers
Method
set_end
The `self.count` is normally a positive value used to iterate the list to avoid excessively long or circular list, we use a special value -1 to repres
kernel/src/process/posix_thread/robust_list.rs:76
↓ 1 callers
Method
set_entry
Sets the entry in the Interrupt Remapping Table.
ostd/src/arch/x86/iommu/interrupt_remapping/table.rs:64
↓ 1 callers
Method
set_euid
(&self, euid: Uid)
kernel/src/process/credentials/static_cap.rs:134
↓ 1 callers
Method
set_executable_path
(&self, executable_path: String)
kernel/src/process/process/mod.rs:263
↓ 1 callers
Method
set_exit_code
Sets the exit code.
kernel/src/process/status.rs:76
↓ 1 callers
Method
set_exit_signal
(&self, sig_num: SigNum)
kernel/src/process/process/mod.rs:663
↓ 1 callers
Method
set_exited_group
Sets a flag that denotes that an `exit_group` has been initiated.
kernel/src/process/task_set.rs:66
↓ 1 callers
Method
set_file_dentry
(&mut self, file: &ExfatFileDentry)
kernel/src/fs/exfat/dentry.rs:369
↓ 1 callers
Method
set_file_perm
(&self, perm: FilePerm)
kernel/src/fs/ext2/inode.rs:762
↓ 1 callers
Method
set_flags
(&mut self, flags: FatChainFlags)
kernel/src/fs/exfat/fat.rs:119
↓ 1 callers
Method
set_flock
(&self, lock: FlockItem, is_nonblocking: bool)
kernel/src/fs/inode_handle/mod.rs:248
↓ 1 callers
Method
set_foreground
Sets the foreground process group of the terminal.
kernel/src/process/process/terminal.rs:156
↓ 1 callers
Method
set_fsgid
(&self, fsgid: Option<Gid>)
kernel/src/process/credentials/static_cap.rs:227
↓ 1 callers
Method
set_fsuid
(&self, fsuid: Option<Uid>)
kernel/src/process/credentials/static_cap.rs:125
↓ 1 callers
Function
set_gid_from_elf
Sets gid for credentials as the same of gid of elf file if elf file has `set_gid` bit.
kernel/src/syscall/execve.rs:235
↓ 1 callers
Function
set_include_where_clause
generate a where clause to constraint the type set with another type set
kernel/libs/aster-rights-proc/src/require_attr.rs:160
↓ 1 callers
Method
set_indirect_bids
Sets the device block IDs for indirect blocks required by a specific block ID. It assigns a sequence of block IDs (`indirect_bids`) on the device to
kernel/src/fs/ext2/inode.rs:1580
↓ 1 callers
Method
set_inheritable_capset
(&self, inheritable_capset: CapSet)
kernel/src/process/credentials/credentials_.rs:443
↓ 1 callers
Method
set_inheritable_capset
(&self, inheritable_capset: CapSet)
kernel/src/process/credentials/static_cap.rs:298
↓ 1 callers
Method
set_ino
Modifies the inode number.
kernel/src/fs/ext2/dir.rs:313
↓ 1 callers
Method
set_interrupt_vector
Enables an interrupt line, it will replace the old handle with the new handle.
ostd/src/bus/pci/capability/msix.rs:142
↓ 1 callers
Method
set_keep_alive
(&self, keep_alive: bool)
kernel/src/net/socket/ip/stream/mod.rs:831
↓ 1 callers
Method
set_last_cpu
(&self, cpu_id: CpuId)
kernel/src/sched/sched_class/mod.rs:204
↓ 1 callers
Method
set_latest_modified_pid
(&mut self, pid: Pid)
kernel/src/ipc/semaphore/system_v/sem.rs:115
↓ 1 callers
Method
set_local_shutdown
(&mut self)
kernel/src/net/socket/vsock/stream/connected.rs:189
↓ 1 callers
Function
set_mask
(master_mask: u8, slave_mask: u8)
ostd/src/arch/x86/kernel/irq/pic.rs:27
↓ 1 callers
Method
set_mode
(&self, mode: InodeMode)
kernel/src/fs/sysfs/inode.rs:67
↓ 1 callers
Method
set_mountpoint_dentry
Sets the mountpoint. In some cases we may need to reset the mountpoint of the created `MountNode`, such as move mount.
kernel/src/fs/path/mount.rs:218
↓ 1 callers
Function
set_new_stack
(sig_stack_addr: Vaddr, old_stack: Option<&SigStack>, ctx: &Context)
kernel/src/syscall/sigaltstack.rs:55
↓ 1 callers
Method
set_option
( &mut self, option: &dyn SocketOption, socket: &dyn SetIpLevelOption, )
kernel/src/net/socket/ip/options.rs:54
↓ 1 callers
Method
set_owner
Sets the owner of the lock to the specified process ID
kernel/src/fs/utils/range_lock/mod.rs:55
↓ 1 callers
Method
set_owner
(&self, uid: Uid)
kernel/src/fs/procfs/template/mod.rs:95
↓ 1 callers
Method
set_parent
(&mut self, parent: &Dentry)
kernel/src/fs/fs_resolver.rs:403
↓ 1 callers
Method
set_parent
(&mut self, parent: Weak<RamInode>)
kernel/src/fs/ramfs/fs.rs:290
↓ 1 callers
Method
set_parent
Sets the parent pointer of this node to the given `parent`.
kernel/libs/xarray/src/node.rs:191
↓ 1 callers
Function
set_parent_and_group
(parent: &Process, child: &Arc<Process>)
kernel/src/process/clone.rs:598
↓ 1 callers
Method
set_parent_death_signal
Sets the parent death signal as `signum`.
kernel/src/process/process/mod.rs:651
↓ 1 callers
Method
set_peer_requested_shutdown
(&self)
kernel/src/net/socket/vsock/stream/connected.rs:132
↓ 1 callers
Method
set_permitted_capset
(&self, permitted_capset: CapSet)
kernel/src/process/credentials/credentials_.rs:448
↓ 1 callers
Method
set_permitted_capset
(&self, permitted_capset: CapSet)
kernel/src/process/credentials/static_cap.rs:306
↓ 1 callers
Method
set_pid_uid
(&mut self, pid: Pid, uid: Uid)
kernel/src/process/signal/c_types.rs:60
↓ 1 callers
Method
set_prev_page
Sets the last page visited.
kernel/src/fs/utils/page_cache.rs:328
↓ 1 callers
Method
set_process
Update both pid and weak ref.
kernel/src/process/process/mod.rs:171
↓ 1 callers
Method
set_processing
(&self)
kernel/src/thread/work_queue/work_item.rs:45
↓ 1 callers
Method
set_prop
(&mut self, prop: PageProperty)
ostd/src/arch/loongarch/mm/mod.rs:232
↓ 1 callers
Method
set_prop
(&mut self, prop: PageProperty)
ostd/src/arch/x86/iommu/dma_remapping/second_stage.rs:146
↓ 1 callers
Method
set_prop
(&mut self, prop: PageProperty)
ostd/src/arch/riscv/mm/mod.rs:174
↓ 1 callers
Method
set_queue
( &mut self, idx: u16, queue_size: u16, descriptor_ptr: &SafePtr<Descriptor, D
kernel/comps/virtio/src/transport/pci/device.rs:76
↓ 1 callers
Method
set_range
Sets the range of the lock to the specified range
kernel/src/fs/utils/range_lock/mod.rs:65
↓ 1 callers
Method
set_range_lock
(&self, lock: &RangeLockItem, is_nonblocking: bool)
kernel/src/fs/inode_handle/mod.rs:188
↓ 1 callers
Method
set_raw_option
Calls `f` to set raw socket option. For listening sockets, socket options are inherited by new connections. However, they are not updated for connect
kernel/src/net/socket/ip/stream/mod.rs:784
↓ 1 callers
Method
set_rdi
(&mut self, rdi: usize)
ostd/src/arch/x86/tdx_guest.rs:176
↓ 1 callers
Method
set_rdx
(&mut self, rdx: usize)
ostd/src/arch/x86/tdx_guest.rs:164
↓ 1 callers
Method
set_ready
Marks the epoll entry as being in the ready list. This method must be called while holding the lock of the ready list. This is the only way to ensure
kernel/src/fs/epoll/entry.rs:222
↓ 1 callers
Method
set_regid
(&self, rgid: Option<Gid>, egid: Option<Gid>)
kernel/src/process/credentials/static_cap.rs:204
↓ 1 callers
Method
set_remote_endpoint
(&mut self, endpoint: &Self::Endpoint)
kernel/src/net/socket/ip/datagram/bound.rs:51
↓ 1 callers
Method
set_resgid
( &self, rgid: Option<Gid>, egid: Option<Gid>, sgid: Option<Gid>, )
kernel/src/process/credentials/static_cap.rs:213
↓ 1 callers
Method
set_resuid
( &self, ruid: Option<Uid>, euid: Option<Uid>, suid: Option<Uid>, )
kernel/src/process/credentials/static_cap.rs:111
↓ 1 callers
Method
set_reuid
(&self, ruid: Option<Uid>, euid: Option<Uid>)
kernel/src/process/credentials/static_cap.rs:102
↓ 1 callers
Method
set_rip
(&mut self, rip: usize)
ostd/src/arch/x86/tdx_guest.rs:182
↓ 1 callers
Method
set_rip
(&mut self, rip: usize)
ostd/src/arch/x86/cpu/context/tdx.rs:78
↓ 1 callers
Method
set_root
Sets the root directory to the given `dentry`.
kernel/src/fs/fs_resolver.rs:51
↓ 1 callers
Method
set_rsi
(&mut self, rsi: usize)
ostd/src/arch/x86/tdx_guest.rs:170
↓ 1 callers
Method
set_session
Sets the session whose controlling terminal is this terminal. # Errors This method will fail with `EPERM` if the terminal is already a controlling t
kernel/src/process/process/job_control.rs:52
↓ 1 callers
Function
set_session_and_group
(process: &Arc<Process>)
kernel/src/process/process/init_proc.rs:82
↓ 1 callers
Method
set_sgid
(&self, sgid: Gid)
kernel/src/process/credentials/credentials_.rs:347
↓ 1 callers
Function
set_signal_mask
(set_ptr: Vaddr, ctx: &Context)
kernel/src/syscall/epoll.rs:184
↓ 1 callers
Function
set_stats_from_scheduler
Set the global scheduler statistics singleton. This function should be called once to set the scheduler statistics system. It is used to get running
kernel/src/sched/stats/scheduler_stats.rs:16
↓ 1 callers
Method
set_status
(&mut self, status: i32)
kernel/src/process/signal/c_types.rs:68
↓ 1 callers
Method
set_stream_dentry
(&mut self, stream: &ExfatStreamDentry)
kernel/src/fs/exfat/dentry.rs:381
↓ 1 callers
Method
set_suid
(&self, suid: Uid)
kernel/src/process/credentials/credentials_.rs:191
↓ 1 callers
Method
set_syscall_num
(&mut self, num: usize)
kernel/src/arch/x86/cpu.rs:30
↓ 1 callers
Function
set_uid_from_elf
Sets uid for credentials as the same of uid of elf file if elf file has `set_uid` bit.
kernel/src/syscall/execve.rs:217
↓ 1 callers
Method
set_uninitialized
(&self)
kernel/src/process/process_vm/heap.rs:102
↓ 1 callers
Method
set_uninitialized
(&self)
kernel/src/process/process_vm/init_stack/mod.rs:214
↓ 1 callers
Method
set_val
(&mut self, val: i32)
kernel/src/ipc/semaphore/system_v/sem.rs:107
↓ 1 callers
Method
set_whiteout_only_mode
(&mut self)
kernel/src/fs/overlayfs/fs.rs:1049
↓ 1 callers
Method
set_window_size
(&mut self, winsize: CWinSize)
kernel/src/device/tty/line_discipline.rs:251
↓ 1 callers
Method
set_zombie
Sets the process to be a zombie process. This method should be called when the process completes its exit. The current thread must be the last thread
kernel/src/process/status.rs:51
↓ 1 callers
Method
setup_window
Setup the new readahead window.
kernel/src/fs/utils/page_cache.rs:291
↓ 1 callers
Method
setval
(&self, sem_num: usize, val: i32, pid: Pid)
kernel/src/ipc/semaphore/system_v/sem_set.rs:113
↓ 1 callers
Method
sgid
(&self)
kernel/src/process/credentials/static_cap.rs:178
↓ 1 callers
Method
shift
Return the `shift` of the Coeff. Only used for the VdsoData and will be removed in the future.
kernel/libs/aster-util/src/coeff.rs:107
↓ 1 callers
Method
shift_map
(&self)
kernel/comps/keyboard/src/i8042_chip/keyboard.rs:227
↓ 1 callers
Method
should_compact
(&self)
kernel/comps/mlsdisk/src/layers/2-edit/journal.rs:749
↓ 1 callers
Method
should_readahead
Determines whether a new readahead should be performed. We only consider readahead for sequential I/O now. There should be at most one in-progress rea
kernel/src/fs/utils/page_cache.rs:274
↓ 1 callers
Method
should_wake
(&self, old_val: u32)
kernel/src/process/posix_thread/futex.rs:218
↓ 1 callers
Function
show_help
()
kernel/libs/comp-sys/cargo-component/src/main.rs:18
↓ 1 callers
Function
show_version
()
kernel/libs/comp-sys/cargo-component/src/main.rs:22
↓ 1 callers
Method
shrink
Shrinks inode size. After the reduction, the size will be shrunk to `new_size`, which may result in an decreased block count.
kernel/src/fs/ext2/inode.rs:1641
↓ 1 callers
Method
shut_recv
Shuts down the receiving half of the connection. This method will return `false` if the socket is in the CLOSED or TIME_WAIT state. Polling the ifac
kernel/libs/aster-bigtcp/src/socket/bound/tcp_conn.rs:461
↓ 1 callers
Method
shut_send
Shuts down the sending half of the connection. This method will return `false` if the socket is in the CLOSED or TIME_WAIT state. Polling the iface
kernel/libs/aster-bigtcp/src/socket/bound/tcp_conn.rs:440
↓ 1 callers
Method
shutdown
(&self, cmd: SockShutdownCmd)
kernel/src/net/socket/unix/stream/connected.rs:287
↓ 1 callers
Method
shutdown
(&self, cmd: SockShutdownCmd, pollee: &Pollee)
kernel/src/net/socket/unix/stream/listener.rs:72
↓ 1 callers
Method
shutdown
(&self, cmd: SockShutdownCmd)
kernel/src/net/socket/vsock/stream/socket.rs:236
↓ 1 callers
Method
sig_num
(&self)
kernel/src/process/signal/events.rs:17
↓ 1 callers
Function
sigkill_other_threads
Sends `SIGKILL` to all other threads in the current process. This is only needed when initiating an `exit_group` for the first time.
kernel/src/process/posix_thread/exit.rs:97
↓ 1 callers
Function
singleton
Returns a reference to the global CgroupFs instance. Panics if not initialized.
kernel/src/fs/cgroupfs/mod.rs:18
← previous
next →
3,401–3,500 of 7,307, ranked by callers