Searched refs:kmemleak_object (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/mm/
H A Dkmemleak.c31 * holding the metadata (struct kmemleak_object) for the allocated memory
34 * kmemleak_object structures are added to the object_list and
38 * - kmemleak_object.lock (spinlock): protects a kmemleak_object. Accesses to
50 * Note that the kmemleak_object.use_count is incremented when an object is
63 * The kmemleak_object structures have a use_count incremented or decremented
66 * kmemleak_object freeing via an RCU callback. All calls to the get_object()
148 struct kmemleak_object { struct
302 struct kmemleak_object *object) hex_dump_object()
325 static bool color_white(const struct kmemleak_object *object) color_white()
331 static bool color_gray(const struct kmemleak_object *object) color_gray()
342 static bool unreferenced_object(struct kmemleak_object *object) unreferenced_object()
354 struct kmemleak_object *object) print_unreferenced()
374 * Print the kmemleak_object information. This function is used mainly for
378 static void dump_object_info(struct kmemleak_object *object) dump_object_info()
398 * Look-up a memory block metadata (kmemleak_object) in the object search
403 static struct kmemleak_object *lookup_object(unsigned long ptr, int alias) lookup_object()
408 struct kmemleak_object *object = lookup_object()
409 rb_entry(rb, struct kmemleak_object, rb_node); lookup_object()
432 static int get_object(struct kmemleak_object *object) get_object()
438 * RCU callback to free a kmemleak_object.
444 struct kmemleak_object *object = free_object_rcu()
445 container_of(rcu, struct kmemleak_object, rcu); free_object_rcu()
465 static void put_object(struct kmemleak_object *object) put_object()
479 static struct kmemleak_object *find_and_get_object(unsigned long ptr, int alias) find_and_get_object()
482 struct kmemleak_object *object; find_and_get_object()
502 static struct kmemleak_object *find_and_remove_object(unsigned long ptr, int alias) find_and_remove_object()
505 struct kmemleak_object *object; find_and_remove_object()
535 * Create the metadata (struct kmemleak_object) corresponding to an allocated
538 static struct kmemleak_object *create_object(unsigned long ptr, size_t size, create_object()
542 struct kmemleak_object *object, *parent; create_object()
547 pr_warning("Cannot allocate a kmemleak_object structure\n"); create_object()
594 parent = rb_entry(rb_parent, struct kmemleak_object, rb_node); create_object()
625 static void __delete_object(struct kmemleak_object *object) __delete_object()
643 * Look up the metadata (struct kmemleak_object) corresponding to ptr and
648 struct kmemleak_object *object; delete_object_full()
662 * Look up the metadata (struct kmemleak_object) corresponding to ptr and
668 struct kmemleak_object *object; delete_object_part()
699 static void __paint_it(struct kmemleak_object *object, int color) __paint_it()
706 static void paint_it(struct kmemleak_object *object, int color) paint_it()
717 struct kmemleak_object *object; paint_ptr()
756 struct kmemleak_object *object; add_scan_area()
801 struct kmemleak_object *object; object_no_scan()
857 struct kmemleak_object *object; early_alloc()
1019 struct kmemleak_object *object; kmemleak_update_trace()
1127 static bool update_checksum(struct kmemleak_object *object) update_checksum()
1167 struct kmemleak_object *scanned) scan_block()
1176 struct kmemleak_object *object; scan_block()
1252 * Scan a memory block corresponding to a kmemleak_object. A condition is
1255 static void scan_object(struct kmemleak_object *object) scan_object()
1302 struct kmemleak_object *object, *tmp; scan_gray_list()
1337 struct kmemleak_object *object; kmemleak_scan()
1343 /* prepare the kmemleak_object's */ kmemleak_scan()
1543 struct kmemleak_object *object; kmemleak_seq_start()
1569 struct kmemleak_object *prev_obj = v; kmemleak_seq_next()
1570 struct kmemleak_object *next_obj = NULL; kmemleak_seq_next()
1571 struct kmemleak_object *obj = prev_obj; kmemleak_seq_next()
1608 struct kmemleak_object *object = v; kmemleak_seq_show()
1633 struct kmemleak_object *object; dump_str_object_info()
1660 struct kmemleak_object *object; kmemleak_clear()
1772 struct kmemleak_object *object; __kmemleak_do_cleanup()
1874 object_cache = KMEM_CACHE(kmemleak_object, SLAB_NOLEAKTRACE); kmemleak_init()

Completed in 44 milliseconds