Lines Matching refs:vas
3570 struct vmap_area **vas, *va; in pcpu_get_vm_areas() local
3606 vas = kcalloc(nr_vms, sizeof(vas[0]), GFP_KERNEL); in pcpu_get_vm_areas()
3607 if (!vas || !vms) in pcpu_get_vm_areas()
3611 vas[area] = kmem_cache_zalloc(vmap_area_cachep, GFP_KERNEL); in pcpu_get_vm_areas()
3613 if (!vas[area] || !vms[area]) in pcpu_get_vm_areas()
3696 va = vas[area]; in pcpu_get_vm_areas()
3705 if (kasan_populate_vmalloc(vas[area]->va_start, sizes[area])) in pcpu_get_vm_areas()
3708 kasan_unpoison_vmalloc((void *)vas[area]->va_start, in pcpu_get_vm_areas()
3715 insert_vmap_area(vas[area], &vmap_area_root, &vmap_area_list); in pcpu_get_vm_areas()
3717 setup_vmalloc_vm_locked(vms[area], vas[area], VM_ALLOC, in pcpu_get_vm_areas()
3722 kfree(vas); in pcpu_get_vm_areas()
3733 orig_start = vas[area]->va_start; in pcpu_get_vm_areas()
3734 orig_end = vas[area]->va_end; in pcpu_get_vm_areas()
3735 va = merge_or_add_vmap_area_augment(vas[area], &free_vmap_area_root, in pcpu_get_vm_areas()
3740 vas[area] = NULL; in pcpu_get_vm_areas()
3751 if (vas[area]) in pcpu_get_vm_areas()
3754 vas[area] = kmem_cache_zalloc( in pcpu_get_vm_areas()
3756 if (!vas[area]) in pcpu_get_vm_areas()
3765 if (vas[area]) in pcpu_get_vm_areas()
3766 kmem_cache_free(vmap_area_cachep, vas[area]); in pcpu_get_vm_areas()
3771 kfree(vas); in pcpu_get_vm_areas()
3783 orig_start = vas[area]->va_start; in pcpu_get_vm_areas()
3784 orig_end = vas[area]->va_end; in pcpu_get_vm_areas()
3785 va = merge_or_add_vmap_area_augment(vas[area], &free_vmap_area_root, in pcpu_get_vm_areas()
3790 vas[area] = NULL; in pcpu_get_vm_areas()
3794 kfree(vas); in pcpu_get_vm_areas()