Home
last modified time | relevance | path

Searched refs:_key (Results 1 - 25 of 48) sorted by relevance

12

/kernel/linux/linux-5.10/include/linux/
H A Dbtree-type.h40 unsigned long _key = key; in lookup() local
41 return btree_lookup(&head->h, BTREE_TYPE_GEO, &_key); in lookup()
47 unsigned long _key = key; in insert() local
48 return btree_insert(&head->h, BTREE_TYPE_GEO, &_key, val, gfp); in insert()
54 unsigned long _key = key; in update() local
55 return btree_update(&head->h, BTREE_TYPE_GEO, &_key, val); in update()
60 unsigned long _key = key; in remove() local
61 return btree_remove(&head->h, BTREE_TYPE_GEO, &_key); in remove()
66 unsigned long _key; in last() local
67 void *val = btree_last(&head->h, BTREE_TYPE_GEO, &_key); in last()
75 unsigned long _key = *key; get_prev() local
[all...]
H A Dpoll.h45 __poll_t _key; member
72 return p ? p->_key : ~(__poll_t)0; in poll_requested_events()
78 pt->_key = ~(__poll_t)0; /* all events enabled */ in init_poll_funcptr()
/kernel/linux/linux-6.6/include/linux/
H A Dbtree-type.h40 unsigned long _key = key; in lookup() local
41 return btree_lookup(&head->h, BTREE_TYPE_GEO, &_key); in lookup()
47 unsigned long _key = key; in insert() local
48 return btree_insert(&head->h, BTREE_TYPE_GEO, &_key, val, gfp); in insert()
54 unsigned long _key = key; in update() local
55 return btree_update(&head->h, BTREE_TYPE_GEO, &_key, val); in update()
60 unsigned long _key = key; in remove() local
61 return btree_remove(&head->h, BTREE_TYPE_GEO, &_key); in remove()
66 unsigned long _key; in last() local
67 void *val = btree_last(&head->h, BTREE_TYPE_GEO, &_key); in last()
75 unsigned long _key = *key; get_prev() local
[all...]
H A Dpoll.h39 __poll_t _key; member
66 return p ? p->_key : ~(__poll_t)0; in poll_requested_events()
72 pt->_key = ~(__poll_t)0; /* all events enabled */ in init_poll_funcptr()
H A Dworkqueue.h222 * NB: because we have to copy the lockdep_map, setting _key
277 #define __INIT_WORK_KEY(_work, _func, _onstack, _key) \
281 lockdep_init_map(&(_work)->lockdep_map, "(work_completion)"#_work, (_key), 0); \
286 #define __INIT_WORK_KEY(_work, _func, _onstack, _key) \
308 #define INIT_WORK_ONSTACK_KEY(_work, _func, _key) \
309 __INIT_WORK_KEY((_work), (_func), 1, _key)
/kernel/linux/linux-6.6/include/linux/gpio/
H A Dmachine.h69 #define GPIO_LOOKUP_SINGLE(_name, _dev_id, _key, _chip_hwnum, _con_id, _flags) \
73 GPIO_LOOKUP(_key, _chip_hwnum, _con_id, _flags), \
81 #define GPIO_LOOKUP(_key, _chip_hwnum, _con_id, _flags) \
82 GPIO_LOOKUP_IDX(_key, _chip_hwnum, _con_id, 0, _flags)
89 #define GPIO_LOOKUP_IDX(_key, _chip_hwnum, _con_id, _idx, _flags) \
91 .key = _key, \
/kernel/linux/linux-6.6/drivers/crypto/qce/
H A Dskcipher.c230 u32 _key[6]; in qce_des3_setkey() local
245 memcpy(_key, key, DES3_EDE_KEY_SIZE); in qce_des3_setkey()
246 if (!((_key[0] ^ _key[2]) | (_key[1] ^ _key[3])) || in qce_des3_setkey()
247 !((_key[2] ^ _key[4]) | (_key[3] ^ _key[ in qce_des3_setkey()
[all...]
H A Daead.c600 u32 _key[6]; in qce_aead_setkey() local
625 memcpy(_key, authenc_keys.enckey, DES3_EDE_KEY_SIZE); in qce_aead_setkey()
626 if (!((_key[0] ^ _key[2]) | (_key[1] ^ _key[3])) || in qce_aead_setkey()
627 !((_key[2] ^ _key[4]) | (_key[3] ^ _key[ in qce_aead_setkey()
[all...]
/kernel/linux/linux-5.10/include/linux/gpio/
H A Dmachine.h69 #define GPIO_LOOKUP(_key, _chip_hwnum, _con_id, _flags) \
70 GPIO_LOOKUP_IDX(_key, _chip_hwnum, _con_id, 0, _flags)
77 #define GPIO_LOOKUP_IDX(_key, _chip_hwnum, _con_id, _idx, _flags) \
79 .key = _key, \
/kernel/linux/linux-5.10/tools/lib/bpf/
H A Dhashmap.h179 #define hashmap__for_each_key_entry(map, cur, _key) \
181 ? map->buckets[hash_bits(map->hash_fn((_key), map->ctx), map->cap_bits)] \
185 if (map->equal_fn(cur->key, (_key), map->ctx))
187 #define hashmap__for_each_key_entry_safe(map, cur, tmp, _key) \
189 ? map->buckets[hash_bits(map->hash_fn((_key), map->ctx), map->cap_bits)] \
193 if (map->equal_fn(cur->key, (_key), map->ctx))
/kernel/linux/linux-5.10/tools/perf/util/
H A Dhashmap.h179 #define hashmap__for_each_key_entry(map, cur, _key) \
181 ? map->buckets[hash_bits(map->hash_fn((_key), map->ctx), map->cap_bits)] \
185 if (map->equal_fn(cur->key, (_key), map->ctx))
187 #define hashmap__for_each_key_entry_safe(map, cur, tmp, _key) \
189 ? map->buckets[hash_bits(map->hash_fn((_key), map->ctx), map->cap_bits)] \
193 if (map->equal_fn(cur->key, (_key), map->ctx))
/kernel/linux/linux-6.6/tools/lib/bpf/
H A Dhashmap.h192 #define hashmap__for_each_key_entry(map, cur, _key) \
194 ? map->buckets[hash_bits(map->hash_fn((_key), map->ctx), map->cap_bits)] \
198 if (map->equal_fn(cur->key, (_key), map->ctx))
200 #define hashmap__for_each_key_entry_safe(map, cur, tmp, _key) \
202 ? map->buckets[hash_bits(map->hash_fn((_key), map->ctx), map->cap_bits)] \
206 if (map->equal_fn(cur->key, (_key), map->ctx))
/kernel/linux/linux-6.6/tools/perf/util/
H A Dhashmap.h192 #define hashmap__for_each_key_entry(map, cur, _key) \
194 ? map->buckets[hash_bits(map->hash_fn((_key), map->ctx), map->cap_bits)] \
198 if (map->equal_fn(cur->key, (_key), map->ctx))
200 #define hashmap__for_each_key_entry_safe(map, cur, tmp, _key) \
202 ? map->buckets[hash_bits(map->hash_fn((_key), map->ctx), map->cap_bits)] \
206 if (map->equal_fn(cur->key, (_key), map->ctx))
/kernel/linux/linux-6.6/fs/btrfs/
H A Dlocking.h145 static struct lock_class_key lock##_key; \
146 lockdep_init_map(&owner->lock##_map, #lock, &lock##_key, 0); \
152 static struct lock_class_key lock##_key; \
154 &lock##_key, 0); \
/kernel/linux/linux-5.10/lib/
H A Dextable.c98 unsigned long _key = *(unsigned long *)key; in cmp_ex_search() local
101 if (_key > ex_to_insn(_elt)) in cmp_ex_search()
103 if (_key < ex_to_insn(_elt)) in cmp_ex_search()
/kernel/linux/linux-6.6/lib/
H A Dextable.c94 unsigned long _key = *(unsigned long *)key; in cmp_ex_search() local
97 if (_key > ex_to_insn(_elt)) in cmp_ex_search()
99 if (_key < ex_to_insn(_elt)) in cmp_ex_search()
/kernel/linux/linux-5.10/fs/
H A Dfsopen.c275 * @_key: Where appropriate, the parameter key to set
286 * and @_key indicates the parameter to be altered.
317 const char __user *, _key, in SYSCALL_DEFINE5()
335 if (!_key || _value || aux) in SYSCALL_DEFINE5()
339 if (!_key || !_value || aux) in SYSCALL_DEFINE5()
343 if (!_key || !_value || aux <= 0 || aux > 1024 * 1024) in SYSCALL_DEFINE5()
348 if (!_key || !_value || (aux != AT_FDCWD && aux < 0)) in SYSCALL_DEFINE5()
352 if (!_key || _value || aux < 0) in SYSCALL_DEFINE5()
357 if (_key || _value || aux) in SYSCALL_DEFINE5()
383 if (_key) { in SYSCALL_DEFINE5()
[all...]
/kernel/linux/linux-6.6/fs/
H A Dfsopen.c310 * @_key: Where appropriate, the parameter key to set
321 * and @_key indicates the parameter to be altered.
352 const char __user *, _key, in SYSCALL_DEFINE5()
370 if (!_key || _value || aux) in SYSCALL_DEFINE5()
374 if (!_key || !_value || aux) in SYSCALL_DEFINE5()
378 if (!_key || !_value || aux <= 0 || aux > 1024 * 1024) in SYSCALL_DEFINE5()
383 if (!_key || !_value || (aux != AT_FDCWD && aux < 0)) in SYSCALL_DEFINE5()
387 if (!_key || _value || aux < 0) in SYSCALL_DEFINE5()
393 if (_key || _value || aux) in SYSCALL_DEFINE5()
419 if (_key) { in SYSCALL_DEFINE5()
[all...]
/kernel/linux/linux-5.10/kernel/bpf/
H A Dlpm_trie.c227 static void *trie_lookup_elem(struct bpf_map *map, void *_key) in trie_lookup_elem() argument
231 struct bpf_lpm_trie_key *key = _key; in trie_lookup_elem()
304 void *_key, void *value, u64 flags) in trie_update_elem()
309 struct bpf_lpm_trie_key *key = _key; in trie_update_elem()
434 static int trie_delete_elem(struct bpf_map *map, void *_key) in trie_delete_elem() argument
437 struct bpf_lpm_trie_key *key = _key; in trie_delete_elem()
628 static int trie_get_next_key(struct bpf_map *map, void *_key, void *_next_key) in trie_get_next_key() argument
632 struct bpf_lpm_trie_key *key = _key, *next_key = _next_key; in trie_get_next_key()
303 trie_update_elem(struct bpf_map *map, void *_key, void *value, u64 flags) trie_update_elem() argument
/kernel/linux/linux-6.6/kernel/bpf/
H A Dlpm_trie.c228 static void *trie_lookup_elem(struct bpf_map *map, void *_key) in trie_lookup_elem() argument
232 struct bpf_lpm_trie_key *key = _key; in trie_lookup_elem()
307 void *_key, void *value, u64 flags) in trie_update_elem()
312 struct bpf_lpm_trie_key *key = _key; in trie_update_elem()
437 static long trie_delete_elem(struct bpf_map *map, void *_key) in trie_delete_elem() argument
440 struct bpf_lpm_trie_key *key = _key; in trie_delete_elem()
615 static int trie_get_next_key(struct bpf_map *map, void *_key, void *_next_key) in trie_get_next_key() argument
619 struct bpf_lpm_trie_key *key = _key, *next_key = _next_key; in trie_get_next_key()
306 trie_update_elem(struct bpf_map *map, void *_key, void *value, u64 flags) trie_update_elem() argument
/kernel/linux/linux-5.10/tools/lib/lockdep/include/liblockdep/
H A Dcommon.h51 #define STATIC_LOCKDEP_MAP_INIT(_name, _key) \
52 { .name = (_name), .key = (void *)(_key), }
/kernel/linux/linux-5.10/net/rxrpc/
H A Dsecurity.c108 struct key **_key, in rxrpc_look_up_server_security()
156 *_key = key_ref_to_ptr(kref); in rxrpc_look_up_server_security()
106 rxrpc_look_up_server_security(struct rxrpc_local *local, struct rxrpc_sock *rx, const struct rxrpc_security **_sec, struct key **_key, struct sk_buff *skb) rxrpc_look_up_server_security() argument
/kernel/linux/linux-5.10/security/keys/
H A Drequest_key.c373 struct key **_key) in construct_alloc_key()
384 *_key = NULL; in construct_alloc_key()
438 *_key = key; in construct_alloc_key()
460 *_key = key; in construct_alloc_key()
369 construct_alloc_key(struct keyring_search_context *ctx, struct key *dest_keyring, unsigned long flags, struct key_user *user, struct key **_key) construct_alloc_key() argument
/kernel/linux/linux-6.6/security/keys/
H A Drequest_key.c373 struct key **_key) in construct_alloc_key()
384 *_key = NULL; in construct_alloc_key()
438 *_key = key; in construct_alloc_key()
460 *_key = key; in construct_alloc_key()
369 construct_alloc_key(struct keyring_search_context *ctx, struct key *dest_keyring, unsigned long flags, struct key_user *user, struct key **_key) construct_alloc_key() argument
/kernel/linux/linux-5.10/include/linux/ceph/
H A Dlibceph.h270 extern type __lookup_##name##_key; \
272 typeof(__lookup_##name##_key.keyfld), nodefld)

Completed in 19 milliseconds

12