MCPcopy Create free account

hub / github.com/asterinas/vostd / functions

Functions7,307 in github.com/asterinas/vostd

↓ 1 callersMethodto_dentries
(&self)
kernel/src/fs/exfat/dentry.rs:711
↓ 1 callersMethodto_existing_group
Moves the process to an existing group.
kernel/src/process/process/mod.rs:487
↓ 1 callersFunctionto_flat_binary
We need a flat binary which satisfies PA delta == File offset delta, and objcopy does not satisfy us well, so we should parse the ELF and do our own o
ostd/libs/linux-bzimage/builder/src/lib.rs:84
↓ 1 callersMethodto_new_group
Creates a new process group and moves the process to the group.
kernel/src/process/process/mod.rs:545
↓ 1 callersMethodto_new_session
Moves the process to the new session. This method will create a new process group in a new session, move the process to the new session, and return t
kernel/src/process/process/mod.rs:342
↓ 1 callersMethodto_real_c_cred
(&self)
kernel/src/net/socket/unix/cred.rs:50
↓ 1 callersMethodto_signalfd_siginfo
(&self)
kernel/src/syscall/signalfd.rs:349
↓ 1 callersMethodtotal_blocks
Returns total number of blocks.
kernel/src/fs/ext2/super_block.rs:203
↓ 1 callersMethodtotal_blocks
Returns the total number of blocks in the device.
kernel/comps/mlsdisk/src/layers/5-disk/mlsdisk.rs:210
↓ 1 callersMethodtotal_inodes
Returns total number of inodes.
kernel/src/fs/ext2/super_block.rs:198
↓ 1 callersMethodtotal_len
Returns the total length of the uevent.
kernel/src/net/socket/netlink/kobject_uevent/message/mod.rs:43
↓ 1 callersMethodtotal_len
(&self)
kernel/src/net/socket/netlink/message/mod.rs:64
↓ 1 callersMethodtotal_len
(&self)
kernel/src/net/socket/netlink/message/segment/common.rs:75
↓ 1 callersMethodtotal_len_with_padding
Returns the length of the control message (payload + header, including paddings).
kernel/src/net/socket/util/message_header.rs:196
↓ 1 callersFunctiontrace_panic_from_log
Print source line stack trace if a panic is detected from QEMU log. The source line is produced with the `addr2line` command using the PC values in t
osdk/src/util.rs:274
↓ 1 callersFunctiontrack_files
Track files that may be accessed at runtime in `file_depinfo` so that cargo will re-run component-driver when any of them are modified
kernel/libs/comp-sys/cargo-component/src/driver.rs:52
↓ 1 callersFunctiontrait_and_items_def
define the main trait and all items
kernel/libs/typeflags/src/util.rs:46
↓ 1 callersMethodtrait_def_tokens
tokens to define the trait
kernel/libs/typeflags/src/type_flag.rs:75
↓ 1 callersMethodtrait_method
(&self)
kernel/libs/comp-sys/cargo-component/tests/trait_method_test/foo2/src/lib.rs:34
↓ 1 callersMethodtransit_to_next_state
(&self, dentry: &ExfatDentry)
kernel/src/fs/exfat/dentry.rs:141
↓ 1 callersMethodtransmit
(&mut self, _timestamp: Instant)
kernel/comps/network/src/driver.rs:26
↓ 1 callersMethodtriple
Get the target triple for the architecture.
osdk/src/arch.rs:47
↓ 1 callersMethodtry_accept
(&self)
kernel/src/net/socket/unix/stream/socket.rs:254
↓ 1 callersMethodtry_accept
(&self)
kernel/src/net/socket/vsock/stream/socket.rs:54
↓ 1 callersMethodtry_accept
(&self)
kernel/src/net/socket/ip/stream/mod.rs:289
↓ 1 callersMethodtry_dealloc
Attempts to deallocate a previously allocated CPU-local object. Returns `Err(cpu_local)` if the object does not belong to this chunk.
ostd/src/cpu/local/dyn_cpu_local.rs:197
↓ 1 callersMethodtry_expand_blocks
Attempts to expand a range of blocks and returns the number of consecutive blocks successfully allocated. Note that the returned number may be less t
kernel/src/fs/ext2/inode.rs:1423
↓ 1 callersFunctiontry_merge
Attempts to merge two [`VmMapping`]s into a single mapping if they are adjacent and compatible. - Returns the merged [`VmMapping`] if successful. The
kernel/src/vm/vmar/vm_mapping.rs:654
↓ 1 callersMethodtry_operate_on_range
Traverses the indices within a specified range of a VMO sequentially. For each index position, you have the option to commit the page as well as perf
kernel/src/vm/vmo/mod.rs:266
↓ 1 callersMethodtry_operate_on_range
Traverses the indices within a specified range of a VMO sequentially. For each index position, you have the option to commit the page as well as perf
kernel/src/vm/vmar/vm_mapping.rs:624
↓ 1 callersMethodtry_pending
(&self)
kernel/src/thread/work_queue/work_item.rs:57
↓ 1 callersMethodtry_pop
Tries to read an item from the channel. - Returns `Ok(Some(_))` with the popped item if successful. - Returns `Ok(None)` if the channel is shut down
kernel/src/fs/utils/channel.rs:246
↓ 1 callersMethodtry_push
Tries to push `item` to the channel. - Returns `Ok(())` if successful. - Returns `Err(EPIPE)` if the channel is shut down. - Returns `Err(EAGAIN)` if
kernel/src/fs/utils/channel.rs:164
↓ 1 callersMethodtry_read
Reads bytes from `self` to `dst`, returning the actual bytes read. # Errors If no bytes are available or the available bytes are fewer than `min(dst
kernel/src/device/tty/line_discipline.rs:187
↓ 1 callersMethodtry_read
(&self, buf: &mut [u8])
kernel/src/device/pty/driver.rs:36
↓ 1 callersMethodtry_read
( &self, writer: &mut dyn MultiWrite, is_seqpacket: bool, )
kernel/src/net/socket/unix/stream/connected.rs:99
↓ 1 callersMethodtry_read
Tries to read `buf` from the channel. - Returns `Ok(_)` with the number of bytes read if successful. - Returns `Ok(0)` if the channel is shut down an
kernel/src/fs/utils/channel.rs:218
↓ 1 callersMethodtry_recv
( &self, buf: &mut dyn MultiWrite, _flags: SendRecvFlags, )
kernel/src/net/socket/unix/stream/socket.rs:200
↓ 1 callersMethodtry_recv
( &self, writer: &mut dyn MultiWrite, _flags: SendRecvFlags, )
kernel/src/net/socket/vsock/stream/socket.rs:91
↓ 1 callersMethodtry_recv
FIXME: This method is marked as `pub(super)` because it's invoked during kernel mode testing.
kernel/src/net/socket/netlink/common/mod.rs:72
↓ 1 callersMethodtry_recv
( &self, writer: &mut dyn MultiWrite, flags: SendRecvFlags, )
kernel/src/net/socket/ip/datagram/mod.rs:65
↓ 1 callersMethodtry_recv
( &self, writer: &mut dyn MultiWrite, flags: SendRecvFlags, )
kernel/src/net/socket/ip/stream/mod.rs:310
↓ 1 callersMethodtry_send
( &self, buf: &mut dyn MultiRead, aux_data: &mut AuxiliaryData, _flags: SendRe
kernel/src/net/socket/unix/stream/socket.rs:186
↓ 1 callersMethodtry_send
( &self, reader: &mut dyn MultiRead, remote: Option<&NetlinkSocketAddr>, flags
kernel/src/net/socket/netlink/common/mod.rs:50
↓ 1 callersMethodtry_send
( &self, reader: &mut dyn MultiRead, remote: Option<&IpEndpoint>, flags: SendR
kernel/src/net/socket/ip/datagram/mod.rs:80
↓ 1 callersMethodtry_send
(&self, reader: &mut dyn MultiRead, flags: SendRecvFlags)
kernel/src/net/socket/ip/stream/mod.rs:347
↓ 1 callersMethodtry_shrink_blocks
Attempts to shrink a range of blocks and returns the number of blocks successfully freed. Note that the returned number may be less than the requeste
kernel/src/fs/ext2/inode.rs:1690
↓ 1 callersMethodtry_write
( &self, reader: &mut dyn MultiRead, aux_data: &mut AuxiliaryData, is_seqpacke
kernel/src/net/socket/unix/stream/connected.rs:210
↓ 1 callersMethodtry_write
Tries to write `buf` to the channel. - Returns `Ok(_)` with the number of bytes written if successful. - Returns `Err(EPIPE)` if the channel is shut
kernel/src/fs/utils/channel.rs:137
↓ 1 callersFunctiontsc_factors
Returns the numerator and denominator of the ratio R: R = 10^9 (ns in a sec) / TSC clock frequency
kernel/src/sched/sched_class/time.rs:10
↓ 1 callersMethodtyp
(&self)
kernel/comps/virtio/src/transport/pci/capability.rs:45
↓ 1 callersMethodtype_
(&self)
kernel/src/net/socket/netlink/route/message/attr/addr.rs:49
↓ 1 callersMethodtype_
Returns the type of the attribute.
kernel/src/net/socket/netlink/message/attr/mod.rs:66
↓ 1 callersMethodtype_
(&self)
kernel/src/fs/devpts/ptmx.rs:84
↓ 1 callersMethodtype_
(&self)
kernel/src/fs/ramfs/fs.rs:668
↓ 1 callersMethodtype_
(&self)
ostd/src/arch/x86/cpu/context/mod.rs:201
↓ 1 callersFunctiontype_from_layout
Get the type of the slot from the layout. It should be used to define [`ostd::global_heap_allocator_slot_map`].
osdk/deps/heap-allocator/src/allocator.rs:89
↓ 1 callersMethodunicast
(&self, dst_port: PortNum, message: Message)
kernel/src/net/socket/netlink/table/mod.rs:144
↓ 1 callersMethodunlink
(&self, name: &str)
kernel/src/fs/utils/inode.rs:432
↓ 1 callersFunctionunlink_if_exists
test/src/apps/overlayfs/ovl_test.c:106
↓ 1 callersMethodunmount
Unmounts a child mount node from the mountpoint and returns it. The mountpoint should belong to this mount node, or an error is returned.
kernel/src/fs/path/mount.rs:89
↓ 1 callersMethodunregister
Unregisters a file system control interface.
kernel/src/fs/registry.rs:144
↓ 1 callersFunctionunregister_backlog
(addr: &UnixSocketAddrKey)
kernel/src/net/socket/unix/stream/listener.rs:315
↓ 1 callersMethodunregister_observer
Unregisters an observer which watches `PidEvent`.
kernel/src/process/process_table.rs:71
↓ 1 callersMethodunset_child_subreaper
Unsets the child subreaper attribute of the current process.
kernel/src/process/process/mod.rs:731
↓ 1 callersMethodunset_control
Unsets the terminal from the controlling terminal of the process.
kernel/src/process/process/terminal.rs:127
↓ 1 callersMethodunset_session
Unsets the session because its controlling terminal is no longer this terminal. This method will return the foreground process group before the sessi
kernel/src/process/process/job_control.rs:82
↓ 1 callersMethodunset_whiteout_only_mode
(&mut self)
kernel/src/fs/overlayfs/fs.rs:1053
↓ 1 callersMethodupdate
Gets the instant to update the internal instant in the `ClockSource`.
kernel/comps/time/src/clocksource.rs:158
↓ 1 callersMethodupdate_alloc_table
Update the metadata in diff table to the in-memory block validity table.
kernel/comps/mlsdisk/src/layers/5-disk/block_alloc.rs:366
↓ 1 callersFunctionupdate_clocksource
()
kernel/comps/time/src/tsc.rs:56
↓ 1 callersMethodupdate_ctime
(&self)
kernel/src/ipc/semaphore/system_v/sem_set.rs:158
↓ 1 callersMethodupdate_current
(&mut self, flags: super::UpdateFlags)
ostd/src/task/scheduler/fifo_scheduler.rs:100
↓ 1 callersMethodupdate_diff_log
Persist the metadata in diff table to the block validity diff log. # Panics This method must be called within a TX. Otherwise, this method panics.
kernel/comps/mlsdisk/src/layers/5-disk/block_alloc.rs:337
↓ 1 callersFunctionupdate_existing_signalfd
( ctx: &Context, fd: FileDesc, new_mask: SigMask, non_blocking: bool, )
kernel/src/syscall/signalfd.rs:102
↓ 1 callersMethodupdate_item_keys
(&mut self, key: FutexKey, new_key: FutexKey, max_count: usize)
kernel/src/process/posix_thread/futex.rs:408
↓ 1 callersFunctionupdate_loadavg
Updates the load average of the system. This function should be called periodically to update the load average. The `get_load` function should return
kernel/src/sched/stats/loadavg.rs:44
↓ 1 callersMethodupdate_log_meta
(&mut self, meta: (TxLogId, RootMhtMeta))
kernel/comps/mlsdisk/src/layers/3-log/tx_log.rs:1211
↓ 1 callersMethodupdate_mark
Updates the mark at the given `offset`. This method does nothing if the slot at the given `offset` does not represent a node. It assumes the marks of
kernel/libs/xarray/src/node.rs:274
↓ 1 callersMethodupdate_metadata_for_delete
Update the metadata for current directory after a delete. Set is_dir if the deleted file is a directory.
kernel/src/fs/exfat/inode.rs:598
↓ 1 callersMethodupdate_otime
(&self)
kernel/src/ipc/semaphore/system_v/sem_set.rs:165
↓ 1 callersMethodupdate_page
(&self, idx: usize)
kernel/src/fs/utils/page_cache.rs:452
↓ 1 callersMethodupdate_policy
(&self, f: impl FnOnce(&mut SchedPolicy) -> T)
kernel/src/sched/sched_class/mod.rs:186
↓ 1 callersMethodupdate_signal_mask
(&self, new_mask: SigMask)
kernel/src/syscall/signalfd.rs:177
↓ 1 callersMethodupdate_subdir_parent_hash
(&self, fs_guard: &MutexGuard<()>)
kernel/src/fs/exfat/inode.rs:1005
↓ 1 callersFunctionupdate_time
()
kernel/comps/time/src/lib.rs:75
↓ 1 callersMethodupdate_vruntime
(&self, delta: u64, weight: u64)
kernel/src/sched/sched_class/fair.rs:150
↓ 1 callersMethodupper
Returns the higher 32 bits of the ICR.
ostd/src/arch/x86/kernel/apic/mod.rs:201
↓ 1 callersMethodupper_level
(&self)
kernel/comps/mlsdisk/src/layers/4-lsm/tx_lsm_tree.rs:803
↓ 1 callersFunctionuse_alternate_signal_stack
Use an alternate signal stack, which was installed by sigaltstack. It the stack is already active, we just increase the handler counter and return Non
kernel/src/process/signal/mod.rs:310
↓ 1 callersMethoduser_stack_top
Returns the top address of the user stack.
kernel/src/process/process_vm/mod.rs:157
↓ 1 callersMethodval
the expression of the items's value
kernel/libs/typeflags/src/type_flag.rs:144
↓ 1 callersMethodval_type
the val type
kernel/libs/typeflags/src/type_flag.rs:120
↓ 1 callersMethodvalidate_dentry_set
(&self)
kernel/src/fs/exfat/dentry.rs:336
↓ 1 callersFunctionvalidate_dumplink_request
(body: &LinkSegmentBody)
kernel/src/net/socket/netlink/route/kernel/link.rs:105
↓ 1 callersFunctionvalidate_getlink_request
(body: &LinkSegmentBody)
kernel/src/net/socket/netlink/route/kernel/link.rs:93
↓ 1 callersMethodvalue
Returns the value.
kernel/comps/block/src/bio.rs:756
↓ 1 callersMethodvalue
(&self)
kernel/comps/mlsdisk/src/layers/4-lsm/tx_lsm_tree.rs:898
↓ 1 callersMethodvalue_ex
(&self)
kernel/comps/mlsdisk/src/layers/4-lsm/tx_lsm_tree.rs:916
↓ 1 callersFunctionvdso_vmo
Returns the VDSO VMO.
kernel/src/vdso.rs:336
← previousnext →3,601–3,700 of 7,307, ranked by callers