Lines Matching refs:kmemleak_object
135 struct kmemleak_object { struct
196 static struct kmemleak_object mem_pool[CONFIG_DEBUG_KMEMLEAK_MEM_POOL_SIZE];
296 struct kmemleak_object *object) in hex_dump_object()
331 static bool color_white(const struct kmemleak_object *object) in color_white()
337 static bool color_gray(const struct kmemleak_object *object) in color_gray()
348 static bool unreferenced_object(struct kmemleak_object *object) in unreferenced_object()
360 struct kmemleak_object *object) in print_unreferenced()
385 static void dump_object_info(struct kmemleak_object *object) in dump_object_info()
415 static struct kmemleak_object *__lookup_object(unsigned long ptr, int alias, in __lookup_object()
422 struct kmemleak_object *object; in __lookup_object()
425 object = rb_entry(rb, struct kmemleak_object, rb_node); in __lookup_object()
445 static struct kmemleak_object *lookup_object(unsigned long ptr, int alias) in lookup_object()
456 static int get_object(struct kmemleak_object *object) in get_object()
464 static struct kmemleak_object *mem_pool_alloc(gfp_t gfp) in mem_pool_alloc()
467 struct kmemleak_object *object; in mem_pool_alloc()
495 static void mem_pool_free(struct kmemleak_object *object) in mem_pool_free()
517 struct kmemleak_object *object = in free_object_rcu()
518 container_of(rcu, struct kmemleak_object, rcu); in free_object_rcu()
538 static void put_object(struct kmemleak_object *object) in put_object()
560 static struct kmemleak_object *__find_and_get_object(unsigned long ptr, int alias, in __find_and_get_object()
564 struct kmemleak_object *object; in __find_and_get_object()
580 static struct kmemleak_object *find_and_get_object(unsigned long ptr, int alias) in find_and_get_object()
589 static void __remove_object(struct kmemleak_object *object) in __remove_object()
597 static struct kmemleak_object *__find_and_remove_object(unsigned long ptr, in __find_and_remove_object()
601 struct kmemleak_object *object; in __find_and_remove_object()
615 static struct kmemleak_object *find_and_remove_object(unsigned long ptr, int alias, in find_and_remove_object()
619 struct kmemleak_object *object; in find_and_remove_object()
647 static struct kmemleak_object *__alloc_object(gfp_t gfp) in __alloc_object()
649 struct kmemleak_object *object; in __alloc_object()
692 static int __link_object(struct kmemleak_object *object, unsigned long ptr, in __link_object()
696 struct kmemleak_object *parent; in __link_object()
724 parent = rb_entry(rb_parent, struct kmemleak_object, rb_node); in __link_object()
755 struct kmemleak_object *object; in __create_object()
794 static void __delete_object(struct kmemleak_object *object) in __delete_object()
817 struct kmemleak_object *object; in delete_object_full()
838 struct kmemleak_object *object, *object_l, *object_r; in delete_object_part()
887 static void __paint_it(struct kmemleak_object *object, int color) in __paint_it()
894 static void paint_it(struct kmemleak_object *object, int color) in paint_it()
905 struct kmemleak_object *object; in paint_ptr()
944 struct kmemleak_object *object; in add_scan_area()
998 struct kmemleak_object *object; in object_set_excess_ref()
1021 struct kmemleak_object *object; in object_no_scan()
1162 struct kmemleak_object *object; in kmemleak_update_trace()
1314 static bool update_checksum(struct kmemleak_object *object) in update_checksum()
1344 static void update_refs(struct kmemleak_object *object) in update_refs()
1365 static void pointer_update_refs(struct kmemleak_object *scanned, in pointer_update_refs()
1368 struct kmemleak_object *object; in pointer_update_refs()
1449 struct kmemleak_object *scanned) in scan_block()
1494 static void scan_object(struct kmemleak_object *object) in scan_object()
1561 struct kmemleak_object *object, *tmp; in scan_gray_list()
1593 static void kmemleak_cond_resched(struct kmemleak_object *object) in kmemleak_cond_resched()
1624 struct kmemleak_object *object; in kmemleak_scan()
1875 struct kmemleak_object *object; in kmemleak_seq_start()
1901 struct kmemleak_object *prev_obj = v; in kmemleak_seq_next()
1902 struct kmemleak_object *next_obj = NULL; in kmemleak_seq_next()
1903 struct kmemleak_object *obj = prev_obj; in kmemleak_seq_next()
1940 struct kmemleak_object *object = v; in kmemleak_seq_show()
1965 struct kmemleak_object *object; in dump_str_object_info()
1992 struct kmemleak_object *object; in kmemleak_clear()
2109 struct kmemleak_object *object, *tmp; in __kmemleak_do_cleanup()
2207 object_cache = KMEM_CACHE(kmemleak_object, SLAB_NOLEAKTRACE); in kmemleak_init()