Home
last modified time | relevance | path

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

/linux-5.19.10/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-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-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-vsx.c37 long tm_signal_self_context_load(pid_t pid, long *gprs, double *fps, vector int *vms, vector int *v…
/linux-5.19.10/tools/testing/selftests/kvm/
Dkvm_binary_stats_test.c206 struct kvm_vm **vms; in main() local
229 vms = malloc(sizeof(vms[0]) * max_vm); in main()
230 TEST_ASSERT(vms, "Allocate memory for storing VM pointers"); in main()
232 vms[i] = vm_create(VM_MODE_DEFAULT, in main()
235 vm_vcpu_add(vms[i], j); in main()
240 vm_stats_test(vms[i]); in main()
242 vcpu_stats_test(vms[i], j); in main()
246 kvm_vm_free(vms[i]); in main()
247 free(vms); in main()
/linux-5.19.10/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.c3734 struct vm_struct **vms; in pcpu_get_vm_areas() local
3768 vms = kcalloc(nr_vms, sizeof(vms[0]), GFP_KERNEL); in pcpu_get_vm_areas()
3770 if (!vas || !vms) in pcpu_get_vm_areas()
3775 vms[area] = kzalloc(sizeof(struct vm_struct), GFP_KERNEL); in pcpu_get_vm_areas()
3776 if (!vas[area] || !vms[area]) in pcpu_get_vm_areas()
3877 setup_vmalloc_vm_locked(vms[area], vas[area], VM_ALLOC, in pcpu_get_vm_areas()
3889 vms[area]->addr = kasan_unpoison_vmalloc(vms[area]->addr, in pcpu_get_vm_areas()
3890 vms[area]->size, KASAN_VMALLOC_PROT_NORMAL); in pcpu_get_vm_areas()
3893 return vms; in pcpu_get_vm_areas()
3938 kfree(vms[area]); in pcpu_get_vm_areas()
[all …]
/linux-5.19.10/include/linux/
Dvmalloc.h268 void pcpu_free_vm_areas(struct vm_struct **vms, int nr_vms);
279 pcpu_free_vm_areas(struct vm_struct **vms, int nr_vms) in pcpu_free_vm_areas() argument
/linux-5.19.10/tools/kvm/kvm_stat/
Dkvm_stat778 vms = self.walkdir(PATH_DEBUGFS_KVM)[1]
779 if len(vms) == 0:
782 self.paths = list(filter(lambda x: "{}-".format(pid) in x, vms))
/linux-5.19.10/arch/parisc/include/asm/
Dpgtable.h423 #define update_mmu_cache(vms,addr,ptep) __update_cache(*ptep) argument
/linux-5.19.10/Documentation/virt/kvm/
Dapi.rst7188 allows the in-guest workload to maintain its own NPTs and keeps the two vms