Home
last modified time | relevance | path

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

/mm/
Dpercpu-vm.c335 struct vm_struct **vms; in pcpu_create_chunk() local
341 vms = pcpu_get_vm_areas(pcpu_group_offsets, pcpu_group_sizes, in pcpu_create_chunk()
343 if (!vms) { in pcpu_create_chunk()
348 chunk->data = vms; in pcpu_create_chunk()
349 chunk->base_addr = vms[0]->addr - pcpu_group_offsets[0]; in pcpu_create_chunk()
Dvmalloc.c3205 struct vm_struct **vms; in pcpu_get_vm_areas() local
3239 vms = kcalloc(nr_vms, sizeof(vms[0]), GFP_KERNEL); in pcpu_get_vm_areas()
3241 if (!vas || !vms) in pcpu_get_vm_areas()
3246 vms[area] = kzalloc(sizeof(struct vm_struct), GFP_KERNEL); in pcpu_get_vm_areas()
3247 if (!vas[area] || !vms[area]) in pcpu_get_vm_areas()
3351 setup_vmalloc_vm_locked(vms[area], vas[area], VM_ALLOC, in pcpu_get_vm_areas()
3357 return vms; in pcpu_get_vm_areas()
3402 kfree(vms[area]); in pcpu_get_vm_areas()
3406 kfree(vms); in pcpu_get_vm_areas()
3425 kfree(vms[area]); in pcpu_get_vm_areas()
[all …]