Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/coconut-svsm/svsm
/ functions
Functions
2,698 in github.com/coconut-svsm/svsm
⨍
Functions
2,698
◇
Types & classes
573
↓ 4 callers
Function
raw_get_tpr
()
kernel/src/cpu/irq_state.rs:108
↓ 4 callers
Method
read
(&self)
kernel/src/mm/guestmem.rs:350
↓ 4 callers
Method
read
Used to read the file from a particular offset. # Arguments - `buf`: buffer to read the contents of the file into. - `file_offset`: file offset to r
kernel/src/fs/ramfs.rs:153
↓ 4 callers
Method
read_be
(&self)
kernel/src/fw_cfg.rs:135
↓ 4 callers
Function
read_cr0
()
kernel/src/cpu/control_regs.rs:105
↓ 4 callers
Method
read_exact
(&mut self, buf: &mut [u8])
kernel/src/io.rs:74
↓ 4 callers
Method
read_noblock
(&self)
kernel/src/locking/rwlock.rs:569
↓ 4 callers
Function
real_mode_sys_seg
(flags: u16)
kernel/src/cpu/vmsa.rs:126
↓ 4 callers
Function
resolve_symbol
Attempts to locate the symbol that corresponds to the given address.
kernel/src/debug/symbols.rs:126
↓ 4 callers
Function
rmp_revoke_guest_access
(vaddr: VirtAddr, size: PageSize)
kernel/src/sev/utils.rs:305
↓ 4 callers
Function
secrets_page
()
kernel/src/sev/secrets_page.rs:148
↓ 4 callers
Method
send
(&self)
kernel/src/protocols/vtpm.rs:110
↓ 4 callers
Function
send_multicast_ipi
Sends an IPI message to multiple CPUs. # Safety The IPI message must NOT contain any references to data unless that data is known to be in memory tha
kernel/src/cpu/ipi.rs:601
↓ 4 callers
Method
set_current_stack
(&self, stack: MemoryRegion<VirtAddr>)
kernel/src/cpu/percpu.rs:653
↓ 4 callers
Function
sev_flags
()
kernel/src/sev/status.rs:18
↓ 4 callers
Function
shl
shl() and shr() need n > 0 */
libtcgtpm/deps/libcrt/src/stdlib/qsort.c:69
↓ 4 callers
Function
shr
libtcgtpm/deps/libcrt/src/stdlib/qsort.c:81
↓ 4 callers
Function
sign_extend
(addr: InnerAddr)
kernel/src/address.rs:34
↓ 4 callers
Function
tdg_mem_page_accept
# Safety This function has the potential to zero arbitrary memory, so the caller is required to ensure that the supplied physical address range is app
kernel/src/tdx/tdcall.rs:93
↓ 4 callers
Method
total_vaddr_range
Computes the total virtual address range covered by all load segments. # Returns Returns an [`Elf64AddrRange`] representing the total virtual address
elf/src/load_segments.rs:123
↓ 4 callers
Function
trinkle
libtcgtpm/deps/libcrt/src/stdlib/qsort.c:120
↓ 4 callers
Function
valid_bitmap_valid_addr
(paddr: PhysAddr)
kernel/src/mm/validate.rs:98
↓ 4 callers
Function
virt_to_page_frame
(vaddr: VirtAddr)
kernel/src/mm/address_space.rs:94
↓ 4 callers
Function
virtio_read
Read from the block device using the specified buffer size for earch request. Then verify the data was correctly read by comparing the sha256 sums of
kernel/src/block/virtio_blk.rs:175
↓ 4 callers
Function
virtio_write
Write to the block device and fill it with (random) data, writing with the specified buffer size each time. Then verify the data correctly reached the
kernel/src/block/virtio_blk.rs:240
↓ 4 callers
Method
vmsa_phys
(&self)
kernel/src/cpu/percpu.rs:238
↓ 4 callers
Function
vprints
libtcgtpm/deps/libcrt/src/stdio/printf_wrapper.c:254
↓ 4 callers
Function
vsnprintf
libtcgtpm/deps/libcrt/src/stdio/vsnprintf.c:6
↓ 4 callers
Function
wait_for_termination
Waits for a task to terminate
kernel/src/task/schedule.rs:403
↓ 4 callers
Function
write_u8
(v: VirtAddr, val: u8)
kernel/src/mm/guestmem.rs:82
↓ 3 callers
Function
a_clz_32
libtcgtpm/deps/libcrt/include/atomic.h:322
↓ 3 callers
Function
a_or
libtcgtpm/deps/libcrt/include/atomic.h:161
↓ 3 callers
Function
add_preval_region
( fw_info: &mut GuestFwInfoBlock, base: u32, size: u32, )
tools/igvmbuilder/src/ovmf_firmware.rs:222
↓ 3 callers
Method
alloc
Allocates memory based on the specified layout.
kernel/src/mm/alloc.rs:2357
↓ 3 callers
Method
allocate
(&mut self)
kernel/src/mm/alloc.rs:1871
↓ 3 callers
Method
allocate_pages_info
(&mut self, order: usize, pg: PageInfo)
kernel/src/mm/alloc.rs:968
↓ 3 callers
Method
allocate_shadow_stack
( &self, base: VirtAddr, init: ShadowStackInit, )
kernel/src/cpu/percpu.rs:695
↓ 3 callers
Function
apic_initialize
Initialize the APIC by setting an accessor object. This function does not enable the APIC. # Arguments `accessor` - Object implenting [`ApicAccess`
kernel/src/cpu/x86/apic.rs:208
↓ 3 callers
Function
apic_sw_enable
Enables software IRQs in the X86 local APIC by setting the SPIC.SW_ENABLE bit.
kernel/src/cpu/x86/apic.rs:219
↓ 3 callers
Method
apic_write
(&self, offset: usize, value: u64)
kernel/src/cpu/x86/x2apic.rs:41
↓ 3 callers
Method
as_arg
Get the required string argument to pass to igvmbuilder.
xbuild/src/igvm.rs:23
↓ 3 callers
Method
as_ref
(&self)
kernel/src/utils/scoped.rs:44
↓ 3 callers
Method
as_sev_features
(&self)
cpuarch/src/sev_status.rs:138
↓ 3 callers
Method
build
Builds the filesystem image based on the config's components, and returns the path to the built image if there were any files to pack.
xbuild/src/fs.rs:27
↓ 3 callers
Method
caa_phys
(&self)
kernel/src/cpu/percpu.rs:242
↓ 3 callers
Function
check
(arr: &[u64; 128], val: u64)
user/init/src/main.rs:15
↓ 3 callers
Method
check_bounds
(&self)
kernel/src/mm/guestmem.rs:467
↓ 3 callers
Method
check_read
(&self)
kernel/src/fs/filesystem.rs:42
↓ 3 callers
Method
check_remove
(&self)
kernel/src/fs/ramfs.rs:344
↓ 3 callers
Method
clone
Clones the [`PageRef`] instance, obtaining a new reference to the same memory page.
kernel/src/mm/alloc.rs:1675
↓ 3 callers
Method
complete_init
# Safety The caller must ensure that the cell is in the init-in-progress phase and that the contents of the cell have been populated.
kernel/src/utils/immut_after_init.rs:101
↓ 3 callers
Function
complete_task_switch
# Safety The caller must guarantee that the task pointer argument is the one that was returned from the context switcher.
kernel/src/task/schedule.rs:545
↓ 3 callers
Method
const_sub
(&self, offset: usize)
kernel/src/address.rs:433
↓ 3 callers
Function
copy_from_guest
Reads a slice of bytes from a physical address region outside of SVSM use. # Safety The caller must ensure that dst..dst+size is memory that it owns
kernel/src/mm/guestmem.rs:624
↓ 3 callers
Function
core_create_vcpu_error_restore
# Safety The caller must only call this function on a page that was committed for use as a guest VMSA.
kernel/src/protocols/core.rs:73
↓ 3 callers
Function
cpuid
(leaf: u32, subleaf: u32)
kernel/src/platform/mod.rs:371
↓ 3 callers
Method
cr3_value
Get the CR3 register value for the current page table.
kernel/src/mm/pagetable.rs:563
↓ 3 callers
Method
create_directory
(&mut self, name: FileName)
kernel/src/fs/ramfs.rs:394
↓ 3 callers
Method
create_file
(&mut self, name: FileName)
kernel/src/fs/ramfs.rs:380
↓ 3 callers
Function
current_task
()
kernel/src/task/schedule.rs:390
↓ 3 callers
Method
current_task_id
(&self)
kernel/src/task/schedule.rs:196
↓ 3 callers
Method
dealloc
Deallocates memory based on the specified pointer and layout.
kernel/src/mm/alloc.rs:2373
↓ 3 callers
Method
deallocate_slot
Deallocate a slot given its virtual address # Safety The virtual address must have been allocated from the same SlabCommon object.
kernel/src/mm/alloc.rs:2044
↓ 3 callers
Method
decode_order
(&self)
kernel/src/mm/alloc.rs:219
↓ 3 callers
Method
digest
(&self)
tools/igvmmeasure/src/igvm_measure.rs:218
↓ 3 callers
Method
directives
(&self)
tools/igvmbuilder/src/ovmf_firmware.rs:460
↓ 3 callers
Function
do_invlpgb
(rax: u64, rcx: u64, rdx: u64)
kernel/src/sev/tlb.rs:41
↓ 3 callers
Function
do_tlbsync
()
kernel/src/sev/tlb.rs:54
↓ 3 callers
Method
emulate_mmio_read
( &self, mctx: &I, seg: SegRegister, ea: usize, )
kernel/src/insn_decode/decode.rs:1490
↓ 3 callers
Method
encode_order
(self, order: usize)
kernel/src/mm/alloc.rs:155
↓ 3 callers
Method
enqueue_task
Place a task back onto the run queue so it can be scheduled again.
kernel/src/task/schedule.rs:119
↓ 3 callers
Method
entries
(&self)
cpuarch/src/snp_cpuid.rs:33
↓ 3 callers
Method
entries_mut
(&mut self)
cpuarch/src/snp_cpuid.rs:37
↓ 3 callers
Function
flag_ipi
# Safety The caller must ensure that the sender's IPI board is fully initialized before the sender's ID can be added to the request summary of any oth
kernel/src/cpu/ipi.rs:520
↓ 3 callers
Method
flush_all_cpus
Flushes the TLB for all CPUs.
kernel/src/cpu/tlb.rs:104
↓ 3 callers
Function
flush_tlb_global_sync
()
kernel/src/cpu/tlb.rs:133
↓ 3 callers
Function
flush_tlb_global_sync_range
(region: MemoryRegion<VirtAddr>, pgsize: PageSize)
kernel/src/cpu/tlb.rs:137
↓ 3 callers
Method
get_aad_slice
Get a slice of the header fields used as additional authenticated data (AAD)
kernel/src/greq/msg.rs:136
↓ 3 callers
Method
get_free
(&self)
kernel/src/mm/alloc.rs:1858
↓ 3 callers
Method
get_hypercall_pages
(&self)
kernel/src/cpu/percpu.rs:601
↓ 3 callers
Method
get_initial_context
Fill in the initial context structure for the SVSM.
kernel/src/cpu/percpu.rs:935
↓ 3 callers
Method
get_linear_addr
( &self, mctx: &I, seg: SegRegister, ea: usize, writable: bool, )
kernel/src/insn_decode/decode.rs:1289
↓ 3 callers
Method
get_mod
(&self)
kernel/src/insn_decode/decode.rs:487
↓ 3 callers
Method
get_modrm_reg
(&self)
kernel/src/insn_decode/decode.rs:1161
↓ 3 callers
Method
get_or_init_mut
(&mut self)
kernel/src/mm/pagetable.rs:1579
↓ 3 callers
Function
get_order
Calculates the order of a given size for page allocation. # Arguments `size` - The size for which to calculate the order. # Returns The calculated
kernel/src/mm/alloc.rs:73
↓ 3 callers
Function
get_regular_report
Request a regular VMPL0 attestation report to the PSP. Use the `SNP_GUEST_REQUEST` driver to send the provided `MSG_REPORT_REQ` command to the PSP. T
kernel/src/greq/services.rs:74
↓ 3 callers
Method
get_task
(&self, id: u32)
kernel/src/task/schedule.rs:268
↓ 3 callers
Method
get_tpr
(&self)
kernel/src/sev/vmsa.rs:123
↓ 3 callers
Method
ghcb
(&self)
kernel/src/cpu/percpu.rs:589
↓ 3 callers
Function
halt
()
kernel/src/platform/mod.rs:375
↓ 3 callers
Method
header
(&self)
kernel/src/hyperv/hv.rs:82
↓ 3 callers
Method
hypercall
# Safety Hypercalls may have side-effects that affect the integrity of the system, and the caller must take responsibility for ensuring that the hyper
kernel/src/platform/snp.rs:287
↓ 3 callers
Method
image_load_segment_iter
Creates an iterator over the ELF segments that are part of the loaded image. This function returns an iterator that allows iterating over the ELF seg
elf/src/file.rs:636
↓ 3 callers
Method
image_load_vaddr_alloc_info
(&self)
elf/src/file.rs:605
↓ 3 callers
Method
init
Initialize an uninitialized `ImmutAfterInitCell` instance from a value. Will fail if called on an initialized instance. `v` - Initialization value.
kernel/src/utils/immut_after_init.rs:132
↓ 3 callers
Function
init_svsm_console
(writer: &'static dyn IOPort, port: u16)
kernel/src/console.rs:42
↓ 3 callers
Method
ioio_in
(&self, port: u16, size: GHCBIOSize)
kernel/src/sev/ghcb.rs:491
↓ 3 callers
Method
ioio_out
(&self, port: u16, size: GHCBIOSize, value: u64)
kernel/src/sev/ghcb.rs:509
↓ 3 callers
Function
is_current_task
Check to see if the task scheduled on the current processor has the given id
kernel/src/task/schedule.rs:395
← previous
next →
301–400 of 2,698, ranked by callers