MCPcopy Create free account

hub / github.com/Bareflank/hypervisor / functions

Functions2,423 in github.com/Bareflank/hypervisor

↓ 3 callersMethodset_bf_vm_op_unmap_direct_broadcast
<!-- description --> @brief Sets the return value of bf_vm_op_unmap_direct_broadcast. (unit testing only) <!-- inputs/outputs --> @param vmid The ID
syscall/mocks/bf_syscall_t.hpp:1462
↓ 3 callersMethodset_bf_vs_op_read
<!-- description --> @brief Sets the return value of bf_vs_op_read. (unit testing only) <!-- inputs/outputs --> @param vsid The ID of the VS to read
syscall/mocks/bf_syscall_t.hpp:1826
↓ 3 callersMethodset_bf_vs_op_run
<!-- description --> @brief Sets the return value of bf_vs_op_run. (unit testing only) <!-- inputs/outputs --> @param vmid The ID of the VM to run @p
syscall/mocks/bf_syscall_t.hpp:1943
↓ 3 callersMethodstart
Start a Process for the invocation and capture stdout+stderr.
utils/iwyu_tool.py:263
↓ 3 callersFunctionstart_vmm_per_cpu
* <!-- description --> * @brief This function contains all of the code that is common between * all archiectures and all platforms for startin
loader/src/start_vmm_per_cpu.c:77
↓ 3 callersFunctionsyscall_bf_vs_op_set_active
<!-- description --> @brief Implements the bf_vs_op_set_active syscall <!-- inputs/outputs --> @param mut_tls the current TLS block @param mut_intrin
kernel/src/dispatch_syscall_bf_vs_op.hpp:474
↓ 3 callersMethodtlb_flush
<!-- description --> @brief Flushes any TLB entries associated with this VS on the current PP. <!-- inputs/outputs --> @param tls the current TLS blo
kernel/src/x64/amd/vs_t.hpp:2512
↓ 3 callersMethodunmap
lib/src/basic_root_page_table_t.hpp:2106
↓ 3 callersFunctionwork_on_cpu
* <!-- description --> * @brief Executes a callback on a specific PP. * * <!-- inputs/outputs --> * @param cpu the PP to execute the callback
loader/efi/src/platform.c:311
↓ 3 callersFunctionyield
<!-- description --> @brief Yields the PP
lib/tests/src/basic_spinlock_t/basic_spinlock_helpers.hpp:35
↓ 2 callersMethodadd
<!-- description --> @brief Adds a record in the VMExit log <!-- inputs/outputs --> @param ppid the id of the PP whose log should be added to @param
kernel/src/x64/vmexit_log_t.hpp:80
↓ 2 callersFunctionalloc_mk_huge_pool
* <!-- description --> * @brief Allocates a chunk of memory for the huge pool used by the * microkernel. Note that the "size" parameter is in
loader/src/alloc_mk_huge_pool.c:45
↓ 2 callersFunctionalloc_mk_page_pool
* <!-- description --> * @brief Allocates a chunk of memory for the page pool used by the * microkernel. Note that the "size" parameter is in
loader/src/alloc_mk_page_pool.c:45
↓ 2 callersMethodallocate
<!-- description --> @brief Allocates the dVpT and returns it's ID <!-- inputs/outputs --> @param gs the gs_t to use @param tls the tls_t to use @par
example/default_rust/src/vp_t.rs:121
↓ 2 callersMethodallocate
<!-- description --> @brief Allocates the vp_t and returns it's ID <!-- inputs/outputs --> @param gs the gs_t to use @param tls the tls_t to use @par
kernel/integration/support/src/vp_t.hpp:130
↓ 2 callersMethodassigned_pp
<!-- description --> @brief Returns the ID of the PP the requested vs_t is assigned to <!-- inputs/outputs --> @param vsid the ID of the vs_t to quer
kernel/src/vs_pool_t.hpp:316
↓ 2 callersMethodassigned_vm
<!-- description --> @brief Returns the ID of the VM the requested vs_t is assigned to <!-- inputs/outputs --> @param vsid the ID of the vs_t to quer
kernel/src/vs_pool_t.hpp:290
↓ 2 callersMethodbf_mem_op_alloc_huge_count
<!-- description --> @brief Returns the total number of times bf_mem_op_alloc_huge has been called (unit testing only) <!-- inputs/outputs --> @retur
syscall/mocks/bf_syscall_t.hpp:2773
↓ 2 callersMethodbf_mem_op_alloc_page_count
<!-- description --> @brief Returns the total number of times bf_mem_op_alloc_page has been called (unit testing only) <!-- inputs/outputs --> @retur
syscall/mocks/bf_syscall_t.hpp:2643
↓ 2 callersFunctionbf_page_aligned
* <!-- description --> * @brief Returns the page aligned version of the addr * * <!-- inputs/outputs --> * @param addr the address to query *
loader/tests/src/platform.c:66
↓ 2 callersMethodbf_tls_set_extid
<!-- description --> @brief Sets the value of tls.extid (unit testing only) <!-- inputs/outputs --> @param val The value to set tls.extid to
syscall/mocks/bf_syscall_t.hpp:955
↓ 2 callersMethodbf_tls_set_vpid
<!-- description --> @brief Sets the value of tls.vpid (unit testing only) <!-- inputs/outputs --> @param val The value to set tls.vpid to
syscall/mocks/bf_syscall_t.hpp:1003
↓ 2 callersMethodbf_tls_set_vsid
<!-- description --> @brief Sets the value of tls.vsid (unit testing only) <!-- inputs/outputs --> @param val The value to set tls.vsid to
syscall/mocks/bf_syscall_t.hpp:1027
↓ 2 callersMethodbf_vp_op_create_vp_count
<!-- description --> @brief Returns the total number of times bf_vp_op_create_vp has been called (unit testing only) <!-- inputs/outputs --> @return
syscall/mocks/bf_syscall_t.hpp:1579
↓ 2 callersMethodbf_vs_op_create_vs_count
<!-- description --> @brief Returns the total number of times bf_vs_op_create_vs has been called (unit testing only) <!-- inputs/outputs --> @return
syscall/mocks/bf_syscall_t.hpp:1690
↓ 2 callersFunctionbferror_d32
* <!-- description --> * @brief Outputs a string and an 32bit dec to the console * * <!-- inputs/outputs --> * @param str the string to output
loader/efi/include/debug.h:582
↓ 2 callersFunctionbootstrap_entry
example/default/src/main.cpp:106
↓ 2 callersFunctioncall_ext
<!-- description --> @brief Calls an extension. This can be used to execute an extension's entry point, or it can be used to call an extension's callb
kernel/mocks/call_ext.hpp:50
↓ 2 callersMethodclear
<!-- description --> @brief Clears the vs_t's internal cache. Note that this is a hardware specific function and doesn't change the actual values stor
kernel/src/x64/amd/vs_t.hpp:2492
↓ 2 callersFunctionclr_page_pool_storage
lib/mocks/basic_page_pool_helpers.hpp:190
↓ 2 callersMethoddata
<!-- description --> @brief Returns a pointer to the read-only mapped file. <!-- inputs/outputs --> @return Returns a pointer to the read-only mapped
lib/src/windows/basic_ifmap_t.hpp:276
↓ 2 callersMethoddeallocate
<!-- description --> @brief Deallocates this vs_t <!-- inputs/outputs --> @param mut_tls the current TLS block @param mut_page_pool the page_pool_t t
kernel/src/x64/amd/vs_t.hpp:330
↓ 2 callersFunctiondemote
loader/tests/include/helpers.hpp:614
↓ 2 callersFunctiondispatch_esr_dump_with_segment
<!-- description --> @brief Print the contents of a register and it's segment <!-- inputs/outputs --> @param name the name of the register @param val
kernel/src/x64/dispatch_esr.hpp:218
↓ 2 callersFunctiondispatch_vmexit_cpuid
<!-- description --> @brief Handles the CPUID VMexit <!-- inputs/outputs --> @param gs the gs_t to use @param tls the tls_t to use @param sys the bf_
example/default_rust/src/x64/dispatch_vmexit_cpuid.rs:45
↓ 2 callersFunctiondispatch_vmexit_cpuid
<!-- description --> @brief Handles the CPUID VMexit <!-- inputs/outputs --> @param gs the gs_t to use @param tls the tls_t to use @param mut_sys the
kernel/integration/support/src/x64/dispatch_vmexit_cpuid.hpp:55
↓ 2 callersFunctiondummy_bootstrap_entry
syscall/mocks/bf_syscall_impl.hpp:145
↓ 2 callersFunctiondummy_fail_entry
syscall/mocks/bf_syscall_impl.hpp:177
↓ 2 callersFunctiondummy_vmexit_entry
syscall/mocks/bf_syscall_impl.hpp:158
↓ 2 callersFunctiondump_vmm
* <!-- description --> * @brief This function contains all of the code that is common between * all archiectures and all platforms for dumping
loader/src/dump_vmm.c:64
↓ 2 callersFunctionfail_entry
example/default/src/main.cpp:153
↓ 2 callersFunctionfree_mk_code_aliases
* <!-- description --> * @brief Releases a previously allocated code_aliases_t that was allocated * using the alloc_and_copy_mk_code_aliases f
loader/src/x64/free_mk_code_aliases.c:39
↓ 2 callersFunctionfree_mk_state
* <!-- description --> * @brief Releases a previously allocated state_save_t that was allocated * using the alloc_and_copy_mk_state function.
loader/src/x64/free_mk_state.c:42
↓ 2 callersFunctionfree_pdpt
* <!-- description --> * @brief Given a pdpt_t, this function will free any previously allocated * tables. * * <!-- inputs/outputs --> *
loader/src/x64/free_pdpt.c:41
↓ 2 callersFunctionfree_pdt
* <!-- description --> * @brief Given a pdt_t, this function will free any previously allocated * tables. * * <!-- inputs/outputs --> * @
loader/src/x64/free_pdt.c:40
↓ 2 callersFunctionfree_pml4t
* <!-- description --> * @brief Given a pml4t_t, this function will free any previously allocated * tables. * * <!-- inputs/outputs --> *
loader/src/x64/free_pml4t.c:41
↓ 2 callersFunctionfree_root_vp_state
* <!-- description --> * @brief Releases a previously allocated state_save_t that was allocated * using the alloc_and_copy_root_vp_state funct
loader/src/x64/free_root_vp_state.c:39
↓ 2 callersFunctionget_msr
<!-- description --> @brief Given an input register, returns an msr index if the provided register contains a valid msr index. Otherwise, this functio
kernel/src/dispatch_syscall_helpers.hpp:1213
↓ 2 callersFunctionget_reg
<!-- description --> @brief Given an input register, returns a bf_reg_t if the provided register contains a valid bf_reg_t. Otherwise, this function r
kernel/src/dispatch_syscall_helpers.hpp:971
↓ 2 callersMethodget_vp
<!-- description --> @brief Returns the VpT associated with the provided vpid. <!-- inputs/outputs --> @param vpid the ID of the VpT to get @return R
example/default_rust/src/vp_pool_t.rs:37
↓ 2 callersMethodget_vs
<!-- description --> @brief Returns the VsT associated with the provided vsid. <!-- inputs/outputs --> @param vsid the ID of the VsT to get @return R
example/default_rust/src/vs_pool_t.rs:37
↓ 2 callersFunctionhas_any_ext_registered_a_callback
<!-- description --> @brief Returns true if a callback has already been registered by any ext. Returns false otherwise. <!-- inputs/outputs --> @para
kernel/src/dispatch_syscall_helpers.hpp:90
↓ 2 callersMethodhelp
<!-- description --> @brief Displays the help menu for vmmctl
vmmctl/src/vmmctl_main.hpp:65
↓ 2 callersMethodid
<!-- description --> @brief Returns the ID of this vs_t <!-- inputs/outputs --> @return Returns the ID of this vs_t
kernel/integration/support/src/x64/intel/vs_t.hpp:131
↓ 2 callersMethodinitialize
<!-- description --> @brief Initializes this ext_t <!-- inputs/outputs --> @param mut_tls the current TLS block @param mut_page_pool the page_pool_t
kernel/src/ext_t.hpp:1016
↓ 2 callersFunctionintrinsic_invept
<!-- description --> @brief Implements intrinsic_t::invept <!-- inputs/outputs --> @param desc n/a @param type n/a
kernel/mocks/x64/intel/intrinsic_invept.hpp:40
↓ 2 callersFunctionintrinsic_invlpg
<!-- description --> @brief Implements intrinsic_t::invlpg <!-- inputs/outputs --> @param val n/a
kernel/mocks/x64/intrinsic_invlpg.hpp:39
↓ 2 callersFunctionintrinsic_rdmsr
<!-- description --> @brief Implements intrinsic_t::rdmsr <!-- inputs/outputs --> @param msr n/a @param pmut_val n/a @return n/a
kernel/mocks/x64/intrinsic_rdmsr.hpp:42
↓ 2 callersFunctionintrinsic_set_cr3
<!-- description --> @brief Implements intrinsic_t::set_cr3 <!-- inputs/outputs --> @param val n/a
kernel/mocks/x64/intrinsic_set_cr3.hpp:39
↓ 2 callersFunctionintrinsic_set_tls_reg
<!-- description --> @brief Implements intrinsic_t::set_tls_reg <!-- inputs/outputs --> @param reg n/a @param val n/a
kernel/mocks/x64/intrinsic_set_tls_reg.hpp:40
↓ 2 callersFunctionintrinsic_set_tp
<!-- description --> @brief Implements intrinsic_t::set_tp <!-- inputs/outputs --> @param val n/a
kernel/mocks/x64/intrinsic_set_tp.hpp:39
↓ 2 callersFunctionintrinsic_sgdt
loader/tests/include/helpers.hpp:529
↓ 2 callersFunctionintrinsic_str
loader/tests/include/helpers.hpp:595
↓ 2 callersFunctionintrinsic_tls_reg
<!-- description --> @brief Implements intrinsic_t::tls_reg <!-- inputs/outputs --> @param reg n/a @return n/a
kernel/mocks/x64/intrinsic_tls_reg.hpp:40
↓ 2 callersFunctionintrinsic_vmrd16
<!-- description --> @brief Implements intrinsic_t::vmrd16 <!-- inputs/outputs --> @param field n/a @param pmut_val n/a @return n/a
kernel/mocks/x64/intel/intrinsic_vmrd16.hpp:42
↓ 2 callersFunctionintrinsic_vmrd32
<!-- description --> @brief Implements intrinsic_t::vmrd32 <!-- inputs/outputs --> @param field n/a @param pmut_val n/a @return n/a
kernel/mocks/x64/intel/intrinsic_vmrd32.hpp:42
↓ 2 callersFunctionintrinsic_vmrd64
<!-- description --> @brief Implements intrinsic_t::vmrd64 <!-- inputs/outputs --> @param field n/a @param pmut_val n/a @return n/a
kernel/mocks/x64/intel/intrinsic_vmrd64.hpp:44
↓ 2 callersFunctionintrinsic_vmrun
<!-- description --> @brief Executes the VMRun instruction. When this function returns a "VMExit" has occurred and must be handled. <!-- inputs/outpu
kernel/mocks/x64/amd/intrinsic_vmrun.hpp:45
↓ 2 callersMethodis_active
<!-- description --> @brief Returns the ID of the PP this vs_t is active on. If the vs_t is not active, bsl::safe_u16::failure() is returned. <!-- in
kernel/mocks/vs_t.hpp:253
↓ 2 callersMethodis_active
<!-- description --> @brief Returns the ID of the PP this vp_t is active on. If the vp_t is not active, bsl::safe_u16::failure() is returned. <!-- in
kernel/src/vp_t.hpp:193
↓ 2 callersMethodis_active
<!-- description --> @brief Returns the ID of the PP this vs_t is active on. If the vs_t is not active, bsl::safe_u16::failure() is returned. <!-- in
kernel/src/x64/amd/vs_t.hpp:460
↓ 2 callersMethodis_active
<!-- description --> @brief Returns the ID of the PP this vs_t is active on. If the vs_t is not active, bsl::safe_u16::failure() is returned. <!-- in
kernel/src/x64/intel/vs_t.hpp:821
↓ 2 callersMethodis_allocated
<!-- description --> @brief Returns true if this vs_t is allocated, false otherwise <!-- inputs/outputs --> @return Returns true if this vs_t is allo
kernel/src/x64/amd/vs_t.hpp:380
↓ 2 callersMethodis_allocated
<!-- description --> @brief Returns true if this vs_t is allocated, false otherwise <!-- inputs/outputs --> @return Returns true if this vs_t is allo
kernel/src/x64/intel/vs_t.hpp:741
↓ 2 callersFunctionplatform_copy_from_user
* <!-- description --> * @brief Copies "num" bytes from "src" to "pmut_dst". Returns * SHIM_SUCCESS on success, SHIM_FAILURE on failure. * *
loader/tests/src/platform.c:324
↓ 2 callersFunctionplatform_copy_from_user
* <!-- description --> * @brief Copies "num" bytes from "src" to "dst". If "src" or "dst" are * NULL, returns LOADER_FAILURE, otherwise return
loader/efi/src/platform.c:254
↓ 2 callersFunctionplatform_copy_to_user
* <!-- description --> * @brief Copies "num" bytes from "src" to "pmut_dst". Returns * SHIM_SUCCESS on success, SHIM_FAILURE on failure. * *
loader/tests/src/platform.c:350
↓ 2 callersFunctionplatform_dump_vmm
* <!-- description --> * @brief Dumps the contents of the VMM's ring buffer. */
loader/efi/src/platform.c:386
↓ 2 callersFunctionplatform_free
* <!-- description --> * @brief This function frees memory previously allocated using the * platform_alloc() function. * * <!-- inputs/outpu
loader/linux/src/platform.c:154
↓ 2 callersFunctionplatform_mark_gdt_readonly
* <!-- description --> * @brief Marks the current GDT as read-only */
loader/efi/src/platform.c:440
↓ 2 callersFunctionplatform_mark_gdt_writable
* <!-- description --> * @brief Marks the current GDT as read/write */
loader/efi/src/platform.c:432
↓ 2 callersFunctionplatform_num_online_cpus
* <!-- description --> * @brief Returns the total number of online CPUs (i.e. PPs) * * <!-- inputs/outputs --> * @return Returns the total num
loader/windows/src/platform.c:395
↓ 2 callersFunctionplatform_num_online_cpus
* <!-- description --> * @brief Returns the total number of online CPUs (i.e. PPs) * * <!-- inputs/outputs --> * @return Returns the total num
loader/linux/src/platform.c:311
↓ 2 callersFunctionplatform_num_online_cpus
* <!-- description --> * @brief Returns the total number of online CPUs (i.e. PPs) * * <!-- inputs/outputs --> * @return Returns the total num
loader/efi/src/platform.c:296
↓ 2 callersFunctionplatform_on_each_cpu
* <!-- description --> * @brief Calls the user provided callback on each CPU. If each callback * returns 0, this function returns 0, otherwise
loader/efi/src/platform.c:365
↓ 2 callersFunctionplatform_virt_to_phys
* <!-- description --> * @brief Given a virtual address, this function returns the virtual * address's physical address. Only works with memor
loader/tests/src/platform.c:257
↓ 2 callersFunctionprint_thread_id
runtime/src/bsl/details/print_thread_id.hpp:45
↓ 2 callersFunctionpromote
<!-- description --> @brief Promotes the current physical processor. Specifically, this is called from the microkernel's POV and tells the microkernel
kernel/mocks/promote.hpp:44
↓ 2 callersFunctionread_file
* <!-- description --> * @brief Allocates a buffer and fills the buffer with the contents of the * provided file. * * <!-- inputs/outputs --
loader/efi/src/entry.c:130
↓ 2 callersMethodrelease
<!-- description --> @brief Closes the file, releasing all of the resource back to the OS kernel.
lib/src/windows/basic_ifmap_t.hpp:229
↓ 2 callersMethodrelease
<!-- description --> @brief Closes the file, releasing all of the resource back to the OS kernel.
lib/src/linux/basic_ifmap_t.hpp:211
↓ 2 callersMethodrelease
<!-- description --> @brief Release the ext_t <!-- inputs/outputs --> @param mut_tls the current TLS block @param mut_page_pool the page_pool_t to us
kernel/src/ext_t.hpp:1052
↓ 2 callersFunctionreturn_failure
<!-- description --> @brief Return a failure. If we can promote to the root VM, we will, otherwise, we will report an error, which will cause the PP t
kernel/src/x64/dispatch_esr.hpp:333
↓ 2 callersMethodrpt
<!-- description --> @brief Returns the previously set RPT pointer <!-- inputs/outputs --> @return Returns the previously set RPT pointer
lib/tests/src/intrinsic_t.hpp:61
↓ 2 callersFunctionruntime_only_function_that_knows_all
<!-- description --> @brief Simple function for testing non-constexpr functions. <!-- inputs/outputs --> @param val a value to test @return Returns t
example/default/tests/template/behavior.cpp:40
↓ 2 callersMethodsanitize_cr0
<!-- description --> @brief Returns a sanitized version of CR4 <!-- inputs/outputs --> @param val the value to sanitize @return Returns a sanitized v
kernel/src/x64/intel/vs_t.hpp:410
↓ 2 callersMethodsanitize_cr4
<!-- description --> @brief Returns a sanitized version of CR4 <!-- inputs/outputs --> @param val the value to sanitize @return Returns a sanitized v
kernel/src/x64/intel/vs_t.hpp:427
↓ 2 callersFunctionserial_write_c
loader/tests/include/helpers.hpp:657
↓ 2 callersFunctionserial_write_c
<!-- description --> @brief Writes a character "c" to the serial device. <!-- inputs/outputs --> @param c the character to write
kernel/mocks/serial_write_c.hpp:39
↓ 2 callersMethodset_allocate
lib/mocks/basic_page_pool_t.hpp:206
← previousnext →501–600 of 2,423, ranked by callers