Lines Matching refs:vms
4535 struct vm_struct **vms;
4568 vms = kcalloc(nr_vms, sizeof(vms[0]), GFP_KERNEL);
4570 if (!vas || !vms)
4575 vms[area] = kzalloc(sizeof(struct vm_struct), GFP_KERNEL);
4576 if (!vas[area] || !vms[area])
4675 setup_vmalloc_vm_locked(vms[area], vas[area], VM_ALLOC,
4687 vms[area]->addr = kasan_unpoison_vmalloc(vms[area]->addr,
4688 vms[area]->size, KASAN_VMALLOC_PROT_NORMAL);
4691 return vms;
4736 kfree(vms[area]);
4740 kfree(vms);
4759 kfree(vms[area]);
4763 kfree(vms);
4769 * @vms: vm_struct pointer array returned by pcpu_get_vm_areas()
4774 void pcpu_free_vm_areas(struct vm_struct **vms, int nr_vms)
4779 free_vm_area(vms[i]);
4780 kfree(vms);