Lines Matching defs:vms
4029 struct vm_struct **vms;
4062 vms = kcalloc(nr_vms, sizeof(vms[0]), GFP_KERNEL);
4064 if (!vas || !vms)
4069 vms[area] = kzalloc(sizeof(struct vm_struct), GFP_KERNEL);
4070 if (!vas[area] || !vms[area])
4169 setup_vmalloc_vm_locked(vms[area], vas[area], VM_ALLOC,
4181 vms[area]->addr = kasan_unpoison_vmalloc(vms[area]->addr,
4182 vms[area]->size, KASAN_VMALLOC_PROT_NORMAL);
4185 return vms;
4230 kfree(vms[area]);
4234 kfree(vms);
4253 kfree(vms[area]);
4257 kfree(vms);
4263 * @vms: vm_struct pointer array returned by pcpu_get_vm_areas()
4268 void pcpu_free_vm_areas(struct vm_struct **vms, int nr_vms)
4273 free_vm_area(vms[i]);
4274 kfree(vms);