MCPcopy Create free account

hub / github.com/asterinas/vostd / functions

Functions7,307 in github.com/asterinas/vostd

↓ 1 callersFunctionget_ephemeral_iface
Get a suitable iface to deal with sendto/connect request if the socket is not bound to an iface. If the remote address is the same as that of some ifa
kernel/src/net/socket/ip/common.rs:30
↓ 1 callersFunctionget_fs
Get the filesystem by fs_type and devname.
kernel/src/syscall/mount.rs:155
↓ 1 callersMethodget_global_size
Returns the size of the global pool. If the global pool is locked, returns the actual size of the global pool. Otherwise, returns the last snapshot o
osdk/deps/frame-allocator/src/pools/mod.rs:169
↓ 1 callersFunctionget_guard_count
()
ostd/src/task/preempt/cpu_local.rs:40
↓ 1 callersFunctionget_iface_to_bind
(ip_addr: &IpAddress)
kernel/src/net/socket/ip/common.rs:14
↓ 1 callersFunctionget_init_process
Gets the init process
kernel/src/process/exit.rs:133
↓ 1 callersMethodget_initproc_argv
Gets the argument vector(argv) of the initprocess.
kernel/src/kcmdline.rs:51
↓ 1 callersMethodget_initproc_envp
Gets the environment vector(envp) of the initprocess.
kernel/src/kcmdline.rs:55
↓ 1 callersMethodget_initproc_path
Gets the path of the initprocess.
kernel/src/kcmdline.rs:47
↓ 1 callersMethodget_item_index
Gets the index of a dynamically-allocated CPU-local object within the chunk. Returns `None` if the object does not belong to the chunk.
ostd/src/cpu/local/dyn_cpu_local.rs:180
↓ 1 callersFunctionget_ktest_crate_whitelist
Get the whitelist of the crates. The whitelist is generated by the OSDK runner, indicating the target crate that the user wants to test.
ostd/libs/ostd-test/src/lib.rs:245
↓ 1 callersFunctionget_ktest_test_whitelist
Get the whitelist of the tests. The whitelist is generated by the OSDK runner, indicating name of the target tests that the user wants to run.
ostd/libs/ostd-test/src/lib.rs:236
↓ 1 callersFunctionget_loadavg
Returns the calculated load average of the system.
kernel/src/sched/stats/loadavg.rs:35
↓ 1 callersFunctionget_log_level
()
ostd/src/logger.rs:75
↓ 1 callersFunctionget_manifest_path
(cargo_metadata: &'a serde_json::Value, crate_name: &str)
osdk/src/commands/new/mod.rs:167
↓ 1 callersMethodget_max
Gets the max rlimit without synchronization.
kernel/src/process/rlimit.rs:138
↓ 1 callersMethodget_memory_map
(&self)
ostd/src/arch/x86/boot/multiboot/mod.rs:247
↓ 1 callersMethodget_name
( &self, upcase_table: Arc<SpinLock<ExfatUpcaseTable>>, )
kernel/src/fs/exfat/dentry.rs:385
↓ 1 callersFunctionget_netlink_route_kernel
()
kernel/src/net/socket/netlink/route/kernel/mod.rs:72
↓ 1 callersFunctionget_old_stack
( old_sig_stack_addr: Vaddr, old_stack: Option<&SigStack>, ctx: &Context, )
kernel/src/syscall/sigaltstack.rs:27
↓ 1 callersMethodget_option
(&self, option: &mut dyn SocketOption)
kernel/src/net/socket/ip/options.rs:34
↓ 1 callersMethodget_physical_cluster
Get the physical cluster id from the logical cluster id in the inode.
kernel/src/fs/exfat/inode.rs:214
↓ 1 callersMethodget_ptr_on_current
(&self, guard: &DisabledLocalIrqGuard)
ostd/src/cpu/local/dyn_cpu_local.rs:33
↓ 1 callersMethodget_range
Gets a range of target values given a range of keys.
kernel/comps/mlsdisk/src/layers/4-lsm/tx_lsm_tree.rs:197
↓ 1 callersFunctionget_range_for_all_segments
Returns the range that covers all segments in the ELF file. The range must be tight, i.e., will not include any padding bytes. So the boundaries may
kernel/src/process/program_loader/elf/load_elf.rs:282
↓ 1 callersFunctionget_sops_flags
Iter the sops and return the flags (alter, dupsop)
kernel/src/ipc/semaphore/system_v/sem.rs:296
↓ 1 callersFunctionget_src_path
(cargo_metadata: &'a serde_json::Value, crate_name: &str)
osdk/src/commands/new/mod.rs:172
↓ 1 callersFunctionget_timebase_freq
()
ostd/src/arch/riscv/timer/mod.rs:117
↓ 1 callersMethodget_top_dentry
Gets the top `Dentry` of the current. Used when different file systems are mounted on the same mount point. For example, first `mount /dev/sda1 /mnt
kernel/src/fs/path/dentry.rs:645
↓ 1 callersFunctiongit_branch
(repo: &Repository)
scripts/src/git.rs:8
↓ 1 callersFunctiongit_branches
(repo: &Repository)
scripts/src/git.rs:15
↓ 1 callersFunctiongit_clone
(url: &str, path: &str, branch: &str, shallow: bool)
scripts/src/git.rs:103
↓ 1 callersFunctiongit_fetch
(repo: &Repository)
scripts/src/git.rs:42
↓ 1 callersFunctiongit_pull
(repo: &Repository, remote: &Option<String>, branch: &Option<String>)
scripts/src/git.rs:71
↓ 1 callersFunctiongit_sync
(repo: &Subrepo, shallow: bool)
scripts/src/git.rs:131
↓ 1 callersFunctiongits_prepare
(gits: &Path)
scripts/src/gits.rs:40
↓ 1 callersMethodglobal_invalidation
(&mut self)
ostd/src/arch/x86/iommu/registers/mod.rs:219
↓ 1 callersMethodgo_leaf
Goes down, which decreases the height value by one.
kernel/libs/xarray/src/node.rs:79
↓ 1 callersMethodgo_root
Goes up, which increases the height value by one.
kernel/libs/xarray/src/node.rs:74
↓ 1 callersMethodgroups_mut
(&self)
kernel/src/process/credentials/static_cap.rs:264
↓ 1 callersMethodguest_cid
Get the CID of the guest
kernel/src/net/socket/vsock/common.rs:137
↓ 1 callersMethodhandle
(&self, ctx: &mut UserContext)
ostd/src/arch/x86/cpu/context/tdx.rs:29
↓ 1 callersMethodhandle_bio_req
Handle one block I/O request. Mark the request completed when finished, return any error that occurs.
kernel/comps/mlsdisk/src/layers/5-disk/mlsdisk.rs:568
↓ 1 callersMethodhandle_config_change
(&self)
kernel/comps/virtio/src/device/block/device.rs:237
↓ 1 callersFunctionhandle_exception
We can't handle most exceptions, just send self a fault signal before return to user space.
kernel/src/thread/exception.rs:36
↓ 1 callersFunctionhandle_get_report
(arg: usize)
kernel/src/device/tdxguest/mod.rs:84
↓ 1 callersFunctionhandle_getfd
(fd: FileDesc, ctx: &Context)
kernel/src/syscall/fcntl.rs:46
↓ 1 callersFunctionhandle_getfl
(fd: FileDesc, ctx: &Context)
kernel/src/syscall/fcntl.rs:67
↓ 1 callersFunctionhandle_getlk
(fd: FileDesc, arg: u64, ctx: &Context)
kernel/src/syscall/fcntl.rs:92
↓ 1 callersFunctionhandle_getown
(fd: FileDesc, ctx: &Context)
kernel/src/syscall/fcntl.rs:132
↓ 1 callersMethodhandle_irq
Handles the irq issued from the device
kernel/comps/virtio/src/device/block/device.rs:190
↓ 1 callersMethodhandle_irq
(&self)
kernel/comps/virtio/src/device/input/device.rs:210
↓ 1 callersFunctionhandle_kernel_page_fault
FIXME: this is a hack because we don't allocate kernel space for IO memory. We are currently using the linear mapping for IO memory. This is not a goo
ostd/src/arch/x86/trap/mod.rs:240
↓ 1 callersMethodhandle_page_fault
Handles user space page fault, if the page fault is successfully handled, return Ok(()).
kernel/src/vm/vmar/mod.rs:514
↓ 1 callersMethodhandle_page_faults_around
Handles a page fault and maps additional surrounding pages.
kernel/src/vm/vmar/vm_mapping.rs:340
↓ 1 callersFunctionhandle_recv_irq
(name: &str)
kernel/comps/virtio/src/device/socket/mod.rs:52
↓ 1 callersMethodhandle_recv_irq
(&self)
kernel/comps/virtio/src/device/console/device.rs:141
↓ 1 callersMethodhandle_requests
Dequeues a `BioRequest` from the software staging queue and processes the request.
kernel/comps/virtio/src/device/block/device.rs:73
↓ 1 callersMethodhandle_set_font
(&self, font_op: &CFontOp)
kernel/src/device/tty/mod.rs:149
↓ 1 callersFunctionhandle_setfd
(fd: FileDesc, arg: u64, ctx: &Context)
kernel/src/syscall/fcntl.rs:54
↓ 1 callersFunctionhandle_setfl
(fd: FileDesc, arg: u64, ctx: &Context)
kernel/src/syscall/fcntl.rs:77
↓ 1 callersFunctionhandle_setown
(fd: FileDesc, arg: u64, ctx: &Context)
kernel/src/syscall/fcntl.rs:140
↓ 1 callersMethodhandle_srg
Handles the "Select Graphic Rendition" sequence.
kernel/comps/framebuffer/src/ansi_escape.rs:154
↓ 1 callersFunctionhandle_syscall
(user_context: &mut UserContext, vm_space: &VmSpace)
osdk/tests/examples_in_book/write_a_kernel_in_100_lines_templates/lib.rs:109
↓ 1 callersFunctionhandle_syscall
(ctx: &Context, user_ctx: &mut UserContext)
kernel/src/syscall/mod.rs:356
↓ 1 callersFunctionhandle_user_page_fault
Handles page fault from user space.
ostd/src/arch/x86/trap/mod.rs:218
↓ 1 callersFunctionhandle_user_signal
( ctx: &Context, sig_num: SigNum, handler_addr: Vaddr, flags: SigActionFlags, restorer_add
kernel/src/process/signal/mod.rs:156
↓ 1 callersMethodhas_error
(&self)
kernel/comps/keyboard/src/i8042_chip/keyboard.rs:83
↓ 1 callersMethodhas_exited_group
Returns whether an `exit_group` has been initiated.
kernel/src/process/task_set.rs:71
↓ 1 callersFunctionhas_extensions
Checks if the specified set of ISA extensions are available.
ostd/src/arch/riscv/cpu/extension.rs:38
↓ 1 callersFunctionhas_pci_bus
()
ostd/src/arch/x86/pci.rs:22
↓ 1 callersMethodhas_pending
Returns whether the thread has some pending signals that are not blocked.
kernel/src/process/posix_thread/mod.rs:125
↓ 1 callersMethodhas_pending_work_items
(&self)
kernel/src/thread/work_queue/worker_pool.rs:103
↓ 1 callersMethodhas_pending_work_items
(&self, request_cpu: CpuId)
kernel/src/thread/work_queue/mod.rs:166
↓ 1 callersMethodhas_set_gid
(&self)
kernel/src/fs/utils/inode.rs:200
↓ 1 callersMethodhas_set_uid
(&self)
kernel/src/fs/utils/inode.rs:196
↓ 1 callersFunctionhas_valid_repr
(attrs: Vec<Attribute>)
kernel/libs/int-to-c-enum/derive/src/lib.rs:85
↓ 1 callersMethodhas_valid_upper
(&self)
kernel/src/fs/overlayfs/fs.rs:577
↓ 1 callersFunctionhas_zero
Determines whether the value contains a zero byte. This magic algorithm is from the Linux `has_zero` function: <https://elixir.bootlin.com/linux/v6.0
kernel/src/context.rs:302
↓ 1 callersFunctionhash_addr_port
(addr: IpAddress, port: PortNum)
kernel/libs/aster-bigtcp/src/socket_table.rs:118
↓ 1 callersFunctionhash_local_remote
( local_addr: IpAddress, local_port: PortNum, remote_addr: IpAddress, remote_port: PortNum, )
kernel/libs/aster-bigtcp/src/socket_table.rs:100
↓ 1 callersMethodheader
(&self)
kernel/src/net/socket/netlink/message/segment/common.rs:20
↓ 1 callersMethodheader
Returns a reference to the header.
kernel/src/fs/ext2/dir.rs:45
↓ 1 callersMethodheap
(&self)
kernel/src/process/process/mod.rs:592
↓ 1 callersMethodheartbeat
(&self)
kernel/src/thread/work_queue/worker_pool.rs:110
↓ 1 callersMethodheight_offset
Calculates the corresponding offset for the target index at the current height.
kernel/libs/xarray/src/node.rs:89
↓ 1 callersMethodhit_target
(&self, target: &K)
kernel/comps/mlsdisk/src/layers/4-lsm/sstable.rs:573
↓ 1 callersMethodid
(&self)
kernel/comps/systree/src/utils.rs:49
↓ 1 callersMethodident_full_path
(&self, ident: &Ident)
kernel/libs/comp-sys/cargo-component/analysis/src/conf.rs:34
↓ 1 callersMethodidle_current_worker
(&self, worker: Arc<Worker>)
kernel/src/thread/work_queue/worker_pool.rs:118
↓ 1 callersMethodiface
Returns a reference to the iface.
kernel/libs/aster-bigtcp/src/iface/common.rs:283
↓ 1 callersFunctioniface_to_new_addr
(request_header: &CMsgSegHdr, iface: &Arc<Iface>)
kernel/src/net/socket/netlink/route/kernel/addr.rs:42
↓ 1 callersFunctioniface_to_new_link
(request_header: &CMsgSegHdr, iface: &Arc<Iface>)
kernel/src/net/socket/netlink/route/kernel/link.rs:123
↓ 1 callersMethodimpl_main_trait_tokens
the tokens to impl main trait for the current flagset
kernel/libs/typeflags/src/flag_set.rs:52
↓ 1 callersFunctionimpl_same_as
impl SameAs trait for each struct
kernel/libs/typeflags/src/util.rs:56
↓ 1 callersFunctionimpl_set_extend
(type_flags_def: &TypeFlagDef, flag_sets: &[FlagSet])
kernel/libs/typeflags/src/util.rs:81
↓ 1 callersFunctionimpl_try_from
( data_enum: DataEnum, attrs: Vec<Attribute>, generics: Generics, ident: Ident, )
kernel/libs/int-to-c-enum/derive/src/lib.rs:30
↓ 1 callersFunctionimport_util
import crate typeflags_util
kernel/libs/typeflags/src/util.rs:38
↓ 1 callersFunctionin_interrupt_context
Returns whether we are in the interrupt context. Note that both the top half and the bottom half is processed in the interrupt context.
ostd/src/trap/handler.rs:82
↓ 1 callersMethodinc_dirs
(&mut self)
kernel/src/fs/ext2/block_group.rs:447
← previousnext →2,701–2,800 of 7,307, ranked by callers