MCPcopy Create free account

hub / github.com/asterinas/vostd / functions

Functions7,307 in github.com/asterinas/vostd

↓ 34 callersMethodpid
(&self)
kernel/src/process/wait.rs:142
↓ 34 callersMethodread
(&self, writer: &mut VmWriter)
kernel/src/fs/devpts/ptmx.rs:195
↓ 33 callersMethodget
(&self)
kernel/src/net/socket/ip/options.rs:97
↓ 32 callersMethodas_mut
(&mut self)
kernel/libs/aster-bigtcp/src/iface/poll_iface.rs:31
↓ 32 callersMethodinvalidate
Invalidates the (internal) cached events. This method should be called whenever old events disappear but no new events arrive. The invalidation can b
kernel/src/process/signal/poll.rs:185
↓ 32 callersMethoditer
(&self)
osdk/deps/test-kernel/src/tree.rs:143
↓ 32 callersMethodwrite
(&self, reader: &mut VmReader)
kernel/src/net/socket/mod.rs:138
↓ 31 callersFunctioncargo_osdk
(args: I)
osdk/tests/util/mod.rs:16
↓ 31 callersMethoditer_mut
Returns an iterator for mutable buffers of `BLOCK_SIZE`.
kernel/comps/mlsdisk/src/layers/0-bio/block_buf.rs:142
↓ 30 callersMethodcontains
Returns true if the set contains the specified CPU.
ostd/src/cpu/set.rs:67
↓ 30 callersMethodcontext
Enter the context of the current TX. While within the context of a TX, the implementation side of a TX can get the current TX via `TxProvider::curren
kernel/comps/mlsdisk/src/tx/current.rs:28
↓ 29 callersMethodas_bytes
Views it as a slice of `u8` bytes.
kernel/src/fs/ext2/block_ptr.rs:66
↓ 29 callersMethodinsert
Inserts a valid cacheable dentry.
kernel/src/fs/path/dentry.rs:457
↓ 29 callersFunctionnow
Returns the current time.
kernel/src/fs/ext2/utils.rs:8
↓ 29 callersMethodtype_
Returns the inode type of the entry.
kernel/src/fs/ext2/dir.rs:60
↓ 29 callersMethodwrite_fallible
(&mut self, reader: &mut dyn MultiRead)
kernel/src/util/ring_buffer.rs:228
↓ 28 callersFunctioncreate
()
kernel/comps/mlsdisk/src/layers/1-crypto/crypto_blob.rs:292
↓ 28 callersMethodcredentials
Gets the read-only credentials of the thread.
kernel/src/process/posix_thread/mod.rs:293
↓ 28 callersMethoditer
Returns an iterator over the attributes in the set.
kernel/comps/systree/src/attr.rs:72
↓ 28 callersMethodremove
(&mut self, id: TxLogId, level: LsmLevel)
kernel/comps/mlsdisk/src/layers/4-lsm/tx_lsm_tree.rs:862
↓ 27 callersMethodcontext_mut
Returns the `smoltcp` context for passing to the `smoltcp` APIs.
kernel/libs/aster-bigtcp/src/iface/poll_iface.rs:57
↓ 27 callersMethodcurrent
Get the current TX. # Panics The caller of this method must be within the closure passed to `Tx::context`. Otherwise, the method would panic.
kernel/comps/mlsdisk/src/tx/mod.rs:69
↓ 27 callersMethoddata_mut_with
Get mutable access to some type of the per-transaction data within a closure.
kernel/comps/mlsdisk/src/tx/current.rs:119
↓ 27 callersMethodlen
(&self)
kernel/src/syscall/getdents64.rs:141
↓ 27 callersMethodwrite
Write a specified number of blocks at a logical block address on the device. The block contents reside in a single contiguous buffer.
kernel/comps/mlsdisk/src/layers/5-disk/mlsdisk.rs:185
↓ 26 callersMethodappend
Append phase for an Append TX, mainly to append newly records to the WAL.
kernel/comps/mlsdisk/src/layers/4-lsm/wal.rs:63
↓ 26 callersMethodbuild
(mut self)
kernel/src/fs/procfs/template/builder.rs:47
↓ 26 callersMethodload
Loads the `index`-th item. If the target item exists, it will be returned with `Some(_)`, otherwise, `None` will be returned.
kernel/libs/xarray/src/lib.rs:176
↓ 26 callersMethodset_ctime
(&mut self, time: Duration)
kernel/src/fs/ext2/inode.rs:1306
↓ 26 callersMethodstart_paddr
Gets the start address of the memory region.
osdk/deps/frame-allocator/src/test.rs:76
↓ 25 callersMethodborrow_file_table
(&self)
kernel/src/process/posix_thread/thread_local.rs:78
↓ 25 callersMethoditer
Create an iterator which just gives the item.
kernel/libs/aster-util/src/slot_vec.rs:121
↓ 25 callersFunctionnew_pair
()
kernel/src/fs/pipe.rs:35
↓ 25 callersMethodpop
(&self)
kernel/src/fs/utils/channel.rs:314
↓ 25 callersMethodread
(&mut self, register: u8)
ostd/src/arch/x86/kernel/irq/ioapic.rs:182
↓ 25 callersMethodset_ctime
(&mut self, time: Duration)
kernel/src/fs/ramfs/fs.rs:255
↓ 25 callersMethodsubset
(&self, range: Range<BlockId>)
kernel/comps/mlsdisk/src/layers/0-bio/block_set.rs:175
↓ 24 callersMethodclone
(&self)
kernel/libs/aster-util/src/safe_ptr.rs:377
↓ 24 callersMethodcommit
Commit phase for an Append TX, mainly to commit (or abort) the TX. After the committed WAL is sealed. Return the corresponding log ID. # Panics This
kernel/comps/mlsdisk/src/layers/4-lsm/wal.rs:96
↓ 24 callersMethodget
(&self, idx: usize)
kernel/comps/virtio/src/device/input/device.rs:274
↓ 24 callersMethodput_entry_if_not_found
(&mut self, name: &str, f: impl Fn() -> Arc<dyn Inode>)
kernel/src/fs/utils/direntry_vec.rs:18
↓ 24 callersMethodspawn
(self)
kernel/src/thread/kernel_thread.rs:81
↓ 24 callersMethodwrite
(&self, reader: &mut VmReader)
kernel/src/syscall/eventfd.rs:191
↓ 24 callersMethodwrite_bytes
(&self, buf: &[u8])
kernel/src/fs/file_handle.rs:122
↓ 23 callersMethodadd
(&mut self, rss_type: RssType, increment: isize)
kernel/src/vm/vmar/mod.rs:1160
↓ 23 callersMethodas_mut_ptr
Gets access to the underlying value through a raw pointer. This function calculates the virtual address of the CPU-local object based on the CPU-loca
ostd/src/cpu/local/cell.rs:110
↓ 23 callersMethodparent
(&self)
kernel/src/fs/procfs/template/dir.rs:60
↓ 23 callersMethodreplace
Replaces the page at the `page_idx` in the VMO with the input `page`. # Access rights The method requires the Write right.
kernel/src/vm/vmo/dyn_cap.rs:114
↓ 23 callersMethodstart
Returns the starting position of the lock range
kernel/src/fs/utils/range_lock/mod.rs:103
↓ 22 callersMethodcommon
(&self)
kernel/libs/aster-bigtcp/src/iface/phy/ip.rs:55
↓ 22 callersMethodis_directory
(&self)
kernel/src/fs/utils/inode.rs:57
↓ 22 callersMethodlookup
Lookups the target child `OverlayInode`. If the child is not present in cache, it will be built from the layered lookups within the lower layers.
kernel/src/fs/overlayfs/fs.rs:208
↓ 22 callersMethodpgid
Returns the process group ID of the process. FIXME: If we call this method on a non-current process without holding the process table lock, it may re
kernel/src/process/process/mod.rs:303
↓ 22 callersMethodread
(&self)
ostd/src/io/io_port/mod.rs:67
↓ 22 callersMethodreader
Constructs a reader to parse the content of an `InitStack`. The `InitStack` should only be read after initialized
kernel/src/process/process_vm/init_stack/mod.rs:201
↓ 22 callersMethodwrite
(&self, reader: &mut VmReader)
kernel/src/fs/devpts/ptmx.rs:199
↓ 22 callersMethodwrite
(&self, value: T)
ostd/src/io/io_port/mod.rs:75
↓ 21 callersMethodas_thread
(&self)
kernel/src/thread/mod.rs:158
↓ 21 callersMethodpop_front
(&mut self)
osdk/deps/test-kernel/src/path.rs:54
↓ 21 callersMethodresize
Resize current inode to new_size. The `size_allocated` field in inode can be enlarged, while the `size` field will not.
kernel/src/fs/exfat/inode.rs:267
↓ 21 callersMethodto_raw
Converts to raw id.
kernel/comps/block/src/id.rs:68
↓ 21 callersMethodwait
Waits for interesting events happen on the files in the interest list of the epoll file. This method blocks until either some interesting events happ
kernel/src/fs/epoll/file.rs:185
↓ 20 callersMethodabort
Abort the current edit group by removing all its contained edits.
kernel/comps/mlsdisk/src/layers/2-edit/journal.rs:279
↓ 20 callersMethodcontains
Find if any suffix of the path exists in the suffix trie.
osdk/deps/test-kernel/src/path.rs:219
↓ 20 callersFunctionget_vm_rss_kb
test/src/apps/mmap/mmap_vmrss.c:24
↓ 20 callersMethodinode
(&self)
kernel/src/fs/inode_handle/dyn_cap.rs:130
↓ 20 callersMethodlen
(&self)
osdk/deps/test-kernel/src/path.rs:59
↓ 20 callersMethodsize
(&self)
osdk/src/bundle/bin.rs:53
↓ 20 callersMethodstatus
Returns a reference to the process status.
kernel/src/process/process/mod.rs:674
↓ 20 callersMethodto_str
(self)
osdk/src/arch.rs:65
↓ 19 callersMethodas_slice
(&self)
kernel/comps/mlsdisk/src/layers/4-lsm/sstable.rs:563
↓ 19 callersFunctioncreate_file
(parent: Arc<dyn Inode>, filename: &str)
kernel/src/fs/exfat/mod.rs:143
↓ 19 callersMethoddata_with
Get immutable access to some type of the per-transaction data within a closure. # Panics The `data_with` method must _not_ be called recursively.
kernel/comps/mlsdisk/src/tx/current.rs:108
↓ 19 callersMethodget
Get the singleton of this clock.
kernel/src/time/clocks/system_wide.rs:27
↓ 19 callersMethodread_bytes
(&self, buf: &mut [u8])
kernel/src/fs/file_handle.rs:117
↓ 19 callersMethodread_with
Reads from the endpoint and updates the local/remote [`Pollee`]s. Note that if `read` returns `Ok(0)`, it is assumed that there is no data to read an
kernel/src/fs/utils/endpoint.rs:133
↓ 19 callersMethodresize
Resizes current VMO to target size.
kernel/src/vm/vmo/mod.rs:418
↓ 19 callersMethodstarts_with
(&self, other: &Self)
osdk/deps/test-kernel/src/path.rs:67
↓ 18 callersMethodas_bytes_mut
Views it as a mutable slice of `u8` bytes.
kernel/src/fs/ext2/block_ptr.rs:71
↓ 18 callersMethodas_usize
Converts the CPU ID to an `usize`.
ostd/src/cpu/mod.rs:25
↓ 18 callersMethodcontains
Checks if an attribute with the given name exists in the set.
kernel/comps/systree/src/attr.rs:87
↓ 18 callersMethodcurrent_cpu
Returns the ID of the current CPU.
ostd/src/cpu/mod.rs:144
↓ 18 callersMethodget
Returns a reference to the inner data. # Safety If the data type is not [`Sync`], the caller must ensure that the data is not accessed concurrently.
ostd/src/task/utils.rs:29
↓ 18 callersMethodinsert
Inserts an interval item into the interval set.
kernel/src/vm/vmar/interval_set.rs:52
↓ 18 callersFunctionload_exfat
Generate a simulated exfat file system
kernel/src/fs/exfat/mod.rs:134
↓ 18 callersMethodnblocks
(&self)
kernel/comps/mlsdisk/src/layers/5-disk/mlsdisk.rs:656
↓ 18 callersMethodnum
(&self)
kernel/src/process/signal/signals/user.rs:50
↓ 18 callersMethodread_fallible
Reads data from the `writer` to the `RingBuffer`. Returns the number of bytes read.
kernel/src/util/ring_buffer.rs:239
↓ 18 callersMethodthis
(&self)
kernel/src/fs/procfs/template/dir.rs:56
↓ 18 callersMethodwriter
(&self, from_offset: usize)
kernel/src/fs/utils/inode.rs:580
↓ 17 callersMethodclone
(&self)
kernel/src/process/rlimit.rs:175
↓ 17 callersMethodcluster_size
(&self)
kernel/src/fs/exfat/fs.rs:340
↓ 17 callersMethoddefault_char
The special char is from gvisor
kernel/src/device/tty/termio.rs:200
↓ 17 callersMethodend
Returns the ending position of the lock range
kernel/src/fs/utils/range_lock/mod.rs:108
↓ 17 callersMethodinsert
Inserts a new task to the task set. This method will fail if [`Self::set_exited_group`] has been called before.
kernel/src/process/task_set.rs:29
↓ 17 callersFunctionnow
()
kernel/src/fs/ramfs/fs.rs:1277
↓ 17 callersMethodsig_mask
Get the reference to the signal mask of the thread. Note that while this function offers mutable access to the signal mask, it is not sound for calle
kernel/src/process/posix_thread/mod.rs:115
↓ 17 callersMethodspecial_char_mut
(&mut self, id: CCtrlCharId)
kernel/src/device/tty/termio.rs:283
↓ 17 callersMethodwake_all
Wakes all threads that are waiting for this lock.
kernel/src/fs/utils/flock.rs:66
↓ 17 callersMethodwrite_bytes
Writes bytes from the source `VmReader` to the user space of the current process. If the writing is completely successful, returns `Ok`. Otherwise, i
kernel/src/context.rs:134
← previousnext →101–200 of 7,307, ranked by callers