Home
last modified time | relevance | path

Searched refs:kref (Results 1 – 12 of 12) sorted by relevance

/security/integrity/
Ddigsig_asymmetric.c35 key_ref_t kref; in request_asymmetric_key() local
37 kref = keyring_search(make_key_ref(key, 1), in request_asymmetric_key()
39 if (!IS_ERR(kref)) { in request_asymmetric_key()
47 key_ref_t kref; in request_asymmetric_key() local
49 kref = keyring_search(make_key_ref(keyring, 1), in request_asymmetric_key()
51 if (IS_ERR(kref)) in request_asymmetric_key()
52 key = ERR_CAST(kref); in request_asymmetric_key()
54 key = key_ref_to_ptr(kref); in request_asymmetric_key()
/security/apparmor/include/
Dpolicy_unpack.h58 struct kref count;
113 void aa_loaddata_kref(struct kref *kref);
Dpolicy.h177 void aa_free_proxy_kref(struct kref *kref);
183 void aa_free_profile_kref(struct kref *kref);
Dmatch.h95 struct kref count;
135 void aa_dfa_free_kref(struct kref *kref);
Dlabel.h106 struct kref count;
126 struct kref count;
279 void aa_label_kref(struct kref *kref);
448 void aa_proxy_kref(struct kref *kref);
Dlib.h94 struct kref count;
103 void aa_str_kref(struct kref *kref);
Dpolicy_ns.h88 void aa_free_ns_kref(struct kref *kref);
/security/apparmor/
Dlib.c147 void aa_str_kref(struct kref *kref) in aa_str_kref() argument
149 kfree(container_of(kref, struct counted_str, count)); in aa_str_kref()
Dmatch.c263 void aa_dfa_free_kref(struct kref *kref) in aa_dfa_free_kref() argument
265 struct aa_dfa *dfa = container_of(kref, struct aa_dfa, count); in aa_dfa_free_kref()
Dlabel.c53 void aa_proxy_kref(struct kref *kref) in aa_proxy_kref() argument
55 struct aa_proxy *proxy = container_of(kref, struct aa_proxy, count); in aa_proxy_kref()
372 void aa_label_kref(struct kref *kref) in aa_label_kref() argument
374 struct aa_label *label = container_of(kref, struct aa_label, count); in aa_label_kref()
Dpolicy_unpack.c169 void aa_loaddata_kref(struct kref *kref) in aa_loaddata_kref() argument
171 struct aa_loaddata *d = container_of(kref, struct aa_loaddata, count); in aa_loaddata_kref()
Dapparmorfs.c810 struct kref count;
819 static void multi_transaction_kref(struct kref *kref) in multi_transaction_kref() argument
823 t = container_of(kref, struct multi_transaction, count); in multi_transaction_kref()