MCPcopy Create free account

hub / github.com/asterinas/vostd / functions

Functions7,307 in github.com/asterinas/vostd

↓ 2 callersMethodcheck_mountpoint_then_find
Checks if dentry is a mount point, then retrieves it.
kernel/src/fs/path/dentry.rs:485
↓ 2 callersFunctioncheck_sem
Checks the semaphore. Return Ok if the semaphore exists and pass the check.
kernel/src/ipc/semaphore/system_v/sem_set.rs:256
↓ 2 callersMethodcheck_signal_perm
Checks whether the signal can be delivered to the thread. For a signal can be delivered to the thread, the sending thread must either be privileged,
kernel/src/process/posix_thread/mod.rs:143
↓ 2 callersMethodcheck_state
Checks the TCP state for additional events and whether the connection is dead.
kernel/libs/aster-bigtcp/src/socket/bound/tcp_conn.rs:118
↓ 2 callersMethodcheck_uid_perm
For `setreuid`, ruid can *NOT* be set to old suid, while for `setresuid`, ruid can be set to old suid.
kernel/src/process/credentials/credentials_.rs:197
↓ 2 callersMethodchecksum
(&self)
kernel/src/fs/exfat/dentry.rs:690
↓ 2 callersFunctionclaim
()
ostd/src/arch/loongarch/kernel/irq/mod.rs:26
↓ 2 callersMethodclass
(&self)
kernel/src/net/socket/netlink/route/message/attr/link.rs:95
↓ 2 callersFunctionclean_up
test/src/apps/overlayfs/ovl_test.c:113
↓ 2 callersMethodclear
Clears the corresponding [`XArray`].
kernel/libs/xarray/src/lib.rs:208
↓ 2 callersMethodclear
Empty the buffer.
kernel/comps/mlsdisk/src/layers/5-disk/data_buf.rs:99
↓ 2 callersMethodclear_nonexistent_cpu_bits
(&mut self)
ostd/src/cpu/set.rs:133
↓ 2 callersMethodclear_old_group_and_session
( &self, process_group_mut: &mut MutexGuard<Weak<ProcessGroup>>, session_table_mut: &m
kernel/src/process/process/mod.rs:377
↓ 2 callersMethodclear_parent
Clears the parent pointers of this node and all its descendant nodes. This method should be invoked when the node is being removed from the tree.
kernel/libs/xarray/src/node.rs:198
↓ 2 callersMethodclear_parent_death_signal
Clears the parent death signal.
kernel/src/process/process/mod.rs:646
↓ 2 callersMethodclear_root_vmar
Clears all content of the root VMAR.
kernel/src/vm/vmar/mod.rs:533
↓ 2 callersMethodclear_signalled_waker
Clears the signalled waker of this thread.
kernel/src/process/posix_thread/mod.rs:201
↓ 2 callersMethodclone
(&self)
kernel/src/process/credentials/user.rs:66
↓ 2 callersMethodclone
(&self)
kernel/src/fs/inode_handle/dyn_cap.rs:59
↓ 2 callersMethodclone
(&self)
kernel/src/fs/utils/inode.rs:698
↓ 2 callersFunctionclone_child_cleartid
( child_builder: PosixThreadBuilder, child_tidptr: Vaddr, clone_flags: CloneFlags, )
kernel/src/process/clone.rs:420
↓ 2 callersFunctionclone_child_settid
( child_builder: PosixThreadBuilder, child_tidptr: Vaddr, clone_flags: CloneFlags, )
kernel/src/process/clone.rs:432
↓ 2 callersFunctionclone_files
(parent_file_table: &RwArc<FileTable>, clone_flags: CloneFlags)
kernel/src/process/clone.rs:509
↓ 2 callersFunctionclone_fs
(parent_fs: &Arc<ThreadFsInfo>, clone_flags: CloneFlags)
kernel/src/process/clone.rs:501
↓ 2 callersMethodclone_mount_node
Clones a mount node with the an root `Dentry_`. The new mount node will have the same fs as the original one and have no parent and children. We shou
kernel/src/fs/path/mount.rs:106
↓ 2 callersFunctionclone_parent_settid
( child_tid: Tid, parent_tidptr: Option<Vaddr>, clone_flags: CloneFlags, )
kernel/src/process/clone.rs:444
↓ 2 callersFunctionclone_sysvsem
(clone_flags: CloneFlags)
kernel/src/process/clone.rs:532
↓ 2 callersFunctionclone_user_ctx
( parent_context: &UserContext, new_sp: u64, stack_size: Option<NonZeroU64>, tls: u64, clo
kernel/src/process/clone.rs:467
↓ 2 callersMethodclose_files
(&mut self, should_close: F)
kernel/src/fs/file_table.rs:137
↓ 2 callersMethodcluster_size
(&self)
kernel/src/fs/exfat/fat.rs:99
↓ 2 callersMethodcmp
(&self, other: &Self)
kernel/libs/aster-bigtcp/src/iface/poll_iface.rs:154
↓ 2 callersMethodcmp
(&self, other: &Self)
kernel/libs/keyable-arc/src/lib.rs:205
↓ 2 callersMethodcnt_to_next_indirect
Returns the number of blocks remaining before the next indirect block is required.
kernel/src/fs/ext2/block_ptr.rs:132
↓ 2 callersMethodcommand
Gets the PCI Command
ostd/src/bus/pci/common_device.rs:44
↓ 2 callersMethodcommit
Commit the current edit group.
kernel/comps/mlsdisk/src/layers/2-edit/journal.rs:216
↓ 2 callersMethodcommit
Commits the current TX. If the returned value is `Ok`, then the TX is committed successfully. Otherwise, the TX is aborted.
kernel/comps/mlsdisk/src/tx/current.rs:48
↓ 2 callersMethodcommit_on
Commits a page at a specific page index. This method may involve I/O operations if the VMO needs to fecth a page from the underlying page cache.
kernel/src/vm/vmar/vm_mapping.rs:614
↓ 2 callersFunctioncommon_def_path_str
def path for function, type, static variables and trait methods
kernel/libs/comp-sys/cargo-component/analysis/src/lib.rs:268
↓ 2 callersMethodcomplete
Complete one slot within the range, with the specific key and the queried value.
kernel/comps/mlsdisk/src/layers/4-lsm/range_query_ctx.rs:61
↓ 2 callersMethodconfig_msix_irq
Get config space change MSI-X IRQ, this function will return the MSI-X vector and corresponding IRQ.
kernel/comps/virtio/src/transport/pci/msix.rs:38
↓ 2 callersMethodconflict_with
Checks if this lock conflicts with another lock Returns true if there is a conflict, otherwise false
kernel/src/fs/utils/range_lock/mod.rs:71
↓ 2 callersMethodconnect
(&self)
kernel/src/net/socket/unix/addr.rs:41
↓ 2 callersMethodconnect_state
Returns the state of the connecting procedure.
kernel/libs/aster-bigtcp/src/socket/bound/tcp_conn.rs:338
↓ 2 callersFunctionconsts
()
kernel/src/sched/sched_class/time.rs:37
↓ 2 callersMethodcontains_unsynced
Whether the value contains an unsynced value.
kernel/comps/mlsdisk/src/layers/4-lsm/mem_table.rs:336
↓ 2 callersMethodcontinue_traverse_to_target
Traverses from an interior node to the leaf node according to the target index. This method will not create new nodes. If the cursor can not reach th
kernel/libs/xarray/src/cursor.rs:156
↓ 2 callersFunctionconvert_to_time_duration
FIXME: need to further check precision loss convert core::time::Duration to time::Duration
kernel/src/time/system_time.rs:108
↓ 2 callersFunctioncopy_iovs_and_convert
The util function for create [`VmReader`]/[`VmWriter`]s.
kernel/src/util/iovec.rs:57
↓ 2 callersMethodcount
(&self)
kernel/src/fs/utils/dirent_visitor.rs:47
↓ 2 callersMethodcount
Returns the number of CPUs in the set.
ostd/src/cpu/set.rs:74
↓ 2 callersMethodcount_events_from
Counts the number of the ready files from the given index.
kernel/src/syscall/poll.rs:185
↓ 2 callersMethodcount_num_sub_inode_and_dir
(&self, fs_guard: &MutexGuard<()>)
kernel/src/fs/exfat/inode.rs:245
↓ 2 callersMethodcpu_affinity
Sets the CPU affinity of the new thread.
kernel/src/thread/kernel_thread.rs:40
↓ 2 callersMethodcpu_affinity
(&self)
kernel/src/thread/work_queue/work_item.rs:33
↓ 2 callersMethodcpu_exception
Get corresponding CPU exception
ostd/src/arch/riscv/cpu/context.rs:98
↓ 2 callersMethodcreate
(&self, name: Arc<[u8]>)
kernel/src/net/socket/unix/ns/abs.rs:41
↓ 2 callersMethodcreate_master_slave_pair
Create the master and slave pair.
kernel/src/fs/devpts/mod.rs:63
↓ 2 callersFunctioncreate_raw_log_store
()
kernel/comps/mlsdisk/src/layers/3-log/raw_log.rs:1094
↓ 2 callersFunctioncreate_timer
Creates a timer associated with the specified clock ID. This timer will invoke the given callback function (`func`) when it expires.
kernel/src/syscall/timer_create.rs:127
↓ 2 callersMethodcreate_virtual_timer
Creates a timer based on the user CPU clock of the current thread.
kernel/src/process/posix_thread/mod.rs:263
↓ 2 callersMethodcred
(&self)
kernel/src/net/socket/unix/stream/listener.rs:95
↓ 2 callersMethodcredit_request
Request the peer to send the credit info to us
kernel/comps/virtio/src/device/socket/device.rs:166
↓ 2 callersMethodcredit_update
Tell the peer our credit info
kernel/comps/virtio/src/device/socket/device.rs:175
↓ 2 callersMethodctime
(&self)
kernel/src/fs/ext2/inode.rs:1302
↓ 2 callersMethodcurrent
Returns the current thread. This function returns `None` if the current task is not associated with a thread, or if called within the bootstrap conte
kernel/src/thread/mod.rs:94
↓ 2 callersFunctioncurrent_thread_sender_ids
(signum: Option<&SigNum>, ctx: &Context)
kernel/src/process/kill.rs:172
↓ 2 callersMethoddaddr
(&self)
kernel/comps/network/src/buffer.rs:75
↓ 2 callersFunctiondealloc
(guard: &DisabledLocalIrqGuard, addr: Paddr, size: usize)
osdk/deps/frame-allocator/src/cache.rs:138
↓ 2 callersMethoddec_free_blocks
(&mut self, count: u16)
kernel/src/fs/ext2/block_group.rs:439
↓ 2 callersMethoddec_free_inodes
(&mut self)
kernel/src/fs/ext2/block_group.rs:426
↓ 2 callersMethoddecommit_pages
( &self, mut locked_pages: LockedXArray<UFrame>, range: Range<usize>, )
kernel/src/vm/vmo/mod.rs:438
↓ 2 callersFunctiondef_path_if_invalid_access
(def_id: DefId, tcx: TyCtxt<'_>)
kernel/libs/comp-sys/cargo-component/analysis/src/lib.rs:213
↓ 2 callersMethoddel_interest
(&self, fd: FileDesc, file: KeyableWeak<dyn FileLike>)
kernel/src/fs/epoll/file.rs:124
↓ 2 callersMethodderef
(&self)
ostd/src/cpu/local/mod.rs:150
↓ 2 callersMethodderef
(&self)
ostd/src/sync/rcu/non_null/mod.rs:374
↓ 2 callersMethodderef_mut
(&mut self)
ostd/src/arch/x86/kernel/irq/mod.rs:147
↓ 2 callersFunctiondeserialize_toml_manifest
(path: impl AsRef<Path>)
osdk/src/config/manifest.rs:107
↓ 2 callersMethoddestroy
(&self)
kernel/src/thread/work_queue/worker.rs:117
↓ 2 callersMethoddevice_id
PCI device ID
ostd/src/bus/pci/common_device.rs:24
↓ 2 callersMethoddevpts
(&self)
kernel/src/fs/devpts/ptmx.rs:52
↓ 2 callersMethoddisable_callback
Disables registered callbacks. That is to say, the queue won't generate interrupts after calling this method.
kernel/comps/virtio/src/queue.rs:381
↓ 2 callersFunctiondisable_local_if
(cond: bool)
ostd/src/arch/x86/trap/mod.rs:155
↓ 2 callersMethoddispatch
(&self, pkt: &Packet, iface_cx: &mut Context, tx_token: T)
kernel/libs/aster-bigtcp/src/iface/phy/ether.rs:200
↓ 2 callersFunctiondo_accept
( sockfd: FileDesc, sockaddr_ptr: Vaddr, addrlen_ptr: Vaddr, flags: Flags, ctx: &Context,
kernel/src/syscall/accept.rs:43
↓ 2 callersFunctiondo_alloc_dealloc_tx
(chunk_alloc: &ChunkAlloc, alloc_cnt: usize, dealloc_cnt: usize)
kernel/comps/mlsdisk/src/layers/3-log/chunk.rs:437
↓ 2 callersMethoddo_build
(&mut self, data_node_entries: Vec<MhtNodeEntry>)
kernel/comps/mlsdisk/src/layers/1-crypto/crypto_log.rs:437
↓ 2 callersFunctiondo_clock_nanosleep
( clockid: clockid_t, is_abs_time: bool, request_timespec_addr: Vaddr, remain_timespec_addr: V
kernel/src/syscall/nanosleep.rs:60
↓ 2 callersMethoddo_contain_log
(&self, log_id: TxLogId, state: &State, current_tx: &CurrentTx<'_>)
kernel/comps/mlsdisk/src/layers/3-log/tx_log.rs:629
↓ 2 callersFunctiondo_dealloc
( local_pool: &mut BuddySet<MAX_LOCAL_BUDDY_ORDER>, global_pool: &mut OnDemandGlobalLock, segments
osdk/deps/frame-allocator/src/pools/mod.rs:122
↓ 2 callersFunctiondo_dup3
( old_fd: FileDesc, new_fd: FileDesc, flags: FdFlags, ctx: &Context, )
kernel/src/syscall/dup.rs:49
↓ 2 callersFunctiondo_execve
( elf_file: Dentry, argv_ptr_ptr: Vaddr, envp_ptr_ptr: Vaddr, ctx: &Context, user_context:
kernel/src/syscall/execve.rs:83
↓ 2 callersFunctiondo_fallocate_util
( inode: &Arc<dyn Inode>, status_flags: StatusFlags, mode: FallocMode, offset: usize, len:
kernel/src/fs/inode_handle/mod.rs:373
↓ 2 callersFunctiondo_futimesat
Sets the access and modification times for a file, specified by a pathname relative to the directory file descriptor `dirfd`.
kernel/src/syscall/utimens.rs:184
↓ 2 callersFunctiondo_new_base_crate
( base_crate_path: impl AsRef<Path>, dep_crate_name: &str, dep_crate_path: impl AsRef<Path>, l
osdk/src/base_crate/mod.rs:115
↓ 2 callersFunctiondo_poll
(poll_fds: &[PollFd], timeout: Option<&Duration>, ctx: &Context)
kernel/src/syscall/poll.rs:83
↓ 2 callersFunctiondo_resize_util
( inode: &Arc<dyn Inode>, status_flags: StatusFlags, new_size: usize, )
kernel/src/fs/inode_handle/mod.rs:400
↓ 2 callersFunctiondo_schedule
( taskless: &Arc<Taskless>, taskless_list: &'static StaticCpuLocal<RefCell<LinkedList<TasklessAdapter>
kernel/comps/softirq/src/taskless.rs:120
↓ 2 callersFunctiondo_seek_util
(inode: &Arc<dyn Inode>, offset: &Mutex<usize>, pos: SeekFrom)
kernel/src/fs/inode_handle/mod.rs:344
↓ 2 callersFunctiondo_smart_wakeup_zero
Wakeup all wait for zero tasks, ref: <https://elixir.bootlin.com/linux/v6.0.9/source/ipc/sem.c#L893>
kernel/src/ipc/semaphore/system_v/sem.rs:265
↓ 2 callersFunctiondo_sys_eventfd2
(init_val: u64, flags: Flags, ctx: &Context)
kernel/src/syscall/eventfd.rs:54
← previousnext →1,501–1,600 of 7,307, ranked by callers