MCPcopy Create free account

hub / github.com/asterinas/vostd / functions

Functions7,307 in github.com/asterinas/vostd

↓ 9 callersMethodread_updated_state
Ensures that the socket state is up to date and obtains a read lock on it. For a description of what "up-to-date" means, see [`Self::write_updated_st
kernel/src/net/socket/ip/stream/mod.rs:140
↓ 9 callersMethodremote_endpoint
(&self)
kernel/src/net/socket/ip/stream/connected.rs:140
↓ 9 callersMethodremove
Removes the file table and drops it.
kernel/src/process/posix_thread/thread_local.rs:213
↓ 9 callersMethodrename
(&self, old_name: &str, target: &Arc<dyn Inode>, new_name: &str)
kernel/src/fs/exfat/inode.rs:1604
↓ 9 callersMethodruid
(&self)
kernel/src/process/kill.rs:201
↓ 9 callersMethodsecs
Returns the seconds recorded in the Instant.
kernel/comps/time/src/clocksource.rs:193
↓ 9 callersMethodsector_size
(&self)
kernel/src/fs/exfat/fs.rs:328
↓ 9 callersMethodskip_some
(&mut self, mut nbytes: usize)
kernel/src/util/iovec.rs:208
↓ 9 callersMethodsrc_addr
Returns the source address of the uevent message.
kernel/src/net/socket/netlink/kobject_uevent/message/mod.rs:38
↓ 9 callersMethodsync_all
(&self, fs_guard: &MutexGuard<()>)
kernel/src/fs/exfat/inode.rs:590
↓ 9 callersMethodwaker
(&self)
kernel/src/ipc/semaphore/system_v/sem.rs:77
↓ 9 callersMethodwrite
Writes a register in the MMIO region.
ostd/src/arch/x86/kernel/apic/xapic.rs:45
↓ 8 callersFunctionalign_up
Aligns `x` up to the next multiple of `align`.
kernel/comps/mlsdisk/src/util/mod.rs:15
↓ 8 callersMethodalloc
Allocates the VMO according to the specified options. # Access rights The VMO is initially assigned full access rights.
kernel/src/vm/vmo/options.rs:95
↓ 8 callersMethodappend
Appends one or multiple data blocks at the end.
kernel/comps/mlsdisk/src/layers/1-crypto/crypto_log.rs:262
↓ 8 callersFunctionassert_allocation_well_formed
(layout: Layout)
osdk/deps/frame-allocator/src/test.rs:28
↓ 8 callersMethodbuffer_len
(&self)
kernel/src/device/pty/driver.rs:56
↓ 8 callersMethodcancel
Cancel the current timer's set timeout callback.
kernel/src/time/core/timer.rs:65
↓ 8 callersFunctioncheck_invalid_operand
check whether visiting the operand in local crate is valid. if the operand is invalid, add the def_path to def_paths. The operand is invalid only when
kernel/libs/comp-sys/cargo-component/analysis/src/lib.rs:174
↓ 8 callersMethodcontains
Returns whether an item is contained. # Transaction This method must be called within the context of a transaction.
kernel/comps/mlsdisk/src/tx/mod.rs:335
↓ 8 callersMethodcontext
Returns an immutable reference to the `smoltcp` context.
kernel/libs/aster-bigtcp/src/iface/poll_iface.rs:112
↓ 8 callersMethoddec_hard_links
(&mut self)
kernel/src/fs/ext2/inode.rs:1269
↓ 8 callersMethoddecrypt
( &self, input: &[u8], key: &AeadKey, iv: &AeadIv, aad: &[u8],
kernel/comps/mlsdisk/src/os/mod.rs:334
↓ 8 callersMethoddelete_log
Deletes the log of a given ID. # Panics This method must be called within a TX. Otherwise, this method panics.
kernel/comps/mlsdisk/src/layers/3-log/tx_log.rs:642
↓ 8 callersMethodeuid
(&self)
kernel/src/process/kill.rs:205
↓ 8 callersMethodfold
(&self, cpu_mask: u128)
osdk/src/commands/profile.rs:198
↓ 8 callersMethodget
(&self, rss_type: RssType)
kernel/src/vm/vmar/mod.rs:1164
↓ 8 callersMethodget
Get the buffered data block with the key and copy the content into `buf`.
kernel/comps/mlsdisk/src/layers/5-disk/data_buf.rs:38
↓ 8 callersFunctionget_cmos
(reg: u8)
kernel/comps/time/src/rtc/cmos.rs:12
↓ 8 callersMethodget_file
(&self, fd: FileDesc)
kernel/src/fs/file_table.rs:165
↓ 8 callersFunctionget_thread
Gets a posix thread from the global thread table
kernel/src/process/posix_thread/thread_table.rs:20
↓ 8 callersMethodidxes_and_items
Create an iterator which gives both of the index and the item. The index may not be continuous.
kernel/libs/aster-util/src/slot_vec.rs:112
↓ 8 callersFunctioninit_continuous_with_arc
(xarray: &XArray<Arc<i32>, M>, item_num: i32)
kernel/libs/xarray/src/test.rs:19
↓ 8 callersFunctioninit_sysfs_with_mock_tree
Initialize a SysFs instance using the mock systree.
kernel/src/fs/sysfs/test.rs:232
↓ 8 callersMethodinode_type
(&self)
kernel/src/fs/ext2/inode.rs:73
↓ 8 callersMethodinterface
Acquires the lock to the interface.
kernel/libs/aster-bigtcp/src/iface/common.rs:106
↓ 8 callersMethodipv4_addr
Gets the IPv4 address of the iface, if any. FIXME: One iface may have multiple IPv4 addresses.
kernel/libs/aster-bigtcp/src/iface/iface.rs:69
↓ 8 callersMethodis_dentry_cacheable
(&self)
kernel/src/fs/procfs/template/sym.rs:90
↓ 8 callersMethodis_exited
Returns whether the thread is exited.
kernel/src/thread/mod.rs:110
↓ 8 callersMethoditer
(&self)
osdk/deps/test-kernel/src/path.rs:91
↓ 8 callersMethodkey
Gets the corresponding unique `DentryKey`.
kernel/src/fs/path/dentry.rs:104
↓ 8 callersMethodlen
the number of items
kernel/libs/typeflags/src/flag_set.rs:47
↓ 8 callersMethodmeta
Returns the metadata of the edit journal.
kernel/comps/mlsdisk/src/layers/2-edit/journal.rs:200
↓ 8 callersMethodnew_map
Creates a mapping into the VMAR through a set of VMAR mapping options. # Example ``` use aster_nix::prelude::*; use aster_nix::vm::{PAGE_SIZE, Vmar,
kernel/src/vm/vmar/dyn_cap.rs:60
↓ 8 callersMethodopen
Opens and loads an Ext2 from the `block_device`.
kernel/src/fs/ext2/fs.rs:36
↓ 8 callersMethodoptional_builder
(mut self, f: F)
kernel/src/fs/procfs/template/builder.rs:52
↓ 8 callersMethodpaddr
(&self)
kernel/libs/aster-util/src/safe_ptr.rs:176
↓ 8 callersMethodpeer_end
Returns a reference to the `T` on the remote endpoint.
kernel/src/fs/utils/endpoint.rs:64
↓ 8 callersMethodpop_used
Get a token from device used buffers, return (token, len). Ref: linux virtio_ring.c virtqueue_get_buf_ctx
kernel/comps/virtio/src/queue.rs:304
↓ 8 callersMethodread8
(&self, offset: u16)
ostd/src/bus/pci/device_info.rs:106
↓ 8 callersMethodread_global_status
Reads the global Status of IOMMU
ostd/src/arch/x86/iommu/registers/mod.rs:103
↓ 8 callersFunctionregister
Registers a new FS type.
kernel/src/fs/registry.rs:55
↓ 8 callersMethodremove
(&self, name: Arc<[u8]>)
kernel/src/net/socket/unix/ns/abs.rs:68
↓ 8 callersMethodroot_inode
(&self)
kernel/src/fs/sysfs/fs.rs:47
↓ 8 callersMethodset_timeout
Set the timer with a timeout. The registered callback function of this timer will be invoked when reaching timeout. If the timer has a valid interval
kernel/src/time/core/timer.rs:77
↓ 8 callersMethodsid
Returns the session ID of the process. FIXME: If we call this method on a non-current process without holding the process table lock, it may return z
kernel/src/process/process/mod.rs:314
↓ 8 callersMethodsid_range
Returns the range of target sectors on the device.
kernel/comps/block/src/bio.rs:64
↓ 8 callersMethodstart_paddr
Returns the start physical address.
kernel/libs/aster-util/src/segment_slice.rs:53
↓ 8 callersMethodstatus
(&self)
ostd/src/arch/x86/iommu/fault.rs:31
↓ 8 callersMethodthread_name
(&self)
kernel/src/process/posix_thread/mod.rs:98
↓ 8 callersMethodtype_
Returns the type of the lock (READ/WRITE/UNLOCK)
kernel/src/fs/utils/range_lock/mod.rs:40
↓ 8 callersMethodunlink
(&self, name: &str)
kernel/src/fs/exfat/inode.rs:1514
↓ 8 callersMethodwait_until
Puts the current process in a wait state until the lock condition is satisfied
kernel/src/fs/utils/range_lock/mod.rs:135
↓ 8 callersMethodwalk_to_cluster_at_offset
Walk to the cluster at the given offset, return the new relative offset
kernel/src/fs/exfat/fat.rs:135
↓ 7 callersMethodabs_path
Gets the absolute path. It will resolve the mountpoint automatically.
kernel/src/fs/path/dentry.rs:577
↓ 7 callersMethodactivate
(&self)
kernel/src/process/posix_thread/thread_local.rs:134
↓ 7 callersFunctionadd_node
Add a device node to FS for the device. If the parent path is not existing, `mkdir -p` the parent path. This function is used in registering device.
kernel/src/fs/device.rs:105
↓ 7 callersMethodaddr
(&self)
ostd/src/arch/x86/iommu/dma_remapping/context_table.rs:34
↓ 7 callersMethodas_ptr
(this: &Self)
kernel/libs/keyable-arc/src/lib.rs:136
↓ 7 callersMethodas_ref
(&self)
kernel/libs/keyable-arc/src/lib.rs:170
↓ 7 callersMethodas_slice
Returns a slice containing the data in the write buffer.
kernel/comps/mlsdisk/src/layers/2-edit/journal.rs:659
↓ 7 callersFunctionassert_split_to_chunk
( addr_frame_num: usize, size_num_frames: usize, expected: Vec<(Paddr, Bud
osdk/deps/frame-allocator/src/chunk.rs:322
↓ 7 callersFunctionassert_stdout_contains_msg
(output: &Output, msg: &str)
osdk/tests/util/mod.rs:43
↓ 7 callersMethodblock_device
Returns the block device.
kernel/src/fs/ext2/fs.rs:107
↓ 7 callersMethodblock_device
(&self)
kernel/src/fs/exfat/fs.rs:308
↓ 7 callersMethodblock_range
Returns the range of blocks that are accessible through the `CryptoChain`.
kernel/comps/mlsdisk/src/layers/1-crypto/crypto_chain.rs:200
↓ 7 callersMethodcan_pop
Whether there is a used element that can pop.
kernel/comps/virtio/src/queue.rs:257
↓ 7 callersMethodcan_send
(&self)
kernel/comps/virtio/src/device/network/device.rs:327
↓ 7 callersMethodcheck_index
(&self, index: usize)
kernel/comps/mlsdisk/src/util/bitmap.rs:50
↓ 7 callersMethodcmp
(&self, other: &Self)
kernel/src/fs/epoll/file.rs:288
↓ 7 callersMethodcomplete
Update the status of the request to "completed" by giving the response to the request. After the invoking this API, the request is considered complet
kernel/comps/mlsdisk/src/layers/5-disk/bio.rs:177
↓ 7 callersMethodcreate
( &self, _args: Option<CString>, disk: Option<Arc<dyn BlockDevice>>, ctx: &Con
kernel/src/fs/exfat/fs.rs:461
↓ 7 callersFunctioncreate_dummy_frame
Helper function to create a dummy `UFrame`.
ostd/src/mm/test.rs:500
↓ 7 callersMethoddaddr
(&self)
kernel/comps/network/src/dma_pool.rs:210
↓ 7 callersMethoddec_nlinks
(&mut self)
kernel/src/fs/ramfs/fs.rs:263
↓ 7 callersFunctiondepends_on_local_ostd
Makes crates created by `cargo ostd new` depends on ostd locally, instead of ostd from remote source(git repo/crates.io). Each crate created by `carg
osdk/tests/util/mod.rs:109
↓ 7 callersMethoddrain
Clears the current line and returns the bytes in it.
kernel/src/device/tty/line_discipline.rs:69
↓ 7 callersMethodduration_since
Returns the duration since an earlier time. Return error if `earlier` is later than self.
kernel/src/time/system_time.rs:64
↓ 7 callersFunctioneat_escape_sequence
(esc_fsm: &mut EscapeFsm, state: &mut State, bytes: &[u8])
kernel/comps/framebuffer/src/ansi_escape.rs:216
↓ 7 callersMethodegid
(&self)
kernel/src/process/credentials/credentials_.rs:264
↓ 7 callersMethodentry_with
( &'a self, guard: &'a dyn InAtomicMode, offset: u8, )
kernel/libs/xarray/src/node.rs:168
↓ 7 callersMethodeuid
(&self)
kernel/src/process/credentials/credentials_.rs:87
↓ 7 callersMethodextension
(&self)
kernel/src/fs/ext2/inode.rs:780
↓ 7 callersMethodfile_table
(&self)
kernel/src/process/posix_thread/mod.rs:102
↓ 7 callersMethodfill_zeros
Fill the specified range with zeros in the page cache.
kernel/src/fs/utils/page_cache.rs:94
↓ 7 callersMethodflush
Ensures that all new data are persisted. Each successful flush triggers writing a new version of the root MHT node to the underlying block log. The m
kernel/comps/mlsdisk/src/layers/1-crypto/crypto_log.rs:283
↓ 7 callersMethodget
Gets a child mount node from the mountpoint if any.
kernel/src/fs/path/mount.rs:197
↓ 7 callersMethodget_cur
Gets the current rlimit without synchronization.
kernel/src/process/rlimit.rs:133
↓ 7 callersMethodget_entry
(&self, name: &str)
kernel/src/fs/ramfs/fs.rs:302
↓ 7 callersFunctionget_key
(item: &str, separator: &str)
osdk/src/config/unix_args.rs:130
← previousnext →401–500 of 7,307, ranked by callers