MCPcopy Create free account

hub / github.com/coconut-svsm/svsm / functions

Functions2,698 in github.com/coconut-svsm/svsm

↓ 4 callersFunctionraw_get_tpr
()
kernel/src/cpu/irq_state.rs:108
↓ 4 callersMethodread
(&self)
kernel/src/mm/guestmem.rs:350
↓ 4 callersMethodread
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 callersMethodread_be
(&self)
kernel/src/fw_cfg.rs:135
↓ 4 callersFunctionread_cr0
()
kernel/src/cpu/control_regs.rs:105
↓ 4 callersMethodread_exact
(&mut self, buf: &mut [u8])
kernel/src/io.rs:74
↓ 4 callersMethodread_noblock
(&self)
kernel/src/locking/rwlock.rs:569
↓ 4 callersFunctionreal_mode_sys_seg
(flags: u16)
kernel/src/cpu/vmsa.rs:126
↓ 4 callersFunctionresolve_symbol
Attempts to locate the symbol that corresponds to the given address.
kernel/src/debug/symbols.rs:126
↓ 4 callersFunctionrmp_revoke_guest_access
(vaddr: VirtAddr, size: PageSize)
kernel/src/sev/utils.rs:305
↓ 4 callersFunctionsecrets_page
()
kernel/src/sev/secrets_page.rs:148
↓ 4 callersMethodsend
(&self)
kernel/src/protocols/vtpm.rs:110
↓ 4 callersFunctionsend_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 callersMethodset_current_stack
(&self, stack: MemoryRegion<VirtAddr>)
kernel/src/cpu/percpu.rs:653
↓ 4 callersFunctionsev_flags
()
kernel/src/sev/status.rs:18
↓ 4 callersFunctionshl
shl() and shr() need n > 0 */
libtcgtpm/deps/libcrt/src/stdlib/qsort.c:69
↓ 4 callersFunctionshr
libtcgtpm/deps/libcrt/src/stdlib/qsort.c:81
↓ 4 callersFunctionsign_extend
(addr: InnerAddr)
kernel/src/address.rs:34
↓ 4 callersFunctiontdg_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 callersMethodtotal_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 callersFunctiontrinkle
libtcgtpm/deps/libcrt/src/stdlib/qsort.c:120
↓ 4 callersFunctionvalid_bitmap_valid_addr
(paddr: PhysAddr)
kernel/src/mm/validate.rs:98
↓ 4 callersFunctionvirt_to_page_frame
(vaddr: VirtAddr)
kernel/src/mm/address_space.rs:94
↓ 4 callersFunctionvirtio_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 callersFunctionvirtio_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 callersMethodvmsa_phys
(&self)
kernel/src/cpu/percpu.rs:238
↓ 4 callersFunctionvprints
libtcgtpm/deps/libcrt/src/stdio/printf_wrapper.c:254
↓ 4 callersFunctionvsnprintf
libtcgtpm/deps/libcrt/src/stdio/vsnprintf.c:6
↓ 4 callersFunctionwait_for_termination
Waits for a task to terminate
kernel/src/task/schedule.rs:403
↓ 4 callersFunctionwrite_u8
(v: VirtAddr, val: u8)
kernel/src/mm/guestmem.rs:82
↓ 3 callersFunctiona_clz_32
libtcgtpm/deps/libcrt/include/atomic.h:322
↓ 3 callersFunctiona_or
libtcgtpm/deps/libcrt/include/atomic.h:161
↓ 3 callersFunctionadd_preval_region
( fw_info: &mut GuestFwInfoBlock, base: u32, size: u32, )
tools/igvmbuilder/src/ovmf_firmware.rs:222
↓ 3 callersMethodalloc
Allocates memory based on the specified layout.
kernel/src/mm/alloc.rs:2357
↓ 3 callersMethodallocate
(&mut self)
kernel/src/mm/alloc.rs:1871
↓ 3 callersMethodallocate_pages_info
(&mut self, order: usize, pg: PageInfo)
kernel/src/mm/alloc.rs:968
↓ 3 callersMethodallocate_shadow_stack
( &self, base: VirtAddr, init: ShadowStackInit, )
kernel/src/cpu/percpu.rs:695
↓ 3 callersFunctionapic_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 callersFunctionapic_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 callersMethodapic_write
(&self, offset: usize, value: u64)
kernel/src/cpu/x86/x2apic.rs:41
↓ 3 callersMethodas_arg
Get the required string argument to pass to igvmbuilder.
xbuild/src/igvm.rs:23
↓ 3 callersMethodas_ref
(&self)
kernel/src/utils/scoped.rs:44
↓ 3 callersMethodas_sev_features
(&self)
cpuarch/src/sev_status.rs:138
↓ 3 callersMethodbuild
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 callersMethodcaa_phys
(&self)
kernel/src/cpu/percpu.rs:242
↓ 3 callersFunctioncheck
(arr: &[u64; 128], val: u64)
user/init/src/main.rs:15
↓ 3 callersMethodcheck_bounds
(&self)
kernel/src/mm/guestmem.rs:467
↓ 3 callersMethodcheck_read
(&self)
kernel/src/fs/filesystem.rs:42
↓ 3 callersMethodcheck_remove
(&self)
kernel/src/fs/ramfs.rs:344
↓ 3 callersMethodclone
Clones the [`PageRef`] instance, obtaining a new reference to the same memory page.
kernel/src/mm/alloc.rs:1675
↓ 3 callersMethodcomplete_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 callersFunctioncomplete_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 callersMethodconst_sub
(&self, offset: usize)
kernel/src/address.rs:433
↓ 3 callersFunctioncopy_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 callersFunctioncore_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 callersFunctioncpuid
(leaf: u32, subleaf: u32)
kernel/src/platform/mod.rs:371
↓ 3 callersMethodcr3_value
Get the CR3 register value for the current page table.
kernel/src/mm/pagetable.rs:563
↓ 3 callersMethodcreate_directory
(&mut self, name: FileName)
kernel/src/fs/ramfs.rs:394
↓ 3 callersMethodcreate_file
(&mut self, name: FileName)
kernel/src/fs/ramfs.rs:380
↓ 3 callersFunctioncurrent_task
()
kernel/src/task/schedule.rs:390
↓ 3 callersMethodcurrent_task_id
(&self)
kernel/src/task/schedule.rs:196
↓ 3 callersMethoddealloc
Deallocates memory based on the specified pointer and layout.
kernel/src/mm/alloc.rs:2373
↓ 3 callersMethoddeallocate_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 callersMethoddecode_order
(&self)
kernel/src/mm/alloc.rs:219
↓ 3 callersMethoddigest
(&self)
tools/igvmmeasure/src/igvm_measure.rs:218
↓ 3 callersMethoddirectives
(&self)
tools/igvmbuilder/src/ovmf_firmware.rs:460
↓ 3 callersFunctiondo_invlpgb
(rax: u64, rcx: u64, rdx: u64)
kernel/src/sev/tlb.rs:41
↓ 3 callersFunctiondo_tlbsync
()
kernel/src/sev/tlb.rs:54
↓ 3 callersMethodemulate_mmio_read
( &self, mctx: &I, seg: SegRegister, ea: usize, )
kernel/src/insn_decode/decode.rs:1490
↓ 3 callersMethodencode_order
(self, order: usize)
kernel/src/mm/alloc.rs:155
↓ 3 callersMethodenqueue_task
Place a task back onto the run queue so it can be scheduled again.
kernel/src/task/schedule.rs:119
↓ 3 callersMethodentries
(&self)
cpuarch/src/snp_cpuid.rs:33
↓ 3 callersMethodentries_mut
(&mut self)
cpuarch/src/snp_cpuid.rs:37
↓ 3 callersFunctionflag_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 callersMethodflush_all_cpus
Flushes the TLB for all CPUs.
kernel/src/cpu/tlb.rs:104
↓ 3 callersFunctionflush_tlb_global_sync
()
kernel/src/cpu/tlb.rs:133
↓ 3 callersFunctionflush_tlb_global_sync_range
(region: MemoryRegion<VirtAddr>, pgsize: PageSize)
kernel/src/cpu/tlb.rs:137
↓ 3 callersMethodget_aad_slice
Get a slice of the header fields used as additional authenticated data (AAD)
kernel/src/greq/msg.rs:136
↓ 3 callersMethodget_free
(&self)
kernel/src/mm/alloc.rs:1858
↓ 3 callersMethodget_hypercall_pages
(&self)
kernel/src/cpu/percpu.rs:601
↓ 3 callersMethodget_initial_context
Fill in the initial context structure for the SVSM.
kernel/src/cpu/percpu.rs:935
↓ 3 callersMethodget_linear_addr
( &self, mctx: &I, seg: SegRegister, ea: usize, writable: bool, )
kernel/src/insn_decode/decode.rs:1289
↓ 3 callersMethodget_mod
(&self)
kernel/src/insn_decode/decode.rs:487
↓ 3 callersMethodget_modrm_reg
(&self)
kernel/src/insn_decode/decode.rs:1161
↓ 3 callersMethodget_or_init_mut
(&mut self)
kernel/src/mm/pagetable.rs:1579
↓ 3 callersFunctionget_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 callersFunctionget_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 callersMethodget_task
(&self, id: u32)
kernel/src/task/schedule.rs:268
↓ 3 callersMethodget_tpr
(&self)
kernel/src/sev/vmsa.rs:123
↓ 3 callersMethodghcb
(&self)
kernel/src/cpu/percpu.rs:589
↓ 3 callersFunctionhalt
()
kernel/src/platform/mod.rs:375
↓ 3 callersMethodheader
(&self)
kernel/src/hyperv/hv.rs:82
↓ 3 callersMethodhypercall
# 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 callersMethodimage_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 callersMethodimage_load_vaddr_alloc_info
(&self)
elf/src/file.rs:605
↓ 3 callersMethodinit
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 callersFunctioninit_svsm_console
(writer: &'static dyn IOPort, port: u16)
kernel/src/console.rs:42
↓ 3 callersMethodioio_in
(&self, port: u16, size: GHCBIOSize)
kernel/src/sev/ghcb.rs:491
↓ 3 callersMethodioio_out
(&self, port: u16, size: GHCBIOSize, value: u64)
kernel/src/sev/ghcb.rs:509
↓ 3 callersFunctionis_current_task
Check to see if the task scheduled on the current processor has the given id
kernel/src/task/schedule.rs:395
← previousnext →301–400 of 2,698, ranked by callers