Lines Matching refs:area
467 struct kmemleak_scan_area *area; in free_object_rcu() local
475 hlist_for_each_entry_safe(area, tmp, &object->area_list, node) { in free_object_rcu()
476 hlist_del(&area->node); in free_object_rcu()
477 kmem_cache_free(scan_area_cache, area); in free_object_rcu()
789 struct kmemleak_scan_area *area = NULL; in add_scan_area() local
799 area = kmem_cache_alloc(scan_area_cache, gfp_kmemleak_mask(gfp)); in add_scan_area()
802 if (!area) { in add_scan_area()
813 kmem_cache_free(scan_area_cache, area); in add_scan_area()
817 INIT_HLIST_NODE(&area->node); in add_scan_area()
818 area->start = ptr; in add_scan_area()
819 area->size = size; in add_scan_area()
821 hlist_add_head(&area->node, &object->area_list); in add_scan_area()
933 void __ref kmemleak_vmalloc(const struct vm_struct *area, size_t size, gfp_t gfp) in kmemleak_vmalloc() argument
935 pr_debug("%s(0x%p, %zu)\n", __func__, area, size); in kmemleak_vmalloc()
942 create_object((unsigned long)area->addr, size, 2, gfp); in kmemleak_vmalloc()
943 object_set_excess_ref((unsigned long)area, in kmemleak_vmalloc()
944 (unsigned long)area->addr); in kmemleak_vmalloc()
1320 struct kmemleak_scan_area *area; in scan_object() local
1352 hlist_for_each_entry(area, &object->area_list, node) in scan_object()
1353 scan_block((void *)area->start, in scan_object()
1354 (void *)(area->start + area->size), in scan_object()