Home
last modified time | relevance | path

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

/security/integrity/
Ddigsig_asymmetric.c39 key_ref_t kref; in request_asymmetric_key() local
41 kref = keyring_search(make_key_ref(key, 1), in request_asymmetric_key()
43 if (!IS_ERR(kref)) { in request_asymmetric_key()
51 key_ref_t kref; in request_asymmetric_key() local
53 kref = keyring_search(make_key_ref(keyring, 1), in request_asymmetric_key()
55 if (IS_ERR(kref)) in request_asymmetric_key()
56 key = ERR_CAST(kref); in request_asymmetric_key()
58 key = key_ref_to_ptr(kref); in request_asymmetric_key()
/security/apparmor/include/
Dpolicy_unpack.h62 struct kref count;
117 void aa_loaddata_kref(struct kref *kref);
Dpolicy.h173 void aa_free_proxy_kref(struct kref *kref);
179 void aa_free_profile_kref(struct kref *kref);
Dmatch.h98 struct kref count;
133 void aa_dfa_free_kref(struct kref *kref);
Dlabel.h110 struct kref count;
130 struct kref count;
283 void aa_label_kref(struct kref *kref);
424 void aa_proxy_kref(struct kref *kref);
Dlib.h105 struct kref count;
114 void aa_str_kref(struct kref *kref);
Dpolicy_ns.h92 void aa_free_ns_kref(struct kref *kref);
/security/apparmor/
Dmatch.c216 void aa_dfa_free_kref(struct kref *kref) in aa_dfa_free_kref() argument
218 struct aa_dfa *dfa = container_of(kref, struct aa_dfa, count); in aa_dfa_free_kref()
Dlib.c151 void aa_str_kref(struct kref *kref) in aa_str_kref() argument
153 kfree(container_of(kref, struct counted_str, count)); in aa_str_kref()
Dlabel.c57 void aa_proxy_kref(struct kref *kref) in aa_proxy_kref() argument
59 struct aa_proxy *proxy = container_of(kref, struct aa_proxy, count); in aa_proxy_kref()
376 void aa_label_kref(struct kref *kref) in aa_label_kref() argument
378 struct aa_label *label = container_of(kref, struct aa_label, count); in aa_label_kref()
Dpolicy_unpack.c171 void aa_loaddata_kref(struct kref *kref) in aa_loaddata_kref() argument
173 struct aa_loaddata *d = container_of(kref, struct aa_loaddata, count); in aa_loaddata_kref()
Dapparmorfs.c815 struct kref count;
824 static void multi_transaction_kref(struct kref *kref) in multi_transaction_kref() argument
828 t = container_of(kref, struct multi_transaction, count); in multi_transaction_kref()