Home
last modified time | relevance | path

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

/mm/
Dpercpu-vm.c334 struct vm_struct **vms; in pcpu_create_chunk() local
340 vms = pcpu_get_vm_areas(pcpu_group_offsets, pcpu_group_sizes, in pcpu_create_chunk()
342 if (!vms) { in pcpu_create_chunk()
347 chunk->data = vms; in pcpu_create_chunk()
348 chunk->base_addr = vms[0]->addr - pcpu_group_offsets[0]; in pcpu_create_chunk()
Dvmalloc.c3219 struct vm_struct **vms; in pcpu_get_vm_areas() local
3253 vms = kcalloc(nr_vms, sizeof(vms[0]), GFP_KERNEL); in pcpu_get_vm_areas()
3255 if (!vas || !vms) in pcpu_get_vm_areas()
3260 vms[area] = kzalloc(sizeof(struct vm_struct), GFP_KERNEL); in pcpu_get_vm_areas()
3261 if (!vas[area] || !vms[area]) in pcpu_get_vm_areas()
3355 setup_vmalloc_vm(vms[area], vas[area], VM_ALLOC, in pcpu_get_vm_areas()
3359 return vms; in pcpu_get_vm_areas()
3393 kfree(vms[area]); in pcpu_get_vm_areas()
3397 kfree(vms); in pcpu_get_vm_areas()
3408 void pcpu_free_vm_areas(struct vm_struct **vms, int nr_vms) in pcpu_free_vm_areas() argument
[all …]