Lines Matching defs:use_count

37  *   Note that the kmemleak_object.use_count is incremented when an object is
50 * The kmemleak_object structures have a use_count incremented or decremented
51 * using the get_object()/put_object() functions. When the use_count becomes
135 * (use_count) and freed using the RCU mechanism.
144 /* object usage count; object freed when use_count == 0 */
145 atomic_t use_count;
403 * Increment the object use_count. Return 1 if successful or 0 otherwise. Note
404 * that once an object's use_count reached 0, the RCU freeing was already
410 return atomic_inc_not_zero(&object->use_count);
472 * Once use_count is 0 (guaranteed by put_object), there is no other
483 * Decrement the object use_count. Once the count is 0, free the object using
491 if (!atomic_dec_and_test(&object->use_count))
509 * Look up an object in the object search tree and increase its use_count.
541 * object_tree_root and object_list. The returned object's use_count should be
589 atomic_set(&object->use_count, 1);
664 WARN_ON(atomic_read(&object->use_count) < 1);
1262 * object->use_count cannot be dropped to 0 while the object
1323 * that object->use_count >= 1.
1378 * outside the loop because their use_count was incremented.
1424 if (atomic_read(&object->use_count) > 1) {
1425 pr_debug("object->use_count = %d\n",
1426 atomic_read(&object->use_count));
1619 * the required position with its use_count incremented. The function triggers
1646 * use_count of the previous object and increases that of the next one.
1668 * Decrement the use_count of the last object required, if any.