Lines Matching defs:object_list
16 * - kmemleak_lock (raw_spinlock_t): protects the object_list as well as
18 * object_phys_tree_root). The object_list is the main list holding the
24 * added to the object_list and object_tree_root (or object_phys_tree_root)
138 * object->lock. Insertions or deletions from object_list, gray_list or
146 struct list_head object_list;
149 struct rcu_head rcu; /* object_list lockless traversal */
184 /* set to temporarily prevent deletion from object_list */
198 static LIST_HEAD(object_list);
209 /* protecting the access to object_list, object_tree_root (or object_phys_tree_root) */
466 typeof(*object), object_list);
468 list_del(&object->object_list);
492 list_add(&object->object_list, &mem_pool_free_list);
521 * recursive call to the kernel allocator. Lock-less RCU object_list traversal
534 * concurrent object_list traversal when !object_cache and all objects
573 * and object_list. Must be called with the kmemleak_lock held _if_ kmemleak
582 list_del_rcu(&object->object_list);
588 * object_tree_root (or object_phys_tree_root) and object_list. The
628 * memory block and add it to the object_list and object_tree_root (or
647 INIT_LIST_HEAD(&object->object_list);
720 list_add_tail_rcu(&object->object_list, &object_list);
1344 * is still present in object_tree_root and object_list
1509 list_del_rcu(&object->object_list);
1532 list_for_each_entry_rcu(object, &object_list, object_list) {
1632 list_for_each_entry_rcu(object, &object_list, object_list) {
1669 list_for_each_entry_rcu(object, &object_list, object_list) {
1768 * Iterate over the object_list and return the first valid object at or after
1783 list_for_each_entry_rcu(object, &object_list, object_list) {
1795 * Return the next object in the object_list. The function decrements the
1806 list_for_each_entry_continue_rcu(obj, &object_list, object_list) {
1894 list_for_each_entry_rcu(object, &object_list, object_list) {
2014 list_for_each_entry_safe(object, tmp, &object_list, object_list) {