MCPcopy Create free account

hub / github.com/asterinas/vostd / functions

Functions7,307 in github.com/asterinas/vostd

↓ 1 callersMethodset_egid
(&self, egid: Gid)
kernel/src/process/credentials/static_cap.rs:236
↓ 1 callersMethodset_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 callersMethodset_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 callersMethodset_entry
Sets the entry in the Interrupt Remapping Table.
ostd/src/arch/x86/iommu/interrupt_remapping/table.rs:64
↓ 1 callersMethodset_euid
(&self, euid: Uid)
kernel/src/process/credentials/static_cap.rs:134
↓ 1 callersMethodset_executable_path
(&self, executable_path: String)
kernel/src/process/process/mod.rs:263
↓ 1 callersMethodset_exit_code
Sets the exit code.
kernel/src/process/status.rs:76
↓ 1 callersMethodset_exit_signal
(&self, sig_num: SigNum)
kernel/src/process/process/mod.rs:663
↓ 1 callersMethodset_exited_group
Sets a flag that denotes that an `exit_group` has been initiated.
kernel/src/process/task_set.rs:66
↓ 1 callersMethodset_file_dentry
(&mut self, file: &ExfatFileDentry)
kernel/src/fs/exfat/dentry.rs:369
↓ 1 callersMethodset_file_perm
(&self, perm: FilePerm)
kernel/src/fs/ext2/inode.rs:762
↓ 1 callersMethodset_flags
(&mut self, flags: FatChainFlags)
kernel/src/fs/exfat/fat.rs:119
↓ 1 callersMethodset_flock
(&self, lock: FlockItem, is_nonblocking: bool)
kernel/src/fs/inode_handle/mod.rs:248
↓ 1 callersMethodset_foreground
Sets the foreground process group of the terminal.
kernel/src/process/process/terminal.rs:156
↓ 1 callersMethodset_fsgid
(&self, fsgid: Option<Gid>)
kernel/src/process/credentials/static_cap.rs:227
↓ 1 callersMethodset_fsuid
(&self, fsuid: Option<Uid>)
kernel/src/process/credentials/static_cap.rs:125
↓ 1 callersFunctionset_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 callersFunctionset_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 callersMethodset_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 callersMethodset_inheritable_capset
(&self, inheritable_capset: CapSet)
kernel/src/process/credentials/credentials_.rs:443
↓ 1 callersMethodset_inheritable_capset
(&self, inheritable_capset: CapSet)
kernel/src/process/credentials/static_cap.rs:298
↓ 1 callersMethodset_ino
Modifies the inode number.
kernel/src/fs/ext2/dir.rs:313
↓ 1 callersMethodset_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 callersMethodset_keep_alive
(&self, keep_alive: bool)
kernel/src/net/socket/ip/stream/mod.rs:831
↓ 1 callersMethodset_last_cpu
(&self, cpu_id: CpuId)
kernel/src/sched/sched_class/mod.rs:204
↓ 1 callersMethodset_latest_modified_pid
(&mut self, pid: Pid)
kernel/src/ipc/semaphore/system_v/sem.rs:115
↓ 1 callersMethodset_local_shutdown
(&mut self)
kernel/src/net/socket/vsock/stream/connected.rs:189
↓ 1 callersFunctionset_mask
(master_mask: u8, slave_mask: u8)
ostd/src/arch/x86/kernel/irq/pic.rs:27
↓ 1 callersMethodset_mode
(&self, mode: InodeMode)
kernel/src/fs/sysfs/inode.rs:67
↓ 1 callersMethodset_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 callersFunctionset_new_stack
(sig_stack_addr: Vaddr, old_stack: Option<&SigStack>, ctx: &Context)
kernel/src/syscall/sigaltstack.rs:55
↓ 1 callersMethodset_option
( &mut self, option: &dyn SocketOption, socket: &dyn SetIpLevelOption, )
kernel/src/net/socket/ip/options.rs:54
↓ 1 callersMethodset_owner
Sets the owner of the lock to the specified process ID
kernel/src/fs/utils/range_lock/mod.rs:55
↓ 1 callersMethodset_owner
(&self, uid: Uid)
kernel/src/fs/procfs/template/mod.rs:95
↓ 1 callersMethodset_parent
(&mut self, parent: &Dentry)
kernel/src/fs/fs_resolver.rs:403
↓ 1 callersMethodset_parent
(&mut self, parent: Weak<RamInode>)
kernel/src/fs/ramfs/fs.rs:290
↓ 1 callersMethodset_parent
Sets the parent pointer of this node to the given `parent`.
kernel/libs/xarray/src/node.rs:191
↓ 1 callersFunctionset_parent_and_group
(parent: &Process, child: &Arc<Process>)
kernel/src/process/clone.rs:598
↓ 1 callersMethodset_parent_death_signal
Sets the parent death signal as `signum`.
kernel/src/process/process/mod.rs:651
↓ 1 callersMethodset_peer_requested_shutdown
(&self)
kernel/src/net/socket/vsock/stream/connected.rs:132
↓ 1 callersMethodset_permitted_capset
(&self, permitted_capset: CapSet)
kernel/src/process/credentials/credentials_.rs:448
↓ 1 callersMethodset_permitted_capset
(&self, permitted_capset: CapSet)
kernel/src/process/credentials/static_cap.rs:306
↓ 1 callersMethodset_pid_uid
(&mut self, pid: Pid, uid: Uid)
kernel/src/process/signal/c_types.rs:60
↓ 1 callersMethodset_prev_page
Sets the last page visited.
kernel/src/fs/utils/page_cache.rs:328
↓ 1 callersMethodset_process
Update both pid and weak ref.
kernel/src/process/process/mod.rs:171
↓ 1 callersMethodset_processing
(&self)
kernel/src/thread/work_queue/work_item.rs:45
↓ 1 callersMethodset_prop
(&mut self, prop: PageProperty)
ostd/src/arch/loongarch/mm/mod.rs:232
↓ 1 callersMethodset_prop
(&mut self, prop: PageProperty)
ostd/src/arch/x86/iommu/dma_remapping/second_stage.rs:146
↓ 1 callersMethodset_prop
(&mut self, prop: PageProperty)
ostd/src/arch/riscv/mm/mod.rs:174
↓ 1 callersMethodset_queue
( &mut self, idx: u16, queue_size: u16, descriptor_ptr: &SafePtr<Descriptor, D
kernel/comps/virtio/src/transport/pci/device.rs:76
↓ 1 callersMethodset_range
Sets the range of the lock to the specified range
kernel/src/fs/utils/range_lock/mod.rs:65
↓ 1 callersMethodset_range_lock
(&self, lock: &RangeLockItem, is_nonblocking: bool)
kernel/src/fs/inode_handle/mod.rs:188
↓ 1 callersMethodset_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 callersMethodset_rdi
(&mut self, rdi: usize)
ostd/src/arch/x86/tdx_guest.rs:176
↓ 1 callersMethodset_rdx
(&mut self, rdx: usize)
ostd/src/arch/x86/tdx_guest.rs:164
↓ 1 callersMethodset_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 callersMethodset_regid
(&self, rgid: Option<Gid>, egid: Option<Gid>)
kernel/src/process/credentials/static_cap.rs:204
↓ 1 callersMethodset_remote_endpoint
(&mut self, endpoint: &Self::Endpoint)
kernel/src/net/socket/ip/datagram/bound.rs:51
↓ 1 callersMethodset_resgid
( &self, rgid: Option<Gid>, egid: Option<Gid>, sgid: Option<Gid>, )
kernel/src/process/credentials/static_cap.rs:213
↓ 1 callersMethodset_resuid
( &self, ruid: Option<Uid>, euid: Option<Uid>, suid: Option<Uid>, )
kernel/src/process/credentials/static_cap.rs:111
↓ 1 callersMethodset_reuid
(&self, ruid: Option<Uid>, euid: Option<Uid>)
kernel/src/process/credentials/static_cap.rs:102
↓ 1 callersMethodset_rip
(&mut self, rip: usize)
ostd/src/arch/x86/tdx_guest.rs:182
↓ 1 callersMethodset_rip
(&mut self, rip: usize)
ostd/src/arch/x86/cpu/context/tdx.rs:78
↓ 1 callersMethodset_root
Sets the root directory to the given `dentry`.
kernel/src/fs/fs_resolver.rs:51
↓ 1 callersMethodset_rsi
(&mut self, rsi: usize)
ostd/src/arch/x86/tdx_guest.rs:170
↓ 1 callersMethodset_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 callersFunctionset_session_and_group
(process: &Arc<Process>)
kernel/src/process/process/init_proc.rs:82
↓ 1 callersMethodset_sgid
(&self, sgid: Gid)
kernel/src/process/credentials/credentials_.rs:347
↓ 1 callersFunctionset_signal_mask
(set_ptr: Vaddr, ctx: &Context)
kernel/src/syscall/epoll.rs:184
↓ 1 callersFunctionset_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 callersMethodset_status
(&mut self, status: i32)
kernel/src/process/signal/c_types.rs:68
↓ 1 callersMethodset_stream_dentry
(&mut self, stream: &ExfatStreamDentry)
kernel/src/fs/exfat/dentry.rs:381
↓ 1 callersMethodset_suid
(&self, suid: Uid)
kernel/src/process/credentials/credentials_.rs:191
↓ 1 callersMethodset_syscall_num
(&mut self, num: usize)
kernel/src/arch/x86/cpu.rs:30
↓ 1 callersFunctionset_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 callersMethodset_uninitialized
(&self)
kernel/src/process/process_vm/heap.rs:102
↓ 1 callersMethodset_uninitialized
(&self)
kernel/src/process/process_vm/init_stack/mod.rs:214
↓ 1 callersMethodset_val
(&mut self, val: i32)
kernel/src/ipc/semaphore/system_v/sem.rs:107
↓ 1 callersMethodset_whiteout_only_mode
(&mut self)
kernel/src/fs/overlayfs/fs.rs:1049
↓ 1 callersMethodset_window_size
(&mut self, winsize: CWinSize)
kernel/src/device/tty/line_discipline.rs:251
↓ 1 callersMethodset_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 callersMethodsetup_window
Setup the new readahead window.
kernel/src/fs/utils/page_cache.rs:291
↓ 1 callersMethodsetval
(&self, sem_num: usize, val: i32, pid: Pid)
kernel/src/ipc/semaphore/system_v/sem_set.rs:113
↓ 1 callersMethodsgid
(&self)
kernel/src/process/credentials/static_cap.rs:178
↓ 1 callersMethodshift
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 callersMethodshift_map
(&self)
kernel/comps/keyboard/src/i8042_chip/keyboard.rs:227
↓ 1 callersMethodshould_compact
(&self)
kernel/comps/mlsdisk/src/layers/2-edit/journal.rs:749
↓ 1 callersMethodshould_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 callersMethodshould_wake
(&self, old_val: u32)
kernel/src/process/posix_thread/futex.rs:218
↓ 1 callersFunctionshow_help
()
kernel/libs/comp-sys/cargo-component/src/main.rs:18
↓ 1 callersFunctionshow_version
()
kernel/libs/comp-sys/cargo-component/src/main.rs:22
↓ 1 callersMethodshrink
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 callersMethodshut_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 callersMethodshut_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 callersMethodshutdown
(&self, cmd: SockShutdownCmd)
kernel/src/net/socket/unix/stream/connected.rs:287
↓ 1 callersMethodshutdown
(&self, cmd: SockShutdownCmd, pollee: &Pollee)
kernel/src/net/socket/unix/stream/listener.rs:72
↓ 1 callersMethodshutdown
(&self, cmd: SockShutdownCmd)
kernel/src/net/socket/vsock/stream/socket.rs:236
↓ 1 callersMethodsig_num
(&self)
kernel/src/process/signal/events.rs:17
↓ 1 callersFunctionsigkill_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 callersFunctionsingleton
Returns a reference to the global CgroupFs instance. Panics if not initialized.
kernel/src/fs/cgroupfs/mod.rs:18
← previousnext →3,401–3,500 of 7,307, ranked by callers