MCPcopy Create free account

hub / github.com/asterinas/vostd / functions

Functions7,307 in github.com/asterinas/vostd

Functioninit
()
kernel/src/time/clocks/system_wide.rs:297
Functioninit
Initialize the FS registry module.
kernel/src/fs/registry.rs:88
Functioninit
Initializes the CgroupFs singleton. Ensures that the singleton is created by calling it. Should be called during kernel file system initialization, *a
kernel/src/fs/cgroupfs/mod.rs:25
Functioninit
()
kernel/src/fs/devpts/mod.rs:133
Functioninit
Initializes the SysFs singleton. Ensures that the singleton is created by calling it. Should be called during kernel file system initialization, *afte
kernel/src/fs/sysfs/mod.rs:25
Functioninit
()
kernel/src/fs/ext2/mod.rs:59
Functioninit
()
kernel/src/fs/exfat/mod.rs:20
Functioninit
()
kernel/src/fs/procfs/mod.rs:39
Functioninit
()
kernel/src/fs/ramfs/mod.rs:19
Functioninit
()
kernel/src/fs/overlayfs/mod.rs:11
Functioninit
()
kernel/src/util/random.rs:19
Functioninit
(conf_path: &str)
kernel/libs/comp-sys/cargo-component/analysis/src/conf.rs:293
Functioninit
()
kernel/comps/systree/src/lib.rs:50
Functioninit
()
kernel/comps/virtio/src/device/socket/buffer.rs:17
Functioninit
()
kernel/comps/logger/src/lib.rs:27
Functioninit
()
kernel/comps/logger/src/aster_logger.rs:64
Functioninit
()
kernel/comps/network/src/buffer.rs:145
Functioninit
()
kernel/comps/network/src/lib.rs:175
Functioninit
()
kernel/comps/framebuffer/src/console.rs:28
Functioninit
()
kernel/comps/framebuffer/src/lib.rs:20
Functioninit
()
kernel/comps/framebuffer/src/framebuffer.rs:29
Functioninit
()
kernel/comps/softirq/src/lib.rs:117
Functioninit
()
kernel/comps/mlsdisk/src/lib.rs:41
Functioninit
()
kernel/comps/keyboard/src/lib.rs:21
Functioninit
()
kernel/comps/keyboard/src/i8042_chip/controller.rs:19
Functioninit
()
kernel/comps/keyboard/src/i8042_chip/mod.rs:6
Functioninit
(controller: &mut I8042Controller)
kernel/comps/keyboard/src/i8042_chip/keyboard.rs:26
Functioninit
Initialize the logger. Users should avoid using the log macros before this function is called.
ostd/src/logger.rs:69
Functioninit
()
ostd/src/smp.rs:96
Functioninit
Initializes the serial port.
ostd/src/arch/loongarch/serial.rs:93
Functioninit
Initialize trap handling on LoongArch.
ostd/src/arch/loongarch/trap/mod.rs:25
Functioninit
Initializes exception and interrupt handling for the current core. # Safety This function will: - Set `eentry` to `trap_entry` You **MUST NOT** mod
ostd/src/arch/loongarch/trap/trap.rs:16
Functioninit
()
ostd/src/arch/loongarch/iommu/mod.rs:24
Functioninit
()
ostd/src/arch/loongarch/kernel/irq/mod.rs:8
Functioninit
Initializes the serial port.
ostd/src/arch/x86/serial.rs:17
Functioninit
Initializes and loads the IDT. The caller should only call this method once in the boot context for each available processor. This is not a safety re
ostd/src/arch/x86/trap/idt.rs:29
Functioninit
Initializes interrupt handling on x86_64. This function will: - Switch to a new, CPU-local [GDT]. - Switch to a new, CPU-local [TSS]. - Switch to a n
ostd/src/arch/x86/trap/mod.rs:120
Functioninit
# Safety The caller needs to ensure that `gdt::init` has been called before, so the segment selectors used in the `syscall` and `sysret` instructions
ostd/src/arch/x86/trap/syscall.rs:43
Functioninit
Initializes and loads the GDT and TSS. The caller should only call this method once in the boot context for each available processor. This is not a s
ostd/src/arch/x86/trap/gdt.rs:31
Functioninit
(io_mem_builder: &IoMemAllocatorBuilder)
ostd/src/arch/x86/iommu/mod.rs:26
Functioninit
Initializes the fault reporting function. # Safety The caller must ensure that the base address is a valid IOMMU base address and that it has exclus
ostd/src/arch/x86/iommu/fault.rs:238
Functioninit
()
ostd/src/arch/x86/iommu/invalidate/mod.rs:12
Functioninit
()
ostd/src/arch/x86/iommu/interrupt_remapping/mod.rs:45
Functioninit
()
ostd/src/arch/x86/iommu/dma_remapping/mod.rs:65
Functioninit
()
ostd/src/arch/x86/timer/hpet.rs:134
Functioninit
(io_mem_builder: &IoMemAllocatorBuilder)
ostd/src/arch/x86/kernel/apic/mod.rs:349
Functioninit
SPDX-License-Identifier: MPL-2.0 The console I/O. Initializes the serial port.
ostd/src/arch/riscv/serial.rs:4
Functioninit
Initializes interrupt handling on RISC-V.
ostd/src/arch/riscv/trap/mod.rs:18
Functioninit
Initialize interrupt handling for the current HART. # Safety This function will: - Set `sscratch` to 0. - Set `stvec` to internal exception vector.
ostd/src/arch/riscv/trap/trap.rs:56
Functioninit
Detects available RISC-V ISA extensions.
ostd/src/arch/riscv/cpu/extension.rs:9
Functioninit
()
ostd/src/arch/riscv/iommu/mod.rs:24
Functioninit
Initializes the timer module. # Safety This function is safe to call on the following conditions: 1. It is called once and at most once at a proper
ostd/src/arch/riscv/timer/mod.rs:33
Functioninit
()
ostd/src/task/scheduler/fifo_scheduler.rs:13
Functioninit
Initializes the static allocator based on builder. # Safety User must ensure that: 1. All the memory that belong to the system device have been rem
ostd/src/io/mod.rs:37
Functioninit
Initializes the static `IO_PORT_ALLOCATOR` and removes the system device I/O port regions. # Safety User must ensure that: 1. All the port I/O regi
ostd/src/io/io_port/allocator.rs:68
Functioninit
Initializes the static `IO_MEM_ALLOCATOR` based on builder. # Safety User must ensure all the memory I/O regions that belong to the system device ha
ostd/src/io/io_mem/allocator.rs:114
Functioninit
()
ostd/src/bus/pci/mod.rs:65
Methodinit
(mut transport: Box<dyn VirtioTransport>)
kernel/comps/virtio/src/device/console/device.rs:88
Methodinit
(mut transport: Box<dyn VirtioTransport>)
kernel/comps/virtio/src/device/network/device.rs:72
Methodinit
Create a new vsock device
kernel/comps/virtio/src/device/socket/device.rs:50
Methodinit
Creates a new VirtIO-Block driver and registers it.
kernel/comps/virtio/src/device/block/device.rs:46
Methodinit
Create a new VirtIO-Input driver. msix_vector_left should at least have one element or n elements where n is the virtqueue amount
kernel/comps/virtio/src/device/input/device.rs:85
Methodinit
()
kernel/comps/console/src/lib.rs:82
Methodinit
()
kernel/comps/network/src/lib.rs:211
Methodinit
()
kernel/comps/block/src/lib.rs:121
Methodinit
()
kernel/comps/input/src/lib.rs:71
Methodinit
Initializes the remapping entry for the specific IRQ number. This will do nothing if the entry is already initialized or interrupt remapping is disab
ostd/src/arch/loongarch/irq.rs:21
Methodinit
Initializes the extended I/O interrupt controller. # Arguments `core_num` - Number of processor cores # Note Now only support single cpu, and the
ostd/src/arch/loongarch/kernel/irq/eiointc.rs:63
Functioninit_ap
Enables timer interrupt on this AP.
ostd/src/arch/x86/timer/mod.rs:56
Functioninit_ap
Initializes APIC timer on AP. The caller should provide the [`IrqLine`] for the system timer.
ostd/src/arch/x86/timer/apic.rs:36
Functioninit_bsp
Initializes the timer state and enable timer interrupts on BSP.
ostd/src/arch/x86/timer/mod.rs:36
Functioninit_bsp
Initializes APIC with TSC-deadline mode or periodic mode. Return the corresponding [`IrqLine`] for the system timer.
ostd/src/arch/x86/timer/apic.rs:21
Functioninit_component
(_: TokenStream, input: TokenStream)
kernel/libs/comp-sys/component-macro/src/lib.rs:44
Functioninit_cvm_guest
()
ostd/src/arch/loongarch/mod.rs:19
Methodinit_data
(&self)
kernel/comps/mlsdisk/src/tx/mod.rs:85
Methodinit_dir
Initializes two special `DirEntry`s ("." and "..") with the given inode numbers.
kernel/src/fs/ext2/dir.rs:385
Functioninit_for_ktest
()
kernel/comps/systree/src/lib.rs:56
Functioninit_on_ap
()
ostd/src/arch/loongarch/mod.rs:42
Functioninit_on_ap
()
ostd/src/arch/riscv/mod.rs:35
Functioninit_on_bsp
# Safety The caller must ensure that 1. We're in the boot context of the BSP and APs have not yet booted. 2. The number of available processors is av
ostd/src/cpu/mod.rs:160
Methodinit_parent
(&self, parent: alloc::sync::Weak<dyn SysBranchNode>)
kernel/comps/systree/src/utils.rs:355
Methodinit_parent
(&self, parent: alloc::sync::Weak<dyn SysBranchNode>)
kernel/comps/systree/src/utils.rs:487
Methodinit_parent
(&self, parent: alloc::sync::Weak<dyn SysBranchNode>)
kernel/comps/systree/src/utils.rs:663
Methodinit_stack_reader
Returns a reader for reading contents from the `InitStack`.
kernel/src/process/process_vm/mod.rs:152
Functioninit_thread
()
kernel/src/lib.rs:133
Functioninit_tsc_freq
()
ostd/src/arch/x86/kernel/tsc.rs:23
Functioninject_user_page_fault_handler
Injects a custom handler for page faults that occur in the kernel and are caused by user-space address.
ostd/src/arch/loongarch/trap/mod.rs:129
Functioninject_user_page_fault_handler
Injects a custom handler for page faults that occur in the kernel and are caused by user-space address.
ostd/src/arch/riscv/trap/mod.rs:66
Methodino
(&self)
kernel/src/fs/devpts/slave.rs:60
Methodino
(&self)
kernel/src/fs/devpts/ptmx.rs:80
Methodino
(&self)
kernel/src/fs/utils/systree_inode.rs:293
Methodino
(&self)
kernel/src/fs/ext2/impl_for_vfs/inode.rs:59
Methodino
(&self)
kernel/src/fs/exfat/inode.rs:1098
Methodino
(self, ino: u64)
kernel/src/fs/procfs/template/builder.rs:43
Methodino
(&self)
kernel/src/fs/ramfs/fs.rs:664
Methodino
The inode number.
kernel/libs/cpio-decoder/src/lib.rs:222
Methodinode
(&self)
kernel/src/vm/memfd.rs:147
Methodinode
Returns the inode of the file that backs the mapping.
kernel/src/vm/vmar/vm_mapping.rs:144
Methodinode
(&self)
kernel/src/fs/file_handle.rs:107
Methodinode_size
Returns the size of inode structure.
kernel/src/fs/ext2/super_block.rs:188
← previousnext →4,901–5,000 of 7,307, ranked by callers