Searched refs:vms (Results 1 - 12 of 12) sorted by relevance

/linux-master/tools/testing/selftests/powerpc/tm/
H A Dtm-signal-context-chk-vmx.c36 long tm_signal_self_context_load(pid_t pid, long *gprs, double *fps, vector int *vms, vector int *vss);
41 vector int vms[] = { variable
65 &vms[i], sizeof(vector int));
75 printf("%08x", vms[i][j]);
83 &vms[NV_VMX_REGS + i], sizeof (vector int));
93 printf("%08x", vms[NV_VMX_REGS + i][j]);
122 * array pointers to it, in that case 'vms', and invoke the
125 rc = tm_signal_self_context_load(pid, NULL, NULL, vms, NULL);
H A Dtm-signal-context-chk-fpu.c35 long tm_signal_self_context_load(pid_t pid, long *gprs, double *fps, vector int *vms, vector int *vss);
H A Dtm-signal-context-chk-gpr.c35 long tm_signal_self_context_load(pid_t pid, long *gprs, double *fps, vector int *vms, vector int *vss);
H A Dtm-signal-context-chk-vsx.c37 long tm_signal_self_context_load(pid_t pid, long *gprs, double *fps, vector int *vms, vector int *vss);
/linux-master/tools/testing/selftests/kvm/
H A Dkvm_binary_stats_test.c189 struct kvm_vm **vms; local
213 vms = malloc(sizeof(vms[0]) * max_vm);
214 TEST_ASSERT(vms, "Allocate memory for storing VM pointers");
227 vms[i] = vm_create_barebones();
229 vcpus[i * max_vcpu + j] = __vm_vcpu_add(vms[i], j);
241 vm_stats_fds = vm_get_stats_fd(vms[i]);
245 stats_test(vm_get_stats_fd(vms[i]));
259 kvm_vm_free(vms[i]);
268 free(vms);
[all...]
/linux-master/mm/
H A Dpercpu-vm.c336 struct vm_struct **vms; local
342 vms = pcpu_get_vm_areas(pcpu_group_offsets, pcpu_group_sizes,
344 if (!vms) {
349 chunk->data = vms;
350 chunk->base_addr = vms[0]->addr - pcpu_group_offsets[0];
H A Dvmalloc.c4541 struct vm_struct **vms; local
4574 vms = kcalloc(nr_vms, sizeof(vms[0]), GFP_KERNEL);
4576 if (!vas || !vms)
4581 vms[area] = kzalloc(sizeof(struct vm_struct), GFP_KERNEL);
4582 if (!vas[area] || !vms[area])
4681 setup_vmalloc_vm(vms[area], vas[area], VM_ALLOC,
4693 vms[area]->addr = kasan_unpoison_vmalloc(vms[area]->addr,
4694 vms[are
4780 pcpu_free_vm_areas(struct vm_struct **vms, int nr_vms) argument
[all...]
/linux-master/drivers/gpu/drm/panthor/
H A Dpanthor_drv.c798 ret = panthor_vm_pool_create_vm(ptdev, pfile->vms, args);
817 return panthor_vm_pool_destroy_vm(pfile->vms, args->id);
840 vm = panthor_vm_pool_get_vm(pfile->vms, args->exclusive_vm_id);
1042 vm = panthor_vm_pool_get_vm(pfile->vms, args->vm_id);
1088 vm = panthor_vm_pool_get_vm(pfile->vms, args->handle >> 16);
1116 vm = panthor_vm_pool_get_vm(pfile->vms, args->vm_id);
1184 vm = panthor_vm_pool_get_vm(pfile->vms, args->vm_id);
1235 vm = panthor_vm_pool_get_vm(pfile->vms, args->vm_id);
H A Dpanthor_device.h174 /** @vms: VM pool attached to this file. */
175 struct panthor_vm_pool *vms; member in struct:panthor_file
H A Dpanthor_mmu.c1570 if (!pfile->vms)
1573 xa_for_each(&pfile->vms->xa, i, vm)
1576 xa_destroy(&pfile->vms->xa);
1577 kfree(pfile->vms);
1588 pfile->vms = kzalloc(sizeof(*pfile->vms), GFP_KERNEL);
1589 if (!pfile->vms)
1592 xa_init_flags(&pfile->vms->xa, XA_FLAGS_ALLOC1);
H A Dpanthor_sched.c1787 struct panthor_vm *vms[MAX_CS_PER_CSG]; member in struct:panthor_sched_tick_ctx
1844 if (ctx->vms[i] == group->vm)
1860 ctx->vms[ctx->as_count++] = group->vm;
3093 group->vm = panthor_vm_pool_get_vm(pfile->vms, group_args->vm_id);
/linux-master/include/linux/
H A Dvmalloc.h300 void pcpu_free_vm_areas(struct vm_struct **vms, int nr_vms);
311 pcpu_free_vm_areas(struct vm_struct **vms, int nr_vms) argument

Completed in 344 milliseconds