Lines Matching defs:object
18 #include "object.h"
39 * The caller must own the object (i.e. thanks to object->usage) to safely put
42 void landlock_put_object(struct landlock_object *const object)
45 * The call to @object->underops->release(object) might sleep, e.g.
49 if (!object)
53 * If the @object's refcount cannot drop to zero, we can just decrement
55 * happen under @object->lock for synchronization with things like
58 if (refcount_dec_and_lock(&object->usage, &object->lock)) {
59 __acquire(&object->lock);
61 * With @object->lock initially held, remove the reference from
62 * @object->underobj to @object (if it still exists).
64 object->underops->release(object);
65 kfree_rcu(object, rcu_free);