Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/asterinas/vostd
/ functions
Functions
7,307 in github.com/asterinas/vostd
⨍
Functions
7,307
◇
Types & classes
1,661
↓ 2 callers
Method
make_mode
Convert attribute bits and a mask to the UNIX mode.
kernel/src/fs/exfat/inode.rs:65
↓ 2 callers
Method
make_range
( &self, cur_unit_index: u32, cur_unit_offset: u32, num_clusters: u32, )
kernel/src/fs/exfat/bitmap.rs:238
↓ 2 callers
Function
make_str_vaddr_static
(str: &str)
ostd/src/arch/x86/boot/multiboot2/mod.rs:30
↓ 2 callers
Method
map_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 callers
Function
map_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 callers
Method
max_redirection_entry
(&mut self)
ostd/src/arch/x86/kernel/irq/ioapic.rs:200
↓ 2 callers
Method
may_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 callers
Function
mem_total
Total physical memory in the entire system in bytes.
kernel/src/vm/mod.rs:41
↓ 2 callers
Function
might_sleep
()
ostd/src/task/atomic_mode.rs:34
↓ 2 callers
Function
mmio_read_device_id
(io_mem: &IoMem)
kernel/comps/virtio/src/transport/mmio/bus/common_device.rs:82
↓ 2 callers
Method
mode
Returns permission mode
kernel/src/ipc/mod.rs:84
↓ 2 callers
Method
modified_time
(&self)
osdk/src/bundle/bin.rs:49
↓ 2 callers
Function
mount_fs_at
(fs: Arc<dyn FileSystem>, fs_path: &FsPath)
kernel/src/fs/rootfs.rs:116
↓ 2 callers
Method
move_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 callers
Function
move_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 callers
Method
name
Returns the name of the attribute.
kernel/comps/systree/src/attr.rs:33
↓ 2 callers
Method
nblocks
Return the number of data blocks of the buffer.
kernel/comps/mlsdisk/src/layers/5-disk/data_buf.rs:84
↓ 2 callers
Method
nbufs
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 callers
Function
negotiate_features
(transport: &mut Box<dyn VirtioTransport>)
kernel/comps/virtio/src/lib.rs:96
↓ 2 callers
Function
new_chunk_alloc
()
kernel/comps/mlsdisk/src/layers/3-log/chunk.rs:428
↓ 2 callers
Method
new_fork
(&self)
kernel/src/vm/vmar/vm_mapping.rs:109
↓ 2 callers
Method
new_fork_root
(self: &Arc<Self>)
kernel/src/vm/vmar/mod.rs:699
↓ 2 callers
Function
new_raw_socket_option
( level: CSocketOptionLevel, name: i32, )
kernel/src/util/net/options/mod.rs:163
↓ 2 callers
Method
new_tx
Creates a new TX that is attached to this TX provider.
kernel/comps/mlsdisk/src/tx/mod.rs:51
↓ 2 callers
Method
newline
(&mut self)
kernel/comps/framebuffer/src/console.rs:129
↓ 2 callers
Method
nframes
Returns the number of page frames.
kernel/libs/aster-util/src/segment_slice.rs:63
↓ 2 callers
Function
nice_to_weight
(nice: Nice)
kernel/src/sched/sched_class/fair.rs:30
↓ 2 callers
Method
notify_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 callers
Method
notify_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 callers
Method
notify_receive_queue
(&mut self)
kernel/comps/virtio/src/device/network/device.rs:249
↓ 2 callers
Method
notify_send_queue
(&mut self)
kernel/comps/virtio/src/device/network/device.rs:233
↓ 2 callers
Method
nr_blocks_per_page
(&self)
kernel/comps/network/src/dma_pool.rs:189
↓ 2 callers
Function
nr_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 callers
Method
nr_queued_and_running
(&self)
kernel/src/sched/sched_class/mod.rs:335
↓ 2 callers
Method
nreqs
Returns the number of `Bio` requests associated with `self`.
kernel/comps/block/src/bio.rs:172
↓ 2 callers
Method
nth_buf_mut_slice
(&mut self, mut nth: usize)
kernel/comps/mlsdisk/src/layers/5-disk/mlsdisk.rs:660
↓ 2 callers
Method
num_append
(&self)
kernel/comps/mlsdisk/src/layers/1-crypto/crypto_log.rs:899
↓ 2 callers
Method
on_events
(&self, _events: SocketEvents)
kernel/libs/aster-bigtcp/src/socket/event.rs:10
↓ 2 callers
Method
output_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 callers
Method
owner
Returns the owner of the lock if it exists.
kernel/src/fs/utils/flock.rs:42
↓ 2 callers
Method
padding_len
Returns the length of the padding bytes.
kernel/src/net/socket/netlink/message/attr/mod.rs:86
↓ 2 callers
Method
padding_len
Returns the length of the padding bytes for the control message.
kernel/src/net/socket/util/message_header.rs:191
↓ 2 callers
Function
paddr_to_daddr
(pa: Paddr)
ostd/src/arch/loongarch/mm/mod.rs:303
↓ 2 callers
Method
pager
Sets the pager of the VMO.
kernel/src/vm/vmo/options.rs:83
↓ 2 callers
Method
parent
(&'a self, guard: &'a dyn InAtomicMode)
kernel/libs/xarray/src/node.rs:159
↓ 2 callers
Method
parent_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 callers
Method
parse
(input: syn::parse::ParseStream)
kernel/libs/typeflags/src/type_flag.rs:31
↓ 2 callers
Method
parse_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 callers
Method
parse_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 callers
Function
parse_as_cstr
(ptr: u32)
ostd/src/arch/x86/boot/multiboot/mod.rs:28
↓ 2 callers
Function
parse_bootloader_name
(mb1_info: &MultibootLegacyInfo)
ostd/src/arch/x86/boot/multiboot/mod.rs:16
↓ 2 callers
Function
parse_bootloader_name
(mb2_info: &BootInformation)
ostd/src/arch/x86/boot/multiboot2/mod.rs:16
↓ 2 callers
Function
parse_framebuffer_info
(mb1_info: &MultibootLegacyInfo)
ostd/src/arch/x86/boot/multiboot/mod.rs:64
↓ 2 callers
Function
parse_framebuffer_info
(boot_params: &BootParams)
ostd/src/arch/x86/boot/linux_boot/mod.rs:97
↓ 2 callers
Function
parse_framebuffer_info
(mb2_info: &BootInformation)
ostd/src/arch/x86/boot/multiboot2/mod.rs:63
↓ 2 callers
Function
parse_initramfs
(mb1_info: &MultibootLegacyInfo)
ostd/src/arch/x86/boot/multiboot/mod.rs:40
↓ 2 callers
Function
parse_initramfs
(boot_params: &BootParams)
ostd/src/arch/x86/boot/linux_boot/mod.rs:68
↓ 2 callers
Function
parse_initramfs
(mb2_info: &BootInformation)
ostd/src/arch/x86/boot/multiboot2/mod.rs:39
↓ 2 callers
Function
parse_initramfs_range
()
ostd/src/arch/loongarch/boot/mod.rs:80
↓ 2 callers
Function
parse_initramfs_range
()
ostd/src/arch/riscv/boot/mod.rs:100
↓ 2 callers
Function
parse_isa_extensions_list
(isa_extensions: &fdt::node::NodeProperty)
ostd/src/arch/riscv/cpu/extension.rs:80
↓ 2 callers
Function
parse_isa_string
(isa: &fdt::node::NodeProperty)
ostd/src/arch/riscv/cpu/extension.rs:42
↓ 2 callers
Function
parse_kernel_commandline
(mb1_info: &MultibootLegacyInfo)
ostd/src/arch/x86/boot/multiboot/mod.rs:22
↓ 2 callers
Function
parse_kernel_commandline
(boot_params: &BootParams)
ostd/src/arch/x86/boot/linux_boot/mod.rs:44
↓ 2 callers
Function
parse_kernel_commandline
(mb2_info: &BootInformation)
ostd/src/arch/x86/boot/multiboot2/mod.rs:23
↓ 2 callers
Function
parts_for_cpus
(num_cpus: usize)
ostd/src/cpu/set.rs:30
↓ 2 callers
Method
path
(&self)
osdk/src/bundle/file.rs:40
↓ 2 callers
Method
pause_timeout
(&self, timeout: &TimeoutExt<'_>)
kernel/src/process/signal/pause.rs:139
↓ 2 callers
Method
pause_until_or_timeout_impl
( &self, cond: F, timeout: Option<&ManagedTimeout>, )
kernel/src/process/signal/pause.rs:103
↓ 2 callers
Function
payload
Returns an immutable slice containing the payload (i.e., the kernel).
ostd/libs/linux-bzimage/setup/src/x86/mod.rs:46
↓ 2 callers
Method
payload_as_bytes
(&self)
kernel/src/net/socket/netlink/message/attr/noattr.rs:15
↓ 2 callers
Method
peek_prio
(&self)
kernel/src/sched/sched_class/real_time.rs:132
↓ 2 callers
Method
peer_addr
(&self)
kernel/src/net/socket/vsock/stream/socket.rs:301
↓ 2 callers
Function
perform_sequential_io
test/src/apps/file_io/file_io.c:43
↓ 2 callers
Method
period
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 callers
Method
ph_addr
The virtual addr of program headers table address
kernel/src/process/program_loader/elf/elf_file.rs:70
↓ 2 callers
Method
pid
(&self)
kernel/src/ipc/semaphore/system_v/sem.rs:81
↓ 2 callers
Method
policy_kind
(&self)
kernel/src/sched/sched_class/mod.rs:168
↓ 2 callers
Method
poll
(&self, mask: IoEvents, poller: Option<&mut PollHandle>)
kernel/src/net/socket/ip/datagram/mod.rs:115
↓ 2 callers
Method
poll
(&self, mask: IoEvents, poller: Option<&mut PollHandle>)
kernel/src/syscall/eventfd.rs:168
↓ 2 callers
Method
poll
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 callers
Method
pop_back
(&mut self)
osdk/deps/test-kernel/src/path.rs:45
↓ 2 callers
Method
pop_device_transport
(&self)
kernel/comps/virtio/src/transport/pci/driver.rs:29
↓ 2 callers
Method
pop_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 callers
Method
port
(&self)
kernel/src/net/socket/netlink/table/mod.rs:201
↓ 2 callers
Method
post_run_action
(&self, config: &Config, qemu_monitor_stream: Option<&mut UnixStream>)
osdk/src/bundle/mod.rs:340
↓ 2 callers
Method
prepare
Prepare phase for an Append TX, mainly to create new TX and WAL.
kernel/comps/mlsdisk/src/layers/4-lsm/wal.rs:225
↓ 2 callers
Function
print_assert_xmm8
test/src/apps/signal_c/signal_fpu.c:35
↓ 2 callers
Function
print_stack_trace
()
ostd/src/panic.rs:54
↓ 2 callers
Method
probe
( &self, device: PciCommonDevice, )
kernel/comps/virtio/src/transport/pci/driver.rs:41
↓ 2 callers
Method
probe
( &self, device: MmioCommonDevice, )
kernel/comps/virtio/src/transport/mmio/driver.rs:33
↓ 2 callers
Function
process_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 callers
Method
process_tcp_until_outgoing
( &mut self, ip_repr: &IpRepr, tcp_repr: &TcpRepr, )
kernel/libs/aster-bigtcp/src/iface/poll.rs:145
↓ 2 callers
Method
process_udp
(&mut self, ip_repr: &IpRepr, udp_repr: &UdpRepr, udp_payload: &[u8])
kernel/libs/aster-bigtcp/src/iface/poll.rs:278
↓ 2 callers
Method
project_type
(&self)
osdk/src/cli.rs:148
↓ 2 callers
Function
protect_range
Applies a protection operation to a range of virtual addresses within a PageTable.
ostd/src/mm/page_table/test.rs:53
↓ 2 callers
Method
push_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 callers
Method
put
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 callers
Function
queue_wake
(wake: F)
ostd/src/sync/wait.rs:438
↓ 2 callers
Method
rdi
(&self)
ostd/src/arch/x86/tdx_guest.rs:173
← previous
next →
1,801–1,900 of 7,307, ranked by callers