Home
last modified time | relevance | path

Searched refs:vms (Results 1 – 10 of 10) sorted by relevance

/linux-6.6.21/tools/testing/selftests/powerpc/tm/
Dtm-signal-context-chk-vmx.c36 long tm_signal_self_context_load(pid_t pid, long *gprs, double *fps, vector int *vms, vector int *v…
41 vector int vms[] = { variable
65 &vms[i], sizeof(vector int)); in signal_usr1()
75 printf("%08x", vms[i][j]); in signal_usr1()
83 &vms[NV_VMX_REGS + i], sizeof (vector int)); in signal_usr1()
93 printf("%08x", vms[NV_VMX_REGS + i][j]); in signal_usr1()
125 rc = tm_signal_self_context_load(pid, NULL, NULL, vms, NULL); in tm_signal_context_chk()
Dtm-signal-context-chk-gpr.c35 long tm_signal_self_context_load(pid_t pid, long *gprs, double *fps, vector int *vms, vector int *v…
Dtm-signal-context-chk-fpu.c35 long tm_signal_self_context_load(pid_t pid, long *gprs, double *fps, vector int *vms, vector int *v…
Dtm-signal-context-chk-vsx.c37 long tm_signal_self_context_load(pid_t pid, long *gprs, double *fps, vector int *vms, vector int *v…
/linux-6.6.21/tools/testing/selftests/kvm/
Dkvm_binary_stats_test.c191 struct kvm_vm **vms; in main() local
215 vms = malloc(sizeof(vms[0]) * max_vm); in main()
216 TEST_ASSERT(vms, "Allocate memory for storing VM pointers"); in main()
229 vms[i] = vm_create_barebones(); in main()
231 vcpus[i * max_vcpu + j] = __vm_vcpu_add(vms[i], j); in main()
243 vm_stats_fds = vm_get_stats_fd(vms[i]); in main()
247 stats_test(vm_get_stats_fd(vms[i])); in main()
261 kvm_vm_free(vms[i]); in main()
270 free(vms); in main()
/linux-6.6.21/mm/
Dpercpu-vm.c336 struct vm_struct **vms; in pcpu_create_chunk() local
342 vms = pcpu_get_vm_areas(pcpu_group_offsets, pcpu_group_sizes, in pcpu_create_chunk()
344 if (!vms) { in pcpu_create_chunk()
349 chunk->data = vms; in pcpu_create_chunk()
350 chunk->base_addr = vms[0]->addr - pcpu_group_offsets[0]; in pcpu_create_chunk()
Dvmalloc.c4029 struct vm_struct **vms; in pcpu_get_vm_areas() local
4062 vms = kcalloc(nr_vms, sizeof(vms[0]), GFP_KERNEL); in pcpu_get_vm_areas()
4064 if (!vas || !vms) in pcpu_get_vm_areas()
4069 vms[area] = kzalloc(sizeof(struct vm_struct), GFP_KERNEL); in pcpu_get_vm_areas()
4070 if (!vas[area] || !vms[area]) in pcpu_get_vm_areas()
4169 setup_vmalloc_vm_locked(vms[area], vas[area], VM_ALLOC, in pcpu_get_vm_areas()
4181 vms[area]->addr = kasan_unpoison_vmalloc(vms[area]->addr, in pcpu_get_vm_areas()
4182 vms[area]->size, KASAN_VMALLOC_PROT_NORMAL); in pcpu_get_vm_areas()
4185 return vms; in pcpu_get_vm_areas()
4230 kfree(vms[area]); in pcpu_get_vm_areas()
[all …]
/linux-6.6.21/include/linux/
Dvmalloc.h266 void pcpu_free_vm_areas(struct vm_struct **vms, int nr_vms);
277 pcpu_free_vm_areas(struct vm_struct **vms, int nr_vms) in pcpu_free_vm_areas() argument
/linux-6.6.21/tools/kvm/kvm_stat/
Dkvm_stat846 vms = self.walkdir(PATH_DEBUGFS_KVM)[1]
847 if len(vms) == 0:
850 self.paths = list(filter(lambda x: "{}-".format(pid) in x, vms))
/linux-6.6.21/Documentation/virt/kvm/
Dapi.rst5341 Not all PV vms can be dumped, the owner needs to set `dump
7501 allows the in-guest workload to maintain its own NPTs and keeps the two vms