MCPcopy Create free account

hub / github.com/asterinas/vostd / functions

Functions7,307 in github.com/asterinas/vostd

↓ 2 callersMethodset_parent
Sets the parent mount node. In some cases we may need to reset the parent of the created MountNode, such as move mount.
kernel/src/fs/path/mount.rs:246
↓ 2 callersMethodset_parent_ino
(&mut self, parent_ino: u32)
kernel/src/fs/ext2/inode.rs:1148
↓ 2 callersMethodset_policy
Updates the scheduling policy of the thread. Specifically for real-time policies, if the new policy doesn't specify a base slice factor for RR, the o
kernel/src/sched/sched_class/mod.rs:176
↓ 2 callersMethodset_range_unused
( &mut self, clusters: Range<ClusterID>, sync: bool, )
kernel/src/fs/exfat/bitmap.rs:106
↓ 2 callersMethodset_resgid_unchecked
(&self, rgid: Option<Gid>, egid: Option<Gid>, sgid: Option<Gid>)
kernel/src/process/credentials/credentials_.rs:405
↓ 2 callersMethodset_resuid_unchecked
(&self, ruid: Option<Uid>, euid: Option<Uid>, suid: Option<Uid>)
kernel/src/process/credentials/credentials_.rs:244
↓ 2 callersMethodset_signalled_waker
Sets the input [`Waker`] as the signalled waker of this thread. This approach can collaborate with signal-aware wait methods. Once a signalled waker
kernel/src/process/posix_thread/mod.rs:194
↓ 2 callersMethodset_status
Sets the status of the Tx.
kernel/comps/mlsdisk/src/tx/mod.rs:203
↓ 2 callersMethodset_tail_file
(&mut self, file_name: &str, file_is_dir: bool)
kernel/src/fs/fs_resolver.rs:399
↓ 2 callersMethodset_terminal
Sets the controlling terminal of the session. The caller needs to ensure that the job control of the old and new controlling terminals are properly u
kernel/src/process/process/session.rs:94
↓ 2 callersFunctionset_this_cpu_id
Initializes the current CPU ID. # Safety This method must be called on each processor during the early boot phase of the processor. The caller must
ostd/src/cpu/mod.rs:117
↓ 2 callersMethodset_timer_div_config
(&self, div_config: super::DivideConfig)
ostd/src/arch/x86/kernel/apic/xapic.rs:113
↓ 2 callersMethodset_to_none
Sets the inner value of an `AtomicCpuId` to `AtomicCpuId::NONE`, i.e. makes an `AtomicCpuId` empty.
ostd/src/task/scheduler/info.rs:56
↓ 2 callersMethodset_uid
(&self, uid: u32)
kernel/src/fs/ext2/inode.rs:768
↓ 2 callersMethodset_unused
(&mut self, cluster: u32, sync: bool)
kernel/src/fs/exfat/bitmap.rs:98
↓ 2 callersMethodset_vmar
Sets a new VMAR for the binding process. If the `new_vmar` is `None`, this method will remove the current VMAR.
kernel/src/process/process_vm/mod.rs:100
↓ 2 callersFunctionset_xmm8
test/src/apps/signal_c/signal_fpu.c:13
↓ 2 callersFunctionsetup_page_table_with_two_frames
()
ostd/src/mm/page_table/test.rs:377
↓ 2 callersMethodshift_lines_up
(&mut self)
kernel/comps/framebuffer/src/console.rs:138
↓ 2 callersMethodshould_close
(&self)
kernel/src/net/socket/vsock/stream/connected.rs:88
↓ 2 callersMethodshrink_blocks
Shrinks inode blocks. After the reduction, the block count will be decreased to `range.start`.
kernel/src/fs/ext2/inode.rs:1664
↓ 2 callersMethodshutdown
(&self)
kernel/src/fs/utils/channel.rs:364
↓ 2 callersMethodsig_pending
(&self)
kernel/src/process/posix_thread/mod.rs:119
↓ 2 callersMethodsize
(&self)
osdk/src/bundle/file.rs:48
↓ 2 callersMethodsize
(&self)
kernel/src/process/posix_thread/futex.rs:371
↓ 2 callersMethodsize
(&self)
kernel/src/fs/utils/systree_inode.rs:305
↓ 2 callersMethodsize
(&self)
kernel/src/fs/exfat/inode.rs:1102
↓ 2 callersMethodsize
Return size of the queue.
kernel/comps/virtio/src/queue.rs:353
↓ 2 callersMethodsize
(&self)
ostd/src/arch/x86/iommu/invalidate/queue.rs:30
↓ 2 callersFunctionslot_size_from_layout
Gets the size and type of heap slots to serve allocations of the layout. This function is defined by the OSTD user and should be idempotent, as we re
ostd/src/mm/heap/mod.rs:74
↓ 2 callersMethodsockets
Acquires the lock to the socket table.
kernel/libs/aster-bigtcp/src/iface/common.rs:111
↓ 2 callersMethodsplit
Splits the [`RingBuffer`] into a producer and a consumer.
kernel/src/util/ring_buffer.rs:99
↓ 2 callersFunctionsplit_to_order
Splits a large buddy chunk into two smaller buddies of order `split_order`. Returns the addresses of each buddy. # Panics Panics if the address is
osdk/deps/frame-allocator/src/chunk.rs:98
↓ 2 callersMethodstack_pointer
(&self)
ostd/src/arch/x86/task/mod.rs:83
↓ 2 callersFunctionstart_block_device
(device_name: &str)
kernel/src/fs/mod.rs:37
↓ 2 callersMethodstart_frame_index
(&self)
kernel/libs/aster-util/src/segment_slice.rs:90
↓ 2 callersMethodstart_vaddr
Returns a pointer to the local chunk owned by the BSP.
ostd/src/cpu/local/dyn_cpu_local.rs:145
↓ 2 callersMethodstate
Returns the state represented by the journal.
kernel/comps/mlsdisk/src/layers/2-edit/journal.rs:195
↓ 2 callersMethodstatus
Returns the status of the TX.
kernel/comps/mlsdisk/src/tx/mod.rs:198
↓ 2 callersMethodstatus_flags
(&self)
kernel/src/fs/pipe.rs:114
↓ 2 callersMethodstore_attr
Stores the string value of an attribute. Most attributes are textual, rather binary. So using this `store_attr` method is more convenient than the `w
kernel/comps/systree/src/node.rs:167
↓ 2 callersMethodstrong_count
(this: &Self)
kernel/libs/keyable-arc/src/lib.rs:148
↓ 2 callersFunctionstub_type_of
(stub: &str)
osdk/src/commands/run.rs:141
↓ 2 callersMethodsub
Subtracts `a` from the counter on the given CPU.
osdk/deps/frame-allocator/src/smp_counter.rs:66
↓ 2 callersMethodsub
(self, rhs: T)
kernel/src/process/signal/sig_mask.rs:108
↓ 2 callersMethodsub_assign
(&mut self, rhs: T)
kernel/src/process/signal/sig_mask.rs:116
↓ 2 callersMethodsubmit
Mark the request as submitted.
kernel/comps/mlsdisk/src/layers/5-disk/bio.rs:192
↓ 2 callersMethodsubmit_bio_sync
Submit a new block I/O request and wait its completion (Synchronous).
kernel/comps/mlsdisk/src/layers/5-disk/mlsdisk.rs:317
↓ 2 callersFunctionsubmit_work_func
Submit a function to a global work queue.
kernel/src/thread/work_queue/mod.rs:86
↓ 2 callersMethodsubstitute_entry
( &mut self, idx: usize, new_entry: (CStr256, Arc<RamInode>), )
kernel/src/fs/ramfs/fs.rs:335
↓ 2 callersMethodsuid
(&self)
kernel/src/process/credentials/static_cap.rs:68
↓ 2 callersMethodsuper_block
Returns the super block.
kernel/src/fs/ext2/fs.rs:132
↓ 2 callersMethodsupported_adjusted_guest_address_widths
Supported Adjusted Guest Address Widths.
ostd/src/arch/x86/iommu/registers/capability.rs:56
↓ 2 callersMethodsync
(&self)
kernel/src/fs/ext2/impl_for_vfs/fs.rs:14
↓ 2 callersMethodsync
Sync all cached data in the device to the storage medium for durability.
kernel/comps/mlsdisk/src/layers/5-disk/mlsdisk.rs:200
↓ 2 callersMethodsync_data
(&self)
kernel/src/fs/ext2/inode.rs:1156
↓ 2 callersFunctionsys_fchownat
( dirfd: FileDesc, path_ptr: Vaddr, uid: i32, gid: i32, flags: u32, ctx: &Context, )
kernel/src/syscall/chown.rs:49
↓ 2 callersFunctionsys_fstatat
( dirfd: FileDesc, filename_ptr: Vaddr, stat_buf_ptr: Vaddr, flags: u32, ctx: &Context, )
kernel/src/syscall/stat.rs:43
↓ 2 callersFunctionsys_openat
( dirfd: FileDesc, path_addr: Vaddr, flags: u32, mode: u16, ctx: &Context, )
kernel/src/syscall/open.rs:14
↓ 2 callersFunctionsys_rmdirat
( dirfd: FileDesc, path_addr: Vaddr, ctx: &Context, )
kernel/src/syscall/rmdir.rs:17
↓ 2 callersMethodsyscall_num
(&self)
kernel/src/arch/x86/cpu.rs:22
↓ 2 callersFunctionsystem_console
Returns the system console, i.e., `/dev/console`.
kernel/src/device/tty/n_tty.rs:98
↓ 2 callersMethodsystem_qemu
(&self)
osdk/src/arch.rs:56
↓ 2 callersMethodt_get
(&self)
kernel/libs/comp-sys/cargo-component/tests/reexport_test/foo/src/lib.rs:36
↓ 2 callersMethodtable
(&self)
kernel/src/process/process_vm/init_stack/aux_vec.rs:92
↓ 2 callersMethodtable
(&self, guid: &EfiGuid)
ostd/src/arch/loongarch/boot/efi.rs:82
↓ 2 callersMethodtail
(&self)
ostd/src/arch/x86/iommu/invalidate/queue.rs:26
↓ 2 callersMethodtail_is_dir
(&self)
kernel/src/fs/fs_resolver.rs:388
↓ 2 callersMethodtail_len
(&self)
kernel/comps/mlsdisk/src/layers/3-log/raw_log.rs:602
↓ 2 callersMethodtail_mut_with
Apply given function to the mutable tail.
kernel/comps/mlsdisk/src/layers/3-log/raw_log.rs:668
↓ 2 callersMethodtake_bufs
Take the buffers out of the request.
kernel/comps/mlsdisk/src/layers/5-disk/bio.rs:135
↓ 2 callersFunctiontarget_pool
Gets the target pool with the given `direction`.
kernel/comps/block/src/bio.rs:693
↓ 2 callersMethodtask
Returns the task associated with this thread.
kernel/src/thread/mod.rs:99
↓ 2 callersFunctiontaskless_softirq_handler
Executes the pending taskless jobs in the input `taskless_list`. This function will retrieve each `Taskless` in the input `taskless_list` and leave i
kernel/comps/softirq/src/taskless.rs:156
↓ 2 callersMethodtest_and_clear_error
(&self)
kernel/src/net/socket/ip/stream/init.rs:216
↓ 2 callersFunctionthread_master
test/src/apps/exit/exit_procfs.c:55
↓ 2 callersMethodtimeout
(&self)
kernel/src/net/socket/util/linger_option.rs:20
↓ 2 callersMethodto_effective_c_cred
(&self)
kernel/src/net/socket/unix/cred.rs:40
↓ 2 callersMethodto_info
(&self)
kernel/src/process/signal/signals/user.rs:54
↓ 2 callersMethodto_key
(&self)
kernel/src/net/socket/unix/addr.rs:86
↓ 2 callersMethodto_time_slice
(self)
kernel/src/sched/sched_class/real_time.rs:41
↓ 2 callersMethodtotal_len
Returns the length of the control message (payload + header, excluding paddings).
kernel/src/net/socket/util/message_header.rs:186
↓ 2 callersMethodtotal_nblocks
Returns the total number of blocks occupied by the `TxLogStore`.
kernel/comps/mlsdisk/src/layers/3-log/tx_log.rs:726
↓ 2 callersMethodtrait_ident
the trait ident
kernel/libs/typeflags/src/type_flag.rs:115
↓ 2 callersMethodtry_commit_page
Commits the page corresponding to the target offset in the VMO. If the commit operation needs to perform I/O, it will return a [`VmoCommitError::Need
kernel/src/vm/vmo/mod.rs:246
↓ 2 callersMethodtry_commit_with_cursor
( &self, cursor: &mut Cursor<'_, UFrame>, )
kernel/src/vm/vmo/mod.rs:222
↓ 2 callersMethodtry_connect
(&self, backlog: &Arc<Backlog>)
kernel/src/net/socket/unix/stream/socket.rs:213
↓ 2 callersMethodtry_merge_with
Attempts to merge `self` with the given `vm_mapping` if they are adjacent and compatible. Two mappings are considered *adjacent* if the end address o
kernel/src/vm/vmar/vm_mapping.rs:518
↓ 2 callersMethodtry_pick_next
(&mut self)
ostd/src/task/scheduler/fifo_scheduler.rs:107
↓ 2 callersMethodtry_read
(&self, writer: &mut VmWriter)
kernel/src/syscall/eventfd.rs:123
↓ 2 callersMethodtry_read
Attempt non-blocking read operation
kernel/src/syscall/signalfd.rs:211
↓ 2 callersMethodtry_read
(&self, writer: &mut VmWriter)
kernel/src/time/timerfd.rs:84
↓ 2 callersMethodtry_read
(&self, writer: &mut VmWriter)
kernel/src/fs/pipe.rs:71
↓ 2 callersMethodtry_recv
( &self, writer: &mut dyn MultiWrite, flags: SendRecvFlags, )
kernel/src/net/socket/netlink/kobject_uevent/bound.rs:60
↓ 2 callersMethodtry_set_lock
Attempts to set a lock on the file. If no conflicting locks exist, the lock is set and the function returns `Ok(())`. If a conflicting lock exists: -
kernel/src/fs/utils/flock.rs:116
↓ 2 callersMethodtry_set_lock
Attempts to set a lock on the file. If no conflicting locks exist, the lock is set and the function returns `Ok(())`. If a conflicting lock exists: -
kernel/src/fs/utils/range_lock/mod.rs:228
↓ 2 callersMethodtry_write
(&self, reader: &mut VmReader)
kernel/src/fs/pipe.rs:179
↓ 2 callersMethodtype_
(&self)
kernel/src/net/socket/netlink/route/message/attr/link.rs:107
↓ 2 callersMethodtype_
Returns the type of the control message.
kernel/src/net/socket/util/message_header.rs:176
↓ 2 callersMethodtype_
Returns the type of the I/O.
kernel/comps/block/src/request_queue.rs:152
← previousnext →2,001–2,100 of 7,307, ranked by callers