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.c2507 struct vm_struct **vms; in pcpu_get_vm_areas() local
2540 vms = kcalloc(nr_vms, sizeof(vms[0]), GFP_KERNEL); in pcpu_get_vm_areas()
2542 if (!vas || !vms) in pcpu_get_vm_areas()
2547 vms[area] = kzalloc(sizeof(struct vm_struct), GFP_KERNEL); in pcpu_get_vm_areas()
2548 if (!vas[area] || !vms[area]) in pcpu_get_vm_areas()
2633 setup_vmalloc_vm(vms[area], vas[area], VM_ALLOC, in pcpu_get_vm_areas()
2637 return vms; in pcpu_get_vm_areas()
2642 kfree(vms[area]); in pcpu_get_vm_areas()
2646 kfree(vms); in pcpu_get_vm_areas()
2657 void pcpu_free_vm_areas(struct vm_struct **vms, int nr_vms) in pcpu_free_vm_areas() argument
[all …]