Home
last modified time | relevance | path

Searched refs:_key (Results 1 – 25 of 37) sorted by relevance

12

/linux/include/linux/
H A Dbtree-type.h40 unsigned long _key = key; in BTREE_FN() local
41 return btree_lookup(&head->h, BTREE_TYPE_GEO, &_key); in BTREE_FN()
47 unsigned long _key = key; in BTREE_FN() local
48 return btree_insert(&head->h, BTREE_TYPE_GEO, &_key, val, gfp); in BTREE_FN()
54 unsigned long _key = key; in BTREE_FN() local
55 return btree_update(&head->h, BTREE_TYPE_GEO, &_key, val); in BTREE_FN()
60 unsigned long _key = key; in BTREE_FN() local
61 return btree_remove(&head->h, BTREE_TYPE_GEO, &_key); in BTREE_FN()
66 unsigned long _key; in BTREE_FN() local
67 void *val = btree_last(&head->h, BTREE_TYPE_GEO, &_key); in BTREE_FN()
[all …]
H A Dpoll.h39 __poll_t _key; member
64 return p ? p->_key : ~(__poll_t)0; in poll_requested_events()
70 pt->_key = ~(__poll_t)0; /* all events enabled */ in init_poll_funcptr()
H A Dworkqueue.h283 #define __INIT_WORK_KEY(_work, _func, _onstack, _key) \ argument
287 lockdep_init_map(&(_work)->lockdep_map, "(work_completion)"#_work, (_key), 0); \
292 #define __INIT_WORK_KEY(_work, _func, _onstack, _key) \ argument
314 #define INIT_WORK_ONSTACK_KEY(_work, _func, _key) \ argument
315 __INIT_WORK_KEY((_work), (_func), 1, _key)
H A Dlockdep.h430 #define STATIC_LOCKDEP_MAP_INIT(_name, _key) \ argument
431 { .name = (_name), .key = (void *)(_key), }
/linux/rust/kernel/
H A Djump_label.rs23 let _key: *const $keytyp = ::core::ptr::addr_of!($key); localVariable
24 let _key: *const $crate::bindings::static_key_false = ::core::ptr::addr_of!((*_key).$field); localVariable
25 let _key: *const $crate::bindings::static_key = _key.cast(); localVariable
29 $crate::bindings::static_key_count(_key.cast_mut()) > 0
/linux/include/linux/gpio/
H A Dmachine.h69 #define GPIO_LOOKUP_SINGLE(_name, _dev_id, _key, _chip_hwnum, _con_id, _flags) \ argument
73 GPIO_LOOKUP(_key, _chip_hwnum, _con_id, _flags), \
81 #define GPIO_LOOKUP(_key, _chip_hwnum, _con_id, _flags) \ argument
82 GPIO_LOOKUP_IDX(_key, _chip_hwnum, _con_id, 0, _flags)
89 #define GPIO_LOOKUP_IDX(_key, _chip_hwnum, _con_id, _idx, _flags) \ argument
91 .key = _key, \
/linux/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[5])) || in qce_des3_setkey()
248 !((_key[0] ^ _key[4]) | (_key[1] ^ _key[5]))) in qce_des3_setkey()
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[5])) || in qce_aead_setkey()
628 !((_key[0] ^ _key[4]) | (_key[1] ^ _key[5]))) in qce_aead_setkey()
/linux/tools/perf/util/
H A Dhashmap.h192 #define hashmap__for_each_key_entry(map, cur, _key) \ argument
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) \ argument
202 ? (map)->buckets[hash_bits((map)->hash_fn((_key), (map)->ctx), (map)->cap_bits)] \
206 if ((map)->equal_fn(cur->key, (_key), (map)->ctx))
H A Dcomm.c92 static int comm_str__search(const void *_key, const void *_member) in comm_str__search() argument
94 const char *key = _key; in comm_str__search()
/linux/tools/lib/bpf/
H A Dhashmap.h192 #define hashmap__for_each_key_entry(map, cur, _key) \ argument
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) \ argument
202 ? (map)->buckets[hash_bits((map)->hash_fn((_key), (map)->ctx), (map)->cap_bits)] \
206 if ((map)->equal_fn(cur->key, (_key), (map)->ctx))
/linux/fs/
H A Dfsopen.c353 const char __user *, _key, in SYSCALL_DEFINE5() argument
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()
418 if (_key) { in SYSCALL_DEFINE5()
419 param.key = strndup_user(_key, 256); in SYSCALL_DEFINE5()
H A Dselect.c228 entry->key = p->_key; in __pollwait()
474 wait->_key = POLLEX_SET | ll_flag; in select_poll_one()
476 wait->_key |= POLLIN_SET; in select_poll_one()
478 wait->_key |= POLLOUT_SET; in select_poll_one()
869 pwait->_key = filter | busy_flag; in do_pollfd()
/linux/fs/btrfs/
H A Dlocking.h160 static struct lock_class_key lock##_key; \
161 lockdep_init_map(&owner->lock##_map, #lock, &lock##_key, 0); \
167 static struct lock_class_key lock##_key; \
169 &lock##_key, 0); \
/linux/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()
/linux/kernel/bpf/
H A Dlpm_trie.c238 static void *trie_lookup_elem(struct bpf_map *map, void *_key) in trie_lookup_elem() argument
242 struct bpf_lpm_trie_key_u8 *key = _key; in trie_lookup_elem()
323 void *_key, void *value, u64 flags) in trie_update_elem() argument
329 struct bpf_lpm_trie_key_u8 *key = _key; in trie_update_elem()
457 static long trie_delete_elem(struct bpf_map *map, void *_key) in trie_delete_elem() argument
461 struct bpf_lpm_trie_key_u8 *key = _key; in trie_delete_elem()
656 static int trie_get_next_key(struct bpf_map *map, void *_key, void *_next_key) in trie_get_next_key() argument
660 struct bpf_lpm_trie_key_u8 *key = _key, *next_key = _next_key; in trie_get_next_key()
/linux/net/rxrpc/
H A Drxgk_app.c44 struct key **_key) in rxgk_yfs_decode_ticket() argument
160 *_key = key; in rxgk_yfs_decode_ticket()
186 struct key **_key) in rxgk_extract_token() argument
251 ticket_len, _key); in rxgk_extract_token()
H A Drxgk_common.h44 struct key **_key);
47 struct key **_key);
/linux/security/keys/
H A Drequest_key.c373 struct key **_key) in construct_alloc_key() argument
384 *_key = NULL; in construct_alloc_key()
438 *_key = key; in construct_alloc_key()
460 *_key = key; in construct_alloc_key()
/linux/include/keys/
H A Drxrpc-type.h47 u8 _key[]; /* Key storage */ member
/linux/include/linux/ceph/
H A Dlibceph.h267 extern type __lookup_##name##_key; \
269 typeof(__lookup_##name##_key.keyfld), nodefld)
/linux/drivers/net/ovpn/
H A Dpeer.c177 #define ovpn_get_hash_slot(_tbl, _key, _key_len) ({ \ argument
179 jhash(_key, _key_len, 0) % HASH_SIZE(*__tbl2); \
182 #define ovpn_get_hash_head(_tbl, _key, _key_len) ({ \ argument
184 &(*__tbl1)[ovpn_get_hash_slot(*__tbl1, _key, _key_len)];\
/linux/include/media/
H A Dv4l2-ctrls.h563 static struct lock_class_key _key; \
565 &_key, \
/linux/scripts/
H A Dasn1_compiler.c317 static int directive_compare(const void *_key, const void *_pdir) in directive_compare() argument
319 const struct token *token = _key; in directive_compare()
730 static int type_finder(const void *_key, const void *_ti) in type_finder() argument
732 const struct token *token = _key; in type_finder()
/linux/drivers/net/ethernet/sfc/
H A Dtc.c897 #define COPY_MASK_AND_VALUE(_key, _ekey) ({ \ in efx_tc_flower_translate_flhs_match() argument
898 if (match->mask._key) { \ in efx_tc_flower_translate_flhs_match()
901 match->mask._key = match->mask._ekey; \ in efx_tc_flower_translate_flhs_match()
903 match->value._key = match->value._ekey; \ in efx_tc_flower_translate_flhs_match()
908 #define COPY_FROM_ENC(_key) COPY_MASK_AND_VALUE(_key, enc_##_key) in efx_tc_flower_translate_flhs_match() argument

12