MCPcopy Create free account

hub / github.com/asterinas/vostd / functions

Functions7,307 in github.com/asterinas/vostd

↓ 2 callersMethodmake_mode
Convert attribute bits and a mask to the UNIX mode.
kernel/src/fs/exfat/inode.rs:65
↓ 2 callersMethodmake_range
( &self, cur_unit_index: u32, cur_unit_offset: u32, num_clusters: u32, )
kernel/src/fs/exfat/bitmap.rs:238
↓ 2 callersFunctionmake_str_vaddr_static
(str: &str)
ostd/src/arch/x86/boot/multiboot2/mod.rs:30
↓ 2 callersMethodmap_gsi_pin_to
Maps an IRQ pin specified by a GSI number to an IRQ line. ACPI represents all interrupts as "flat" values known as global system interrupts (GSIs). S
ostd/src/arch/x86/kernel/irq/mod.rs:47
↓ 2 callersFunctionmap_segment_vmos
Initializes a [`Vmo`] for each segment and then map to the root [`Vmar`]. This function will return the mapped range that covers all segments. The ra
kernel/src/process/program_loader/elf/load_elf.rs:195
↓ 2 callersMethodmax_redirection_entry
(&mut self)
ostd/src/arch/x86/kernel/irq/ioapic.rs:200
↓ 2 callersMethodmay_recv_new
Checks if the socket may receive any new data. This is similar to [`RawTcpSocket::may_recv`]. However, this method checks if there can be _new_ data.
kernel/libs/aster-bigtcp/src/socket/bound/tcp_conn.rs:75
↓ 2 callersFunctionmem_total
Total physical memory in the entire system in bytes.
kernel/src/vm/mod.rs:41
↓ 2 callersFunctionmight_sleep
()
ostd/src/task/atomic_mode.rs:34
↓ 2 callersFunctionmmio_read_device_id
(io_mem: &IoMem)
kernel/comps/virtio/src/transport/mmio/bus/common_device.rs:82
↓ 2 callersMethodmode
Returns permission mode
kernel/src/ipc/mod.rs:84
↓ 2 callersMethodmodified_time
(&self)
osdk/src/bundle/bin.rs:49
↓ 2 callersFunctionmount_fs_at
(fs: Arc<dyn FileSystem>, fs_path: &FsPath)
kernel/src/fs/rootfs.rs:116
↓ 2 callersMethodmove_log
Moves the log of a given ID from one bucket to another. # Panics This method must be called within a TX. Otherwise, this method panics.
kernel/comps/mlsdisk/src/layers/3-log/tx_log.rs:670
↓ 2 callersFunctionmove_process_children
Moves the children of `current_process` to be the children of `reaper_process`. If the `reaper_process` is zombie, returns `Err(())`.
kernel/src/process/exit.rs:78
↓ 2 callersMethodname
Returns the name of the attribute.
kernel/comps/systree/src/attr.rs:33
↓ 2 callersMethodnblocks
Return the number of data blocks of the buffer.
kernel/comps/mlsdisk/src/layers/5-disk/data_buf.rs:84
↓ 2 callersMethodnbufs
Returns the number of buffers associated with the request. If the request is a flush, then the returned value is meaningless.
kernel/comps/mlsdisk/src/layers/5-disk/bio.rs:145
↓ 2 callersFunctionnegotiate_features
(transport: &mut Box<dyn VirtioTransport>)
kernel/comps/virtio/src/lib.rs:96
↓ 2 callersFunctionnew_chunk_alloc
()
kernel/comps/mlsdisk/src/layers/3-log/chunk.rs:428
↓ 2 callersMethodnew_fork
(&self)
kernel/src/vm/vmar/vm_mapping.rs:109
↓ 2 callersMethodnew_fork_root
(self: &Arc<Self>)
kernel/src/vm/vmar/mod.rs:699
↓ 2 callersFunctionnew_raw_socket_option
( level: CSocketOptionLevel, name: i32, )
kernel/src/util/net/options/mod.rs:163
↓ 2 callersMethodnew_tx
Creates a new TX that is attached to this TX provider.
kernel/comps/mlsdisk/src/tx/mod.rs:51
↓ 2 callersMethodnewline
(&mut self)
kernel/comps/framebuffer/src/console.rs:129
↓ 2 callersMethodnframes
Returns the number of page frames.
kernel/libs/aster-util/src/segment_slice.rs:63
↓ 2 callersFunctionnice_to_weight
(nice: Nice)
kernel/src/sched/sched_class/fair.rs:30
↓ 2 callersMethodnotify_all
Wakes up all blocked threads waiting on this condition variable. This method will unblock all waiting threads and they will be allowed to reacquire t
kernel/comps/mlsdisk/src/os/mod.rs:132
↓ 2 callersMethodnotify_one
Wakes up one blocked thread waiting on this condition variable. If there is a waiting thread, it will be unblocked and allowed to reacquire the assoc
kernel/comps/mlsdisk/src/os/mod.rs:117
↓ 2 callersMethodnotify_receive_queue
(&mut self)
kernel/comps/virtio/src/device/network/device.rs:249
↓ 2 callersMethodnotify_send_queue
(&mut self)
kernel/comps/virtio/src/device/network/device.rs:233
↓ 2 callersMethodnr_blocks_per_page
(&self)
kernel/comps/network/src/dma_pool.rs:189
↓ 2 callersFunctionnr_queued_and_running
Get the amount of tasks in the runqueues and the amount of running tasks.
kernel/src/sched/stats/scheduler_stats.rs:35
↓ 2 callersMethodnr_queued_and_running
(&self)
kernel/src/sched/sched_class/mod.rs:335
↓ 2 callersMethodnreqs
Returns the number of `Bio` requests associated with `self`.
kernel/comps/block/src/bio.rs:172
↓ 2 callersMethodnth_buf_mut_slice
(&mut self, mut nth: usize)
kernel/comps/mlsdisk/src/layers/5-disk/mlsdisk.rs:660
↓ 2 callersMethodnum_append
(&self)
kernel/comps/mlsdisk/src/layers/1-crypto/crypto_log.rs:899
↓ 2 callersMethodon_events
(&self, _events: SocketEvents)
kernel/libs/aster-bigtcp/src/socket/event.rs:10
↓ 2 callersMethodoutput_path
Get the output path for the profile data. If the user does not specify the output path, it will be generated from the current time stamp and the form
osdk/src/cli.rs:303
↓ 2 callersMethodowner
Returns the owner of the lock if it exists.
kernel/src/fs/utils/flock.rs:42
↓ 2 callersMethodpadding_len
Returns the length of the padding bytes.
kernel/src/net/socket/netlink/message/attr/mod.rs:86
↓ 2 callersMethodpadding_len
Returns the length of the padding bytes for the control message.
kernel/src/net/socket/util/message_header.rs:191
↓ 2 callersFunctionpaddr_to_daddr
(pa: Paddr)
ostd/src/arch/loongarch/mm/mod.rs:303
↓ 2 callersMethodpager
Sets the pager of the VMO.
kernel/src/vm/vmo/options.rs:83
↓ 2 callersMethodparent
(&'a self, guard: &'a dyn InAtomicMode)
kernel/libs/xarray/src/node.rs:159
↓ 2 callersMethodparent_death_signal
Returns the parent death signal. The parent death signal is the signal will be sent to child processes when the process exits.
kernel/src/process/process/mod.rs:659
↓ 2 callersMethodparse
(input: syn::parse::ParseStream)
kernel/libs/typeflags/src/type_flag.rs:31
↓ 2 callersMethodparse_and_process_tcp
( &mut self, ip_repr: &IpRepr, ip_payload: &'pkt [u8], checksum_caps: &Checksu
kernel/libs/aster-bigtcp/src/iface/poll.rs:118
↓ 2 callersMethodparse_and_process_udp
( &mut self, ip_repr: &IpRepr, ip_payload: &'pkt [u8], checksum_caps: &Checksu
kernel/libs/aster-bigtcp/src/iface/poll.rs:251
↓ 2 callersFunctionparse_as_cstr
(ptr: u32)
ostd/src/arch/x86/boot/multiboot/mod.rs:28
↓ 2 callersFunctionparse_bootloader_name
(mb1_info: &MultibootLegacyInfo)
ostd/src/arch/x86/boot/multiboot/mod.rs:16
↓ 2 callersFunctionparse_bootloader_name
(mb2_info: &BootInformation)
ostd/src/arch/x86/boot/multiboot2/mod.rs:16
↓ 2 callersFunctionparse_framebuffer_info
(mb1_info: &MultibootLegacyInfo)
ostd/src/arch/x86/boot/multiboot/mod.rs:64
↓ 2 callersFunctionparse_framebuffer_info
(boot_params: &BootParams)
ostd/src/arch/x86/boot/linux_boot/mod.rs:97
↓ 2 callersFunctionparse_framebuffer_info
(mb2_info: &BootInformation)
ostd/src/arch/x86/boot/multiboot2/mod.rs:63
↓ 2 callersFunctionparse_initramfs
(mb1_info: &MultibootLegacyInfo)
ostd/src/arch/x86/boot/multiboot/mod.rs:40
↓ 2 callersFunctionparse_initramfs
(boot_params: &BootParams)
ostd/src/arch/x86/boot/linux_boot/mod.rs:68
↓ 2 callersFunctionparse_initramfs
(mb2_info: &BootInformation)
ostd/src/arch/x86/boot/multiboot2/mod.rs:39
↓ 2 callersFunctionparse_initramfs_range
()
ostd/src/arch/loongarch/boot/mod.rs:80
↓ 2 callersFunctionparse_initramfs_range
()
ostd/src/arch/riscv/boot/mod.rs:100
↓ 2 callersFunctionparse_isa_extensions_list
(isa_extensions: &fdt::node::NodeProperty)
ostd/src/arch/riscv/cpu/extension.rs:80
↓ 2 callersFunctionparse_isa_string
(isa: &fdt::node::NodeProperty)
ostd/src/arch/riscv/cpu/extension.rs:42
↓ 2 callersFunctionparse_kernel_commandline
(mb1_info: &MultibootLegacyInfo)
ostd/src/arch/x86/boot/multiboot/mod.rs:22
↓ 2 callersFunctionparse_kernel_commandline
(boot_params: &BootParams)
ostd/src/arch/x86/boot/linux_boot/mod.rs:44
↓ 2 callersFunctionparse_kernel_commandline
(mb2_info: &BootInformation)
ostd/src/arch/x86/boot/multiboot2/mod.rs:23
↓ 2 callersFunctionparts_for_cpus
(num_cpus: usize)
ostd/src/cpu/set.rs:30
↓ 2 callersMethodpath
(&self)
osdk/src/bundle/file.rs:40
↓ 2 callersMethodpause_timeout
(&self, timeout: &TimeoutExt<'_>)
kernel/src/process/signal/pause.rs:139
↓ 2 callersMethodpause_until_or_timeout_impl
( &self, cond: F, timeout: Option<&ManagedTimeout>, )
kernel/src/process/signal/pause.rs:103
↓ 2 callersFunctionpayload
Returns an immutable slice containing the payload (i.e., the kernel).
ostd/libs/linux-bzimage/setup/src/x86/mod.rs:46
↓ 2 callersMethodpayload_as_bytes
(&self)
kernel/src/net/socket/netlink/message/attr/noattr.rs:15
↓ 2 callersMethodpeek_prio
(&self)
kernel/src/sched/sched_class/real_time.rs:132
↓ 2 callersMethodpeer_addr
(&self)
kernel/src/net/socket/vsock/stream/socket.rs:301
↓ 2 callersFunctionperform_sequential_io
test/src/apps/file_io/file_io.c:43
↓ 2 callersMethodperiod
The scheduling period is calculated as the maximum of the following two values: 1. The minimum period value, defined by [`min_period_clocks`]. 2. `pe
kernel/src/sched/sched_class/fair.rs:267
↓ 2 callersMethodph_addr
The virtual addr of program headers table address
kernel/src/process/program_loader/elf/elf_file.rs:70
↓ 2 callersMethodpid
(&self)
kernel/src/ipc/semaphore/system_v/sem.rs:81
↓ 2 callersMethodpolicy_kind
(&self)
kernel/src/sched/sched_class/mod.rs:168
↓ 2 callersMethodpoll
(&self, mask: IoEvents, poller: Option<&mut PollHandle>)
kernel/src/net/socket/ip/datagram/mod.rs:115
↓ 2 callersMethodpoll
(&self, mask: IoEvents, poller: Option<&mut PollHandle>)
kernel/src/syscall/eventfd.rs:168
↓ 2 callersMethodpoll
Polls the events of the file associated with this epoll entry. This method returns `None` if the file is dead. Otherwise, it returns the epoll event
kernel/src/fs/epoll/entry.rs:104
↓ 2 callersMethodpop_back
(&mut self)
osdk/deps/test-kernel/src/path.rs:45
↓ 2 callersMethodpop_device_transport
(&self)
kernel/comps/virtio/src/transport/pci/driver.rs:29
↓ 2 callersMethodpop_unused_irq
Pop unused vector. If a virtqueue will send interrupt frequently. Then this virtqueue should use the single IRQ that this function provides. this func
kernel/comps/virtio/src/transport/pci/msix.rs:60
↓ 2 callersMethodport
(&self)
kernel/src/net/socket/netlink/table/mod.rs:201
↓ 2 callersMethodpost_run_action
(&self, config: &Config, qemu_monitor_stream: Option<&mut UnixStream>)
osdk/src/bundle/mod.rs:340
↓ 2 callersMethodprepare
Prepare phase for an Append TX, mainly to create new TX and WAL.
kernel/comps/mlsdisk/src/layers/4-lsm/wal.rs:225
↓ 2 callersFunctionprint_assert_xmm8
test/src/apps/signal_c/signal_fpu.c:35
↓ 2 callersFunctionprint_stack_trace
()
ostd/src/panic.rs:54
↓ 2 callersMethodprobe
( &self, device: PciCommonDevice, )
kernel/comps/virtio/src/transport/pci/driver.rs:41
↓ 2 callersMethodprobe
( &self, device: MmioCommonDevice, )
kernel/comps/virtio/src/transport/mmio/driver.rs:33
↓ 2 callersFunctionprocess_all_pending
Processes all pending softirqs regardless of whether softirqs are disabled. The processing instructions will iterate for `SOFTIRQ_RUN_TIMES` times. I
kernel/comps/softirq/src/lib.rs:146
↓ 2 callersMethodprocess_tcp_until_outgoing
( &mut self, ip_repr: &IpRepr, tcp_repr: &TcpRepr, )
kernel/libs/aster-bigtcp/src/iface/poll.rs:145
↓ 2 callersMethodprocess_udp
(&mut self, ip_repr: &IpRepr, udp_repr: &UdpRepr, udp_payload: &[u8])
kernel/libs/aster-bigtcp/src/iface/poll.rs:278
↓ 2 callersMethodproject_type
(&self)
osdk/src/cli.rs:148
↓ 2 callersFunctionprotect_range
Applies a protection operation to a range of virtual addresses within a PageTable.
ostd/src/mm/page_table/test.rs:53
↓ 2 callersMethodpush_input
Pushes characters into the output buffer. This method returns the number of bytes pushed or fails with an error if no bytes can be pushed because the
kernel/src/device/tty/mod.rs:107
↓ 2 callersMethodput
Put the data block in `buf` into the buffer. Return whether the buffer is full after insertion.
kernel/comps/mlsdisk/src/layers/5-disk/data_buf.rs:65
↓ 2 callersFunctionqueue_wake
(wake: F)
ostd/src/sync/wait.rs:438
↓ 2 callersMethodrdi
(&self)
ostd/src/arch/x86/tdx_guest.rs:173
← previousnext →1,801–1,900 of 7,307, ranked by callers