Home
last modified time | relevance | path

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

/linux-6.6.21/include/linux/
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 …]
Dpoll.h43 __poll_t _key; member
70 return p ? p->_key : ~(__poll_t)0; in poll_requested_events()
76 pt->_key = ~(__poll_t)0; /* all events enabled */ in init_poll_funcptr()
Dworkqueue.h277 #define __INIT_WORK_KEY(_work, _func, _onstack, _key) \ argument
281 lockdep_init_map(&(_work)->lockdep_map, "(work_completion)"#_work, (_key), 0); \
286 #define __INIT_WORK_KEY(_work, _func, _onstack, _key) \ argument
308 #define INIT_WORK_ONSTACK_KEY(_work, _func, _key) \ argument
309 __INIT_WORK_KEY((_work), (_func), 1, _key)
Dlockdep.h468 #define STATIC_LOCKDEP_MAP_INIT(_name, _key) \ argument
469 { .name = (_name), .key = (void *)(_key), }
Dregmap.h734 static struct lock_class_key _key; \
735 fn(__VA_ARGS__, &_key, \
/linux-6.6.21/include/linux/gpio/
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-6.6.21/drivers/crypto/qce/
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()
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-6.6.21/tools/lib/bpf/
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-6.6.21/tools/perf/util/
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-6.6.21/fs/
Dfsopen.c352 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()
419 if (_key) { in SYSCALL_DEFINE5()
420 param.key = strndup_user(_key, 256); in SYSCALL_DEFINE5()
Dselect.c231 entry->key = p->_key; in __pollwait()
472 wait->_key = POLLEX_SET | ll_flag; in wait_key_set()
474 wait->_key |= POLLIN_SET; in wait_key_set()
476 wait->_key |= POLLOUT_SET; in wait_key_set()
872 pwait->_key = filter | busy_flag; in do_pollfd()
Daio.c1683 struct poll_table_struct pt = { ._key = req->events }; in aio_poll_complete_work()
1873 apt.pt._key = req->events; in aio_poll()
Deventpoll.c890 pt->_key = epi->event.events; in ep_item_poll()
/linux-6.6.21/fs/btrfs/
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); \
/linux-6.6.21/lib/
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-6.6.21/kernel/bpf/
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() argument
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()
/linux-6.6.21/security/keys/
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-6.6.21/include/linux/ceph/
Dlibceph.h267 extern type __lookup_##name##_key; \
269 typeof(__lookup_##name##_key.keyfld), nodefld)
/linux-6.6.21/include/media/
Dv4l2-ctrls.h543 static struct lock_class_key _key; \
545 &_key, \
/linux-6.6.21/scripts/
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-6.6.21/io_uring/
Dpoll.c296 struct poll_table_struct pt = { ._key = req->apoll_events }; in io_poll_check_events()
585 ipt->pt._key = mask; in __io_arm_poll_handler()
/linux-6.6.21/drivers/net/ethernet/microchip/sparx5/
Dsparx5_vcap_impl.c41 #define VCAP_ES0_KEYSEL(_key) (REW_RTAG_ETAG_CTRL_ES0_ISDX_KEY_ENA_SET(_key)) argument
/linux-6.6.21/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/
Dvmm.c1088 static struct lock_class_key _key; in nvkm_vmm_ctor() local
1100 __mutex_init(&vmm->mutex.vmm, "&vmm->mutex.vmm", key ? key : &_key); in nvkm_vmm_ctor()
/linux-6.6.21/net/sched/
Dcls_flower.c2978 __be32 _key, _mask; in fl_dump_key_flags() local
2993 _key = cpu_to_be32(key); in fl_dump_key_flags()
2996 err = nla_put(skb, TCA_FLOWER_KEY_FLAGS, 4, &_key); in fl_dump_key_flags()