MCPcopy Create free account

hub / github.com/asterinas/vostd / functions

Functions7,307 in github.com/asterinas/vostd

↓ 1 callersMethoddec_dirs
(&mut self)
kernel/src/fs/ext2/block_group.rs:451
↓ 1 callersMethoddec_num_requests
(&self)
kernel/comps/block/src/request_queue.rs:109
↓ 1 callersFunctiondecode_payload
Detects the format used to encode the payload and decodes the payload accordingly.
ostd/libs/linux-bzimage/setup/src/x86/amd64_efi/decoder.rs:36
↓ 1 callersMethoddecommit_page
(&self, idx: usize)
kernel/src/fs/utils/page_cache.rs:463
↓ 1 callersMethoddecrease_handler_counter
Mark the stack is freed by current handler.
kernel/src/process/signal/sig_stack.rs:83
↓ 1 callersFunctiondef_path_for_def_id
(tcx: TyCtxt<'_>, def_id: DefId)
kernel/libs/comp-sys/cargo-component/analysis/src/lib.rs:260
↓ 1 callersFunctiondef_path_if_not_in_whitelist
check whether the def_id is in white list. If the def_id is **NOT** in white list, return the def_path
kernel/libs/comp-sys/cargo-component/analysis/src/lib.rs:225
↓ 1 callersFunctiondef_path_str_for_impl
def path for impl, if the impl is not for trait.
kernel/libs/comp-sys/cargo-component/analysis/src/lib.rs:276
↓ 1 callersFunctiondefault_clocksource
Return the tsc clocksource.
kernel/comps/time/src/lib.rs:92
↓ 1 callersMethoddelete_associated_secondary_clusters
( &mut self, dentry: &ExfatDentry, fs_guard: &MutexGuard<()>, )
kernel/src/fs/exfat/inode.rs:534
↓ 1 callersMethoddelete_dentry_set
Delete dentry set for current directory.
kernel/src/fs/exfat/inode.rs:946
↓ 1 callersFunctiondepends_on_coverage
Makes crates created by `cargo ostd new` enable coverage features, adding features = ["coverage"] to ostd dependency and creating a [features] section
osdk/tests/util/mod.rs:141
↓ 1 callersMethoddequeue
Request a pending work item. The `request_cpu` indicates the CPU where the calling worker is located.
kernel/src/thread/work_queue/mod.rs:152
↓ 1 callersMethoddequeue
(&self, blocked: &SigMask)
kernel/src/process/signal/sig_queues.rs:50
↓ 1 callersMethoddequeue
Dequeues a `BioRequest` from this queue. This method will wait until one request can be retrieved.
kernel/comps/block/src/request_queue.rs:86
↓ 1 callersMethoddequeue_current
(&mut self)
ostd/src/task/scheduler/fifo_scheduler.rs:116
↓ 1 callersMethodderef
Returns the imutable value.
kernel/src/fs/ext2/utils.rs:73
↓ 1 callersMethodderef_mut
(&mut self)
kernel/comps/mlsdisk/src/util/lazy_delete.rs:93
↓ 1 callersMethoddestination
(&self)
kernel/comps/virtio/src/device/socket/header.rs:103
↓ 1 callersMethoddestination_id
This field identifies the remapped interrupt request’s target processor(s). It is evaluated by hardware only when the Present (P) field is Set. The f
ostd/src/arch/x86/iommu/interrupt_remapping/table.rs:200
↓ 1 callersMethoddestroy_all_workers
(&self)
kernel/src/thread/work_queue/worker_pool.rs:123
↓ 1 callersMethoddetach_mount_node
Detaches the mount node from the parent mount node.
kernel/src/fs/path/mount.rs:164
↓ 1 callersFunctiondetermine_tsc_freq_via_cpuid
Determines TSC frequency via CPUID. If the CPU does not support calculating TSC frequency by CPUID, the function will return None. The unit of the ret
ostd/src/arch/x86/kernel/tsc.rs:35
↓ 1 callersMethoddevice_id
(&self)
kernel/src/fs/ext2/inode.rs:671
↓ 1 callersMethoddevice_id
(&self)
kernel/comps/virtio/src/transport/mmio/device.rs:45
↓ 1 callersMethoddevice_tree
(&self)
ostd/src/arch/loongarch/boot/efi.rs:99
↓ 1 callersMethoddirect
Returns the direct block ID. # Panics If the `idx` is out of bounds, this method will panic.
kernel/src/fs/ext2/block_ptr.rs:20
↓ 1 callersMethoddirection
Returns the bio direction.
kernel/comps/block/src/bio.rs:523
↓ 1 callersMethoddisable
Disables an entry. # Errors This method will fail if the index exceeds the I/O APIC's maximum redirection entry, or if the entry is not in use.
ostd/src/arch/x86/kernel/irq/ioapic.rs:118
↓ 1 callersMethoddisable_gsi
(&self, gsi_index: u32)
ostd/src/arch/x86/kernel/irq/mod.rs:71
↓ 1 callersFunctiondisable_local
()
ostd/src/arch/riscv/irq.rs:60
↓ 1 callersFunctiondiscard_signals_if_ignored
Discard signals if the new action is to ignore the signal. Ref: <https://elixir.bootlin.com/linux/v6.13/source/kernel/signal.c#L4323> POSIX 3.3.1.3:
kernel/src/syscall/rt_sigaction.rs:79
↓ 1 callersMethoddispatch
Tries to generate an outgoing packet and dispatches the generated packet.
kernel/libs/aster-bigtcp/src/socket/bound/tcp_conn.rs:634
↓ 1 callersMethoddispatch_ipv4
(&mut self, tx_token: T, dispatch_phy: &mut Q)
kernel/libs/aster-bigtcp/src/iface/poll.rs:368
↓ 1 callersMethoddispatch_tcp
(&mut self, tx_token: T, dispatch_phy: &mut Q)
kernel/libs/aster-bigtcp/src/iface/poll.rs:384
↓ 1 callersMethoddispatch_udp
(&mut self, tx_token: T, dispatch_phy: &mut Q)
kernel/libs/aster-bigtcp/src/iface/poll.rs:481
↓ 1 callersMethoddisplay
(&self)
kernel/comps/mlsdisk/src/layers/1-crypto/crypto_log.rs:450
↓ 1 callersFunctiondisplay_help
()
kernel/libs/comp-sys/cargo-component/src/driver.rs:119
↓ 1 callersFunctiondiv_maybe_zero
Note: this function is fragile in the sense that compiler may not always emit the instruction pattern that triggers divide-by-zero as we expect. TODO:
test/src/apps/signal_c/signal_test.c:164
↓ 1 callersMethoddo_alloc_batch
(&self, count: NonZeroUsize)
kernel/comps/mlsdisk/src/layers/5-disk/block_alloc.rs:112
↓ 1 callersFunctiondo_arch_prctl
( code: ArchPrctlCode, addr: u64, ctx: &Context, user_ctx: &mut UserContext, )
kernel/src/syscall/arch_prctl.rs:33
↓ 1 callersFunctiondo_bind_mount
Bind a mount to a dst location. If recursive is true, then bind the mount recursively. Such as use user command `mount --rbind src dst`.
kernel/src/syscall/mount.rs:83
↓ 1 callersFunctiondo_change_type
()
kernel/src/syscall/mount.rs:106
↓ 1 callersFunctiondo_collect_stack_traces
(args: &ProfileArgs)
osdk/src/commands/profile.rs:58
↓ 1 callersMethoddo_compaction
Persist the block validity table to `BVT` log. GC all existed `BAL` logs.
kernel/comps/mlsdisk/src/layers/5-disk/block_alloc.rs:231
↓ 1 callersMethoddo_compaction_tx
Do a compaction TX. The given `wal_id` is used to identify the WAL for discarding.
kernel/comps/mlsdisk/src/layers/4-lsm/tx_lsm_tree.rs:236
↓ 1 callersMethoddo_copy_up
Do the "copy-up" operation for the given upper inode.
kernel/src/fs/overlayfs/fs.rs:786
↓ 1 callersFunctiondo_exit
Exits the current POSIX thread. # Panics If the current thread is not a POSIX thread, this method will panic.
kernel/src/process/posix_thread/exit.rs:26
↓ 1 callersFunctiondo_get_addr
(request_segment: &AddrSegment)
kernel/src/net/socket/netlink/route/kernel/addr.rs:22
↓ 1 callersFunctiondo_get_link
(request_segment: &LinkSegment)
kernel/src/net/socket/netlink/route/kernel/link.rs:22
↓ 1 callersMethoddo_major_compaction
Major Compaction TX { to_level: LsmLevel::L1~LsmLevel::L5 }.
kernel/comps/mlsdisk/src/layers/4-lsm/tx_lsm_tree.rs:547
↓ 1 callersMethoddo_migration_tx
Migration TX, primarily to discard all unsynced records in SSTs.
kernel/comps/mlsdisk/src/layers/4-lsm/tx_lsm_tree.rs:651
↓ 1 callersMethoddo_minor_compaction
Minor Compaction TX { to_level: LsmLevel::L0 }.
kernel/comps/mlsdisk/src/layers/4-lsm/tx_lsm_tree.rs:497
↓ 1 callersFunctiondo_move_mount_old
Move a mount from src location to dst location.
kernel/src/syscall/mount.rs:111
↓ 1 callersFunctiondo_new_mount
Mount a new filesystem.
kernel/src/syscall/mount.rs:134
↓ 1 callersFunctiondo_parse_stack_traces
(target_file: &PathBuf, args: &ProfileArgs)
osdk/src/commands/profile.rs:36
↓ 1 callersMethoddo_protect_inner
Do real protect. The protected range is ensured to be mapped.
kernel/src/vm/vmar/mod.rs:476
↓ 1 callersMethoddo_read
Handle a read I/O request.
kernel/comps/mlsdisk/src/layers/5-disk/mlsdisk.rs:580
↓ 1 callersMethoddo_read_range_tx
Read Range TX.
kernel/comps/mlsdisk/src/layers/4-lsm/tx_lsm_tree.rs:463
↓ 1 callersMethoddo_read_tx
Read TX.
kernel/comps/mlsdisk/src/layers/4-lsm/tx_lsm_tree.rs:431
↓ 1 callersFunctiondo_reconfigure_mnt
()
kernel/src/syscall/mount.rs:71
↓ 1 callersFunctiondo_remount
()
kernel/src/syscall/mount.rs:75
↓ 1 callersFunctiondo_rt_sigpending
(set_ptr: Vaddr, ctx: &Context)
kernel/src/syscall/rt_sigpending.rs:24
↓ 1 callersFunctiondo_rt_sigprocmask
( mask_op: MaskOp, set_ptr: Vaddr, oldset_ptr: Vaddr, ctx: &Context, )
kernel/src/syscall/rt_sigprocmask.rs:33
↓ 1 callersFunctiondo_select
( nfds: FileDesc, mut readfds: Option<&mut FdSet>, mut writefds: Option<&mut FdSet>, mut excep
kernel/src/syscall/select.rs:98
↓ 1 callersFunctiondo_set_netlink_option
( inner: &RwMutex<Inner<UnboundNetlink<P>, BoundNetlink<P::Message>>>, option: &dyn SocketOption, )
kernel/src/net/socket/netlink/common/mod.rs:221
↓ 1 callersFunctiondo_smart_update
Update pending const and alter operations, ref: <https://elixir.bootlin.com/linux/v6.0.9/source/ipc/sem.c#L1029>
kernel/src/ipc/semaphore/system_v/sem.rs:225
↓ 1 callersMethoddo_sync
Handle a sync I/O request.
kernel/comps/mlsdisk/src/layers/5-disk/mlsdisk.rs:619
↓ 1 callersFunctiondo_sys_kill
(filter: ProcessFilter, sig_num: Option<SigNum>, ctx: &Context)
kernel/src/syscall/kill.rs:31
↓ 1 callersFunctiondo_sys_mmap
( addr: Vaddr, len: usize, vm_perms: VmPerms, mut option: MMapOptions, fd: FileDesc, o
kernel/src/syscall/mmap.rs:38
↓ 1 callersFunctiondo_sys_mremap
( old_addr: Vaddr, old_size: usize, new_size: usize, flags: MremapFlags, new_addr: Vaddr,
kernel/src/syscall/mremap.rs:21
↓ 1 callersFunctiondo_tcp_setsockopt
( option: &dyn SocketOption, options: &mut OptionSet, state: &mut State, )
kernel/src/net/socket/ip/stream/mod.rs:699
↓ 1 callersFunctiondo_unix_getsockopt
(option: &mut dyn SocketOption, state: &State)
kernel/src/net/socket/unix/stream/socket.rs:481
↓ 1 callersMethoddo_write
Handle a write I/O request.
kernel/comps/mlsdisk/src/layers/5-disk/mlsdisk.rs:602
↓ 1 callersMethoddomain_support_number
Number of domain support. ```text 0 => 4-bit domain-ids with support for up to 16 domains. 1 => 6-bit domain-ids with support for up to 64 domains. 2
ostd/src/arch/x86/iommu/registers/capability.rs:50
↓ 1 callersMethoddone_compact
(&mut self, _compacted_blocks: usize)
kernel/comps/mlsdisk/src/layers/2-edit/journal.rs:753
↓ 1 callersMethoddone_forwarding
Increases the forwarded count recorded for this connection by the given number of bytes. This should be called once received data has been passed to
kernel/comps/virtio/src/device/socket/connect.rs:192
↓ 1 callersMethoddowncast_ref
(&self)
kernel/src/fs/file_handle.rs:113
↓ 1 callersMethoddowncast_ref
(&self)
kernel/src/fs/utils/fs.rs:57
↓ 1 callersMethoddowngrade
(this: &Self)
kernel/libs/keyable-arc/src/lib.rs:142
↓ 1 callersMethoddrain_input
(&mut self)
kernel/src/device/tty/line_discipline.rs:226
↓ 1 callersFunctiondump_coverage_from_qemu
Dump the coverage data from QEMU if the coverage information is found in the log.
osdk/src/util.rs:318
↓ 1 callersFunctionduration
(from: u64, to: u64)
ostd/src/arch/x86/boot/smp.rs:336
↓ 1 callersFunctionearly_print
Prints formatted arguments to the console.
ostd/src/console.rs:21
↓ 1 callersMethodeat
Tries to eat a character as part of the ANSI escape sequence. This method returns a boolean value indicating whether the character is part of an ANSI
kernel/comps/framebuffer/src/ansi_escape.rs:84
↓ 1 callersMethodecho_callback
(&self)
kernel/src/device/tty/n_tty.rs:27
↓ 1 callersFunctionefi_phase_boot
(boot_params: &mut BootParams)
ostd/libs/linux-bzimage/setup/src/x86/amd64_efi/efi.rs:59
↓ 1 callersFunctionefi_phase_runtime
(boot_params: &mut BootParams)
ostd/libs/linux-bzimage/setup/src/x86/amd64_efi/efi.rs:289
↓ 1 callersMethodenable
Enables an entry. The caller should ensure that the IRQ line is not released before the entry is disabled. Otherwise, it will be considered a logical
ostd/src/arch/x86/kernel/irq/ioapic.rs:73
↓ 1 callersMethodenable_callback
Enables registered callbacks. The queue will generate interrupts if any event comes after calling this method.
kernel/comps/virtio/src/queue.rs:398
↓ 1 callersFunctionenable_cpu_features
()
ostd/src/arch/riscv/mod.rs:61
↓ 1 callersMethodenable_dma_remapping
Enables DMA remapping with static RootTable
ostd/src/arch/x86/iommu/registers/mod.rs:108
↓ 1 callersMethodenable_interrupt_remapping
Enables Interrupt Remapping with IntRemappingTable
ostd/src/arch/x86/iommu/registers/mod.rs:125
↓ 1 callersFunctionenable_local
()
ostd/src/arch/loongarch/irq.rs:32
↓ 1 callersMethodenable_queued_invalidation
(&mut self, queue: &Queue)
ostd/src/arch/x86/iommu/registers/mod.rs:175
↓ 1 callersMethodencode
Encodes the value written into the Interrupt Remapping Table Register.
ostd/src/arch/x86/iommu/interrupt_remapping/table.rs:90
↓ 1 callersMethodend_paddr
Returns the end physical address.
kernel/libs/aster-util/src/segment_slice.rs:58
↓ 1 callersMethodenqueue
(&self, message: Message)
kernel/src/net/socket/netlink/receiver.rs:23
↓ 1 callersMethodenqueue
Enqueues a `SubmittedBio` to this queue. When enqueueing the `SubmittedBio`, try to insert it into the last request if the type is same and the secto
kernel/comps/block/src/request_queue.rs:59
↓ 1 callersMethodenqueue
(&self, runnable: Arc<T>, flags: EnqueueFlags)
ostd/src/task/scheduler/fifo_scheduler.rs:42
← previousnext →2,501–2,600 of 7,307, ranked by callers