Searched defs:kref (Results 1 - 4 of 4) sorted by relevance

/security/integrity/
H A Ddigsig_asymmetric.c37 key_ref_t kref; local
38 kref = keyring_search(make_key_ref(keyring, 1),
40 if (IS_ERR(kref))
41 key = ERR_CAST(kref);
43 key = key_ref_to_ptr(kref);
/security/apparmor/include/
H A Dapparmor.h80 /* returns 0 if kref not incremented */
81 static inline int kref_get_not0(struct kref *kref) argument
83 return atomic_inc_not_zero(&kref->refcount);
/security/apparmor/
H A Dmatch.c21 #include <linux/kref.h>
182 * aa_dfa_free_kref - free aa_dfa by kref (called by aa_put_dfa)
183 * @kr: kref callback for freeing of a dfa (NOT NULL)
185 void aa_dfa_free_kref(struct kref *kref) argument
187 struct aa_dfa *dfa = container_of(kref, struct aa_dfa, count);
H A Dpolicy.c573 void aa_free_replacedby_kref(struct kref *kref) argument
575 struct aa_replacedby *r = container_of(kref, struct aa_replacedby,
631 * aa_free_profile_kref - free aa_profile by kref (called by aa_put_profile)
632 * @kr: kref callback for freeing of a profile (NOT NULL)
634 void aa_free_profile_kref(struct kref *kref) argument
636 struct aa_profile *p = container_of(kref, struct aa_profile, count);

Completed in 43 milliseconds