Home
last modified time | relevance | path

Searched defs:key (Results 1 – 25 of 159) sorted by relevance

1234567

/include/linux/
Dkey.h155 static inline key_ref_t make_key_ref(const struct key *key, in make_key_ref()
178 struct key *key; member
195 struct key { struct
197 key_serial_t serial; /* key serial number */ argument
203 struct watch_list *watchers; /* Entities watching this key for changes */ argument
206 struct key_user *user; /* owner of this key */ argument
207 void *security; /* security data for this key */ argument
209 time64_t expiry; /* time at which key expires (or 0) */ argument
212 time64_t last_used_at; /* last time used for LRU keyring discard */ argument
215 key_perm_t perm; /* access permissions */ argument
[all …]
Dsiphash.h20 u64 key[2]; member
25 static inline bool siphash_key_is_zero(const siphash_key_t *key) in siphash_key_is_zero()
44 const siphash_key_t *key) in siphash_2u32()
49 const u32 d, const siphash_key_t *key) in siphash_4u32()
56 const siphash_key_t *key) in ___siphash_aligned()
82 const siphash_key_t *key) in siphash()
92 unsigned long key[2]; member
108 const hsiphash_key_t *key) in ___hsiphash_aligned()
132 const hsiphash_key_t *key) in hsiphash()
Djump_label_ratelimit.h10 struct static_key key; member
16 struct static_key_true key; member
22 struct static_key_false key; member
65 struct static_key key; member
68 struct static_key_true key; member
71 struct static_key_false key; member
80 static inline void static_key_slow_dec_deferred(struct static_key_deferred *key) in static_key_slow_dec_deferred()
85 static inline void static_key_deferred_flush(void *key) in static_key_deferred_flush()
90 jump_label_rate_limit(struct static_key_deferred *key, in jump_label_rate_limit()
Djump_label.h81 #define STATIC_KEY_CHECK_USE(key) WARN(!static_key_initialized, \ argument
120 long key; // key may be far away from the core kernel under KASLR member
202 static inline int static_key_count(struct static_key *key) in static_key_count()
207 static __always_inline bool static_key_false(struct static_key *key) in static_key_false()
214 static __always_inline bool static_key_true(struct static_key *key) in static_key_true()
228 static __always_inline bool static_key_false(struct static_key *key) in static_key_false()
233 static __always_inline bool static_key_true(struct static_key *key) in static_key_true()
281 static __always_inline int static_key_count(struct static_key *key) in static_key_count()
291 static __always_inline bool static_key_false(struct static_key *key) in static_key_false()
298 static __always_inline bool static_key_true(struct static_key *key) in static_key_true()
[all …]
Dbtree-128.h24 u64 key[2] = {k1, k2}; in btree_lookup128() local
31 u64 key[2] = {*k1, *k2}; in btree_get_prev128() local
44 u64 key[2] = {k1, k2}; in btree_insert128() local
52 u64 key[2] = {k1, k2}; in btree_update128() local
59 u64 key[2] = {k1, k2}; in btree_remove128() local
65 u64 key[2]; in btree_last128() local
Dsysrq.h57 static inline void handle_sysrq(u8 key) in handle_sysrq()
61 static inline void __handle_sysrq(u8 key, bool check_mask) in __handle_sysrq()
65 static inline int register_sysrq_key(u8 key, const struct sysrq_key_op *op) in register_sysrq_key()
70 static inline int unregister_sysrq_key(u8 key, const struct sysrq_key_op *op) in unregister_sysrq_key()
Drbtree.h256 rb_find(const void *key, const struct rb_root *tree, in rb_find()
257 int (*cmp)(const void *key, const struct rb_node *)) in rb_find()
284 rb_find_first(const void *key, const struct rb_root *tree, in rb_find_first()
285 int (*cmp)(const void *key, const struct rb_node *)) in rb_find_first()
314 rb_next_match(const void *key, struct rb_node *node, in rb_next_match()
315 int (*cmp)(const void *key, const struct rb_node *)) in rb_next_match()
330 #define rb_for_each(node, key, tree, cmp) \ argument
Dhashtable.h60 #define hash_add(hashtable, node, key) \ argument
69 #define hash_add_rcu(hashtable, node, key) \ argument
165 #define hash_for_each_possible(name, obj, member, key) \ argument
176 #define hash_for_each_possible_rcu(name, obj, member, key, cond...) \ argument
191 #define hash_for_each_possible_rcu_notrace(name, obj, member, key) \ argument
204 #define hash_for_each_possible_safe(name, obj, tmp, member, key) \ argument
Dbtree.h216 #define btree_for_each_safel(head, key, val) \ argument
227 #define btree_for_each_safe32(head, key, val) \ argument
239 #define btree_for_each_safe64(head, key, val) \ argument
Dlockdep.h190 struct lock_class_key *key, int subclass, u8 inner, u8 outer) in lockdep_init_map_waits()
197 struct lock_class_key *key, int subclass, u8 inner) in lockdep_init_map_wait()
203 struct lock_class_key *key, int subclass) in lockdep_init_map()
214 #define lockdep_set_class(lock, key) \ argument
220 #define lockdep_set_class_and_name(lock, key, name) \ argument
226 #define lockdep_set_class_and_subclass(lock, key, sub) \ argument
244 #define lockdep_match_class(lock, key) lockdep_match_key(&(lock)->dep_map, key) argument
247 struct lock_class_key *key) in lockdep_match_key()
378 # define lock_set_class(l, n, key, s, i) do { (void)(key); } while (0) argument
382 # define lockdep_init_map_type(lock, name, key, sub, inner, outer, type) \ argument
[all …]
Drhashtable.h126 const void *key, const struct rhashtable_params params, in rht_key_get_hash()
157 const void *key, const struct rhashtable_params params) in rht_key_hashfn()
590 struct rhashtable *ht, const void *key, in __rhashtable_lookup()
643 struct rhashtable *ht, const void *key, in rhashtable_lookup()
666 struct rhashtable *ht, const void *key, in rhashtable_lookup_fast()
693 struct rhltable *hlt, const void *key, in rhltable_lookup()
706 struct rhashtable *ht, const void *key, struct rhash_head *obj, in __rhashtable_insert_fast()
858 struct rhltable *hlt, const void *key, struct rhlist_head *list, in rhltable_insert_key()
884 const char *key = rht_obj(&hlt->ht, &list->rhead); in rhltable_insert() local
909 const char *key = rht_obj(ht, obj); in rhashtable_lookup_insert_fast() local
[all …]
Drbtree_latch.h106 __lt_find(void *key, struct latch_tree_root *ltr, int idx, in __lt_find()
107 int (*comp)(void *key, struct latch_tree_node *node)) in __lt_find()
200 latch_tree_find(void *key, struct latch_tree_root *root, in latch_tree_find()
Dbootconfig.h147 xbc_find_value(const char *key, struct xbc_node **vnode) in xbc_find_value()
159 static inline struct xbc_node * __init xbc_find_node(const char *key) in xbc_find_node()
234 #define xbc_node_for_each_array_value(node, key, anode, value) \ argument
/include/crypto/internal/
Ddes.h26 static inline int crypto_des_verify_key(struct crypto_tfm *tfm, const u8 *key) in crypto_des_verify_key()
55 static inline int des3_ede_verify_key(const u8 *key, unsigned int key_len, in des3_ede_verify_key()
92 const u8 *key) in crypto_des3_ede_verify_key()
100 const u8 *key) in verify_skcipher_des_key()
106 const u8 *key) in verify_skcipher_des3_key()
111 static inline int verify_aead_des_key(struct crypto_aead *tfm, const u8 *key, in verify_aead_des_key()
119 static inline int verify_aead_des3_key(struct crypto_aead *tfm, const u8 *key, in verify_aead_des3_key()
Dchacha.h11 u32 key[8]; member
15 static inline int chacha_setkey(struct crypto_skcipher *tfm, const u8 *key, in chacha_setkey()
31 static inline int chacha20_setkey(struct crypto_skcipher *tfm, const u8 *key, in chacha20_setkey()
37 static inline int chacha12_setkey(struct crypto_skcipher *tfm, const u8 *key, in chacha12_setkey()
Dkdf_selftest.h14 unsigned char *key; member
26 const u8 *key, size_t keylen, in kdf_test()
/include/net/
Darp.h15 u32 key = *(const u32 *)pkey; in arp_hashfn() local
22 static inline struct neighbour *__ipv4_neigh_lookup_noref(struct net_device *dev, u32 key) in __ipv4_neigh_lookup_noref()
31 struct neighbour *__ipv4_neigh_lookup_noref(struct net_device *dev, u32 key) in __ipv4_neigh_lookup_noref()
37 static inline struct neighbour *__ipv4_neigh_lookup(struct net_device *dev, u32 key) in __ipv4_neigh_lookup()
50 static inline void __ipv4_confirm_neigh(struct net_device *dev, u32 key) in __ipv4_confirm_neigh()
Dflow_offload.h12 void *key; member
16 struct flow_dissector_key_meta *key, *mask; member
20 struct flow_dissector_key_basic *key, *mask; member
24 struct flow_dissector_key_control *key, *mask; member
28 struct flow_dissector_key_eth_addrs *key, *mask; member
32 struct flow_dissector_key_vlan *key, *mask; member
36 struct flow_dissector_key_arp *key, *mask; member
40 struct flow_dissector_key_ipv4_addrs *key, *mask; member
44 struct flow_dissector_key_ipv6_addrs *key, *mask; member
48 struct flow_dissector_key_ip *key, *mask; member
[all …]
/include/keys/
Duser-type.h46 static inline const struct user_key_payload *user_key_payload_rcu(const struct key *key) in user_key_payload_rcu()
51 static inline struct user_key_payload *user_key_payload_locked(const struct key *key) in user_key_payload_locked()
Dasymmetric-type.h70 const struct asymmetric_key_ids *asymmetric_key_ids(const struct key *key) in asymmetric_key_ids()
76 const struct public_key *asymmetric_key_public_key(const struct key *key) in asymmetric_key_public_key()
/include/uapi/linux/
Dtls.h128 unsigned char key[TLS_CIPHER_AES_GCM_128_KEY_SIZE]; member
136 unsigned char key[TLS_CIPHER_AES_GCM_256_KEY_SIZE]; member
144 unsigned char key[TLS_CIPHER_AES_CCM_128_KEY_SIZE]; member
152 unsigned char key[TLS_CIPHER_CHACHA20_POLY1305_KEY_SIZE]; member
160 unsigned char key[TLS_CIPHER_SM4_GCM_KEY_SIZE]; member
168 unsigned char key[TLS_CIPHER_SM4_CCM_KEY_SIZE]; member
176 unsigned char key[TLS_CIPHER_ARIA_GCM_128_KEY_SIZE]; member
184 unsigned char key[TLS_CIPHER_ARIA_GCM_256_KEY_SIZE]; member
Dsed-opal.h62 __u8 key[OPAL_KEY_MAX]; member
70 struct opal_key key; member
124 struct opal_key key; member
130 struct opal_key key; member
136 struct opal_key key; member
150 struct opal_key key; member
192 struct opal_key key; member
/include/crypto/
Dblake2s.h47 const void *key, size_t keylen) in __blake2s_init()
77 const size_t outlen, const void *key, in blake2s_init_key()
89 static inline void blake2s(u8 *out, const u8 *in, const u8 *key, in blake2s()
Dchacha.h66 static inline void chacha_init_generic(u32 *state, const u32 *key, const u8 *iv) in chacha_init_generic()
83 static inline void chacha_init(u32 *state, const u32 *key, const u8 *iv) in chacha_init()
/include/net/sctp/
Dauth.h50 struct sctp_auth_bytes *key; member
62 static inline void sctp_auth_key_hold(struct sctp_auth_bytes *key) in sctp_auth_key_hold()

1234567