Home
last modified time | relevance | path

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

/linux-4.4.14/mm/
Dpercpu-vm.c332 struct vm_struct **vms; in pcpu_create_chunk() local
338 vms = pcpu_get_vm_areas(pcpu_group_offsets, pcpu_group_sizes, in pcpu_create_chunk()
340 if (!vms) { in pcpu_create_chunk()
345 chunk->data = vms; in pcpu_create_chunk()
346 chunk->base_addr = vms[0]->addr - pcpu_group_offsets[0]; in pcpu_create_chunk()
Dvmalloc.c2390 struct vm_struct **vms; in pcpu_get_vm_areas() local
2427 vms = kcalloc(nr_vms, sizeof(vms[0]), GFP_KERNEL); in pcpu_get_vm_areas()
2429 if (!vas || !vms) in pcpu_get_vm_areas()
2434 vms[area] = kzalloc(sizeof(struct vm_struct), GFP_KERNEL); in pcpu_get_vm_areas()
2435 if (!vas[area] || !vms[area]) in pcpu_get_vm_areas()
2520 setup_vmalloc_vm(vms[area], vas[area], VM_ALLOC, in pcpu_get_vm_areas()
2524 return vms; in pcpu_get_vm_areas()
2529 kfree(vms[area]); in pcpu_get_vm_areas()
2533 kfree(vms); in pcpu_get_vm_areas()
2544 void pcpu_free_vm_areas(struct vm_struct **vms, int nr_vms) in pcpu_free_vm_areas() argument
[all …]
/linux-4.4.14/include/linux/
Dvmalloc.h168 void pcpu_free_vm_areas(struct vm_struct **vms, int nr_vms);
179 pcpu_free_vm_areas(struct vm_struct **vms, int nr_vms) in pcpu_free_vm_areas() argument