MCPcopy Create free account

hub / github.com/asterinas/vostd / functions

Functions7,307 in github.com/asterinas/vostd

↓ 2 callersFunctiondo_sys_preadv
( fd: FileDesc, io_vec_ptr: Vaddr, io_vec_count: usize, offset: i64, _flags: RWFFlag,
kernel/src/syscall/preadv.rs:51
↓ 2 callersFunctiondo_sys_pwritev
( fd: FileDesc, io_vec_ptr: Vaddr, io_vec_count: usize, offset: i64, _flags: RWFFlag,
kernel/src/syscall/pwritev.rs:51
↓ 2 callersFunctiondo_sys_readv
( fd: FileDesc, io_vec_ptr: Vaddr, io_vec_count: usize, ctx: &Context, )
kernel/src/syscall/preadv.rs:123
↓ 2 callersFunctiondo_sys_select
( nfds: FileDesc, readfds_addr: Vaddr, writefds_addr: Vaddr, exceptfds_addr: Vaddr, timeou
kernel/src/syscall/select.rs:39
↓ 2 callersFunctiondo_sys_semtimedop
( sem_id: i32, tsops: Vaddr, nsops: usize, timeout: Option<Duration>, ctx: &Context, )
kernel/src/syscall/semop.rs:46
↓ 2 callersFunctiondo_sys_writev
( fd: FileDesc, io_vec_ptr: Vaddr, io_vec_count: usize, ctx: &Context, )
kernel/src/syscall/pwritev.rs:124
↓ 2 callersFunctiondo_wait
( child_filter: ProcessFilter, wait_options: WaitOptions, ctx: &Context, )
kernel/src/process/wait.rs:62
↓ 2 callersMethoddrain_output
(&self)
kernel/src/device/tty/n_tty.rs:25
↓ 2 callersMethoddraw_char
(&mut self, ch: u8)
kernel/comps/framebuffer/src/console.rs:162
↓ 2 callersMethoddup
(&self)
kernel/src/net/socket/unix/cred.rs:73
↓ 2 callersMethodeffective_name
Gets the effective name of the `Dentry`. If it is the root of a mount, it will go up to the mountpoint to get the name of the mountpoint recursively.
kernel/src/fs/path/dentry.rs:600
↓ 2 callersMethodenable
Enables this `Taskless` so that it can be executed once it has been scheduled. A new `Taskless` is enabled by default.
kernel/comps/softirq/src/taskless.rs:109
↓ 2 callersMethodenable
(&mut self)
ostd/src/arch/x86/kernel/apic/xapic.rs:52
↓ 2 callersFunctionenable_interrupt
Enables the interrupt line that is connected to the PIT.
ostd/src/arch/x86/timer/pit.rs:186
↓ 2 callersFunctionenable_local_and_halt
Enables local IRQs and halts the CPU to wait for interrupts. This method guarantees that no interrupts can occur in the middle. In other words, IRQs
ostd/src/arch/riscv/irq.rs:47
↓ 2 callersFunctionencode_as_address_offset
Encodes the bus, device, and function into an address offset in the PCI MMIO region.
ostd/src/arch/loongarch/pci.rs:35
↓ 2 callersFunctionencode_as_address_offset
Encodes the bus, device, and function into an address offset in the PCI MMIO region.
ostd/src/arch/riscv/pci.rs:68
↓ 2 callersFunctionencode_as_port
Encodes the bus, device, and function into a port address for use with the PCI I/O port.
ostd/src/arch/x86/pci.rs:40
↓ 2 callersMethodenlarge
Enlarges the mapping by `extra_size` bytes to the high end.
kernel/src/vm/vmar/vm_mapping.rs:418
↓ 2 callersMethodenqueue
(&self, signal: Box<dyn Signal>)
kernel/src/process/signal/sig_queues.rs:38
↓ 2 callersMethodenqueue
(&self, bio: SubmittedBio)
kernel/src/fs/exfat/mod.rs:89
↓ 2 callersMethodenqueue_entity
(&mut self, (task, thread): SchedEntity, flags: Option<EnqueueFlags>)
kernel/src/sched/sched_class/mod.rs:326
↓ 2 callersMethodenqueue_message
(&self, message: Message)
kernel/src/net/socket/netlink/receiver.rs:39
↓ 2 callersFunctionerror_to_error_code
(error: Option<Error>)
kernel/src/net/socket/netlink/message/segment/ack.rs:84
↓ 2 callersMethodevict
Evicts `num` blocks from cache.
kernel/src/fs/ext2/indirect_block_cache.rs:109
↓ 2 callersMethodexecute
(&mut self, has_kernel_event: F)
ostd/src/user.rs:88
↓ 2 callersFunctionexecute_forwarded_command
Execute the forwarded cargo command with arguments. The `cfg_ktest` parameter controls whether `cfg(ktest)` is enabled.
osdk/src/commands/mod.rs:27
↓ 2 callersFunctionexecute_forwarded_command_on_each_crate
Execute the forwarded cargo command on each crate in the workspace. It works like invoking [`execute_forwarded_command`] on each crate in the workspa
osdk/src/commands/mod.rs:68
↓ 2 callersFunctionexists
()
ostd/src/arch/x86/kernel/apic/mod.rs:366
↓ 2 callersMethodexit
(&self)
kernel/src/thread/mod.rs:114
↓ 2 callersFunctionexit_internal
Exits the current POSIX thread or process.
kernel/src/process/posix_thread/exit.rs:40
↓ 2 callersMethodextend_clusters
Append clusters at the end of the chain, return the first allocated cluster Caller should update size_allocated accordingly. The file system must be l
kernel/src/fs/exfat/fat.rs:294
↓ 2 callersFunctionf1
()
kernel/libs/comp-sys/cargo-component/tests/reexport_test/foo/src/lib.rs:8
↓ 2 callersMethodfault_recording_number
Number of Fault-recording. The maximum number of fault recording registers per remapping hardware unit is 256. Number of fault recording registers is
ostd/src/arch/x86/iommu/registers/capability.rs:25
↓ 2 callersMethodfault_recording_register_offset
Fault-recording Register offset, specifies the offset of the first fault recording register relative to the register base address of this remapping ha
ostd/src/arch/x86/iommu/registers/capability.rs:65
↓ 2 callersMethodfield_mut
( &mut self, )
kernel/src/ipc/semaphore/system_v/sem_set.rs:65
↓ 2 callersMethodfile
Gets the file associated with this epoll entry. Since an epoll entry only holds a weak reference to the file, it is possible (albeit unlikely) that t
kernel/src/fs/epoll/entry.rs:95
↓ 2 callersMethodfile_at
(&self, index: usize)
kernel/src/syscall/poll.rs:208
↓ 2 callersMethodfile_perm
(&self)
kernel/src/fs/ext2/inode.rs:1233
↓ 2 callersMethodfile_type
The file type.
kernel/libs/cpio-decoder/src/lib.rs:227
↓ 2 callersMethodfilename
(&self)
kernel/libs/comp-sys/cargo-component/analysis/src/conf.rs:175
↓ 2 callersMethodfilter
(&self, event: &SigEvents)
kernel/src/process/signal/events.rs:34
↓ 2 callersMethodfind_log
(&self, log_id: TxLogId)
kernel/comps/mlsdisk/src/layers/3-log/tx_log.rs:1019
↓ 2 callersMethodfind_next_unused_cluster_range_by_bits
Return the first unused cluster range, set num_clusters=1 to find a single cluster.
kernel/src/fs/exfat/bitmap.rs:138
↓ 2 callersMethodfind_posix_timer
Finds a POSIX timer by the input `timer_id`.
kernel/src/process/process/timer_manager.rs:176
↓ 2 callersMethodfind_room_for_new_value
(&self, value_len: usize)
kernel/src/fs/ext2/xattr.rs:444
↓ 2 callersFunctionfinish_response
Finishes a response message.
kernel/src/net/socket/netlink/route/kernel/util.rs:12
↓ 2 callersMethodfirst_ones
Find `count` indexes of the first one bits, starting from the given index (inclusively). Return `None` if fewer than `count` one bits are found. # P
kernel/comps/mlsdisk/src/util/bitmap.rs:145
↓ 2 callersMethodflags
Sets the VMO flags. The default value is `VmoFlags::empty()`. For more information about the flags, see `VmoFlags`.
kernel/src/vm/vmo/options.rs:77
↓ 2 callersMethodflags
(&self)
kernel/src/fs/path/dentry.rs:113
↓ 2 callersMethodflush
(&self)
ostd/src/logger.rs:61
↓ 2 callersMethodflush_data_buf
(&self)
kernel/comps/mlsdisk/src/layers/5-disk/mlsdisk.rs:492
↓ 2 callersMethodflush_node_queue
(&mut self)
kernel/comps/mlsdisk/src/layers/1-crypto/crypto_log.rs:980
↓ 2 callersMethodfpu_context
(mut self, fpu_context: FpuContext)
kernel/src/process/posix_thread/builder.rs:102
↓ 2 callersMethodfree_consecutive
Releases the consecutive range of allocated `id`s. # Panics If the `range` is out of bounds, this method will panic.
ostd/libs/id-alloc/src/lib.rs:121
↓ 2 callersMethodfree_inodes_count
(&self)
kernel/src/fs/ext2/block_group.rs:414
↓ 2 callersMethodfree_processed_tx_buffers
(&mut self)
kernel/comps/virtio/src/device/network/device.rs:339
↓ 2 callersFunctionfrom_c_flock_and_file
Create the file range through C flock and opened file reference
kernel/src/syscall/fcntl.rs:227
↓ 2 callersFunctionfrom_dir_ino_and_attr_id
(dir_ino: Ino, attr_id: u8)
kernel/src/fs/utils/systree_inode.rs:750
↓ 2 callersMethodfs
(&self)
kernel/src/fs/ext2/impl_for_vfs/inode.rs:190
↓ 2 callersMethodfs
(&self)
kernel/src/fs/overlayfs/fs.rs:194
↓ 2 callersMethodfsgid
(&self)
kernel/src/process/credentials/static_cap.rs:186
↓ 2 callersMethodfsuid
(&self)
kernel/src/process/credentials/static_cap.rs:76
↓ 2 callersMethodfutex_addr
Get the futex address
kernel/src/process/posix_thread/robust_list.rs:51
↓ 2 callersFunctionfutex_wait_bitset
Does futex wait bitset
kernel/src/process/posix_thread/futex.rs:37
↓ 2 callersFunctionfutex_wake_bitset
Does futex wake with bitset
kernel/src/process/posix_thread/futex.rs:98
↓ 2 callersMethodgap_len
Returns the length of the gap between the current entry and the next entry.
kernel/src/fs/ext2/dir.rs:344
↓ 2 callersFunctiongdb_continue_via
(addr: &str)
osdk/tests/commands/run.rs:136
↓ 2 callersMethodgeneral_regs_mut
Returns a mutable reference to the general registers
ostd/src/arch/x86/cpu/context/mod.rs:230
↓ 2 callersMethodgenerate_control
Generates the control messages from the auxiliary data.
kernel/src/net/socket/unix/ctrl_msg.rs:278
↓ 2 callersMethodgenerate_icmp_unreachable
( &self, ip_repr: &IpRepr, ip_payload: &'pkt [u8], reason: Icmpv4DstUnreachabl
kernel/libs/aster-bigtcp/src/iface/poll.rs:295
↓ 2 callersFunctiongenerate_random_offset_len
(max_size: usize, rng: &mut dyn RngCore)
kernel/src/fs/utils/random_test.rs:516
↓ 2 callersMethodget
(&self, num: SigNum)
kernel/src/process/signal/sig_disposition.rs:25
↓ 2 callersMethodget
Gets the inner value of an `AtomicCpuId`.
ostd/src/task/scheduler/info.rs:61
↓ 2 callersMethodget_entry_mut
(&mut self, fd: FileDesc)
kernel/src/fs/file_table.rs:178
↓ 2 callersFunctionget_ephemeral_endpoint
(remote_endpoint: &IpEndpoint)
kernel/src/net/socket/ip/common.rs:80
↓ 2 callersMethodget_freelist_guard
( &self, )
ostd/src/util/range_alloc.rs:140
↓ 2 callersFunctionget_global_heap_allocator
Gets the reference to the user-defined global heap allocator.
ostd/src/mm/heap/mod.rs:63
↓ 2 callersMethodget_item
get item at specific position
kernel/libs/typeflags/src/type_flag.rs:110
↓ 2 callersMethodget_mappings_total_size
Returns the total size of the mappings in bytes.
kernel/src/vm/vmar/mod.rs:818
↓ 2 callersMethodget_mut_ptr_on_target
(&mut self, cpu: CpuId)
ostd/src/cpu/local/dyn_cpu_local.rs:43
↓ 2 callersMethodget_offset
Gets the offset of the CPU-local object in the CPU-local area.
ostd/src/cpu/local/static_cpu_local.rs:82
↓ 2 callersMethodget_or_create_page_table
( &mut self, device: PciDeviceLocation, )
ostd/src/arch/x86/iommu/dma_remapping/context_table.rs:258
↓ 2 callersFunctionget_package_metadata
( cargo_metadata: &'a serde_json::Value, crate_name: &str, )
osdk/src/commands/new/mod.rs:190
↓ 2 callersMethodget_parent_inode
(&self)
kernel/src/fs/exfat/inode.rs:194
↓ 2 callersFunctionget_process_group
Gets a process group with `pgid`
kernel/src/process/process_table.rs:92
↓ 2 callersFunctionget_processes
(prio_target: PriorityTarget)
kernel/src/syscall/get_priority.rs:35
↓ 2 callersMethodget_range
Get the buffered data blocks which keys are within the given range.
kernel/comps/mlsdisk/src/layers/5-disk/data_buf.rs:49
↓ 2 callersMethodget_rt_queue_mut
(&mut self, signum: SigNum)
kernel/src/process/signal/sig_queues.rs:216
↓ 2 callersMethodget_sector_id
Get physical sector id from logical sector id for this Inode.
kernel/src/fs/exfat/inode.rs:200
↓ 2 callersMethodget_std_queue_mut
(&mut self, signum: SigNum)
kernel/src/process/signal/sig_queues.rs:210
↓ 2 callersMethodgid
(&self)
kernel/src/fs/ext2/inode.rs:1249
↓ 2 callersMethodgraft_mount_node_tree
Grafts the mount node tree to the mountpoint.
kernel/src/fs/path/mount.rs:187
↓ 2 callersFunctiongreater_order_of
Returns an order that covers at least the given size. The size must be larger than 0.
osdk/deps/frame-allocator/src/chunk.rs:21
↓ 2 callersMethodgroup
(&self)
kernel/src/fs/procfs/template/mod.rs:100
↓ 2 callersFunctionhandle_dupfd
(fd: FileDesc, arg: u64, flags: FdFlags, ctx: &Context)
kernel/src/syscall/fcntl.rs:37
↓ 2 callersFunctionhandle_page_fault_from_vmar
Handles the page fault occurs in the input `Vmar`.
kernel/src/thread/exception.rs:51
↓ 2 callersFunctionhandle_pending_signal
TODO: This interface of this method is error prone. The method takes an argument for the current thread to optimize its efficiency. Handle pending sig
kernel/src/process/signal/mod.rs:49
↓ 2 callersFunctionhandle_setlk
( fd: FileDesc, arg: u64, is_nonblocking: bool, ctx: &Context, )
kernel/src/syscall/fcntl.rs:112
↓ 2 callersMethodhandle_single_page_fault
( &self, vm_space: &VmSpace, page_aligned_addr: Vaddr, required_perms: VmPerms
kernel/src/vm/vmar/vm_mapping.rs:213
← previousnext →1,601–1,700 of 7,307, ranked by callers