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
Method
from
(ep_event: &EpollEvent)
kernel/src/syscall/epoll.rs:275
Method
from
(raw: c_pollfd)
kernel/src/syscall/poll.rs:259
Method
from
(value: Clone3Args)
kernel/src/syscall/clone.rs:85
Method
from
(info: Metadata)
kernel/src/syscall/statx.rs:120
Method
from
(stack: SigStack)
kernel/src/syscall/sigaltstack.rs:118
Method
from
(rights: Rights)
kernel/src/vm/perms.rs:20
Method
from
(e: Error)
kernel/src/vm/vmo/mod.rs:128
Method
from
(value: ThreadStatus)
kernel/src/thread/status.rs:37
Method
from
(flags: u64)
kernel/src/process/clone.rs:156
Method
from
(value: CapSet)
kernel/src/process/credentials/capabilities.rs:89
Method
from
(value: u32)
kernel/src/process/credentials/group.rs:43
Method
from
(value: u32)
kernel/src/process/credentials/user.rs:43
Method
from
(input: sigaction_t)
kernel/src/process/signal/sig_action.rs:28
Method
from
(signum: SigNum)
kernel/src/process/signal/sig_mask.rs:37
Method
from
(value: Status)
kernel/src/ipc/semaphore/system_v/sem.rs:51
Method
from
(duration: Duration)
kernel/src/time/mod.rs:43
Method
from
(value: &Duration)
kernel/src/time/wait.rs:94
Method
from
(rights: Rights)
kernel/src/fs/utils/access_mode.rs:45
Method
from
(bytes: &'a [u8])
kernel/src/fs/utils/mod.rs:106
Method
from
(type_: DeviceType)
kernel/src/fs/utils/inode.rs:80
Method
from
(value: Arc<Entry>)
kernel/src/fs/epoll/file.rs:306
Method
from
(value: (FileDesc, KeyableWeak<dyn FileLike>))
kernel/src/fs/epoll/entry.rs:41
Method
from
(bid: Ext2Bid)
kernel/src/fs/ext2/block_ptr.rs:100
Method
from
(desc: RawGroupDescriptor)
kernel/src/fs/ext2/block_group.rs:478
Method
from
(sb: &SuperBlock)
kernel/src/fs/ext2/super_block.rs:494
Method
from
(inode_type: InodeType)
kernel/src/fs/ext2/dir.rs:124
Method
from
(inode: &InodeDesc)
kernel/src/fs/ext2/inode.rs:2333
Method
from
(ext2_sb: RwMutexReadGuard<Dirty<Ext2SuperBlock>>)
kernel/src/fs/ext2/impl_for_vfs/fs.rs:36
Method
from
(perm: FilePerm)
kernel/src/fs/ext2/impl_for_vfs/inode.rs:221
Method
from
( fs: Arc<ExfatFS>, name: &str, inode_type: InodeType, _mode: InodeMode, )
kernel/src/fs/exfat/dentry.rs:221
Method
from
(value: ClusterID)
kernel/src/fs/exfat/fat.rs:28
Method
from
(value: XattrName)
kernel/src/fs/ramfs/xattr.rs:181
Method
from
(value: RandError)
kernel/src/util/random.rs:56
Method
from
(value: LingerOption)
kernel/src/util/net/options/utils.rs:213
Method
from
(value: (Ipv4Address, PortNum))
kernel/src/util/net/addr/ip.rs:29
Method
from
(value: NetlinkSocketAddr)
kernel/src/util/net/addr/netlink.rs:24
Method
from
(value: VsockSocketAddr)
kernel/src/util/net/addr/vsock.rs:23
Method
from
(value: smoltcp::socket::tcp::ListenError)
kernel/libs/aster-bigtcp/src/errors.rs:25
Method
from
(listen_endpoint: IpListenEndpoint)
kernel/libs/aster-bigtcp/src/socket_table.rs:47
Method
from
(arc: Arc<T>)
kernel/libs/keyable-arc/src/lib.rs:184
Method
from
(segment: USegment)
kernel/libs/aster-util/src/segment_slice.rs:130
Method
from
(err: core2::io::Error)
kernel/libs/cpio-decoder/src/error.rs:19
Method
from
(_: QueueError)
kernel/comps/virtio/src/device/mod.rs:53
Method
from
(value: QueueError)
kernel/comps/virtio/src/device/socket/error.rs:68
Method
from
(bid: Bid)
kernel/comps/block/src/id.rs:16
Method
from
(bio: SubmittedBio)
kernel/comps/block/src/request_queue.rs:213
Method
from
(_error: BioEnqueueError)
kernel/comps/block/src/bio.rs:150
Method
from
(value: Duration)
kernel/comps/time/src/clocksource.rs:204
Method
from
(cmos: CmosData)
kernel/comps/time/src/rtc/cmos.rs:113
Method
from
(errno: Errno)
kernel/comps/mlsdisk/src/error.rs:66
Method
from
(value: u8)
kernel/comps/mlsdisk/src/layers/4-lsm/tx_lsm_tree.rs:826
Method
from
(value: u8)
kernel/comps/mlsdisk/src/layers/4-lsm/sstable.rs:771
Method
from
(value: u8)
kernel/comps/mlsdisk/src/layers/5-disk/block_alloc.rs:396
Method
from
(_err: PageTableError)
ostd/src/error.rs:29
Method
from
(value: E820Type)
ostd/src/arch/x86/boot/linux_boot/mod.rs:114
Method
from
(value: MemoryAreaType)
ostd/src/arch/x86/boot/multiboot2/mod.rs:75
Method
from
(value: u32)
ostd/src/arch/x86/kernel/apic/mod.rs:251
Method
from
(cpu_id: CpuId)
ostd/src/cpu/set.rs:143
Method
from
(value: Jiffies)
ostd/src/timer/jiffies.rs:51
Method
from
(os_string: OsString)
ostd/libs/linux-bzimage/builder/src/encoder.rs:39
Method
from
(addr: usize)
ostd/libs/linux-bzimage/builder/src/mapping.rs:32
Method
from_args
(option: i32, arg2: u64, _arg3: u64, _arg4: u64, _arg5: u64)
kernel/src/syscall/prctl.rs:142
Method
from_buf
(buf: Vec<u8>)
kernel/comps/mlsdisk/src/layers/4-lsm/sstable.rs:558
Method
from_buf
Create a new data block from the given `buf`.
kernel/comps/mlsdisk/src/layers/5-disk/data_buf.rs:120
Method
from_bufs
(bufs: &'a mut [BufMut<'a>])
kernel/comps/mlsdisk/src/layers/5-disk/mlsdisk.rs:647
Method
from_bytes
Parses an [`Rhsa`] from the bytes. # Panics This method may panic if the bytes do not represent a valid [`Rhsa`].
ostd/src/arch/x86/kernel/acpi/remapping.rs:250
Method
from_bytes_prefix
Parses a [`DeviceScope`] from a prefix of the bytes. # Panics This method may panic if the byte prefix does not represent a valid [`DeviceScope`].
ostd/src/arch/x86/kernel/acpi/remapping.rs:226
Method
from_bytes_with_capacity
Constructs a new id allocator from a slice of `u8` bytes and a maximum capacity. The slice of `u8` bytes is the raw data of a bitmap.
ostd/libs/id-alloc/src/lib.rs:32
Method
from_chunk_edit
(chunk_edit: &ChunkAllocEdit)
kernel/comps/mlsdisk/src/layers/3-log/tx_log.rs:1326
Method
from_connecting
(connecting: Arc<Connecting>)
kernel/src/net/socket/vsock/stream/connected.rs:35
Method
from_control
Builds the auxiliary data from the control messages.
kernel/src/net/socket/unix/ctrl_msg.rs:213
Method
from_current_dir
Creates a new `DirGuard` using the current working directory as the original directory.
osdk/src/util.rs:357
Function
from_device
()
ostd/src/mm/dma/test.rs:240
Method
from_duration
(duration: Duration)
kernel/src/fs/exfat/utils.rs:86
Method
from_encoded_u64
Creates a device ID from the encoded `u64` value. See [`as_encoded_u64`] for details about how to encode a device ID to a `u64` value. [`as_encoded_
kernel/src/fs/device.rs:74
Method
from_flags_and_mode
(flags: u32, mode: u16)
kernel/src/fs/fs_resolver.rs:418
Method
from_free_head
Gets a buddy chunk from the head frame. The caller must ensure that the head frame should be uniquely free. Otherwise it waits indefinitely. We need
osdk/deps/frame-allocator/src/chunk.rs:142
Method
from_head
(head: &RawLogHead)
kernel/comps/mlsdisk/src/layers/3-log/raw_log.rs:1071
Method
from_header
(header: &VirtioVsockHdr)
kernel/comps/virtio/src/device/socket/connect.rs:94
Method
from_i32
(bits: i32)
kernel/src/syscall/flock.rs:63
Method
from_id
For `wait4` and `kill`.
kernel/src/process/process_filter.rs:43
Method
from_index
Creates a minimal `Height` that allows the `index`-th item to be stored.
kernel/libs/xarray/src/node.rs:65
Method
from_iter
(iter: I)
osdk/deps/test-kernel/src/tree.rs:94
Method
from_layout
(layout: Layout)
osdk/deps/heap-allocator/src/allocator.rs:37
Method
from_log
Builds a SST from a `TxLog`, loads the footer and the index blocks. # Panics This method must be called within a TX. Otherwise, this method panics.
kernel/comps/mlsdisk/src/layers/4-lsm/sstable.rs:504
Method
from_meta
Constructs a `DefaultCompactPolicy` from `EditJournalMeta`.
kernel/comps/mlsdisk/src/layers/2-edit/journal.rs:783
Method
from_name_dentries
( names: &[ExfatNameDentry], upcase_table: Arc<SpinLock<ExfatUpcaseTable>>, )
kernel/src/fs/exfat/dentry.rs:645
Method
from_offset
Constructs an id from a byte offset.
kernel/comps/block/src/id.rs:58
Method
from_parts
Constructs a `TxLogStore` from its parts.
kernel/comps/mlsdisk/src/layers/3-log/tx_log.rs:269
Method
from_parts
Constructs a `RawLogStore` from its parts.
kernel/comps/mlsdisk/src/layers/3-log/raw_log.rs:123
Method
from_parts
Constructs a `ChunkAlloc` from its parts.
kernel/comps/mlsdisk/src/layers/3-log/chunk.rs:75
Method
from_paths
(paths: I)
osdk/deps/test-kernel/src/path.rs:181
Method
from_payload_len
Creates from the type and the payload length.
kernel/src/net/socket/netlink/message/attr/mod.rs:55
Method
from_qualified_str
(qualified_path: &str)
kernel/libs/comp-sys/cargo-component/analysis/src/conf.rs:146
Method
from_raw_log_edit
(raw_log_edit: &RawLogStoreEdit)
kernel/comps/mlsdisk/src/layers/3-log/tx_log.rs:1334
Method
from_raw_mode
Parse the inode type in the `mode` from syscall, and convert it into `InodeType`.
kernel/src/fs/utils/inode.rs:66
Method
from_raw_mode
(mode: u16)
kernel/src/fs/ext2/inode.rs:2237
Method
from_request
(request_segment: &'a LinkSegment)
kernel/src/net/socket/netlink/route/kernel/link.rs:54
Method
from_rtc_raw
(century_register: u8)
kernel/comps/time/src/rtc/cmos.rs:34
Method
from_secs
Converts seconds to retransmits.
kernel/src/net/socket/ip/stream/util.rs:60
← previous
next →
4,601–4,700 of 7,307, ranked by callers