Lines Matching full:object
3 * Landlock LSM - Object management
19 * struct landlock_object_underops - Operations on an underlying object
23 * @release: Releases the underlying object (e.g. iput() for an inode).
25 void (*release)(struct landlock_object *const object)
26 __releases(object->lock);
30 * struct landlock_object - Security blob tied to a kernel object
33 * rights (pertaining to different domains) to a kernel object (e.g an inode)
41 * @usage: This counter is used to tie an object to the rules matching
45 * adding a new rule to an object with a usage counter of zero, we must
46 * wait until the pointer to this object is set to NULL (or recycled).
52 * from @underobj to this object have been cleaned up.
58 * @underobj: Used when cleaning up an object and to mark an object as
73 * underlying object (e.g. inode).
83 void landlock_put_object(struct landlock_object *const object);
85 static inline void landlock_get_object(struct landlock_object *const object) in landlock_get_object() argument
87 if (object) in landlock_get_object()
88 refcount_inc(&object->usage); in landlock_get_object()