Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Bareflank/hypervisor
/ functions
Functions
2,423 in github.com/Bareflank/hypervisor
⨍
Functions
2,423
◇
Types & classes
516
↓ 2 callers
Method
set_allocate_fails
<!-- description --> @brief Tells allocate to fail
kernel/mocks/huge_pool_t.hpp:164
↓ 2 callers
Method
set_bf_intrinsic_op_wrmsr
<!-- description --> @brief Sets the return value of bf_intrinsic_op_wrmsr. (unit testing only) <!-- inputs/outputs --> @param msr The address of the
syscall/mocks/bf_syscall_t.hpp:2543
↓ 2 callers
Method
set_bf_mem_op_alloc_huge
<!-- description --> @brief Sets the return value of bf_mem_op_alloc_huge. (unit testing only) <!-- inputs/outputs --> @param errc the bsl::errc_type
syscall/mocks/bf_syscall_t.hpp:2759
↓ 2 callers
Method
set_bf_vm_op_destroy_vm
<!-- description --> @brief Sets the return value of bf_vm_op_destroy_vm. (unit testing only) <!-- inputs/outputs --> @param vmid The ID of the VM to
syscall/mocks/bf_syscall_t.hpp:1219
↓ 2 callers
Method
set_bf_vm_op_map_direct
<!-- description --> @brief Sets the return value of bf_vm_op_map_direct. (unit testing only) <!-- inputs/outputs --> @param vmid The ID of the VM to
syscall/mocks/bf_syscall_t.hpp:1304
↓ 2 callers
Method
set_bf_vm_op_tlb_flush
<!-- description --> @brief Sets the return value of bf_vm_op_tlb_flush. (unit testing only) <!-- inputs/outputs --> @param vmid The ID of the VM to
syscall/mocks/bf_syscall_t.hpp:1512
↓ 2 callers
Method
set_bf_vp_op_destroy_vp
<!-- description --> @brief Sets the return value of bf_vp_op_destroy_vp. (unit testing only) <!-- inputs/outputs --> @param vpid The ID of the VP to
syscall/mocks/bf_syscall_t.hpp:1614
↓ 2 callers
Method
set_bf_vs_op_advance_ip_and_run
<!-- description --> @brief Sets the return value of bf_vs_op_advance_ip_and_run. (unit testing only) <!-- inputs/outputs --> @param vmid The ID of t
syscall/mocks/bf_syscall_t.hpp:2045
↓ 2 callers
Method
set_bf_vs_op_advance_ip_and_run_current
<!-- description --> @brief Sets the return value of bf_vs_op_advance_ip_and_run_current. (unit testing only) <!-- inputs/outputs --> @param errc the
syscall/mocks/bf_syscall_t.hpp:2091
↓ 2 callers
Method
set_bf_vs_op_advance_ip_and_set_active
<!-- description --> @brief Sets the return value of bf_vs_op_advance_ip_and_set_active. (unit testing only) <!-- inputs/outputs --> @param vmid The
syscall/mocks/bf_syscall_t.hpp:2380
↓ 2 callers
Method
set_bf_vs_op_clear
<!-- description --> @brief Sets the return value of bf_vs_op_clear. (unit testing only) <!-- inputs/outputs --> @param vsid The ID of the VS to clea
syscall/mocks/bf_syscall_t.hpp:2197
↓ 2 callers
Method
set_bf_vs_op_destroy_vs
<!-- description --> @brief Sets the return value of bf_vs_op_destroy_vs. (unit testing only) <!-- inputs/outputs --> @param vsid The ID of the VS to
syscall/mocks/bf_syscall_t.hpp:1725
↓ 2 callers
Method
set_bf_vs_op_init_as_root
<!-- description --> @brief Sets the return value of bf_vs_op_init_as_root. (unit testing only) <!-- inputs/outputs --> @param vsid The ID of the VS
syscall/mocks/bf_syscall_t.hpp:1774
↓ 2 callers
Method
set_bf_vs_op_migrate
<!-- description --> @brief Sets the return value of bf_vs_op_migrate. (unit testing only) <!-- inputs/outputs --> @param vsid The ID of the VS to mi
syscall/mocks/bf_syscall_t.hpp:2251
↓ 2 callers
Method
set_bf_vs_op_promote
<!-- description --> @brief Sets the return value of bf_vs_op_promote. (unit testing only) <!-- inputs/outputs --> @param vsid The ID of the VS to pr
syscall/mocks/bf_syscall_t.hpp:2143
↓ 2 callers
Method
set_bf_vs_op_run_current
<!-- description --> @brief Sets the return value of bf_vs_op_run_current. (unit testing only) <!-- inputs/outputs --> @param errc the bsl::errc_type
syscall/mocks/bf_syscall_t.hpp:1990
↓ 2 callers
Method
set_bf_vs_op_set_active
<!-- description --> @brief Sets the return value of bf_vs_op_set_active. (unit testing only) <!-- inputs/outputs --> @param vmid The ID of the VM to
syscall/mocks/bf_syscall_t.hpp:2315
↓ 2 callers
Method
set_bf_vs_op_tlb_flush
<!-- description --> @brief Sets the return value of bf_vs_op_tlb_flush. (unit testing only) <!-- inputs/outputs --> @param vsid The ID of the VS to
syscall/mocks/bf_syscall_t.hpp:2439
↓ 2 callers
Method
set_bf_vs_op_write
<!-- description --> @brief Sets the return value of bf_vs_op_write. (unit testing only) <!-- inputs/outputs --> @param vsid The ID of the VS to writ
syscall/mocks/bf_syscall_t.hpp:1878
↓ 2 callers
Function
set_page_pool_storage
lib/mocks/basic_page_pool_helpers.hpp:119
↓ 2 callers
Method
set_rpt
<!-- description --> @brief Sets the RPT pointer <!-- inputs/outputs --> @param val the value to set the RPT pointer to
lib/tests/src/intrinsic_t.hpp:49
↓ 2 callers
Method
size
<!-- description --> @brief Returns the number of bytes in the file being mapped. <!-- inputs/outputs --> @return Returns the number of bytes in the
lib/src/linux/basic_ifmap_t.hpp:288
↓ 2 callers
Function
stdio_out_char
<!-- description --> @brief Output a character to stdout <!-- inputs/outputs --> @param c the character to output
runtime/src/bsl/cstdio.hpp:78
↓ 2 callers
Function
stdio_out_cstr
<!-- description --> @brief Output a string to stdout <!-- inputs/outputs --> @param str the string to output @param len the total number of bytes to
runtime/src/bsl/cstdio.hpp:95
↓ 2 callers
Function
stop_vmm
* <!-- description --> * @brief This function contains all of the code that is common between * all archiectures and all platforms for stoppin
loader/src/stop_vmm.c:61
↓ 2 callers
Function
stop_vmm_per_cpu
* <!-- description --> * @brief This function contains all of the code that is common between * all archiectures and all platforms for stoppin
loader/src/stop_vmm_per_cpu.c:55
↓ 2 callers
Function
syscall_bf_vs_op_run
<!-- description --> @brief Implements the bf_vs_op_run syscall <!-- inputs/outputs --> @param mut_tls the current TLS block @param mut_intrinsic the
kernel/src/dispatch_syscall_bf_vs_op.hpp:253
↓ 2 callers
Function
syscall_bf_vs_op_run_current
<!-- description --> @brief Implements the bf_vs_op_run_current syscall <!-- inputs/outputs --> @param mut_tls the current TLS block @param mut_intri
kernel/src/dispatch_syscall_bf_vs_op.hpp:291
↓ 2 callers
Function
tests
<!-- description --> @brief Used to execute the actual checks. We put the checks in this function so that we can validate the tests both at compile-ti
lib/tests/src/basic_root_page_table_t/behavior.cpp:70
↓ 2 callers
Method
update_direct_map_rpts
<!-- description --> @brief Makes sure that all m_main_rpt aliases are updated in all of the direct maps. This ensures that any allocations are mapped
kernel/src/ext_t.hpp:937
↓ 2 callers
Function
update_elf64_ehdr
* <!-- description --> * @brief The program and section header locations in ELF are actually * offsets, not pointers. The problem is,
loader/include/bfelf/bfelf_elf64_ehdr_t.h:213
↓ 2 callers
Function
vmexit_entry
example/default/src/main.cpp:196
↓ 2 callers
Function
work_on_cpu
* <!-- description --> * @brief Executes a callback on a specific PP. * * <!-- inputs/outputs --> * @param cpu the PP to execute the callback
loader/windows/src/platform.c:436
↓ 1 callers
Function
_bootstrap
Parse arguments and dispatch to main().
utils/iwyu_tool.py:425
↓ 1 callers
Method
add_fail_stack
<!-- description --> @brief Adds an exteneion's fail stack for a specific PP to the provided root page table at the provided address. <!-- inputs/out
kernel/src/ext_t.hpp:573
↓ 1 callers
Method
add_fail_stacks
<!-- description --> @brief Adds the exteneion's fail stacks to the provided root page table. <!-- inputs/outputs --> @param mut_tls the current TLS
kernel/src/ext_t.hpp:615
↓ 1 callers
Method
add_segments
<!-- description --> @brief Adds all of the program segments given an ELF file to the provided root page table. <!-- inputs/outputs --> @param mut_tl
kernel/src/ext_t.hpp:424
↓ 1 callers
Method
add_stack
<!-- description --> @brief Adds an exteneion's stack for a specific PP to the provided root page table at the provided address. <!-- inputs/outputs
kernel/src/ext_t.hpp:486
↓ 1 callers
Method
add_stacks
<!-- description --> @brief Adds the exteneion's stacks to the provided root page table. <!-- inputs/outputs --> @param mut_tls the current TLS block
kernel/src/ext_t.hpp:528
↓ 1 callers
Method
add_tcb
<!-- description --> @brief Adds an exteneion's TLS block for a specific PP to the provided root page table at the provided address. <!-- inputs/outp
kernel/src/ext_t.hpp:730
↓ 1 callers
Method
add_tls
<!-- description --> @brief Adds an exteneion's TLS (has nothing to do with the microkernel's TLS). Remember that each extension has two pages of TLS
kernel/src/ext_t.hpp:673
↓ 1 callers
Method
add_tls_blocks
<!-- description --> @brief Adds the exteneion's TLS block to the provided root page table. <!-- inputs/outputs --> @param mut_tls the current TLS bl
kernel/src/ext_t.hpp:761
↓ 1 callers
Function
add_to_page_pool
<!-- description --> @brief If return_nullptr_on_empty is false, returns the new head of the page_pool_t on success. If return_nullptr_on_empty is tru
lib/tests/src/basic_page_pool_t/basic_page_pool_helpers.hpp:45
↓ 1 callers
Function
alloc_and_copy_ext_elf_file_from_user
* <!-- description --> * @brief This function provides the guts of the * alloc_and_copy_ext_elf_files_from_user function, by performing the *
loader/src/alloc_and_copy_ext_elf_files_from_user.c:47
↓ 1 callers
Function
alloc_and_copy_ext_elf_files_from_user
* <!-- description --> * @brief When the start VMM function is executed, the user must provide * the address and size of the extension ELF fil
loader/src/alloc_and_copy_ext_elf_files_from_user.c:101
↓ 1 callers
Function
alloc_and_copy_mk_code_aliases
* <!-- description --> * @brief The function's main purpose is allocate pages for all of the * executable code that is currently linked into t
loader/src/x64/alloc_and_copy_mk_code_aliases.c:82
↓ 1 callers
Function
alloc_and_copy_mk_elf_file_from_user
* <!-- description --> * @brief When the start VMM function is executed, the user must provide * the address and size of the microkernel ELF f
loader/src/alloc_and_copy_mk_elf_file_from_user.c:53
↓ 1 callers
Function
alloc_and_copy_mk_elf_segment
* <!-- description --> * @brief This function provides the guts of the * alloc_and_copy_mk_elf_segments function, by performing the * all
loader/src/alloc_and_copy_mk_elf_segments.c:48
↓ 1 callers
Function
alloc_and_copy_mk_elf_segments
* <!-- description --> * @brief When the start VMM function is executed, the user must provide * the address and size of the microkernel ELF f
loader/src/alloc_and_copy_mk_elf_segments.c:90
↓ 1 callers
Function
alloc_and_copy_mk_state
* <!-- description --> * @brief The function's main purpose is to set up the state for the * microkernel. * * <!-- inputs/outputs --> * @
loader/src/x64/alloc_and_copy_mk_state.c:181
↓ 1 callers
Function
alloc_and_copy_root_vp_state
* <!-- description --> * @brief The function's main purpose is to save state from a root VP. * The root VP is the thing executing the root VM'
loader/src/x64/alloc_and_copy_root_vp_state.c:70
↓ 1 callers
Function
alloc_and_start_the_vmm
* <!-- description --> * @brief Allocates and starts the VMM * * <!-- inputs/outputs --> * @param args the arguments to verify * @return LO
loader/src/start_vmm.c:72
↓ 1 callers
Function
alloc_l1t
loader/src/arm/aarch64/alloc_l1t.c:48
↓ 1 callers
Function
alloc_l2t
loader/src/arm/aarch64/alloc_l2t.c:48
↓ 1 callers
Function
alloc_l3t
loader/src/arm/aarch64/alloc_l3t.c:48
↓ 1 callers
Function
alloc_mk_args
* <!-- description --> * @brief Allocates a chunk of memory for the arguments that will be * passed to the microkernel's _start function * *
loader/src/alloc_mk_args.c:42
↓ 1 callers
Function
alloc_mk_debug_ring
* <!-- description --> * @brief Allocates a chunk of memory for the debug ring that will be * used by the microkernel. * * <!-- inputs/outpu
loader/src/alloc_mk_debug_ring.c:43
↓ 1 callers
Function
alloc_mk_root_page_table
* <!-- description --> * @brief This function allocates the root page table * * <!-- inputs/outputs --> * @param pmut_rpt where to return the
loader/src/x64/alloc_mk_root_page_table.c:41
↓ 1 callers
Function
alloc_mk_stack
* <!-- description --> * @brief Allocates a chunk of memory for the stack used by the * microkernel. Note that the "size" parameter is in tota
loader/src/alloc_mk_stack.c:44
↓ 1 callers
Method
allocated
<!-- description --> @brief Returns the number of bytes allocated. <!-- inputs/outputs --> @return Returns the number of bytes allocated.
lib/mocks/basic_page_pool_t.hpp:87
↓ 1 callers
Method
allocated
<!-- description --> @brief Returns the number of bytes allocated. <!-- inputs/outputs --> @return Returns the number of bytes allocated.
kernel/mocks/huge_pool_t.hpp:72
↓ 1 callers
Function
arch_init
* <!-- description --> * @brief Sets up the CPU above and beyond what UEFI has provided. * * <!-- inputs/outputs --> * @return Returns 0 on su
loader/efi/src/x64/arch_init.c:39
↓ 1 callers
Function
arch_locate_protocols
* <!-- description --> * @brief Locates all of the protocols that are needed by this architecture * * <!-- inputs/outputs --> * @return return
loader/efi/src/x64/arch_locate_protocols.c:44
↓ 1 callers
Function
arch_num_online_cpus
* <!-- description --> * @brief Returns the total number of online CPUs on this architecture * (i.e. PPs) * * <!-- inputs/outputs --> * @
loader/efi/src/x64/arch_num_online_cpus.c:42
↓ 1 callers
Function
arch_work_on_cpu
* <!-- description --> * @brief Executes a callback on a specific PP on this architecture. * * <!-- inputs/outputs --> * @param cpu the PP to
loader/efi/src/x64/arch_work_on_cpu.c:42
↓ 1 callers
Method
assigned_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/mocks/vs_pool_t.hpp:311
↓ 1 callers
Method
assigned_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/mocks/vs_pool_t.hpp:285
↓ 1 callers
Method
assigned_vm
<!-- description --> @brief Returns the ID of the VM the requested vp_t is assigned to <!-- inputs/outputs --> @param vpid the ID of the vp_t to quer
kernel/mocks/vp_pool_t.hpp:243
↓ 1 callers
Method
assigned_vm
<!-- description --> @brief Returns the ID of the VM the requested vp_t is assigned to <!-- inputs/outputs --> @param vpid the ID of the vp_t to quer
kernel/src/vp_pool_t.hpp:246
↓ 1 callers
Method
assigned_vp
<!-- description --> @brief Returns the ID of the VP the requested vs_t is assigned to <!-- inputs/outputs --> @param vsid the ID of the vs_t to quer
kernel/mocks/vs_pool_t.hpp:298
↓ 1 callers
Method
assigned_vp
<!-- description --> @brief Returns the ID of the VP 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:303
↓ 1 callers
Function
bf_control_op_exit_impl
runtime/tests/src/_start/behavior.cpp:51
↓ 1 callers
Function
bf_debug_op_write_c_impl
runtime/tests/src/bsl/cstdio/behavior.cpp:45
↓ 1 callers
Function
bf_debug_op_write_c_impl
runtime/tests/src/bsl/cstdio/requirements.cpp:40
↓ 1 callers
Function
bf_debug_op_write_str_impl
runtime/tests/src/bsl/cstdio/behavior.cpp:59
↓ 1 callers
Function
bf_debug_op_write_str_impl
runtime/tests/src/bsl/cstdio/requirements.cpp:53
↓ 1 callers
Method
bf_intrinsic_op_wrmsr_count
<!-- description --> @brief Returns the total number of times bf_intrinsic_op_wrmsr has been called (unit testing only) <!-- inputs/outputs --> @retu
syscall/mocks/bf_syscall_t.hpp:2558
↓ 1 callers
Function
bf_syscall_opcode
<!-- description --> @brief n/a <!-- inputs/outputs --> @param rax n/a @return n/a
syscall/include/bf_constants.rs:191
↓ 1 callers
Method
bf_tls_set_r10_count
<!-- description --> @brief Returns the total number of times bf_tls_set_r10 has been called (unit testing only) <!-- inputs/outputs --> @return Retu
syscall/mocks/bf_syscall_t.hpp:726
↓ 1 callers
Method
bf_tls_set_r11_count
<!-- description --> @brief Returns the total number of times bf_tls_set_r11 has been called (unit testing only) <!-- inputs/outputs --> @return Retu
syscall/mocks/bf_syscall_t.hpp:767
↓ 1 callers
Method
bf_tls_set_r12_count
<!-- description --> @brief Returns the total number of times bf_tls_set_r12 has been called (unit testing only) <!-- inputs/outputs --> @return Retu
syscall/mocks/bf_syscall_t.hpp:808
↓ 1 callers
Method
bf_tls_set_r13_count
<!-- description --> @brief Returns the total number of times bf_tls_set_r13 has been called (unit testing only) <!-- inputs/outputs --> @return Retu
syscall/mocks/bf_syscall_t.hpp:849
↓ 1 callers
Method
bf_tls_set_r14_count
<!-- description --> @brief Returns the total number of times bf_tls_set_r14 has been called (unit testing only) <!-- inputs/outputs --> @return Retu
syscall/mocks/bf_syscall_t.hpp:890
↓ 1 callers
Method
bf_tls_set_r15_count
<!-- description --> @brief Returns the total number of times bf_tls_set_r15 has been called (unit testing only) <!-- inputs/outputs --> @return Retu
syscall/mocks/bf_syscall_t.hpp:931
↓ 1 callers
Method
bf_tls_set_r8_count
<!-- description --> @brief Returns the total number of times bf_tls_set_r8 has been called (unit testing only) <!-- inputs/outputs --> @return Retur
syscall/mocks/bf_syscall_t.hpp:644
↓ 1 callers
Method
bf_tls_set_r9_count
<!-- description --> @brief Returns the total number of times bf_tls_set_r9 has been called (unit testing only) <!-- inputs/outputs --> @return Retur
syscall/mocks/bf_syscall_t.hpp:685
↓ 1 callers
Method
bf_tls_set_rax_count
<!-- description --> @brief Returns the total number of times bf_tls_set_rax has been called (unit testing only) <!-- inputs/outputs --> @return Retu
syscall/mocks/bf_syscall_t.hpp:357
↓ 1 callers
Method
bf_tls_set_rbp_count
<!-- description --> @brief Returns the total number of times bf_tls_set_rbp has been called (unit testing only) <!-- inputs/outputs --> @return Retu
syscall/mocks/bf_syscall_t.hpp:521
↓ 1 callers
Method
bf_tls_set_rbx_count
<!-- description --> @brief Returns the total number of times bf_tls_set_rbx has been called (unit testing only) <!-- inputs/outputs --> @return Retu
syscall/mocks/bf_syscall_t.hpp:398
↓ 1 callers
Method
bf_tls_set_rcx_count
<!-- description --> @brief Returns the total number of times bf_tls_set_rcx has been called (unit testing only) <!-- inputs/outputs --> @return Retu
syscall/mocks/bf_syscall_t.hpp:439
↓ 1 callers
Method
bf_tls_set_rdi_count
<!-- description --> @brief Returns the total number of times bf_tls_set_rdi has been called (unit testing only) <!-- inputs/outputs --> @return Retu
syscall/mocks/bf_syscall_t.hpp:603
↓ 1 callers
Method
bf_tls_set_rdx_count
<!-- description --> @brief Returns the total number of times bf_tls_set_rdx has been called (unit testing only) <!-- inputs/outputs --> @return Retu
syscall/mocks/bf_syscall_t.hpp:480
↓ 1 callers
Method
bf_tls_set_rsi_count
<!-- description --> @brief Returns the total number of times bf_tls_set_rsi has been called (unit testing only) <!-- inputs/outputs --> @return Retu
syscall/mocks/bf_syscall_t.hpp:562
↓ 1 callers
Method
bf_tls_vmid
<!-- description --> @brief Returns the value of tls.vmid <!-- inputs/outputs --> @return Returns the value of tls.vmid
syscall/mocks/bf_syscall_t.hpp:967
↓ 1 callers
Method
bf_vm_op_create_vm_count
<!-- description --> @brief Returns the total number of times bf_vm_op_create_vm has been called (unit testing only) <!-- inputs/outputs --> @return
syscall/mocks/bf_syscall_t.hpp:1184
↓ 1 callers
Method
bf_vm_op_destroy_vm_count
<!-- description --> @brief Returns the total number of times bf_vm_op_destroy_vm has been called (unit testing only) <!-- inputs/outputs --> @return
syscall/mocks/bf_syscall_t.hpp:1233
↓ 1 callers
Method
bf_vm_op_map_direct_count
<!-- description --> @brief Returns the total number of times bf_vm_op_map_direct has been called (unit testing only) <!-- inputs/outputs --> @return
syscall/mocks/bf_syscall_t.hpp:1318
↓ 1 callers
Method
bf_vm_op_tlb_flush_count
<!-- description --> @brief Returns the total number of times bf_vm_op_tlb_flush has been called (unit testing only) <!-- inputs/outputs --> @return
syscall/mocks/bf_syscall_t.hpp:1526
↓ 1 callers
Method
bf_vm_op_unmap_direct_broadcast_count
<!-- description --> @brief Returns the total number of times bf_vm_op_unmap_direct_broadcast has been called (unit testing only) <!-- inputs/outputs
syscall/mocks/bf_syscall_t.hpp:1477
↓ 1 callers
Method
bf_vm_op_unmap_direct_count
<!-- description --> @brief Returns the total number of times bf_vm_op_unmap_direct has been called (unit testing only) <!-- inputs/outputs --> @retu
syscall/mocks/bf_syscall_t.hpp:1400
← previous
next →
601–700 of 2,423, ranked by callers