MCPcopy Create free account

hub / github.com/Mic92/vmsh / functions

Functions725 in github.com/Mic92/vmsh

↓ 1 callersFunctionget_vcpu_maps
ordered list of the hypervisor memory mapped to [vcpu0fd, vcpu1fd, ...]
src/kvm/memslots.rs:246
↓ 1 callersFunctionguest_ioeventfd
(pid: Pid)
examples/test_ioctls.rs:180
↓ 1 callersFunctionguest_kvm_exits
(pid: Pid)
examples/test_ioctls.rs:269
↓ 1 callersFunctionguest_userfaultfd
Some parts of this implementation are still missing.
examples/test_ioctls.rs:160
↓ 1 callersMethodhandle_ioregion_rw
Used with IoRegionFd.
src/devices/mmio.rs:64
↓ 1 callersFunctionhandle_mmio_exits
Traps KVM_MMIO_EXITs with ptrace and forward them as needed to our block and console device driver
src/devices/threads.rs:227
↓ 1 callersMethodhandle_timeouts
Must be called regularly to handle ack timeouts and re-send irqs.
src/devices/virtio/mod.rs:141
↓ 1 callersFunctionimage_sizes
(df: pd.DataFrame)
tests/graphs.py:111
↓ 1 callersFunctioninject
(pid: Pid)
examples/test_ioctls.rs:15
↓ 1 callersFunctioninspect
(args: &ArgMatches)
src/bin/vmsh.rs:69
↓ 1 callersFunctioninspect_coredump
(fd: IO[bytes])
tests/coredump_analyze.py:430
↓ 1 callersMethodinterrupt
(&self)
src/tracer/ptrace.rs:91
↓ 1 callersFunctioninto_tracer
(mut p: Process, vcpus: Vec<VCPU>)
src/tracer/inject_syscall.rs:79
↓ 1 callersMethodioeventfd
(&self, guest_addr: u64)
src/kvm/hypervisor/hypervisor.rs:350
↓ 1 callersFunctionioregionfd
(pid: Pid)
examples/test_ioctls.rs:226
↓ 1 callersMethodirq_sent
Must be called whenever a new irq is sent for which an ack is expected.
src/devices/virtio/mod.rs:135
↓ 1 callersMethodis_page_aligned
(&self)
src/page_table.rs:261
↓ 1 callersMethodis_same
(&self, pid: unistd::Pid)
src/stage2/src/namespace.rs:45
↓ 1 callersMethodis_userspace
true if current cpu privilege level is userspace
src/cpu.rs:87
↓ 1 callersFunctionkernel_read_4_13
( file: *mut file, pos: loff_t, buf: *mut c_char, count: c_ulong, )
src/stage1/src/ffi.rs:159
↓ 1 callersFunctionkernel_write_4_13
( file: *mut file, buf: *const c_char, count: size_t, pos: loff_t, )
src/stage1/src/ffi.rs:173
↓ 1 callersMethodlast_range
(&self)
src/guest_mem.rs:105
↓ 1 callersFunctionlsblk
(vm: QemuVm)
tests/measure_block.py:53
↓ 1 callersFunctionmain
not quick: 11 * fio_suite(10min) = 2h
tests/measure_block.py:298
↓ 1 callersFunctionmain
()
tests/coredump_analyze.py:471
↓ 1 callersFunctionmain
not quick: 5 * fio_suite(5min) + 2 * sample(5min) = 35min
tests/measure_console.py:184
↓ 1 callersFunctionmain
()
tests/graphs.py:498
↓ 1 callersFunctionmain
()
tests/reproduce.py:268
↓ 1 callersFunctionmain
()
tests/measure_phoronix.py:168
↓ 1 callersFunctionmain
()
tests/xfstests.py:253
↓ 1 callersMethodmain_thread
(&self)
src/tracer/mod.rs:31
↓ 1 callersMethodmain_thread
(&self)
src/tracer/wrap_syscall.rs:277
↓ 1 callersFunctionmap_memory
Maps a list of physical memory chunks at phys_addr with a length of u64 to virt_addr. The list must to be physical continous and sorted. To allocate p
src/page_table.rs:466
↓ 1 callersMethodmap_memory
( &mut self, hv: Arc<Hypervisor>, phys_mem: PhysMem<u8>, map: &[MappedMemory],
src/guest_mem.rs:171
↓ 1 callersFunctionmap_memory_single
( hv: &Hypervisor, pml4: &mut PageTable, m: &MappedMemory, upsert_tables: &mut UpsertTable,
src/page_table.rs:393
↓ 1 callersMethodmmio_addrs
(&self)
src/devices/mod.rs:89
↓ 1 callersFunctionmmio_exit_handler_thread
see handle_mmio_exits
src/devices/threads.rs:268
↓ 1 callersMethodmount
(&self, mountpoint: &Path, selinux_context: &Option<String>)
src/stage2/src/block.rs:122
↓ 1 callersMethodmunmap
Unmap memory in the process length in bytes.
src/kvm/tracee.rs:364
↓ 1 callersFunctionnative
(helpers: confmeasure.Helpers, stats: Any)
tests/measure_console.py:128
↓ 1 callersFunctionnative
(stats: Dict[str, List[Any]])
tests/xfstests.py:94
↓ 1 callersMethodown_path
(&self)
src/stage2/src/namespace.rs:62
↓ 1 callersFunctionpage_start
(v: usize)
src/page_math.rs:13
↓ 1 callersFunctionpage_start
(v: int)
tests/coredump.py:22
↓ 1 callersMethodpage_table
Page table of the next page directory level
tests/coredump_analyze.py:122
↓ 1 callersFunctionpage_table_flags
(p: ProtFlags)
src/page_table.rs:381
↓ 1 callersFunctionparse_flags
(fields: &[u8])
src/tracer/proc.rs:81
↓ 1 callersFunctionparse_raw_data
(info: RawInfo)
src/tracer/ptrace_syscall_info.rs:94
↓ 1 callersFunctionparse_regs
(qemu_output: str)
tests/qemu.py:105
↓ 1 callersFunctionpasswd_image
()
tests/nix.py:53
↓ 1 callersFunctionphoronix
(df: pd.DataFrame)
tests/graphs.py:369
↓ 1 callersFunctionphoronix_test_suite
()
tests/measure_phoronix.py:22
↓ 1 callersMethodphys_addr
(&self, e: PageTableEntry, m: &PhysHostMap)
src/page_table.rs:168
↓ 1 callersMethodphys_alloc
(&mut self, size: usize, readonly: bool)
src/kvm/allocator.rs:147
↓ 1 callersMethodphys_end
(&self)
src/tracer/proc.rs:38
↓ 1 callersMethodphys_to_host_offset
(&self)
src/tracer/proc.rs:42
↓ 1 callersMethodphysical_start
(&self)
src/kvm/memslots.rs:43
↓ 1 callersMethodpid
PID of the traced process
src/tracer/inject_syscall.rs:159
↓ 1 callersFunctionprctl
Apply an operation on a process [prctl(2)](http://man7.org/linux/man-pages/man2/prctl.2.html) prctl is called with a first argument describing what t
src/stage2/src/sys_ext/internal/prctl.rs:11
↓ 1 callersMethodprocess_chain
( &mut self, mut chain: DescriptorChain<&GuestMemoryMmap>, )
src/devices/virtio/block/inorder_handler.rs:216
↓ 1 callersMethodprocess_queue
(&mut self)
src/devices/virtio/block/inorder_handler.rs:272
↓ 1 callersMethodprocess_rxq
(&mut self)
src/devices/virtio/console/log_handler.rs:101
↓ 1 callersMethodprocess_stdout
(self)
tests/vmsh.py:50
↓ 1 callersMethodprocess_txq
(&mut self)
src/devices/virtio/console/log_handler.rs:62
↓ 1 callersFunctionprotection_flags
(f: &ProtFlags)
src/coredump.rs:43
↓ 1 callersFunctionpt_load_header
(m: &Mapping, offset: Elf_Off)
src/coredump.rs:139
↓ 1 callersFunctionqemu_blk
(helpers: confmeasure.Helpers, stats: Dict[str, List[Any]])
tests/xfstests.py:142
↓ 1 callersFunctionqemu_command
@image VM image to boot @qmp_socket unixsocket path of the QEMU qmp control socket @ssh_port host port bound to vm guest port (0 means dy
tests/qemu.py:243
↓ 1 callersMethodread
receive read and write events/commands
src/kvm/hypervisor/ioregionfd.rs:195
↓ 1 callersMethodread_all
(&mut self, data: &mut [u8], pos: loff_t)
src/stage1/src/lib.rs:207
↓ 1 callersFunctionread_page_table
( hv: &Hypervisor, phys_addr: usize, old_tables: &mut Vec<PageTable>, upsert_tables: &mut Upse
src/page_table.rs:293
↓ 1 callersMethodreceive
( &self, message_length: usize, cmsgspace: &mut Vec<u8>, )
src/kvm/fd_transfer.rs:82
↓ 1 callersMethodrecvmsg
(&self, fd: c_int, msg: *mut libc::msghdr, flags: c_int)
src/tracer/inject_syscall.rs:317
↓ 1 callersFunctionregister_virtio_mmio
( id: c_int, base: usize, size: usize, irq: usize, version: &KernelVersion, )
src/stage1/src/lib.rs:143
↓ 1 callersFunctionresolve_symbol
( name: &str, syms: &HashMap<String, usize>, lib_syms: &HashMap<&str, usize>, )
src/loader.rs:287
↓ 1 callersMethodroot
()
tests/conftest.py:20
↓ 1 callersFunctionround_up
(num: usize, align: usize)
src/kernel.rs:27
↓ 1 callersFunctionround_up
(num: int, align: int)
tests/coredump_analyze.py:32
↓ 1 callersFunctionrun
(name: &str, mut configure: F)
src/build-utils/src/lib.rs:25
↓ 1 callersFunctionrun_stage2
()
src/stage1/src/lib.rs:397
↓ 1 callersFunctionrun_stage2
(opts: &Options)
src/stage2/src/main.rs:121
↓ 1 callersMethodsend
(self, cmd: str, args: Dict[str, str] = {})
tests/qemu.py:71
↓ 1 callersFunctionset_blocking
(file: &File, blocking: bool)
src/stage2/src/block.rs:85
↓ 1 callersFunctionset_console_raw
()
tests/measure_console.py:121
↓ 1 callersMethodset_ip
(&mut self, ip: u64)
src/cpu.rs:21
↓ 1 callersMethodsetregs
(&self, regs: &Regs)
src/tracer/ptrace.rs:71
↓ 1 callersFunctionsetup
(sender: Sender<()>)
src/signal_handler.rs:7
↓ 1 callersFunctionsetup
()
src/stage2/src/console.rs:47
↓ 1 callersFunctionsetup_logging
(matches: &clap::ArgMatches)
src/bin/vmsh.rs:138
↓ 1 callersFunctionshell_escape
Escape characters that may have special meaning in a shell, including spaces.
src/console.rs:13
↓ 1 callersMethodsize
(&self)
src/kvm/memslots.rs:35
↓ 1 callersFunctionsme_sev_bits
()
src/kvm/allocator.rs:30
↓ 1 callersFunctionspawn_ioctl_test
(command: str, vm: QemuVm)
tests/test_ioctl.py:11
↓ 1 callersFunctionspawn_stage2
()
src/stage1/src/lib.rs:520
↓ 1 callersFunctionssh
(helpers: confmeasure.Helpers, stats: Any)
tests/measure_console.py:158
↓ 1 callersMethodssh_Popen
opens a background process with an interactive ssh session
tests/qemu.py:172
↓ 1 callersFunctionstage1_thread
( driver_status: DriverStatus, hv: &Hypervisor, should_stop: Arc<AtomicBool>, )
src/stage1.rs:126
↓ 1 callersMethodstop_on_syscall
(&mut self)
src/tracer/wrap_syscall.rs:301
↓ 1 callersMethodstopped
(&mut self, pid: Pid)
src/tracer/wrap_syscall.rs:376
↓ 1 callersFunctionsystemd_run
Since we limit memory inside our VM we also limit the number of CPUs for the benchmark
tests/measure_phoronix.py:84
← previousnext →301–400 of 725, ranked by callers