Home
last modified time | relevance | path

Searched refs:key_size (Results 26 - 50 of 533) sorted by relevance

12345678910>>...22

/kernel/linux/linux-6.6/drivers/mmc/host/
H A Dcqhci-crypto.c17 enum cqhci_crypto_key_size key_size; member
21 .key_size = CQHCI_CRYPTO_KEY_SIZE_256,
80 ccap_array[i].key_size == alg->key_size && in cqhci_crypto_keyslot_program()
149 cqhci_crypto_algs[i].key_size == cap.key_size) in cqhci_find_blk_crypto_mode()
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/benchs/
H A Dbench_bpf_hashmap_lookup.c21 __u32 key_size; member
27 .key_size = 4,
43 { "key_size", ARG_KEY_SIZE, "KEY_SIZE", 0,
64 fprintf(stderr, "invalid key_size"); in parse_arg()
67 args.key_size = ret; in parse_arg()
167 bpf_map__set_key_size(ctx.skel->maps.hash_map_bench, args.key_size); in setup()
174 if (args.key_size > 4) { in setup()
175 for (i = 1; i < args.key_size/4; i++) in setup()
/kernel/linux/linux-5.10/crypto/
H A Decdh.c43 params.key_size > sizeof(ctx->private_key)) in ecdh_set_secret()
53 if (!params.key || !params.key_size) in ecdh_set_secret()
57 memcpy(ctx->private_key, params.key, params.key_size); in ecdh_set_secret()
60 ctx->private_key, params.key_size) < 0) { in ecdh_set_secret()
61 memzero_explicit(ctx->private_key, params.key_size); in ecdh_set_secret()
/kernel/linux/linux-5.10/kernel/trace/
H A Dtracing_map.c414 elt->key = kzalloc(map->key_size, GFP_KERNEL); in tracing_map_elt_alloc()
505 static inline bool keys_match(void *key, void *test_key, unsigned key_size) in keys_match() argument
509 if (memcmp(key, test_key, key_size)) in keys_match()
523 key_hash = jhash(key, map->key_size, 0); in __tracing_map_insert()
536 keys_match(key, val->key, map->key_size)) { in __tracing_map_insert()
576 memcpy(elt->key, key, map->key_size); in __tracing_map_insert()
721 * @key_size: The size of the key for the map in bytes
769 unsigned int key_size, in tracing_map_create()
798 map->key_size = key_size; in tracing_map_create()
768 tracing_map_create(unsigned int map_bits, unsigned int key_size, const struct tracing_map_ops *ops, void *private_data) tracing_map_create() argument
966 detect_dups(struct tracing_map_sort_entry **sort_entries, int n_entries, unsigned int key_size) detect_dups() argument
[all...]
/kernel/linux/linux-6.6/kernel/trace/
H A Dtracing_map.c414 elt->key = kzalloc(map->key_size, GFP_KERNEL); in tracing_map_elt_alloc()
505 static inline bool keys_match(void *key, void *test_key, unsigned key_size) in keys_match() argument
509 if (memcmp(key, test_key, key_size)) in keys_match()
523 key_hash = jhash(key, map->key_size, 0); in __tracing_map_insert()
536 keys_match(key, val->key, map->key_size)) { in __tracing_map_insert()
576 memcpy(elt->key, key, map->key_size); in __tracing_map_insert()
721 * @key_size: The size of the key for the map in bytes
769 unsigned int key_size, in tracing_map_create()
798 map->key_size = key_size; in tracing_map_create()
768 tracing_map_create(unsigned int map_bits, unsigned int key_size, const struct tracing_map_ops *ops, void *private_data) tracing_map_create() argument
966 detect_dups(struct tracing_map_sort_entry **sort_entries, int n_entries, unsigned int key_size) detect_dups() argument
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/flower/
H A Doffload.c156 u32 *key_layer_two, int *key_size, bool ipv6, in nfp_flower_calc_opt_layer()
167 *key_size += sizeof(struct nfp_flower_geneve_options); in nfp_flower_calc_opt_layer()
176 u32 *key_layer_two, u8 *key_layer, int *key_size, in nfp_flower_calc_udp_tun_layer()
190 *key_size += sizeof(struct nfp_flower_ext_meta); in nfp_flower_calc_udp_tun_layer()
192 *key_size += sizeof(struct nfp_flower_ipv6_udp_tun); in nfp_flower_calc_udp_tun_layer()
194 *key_size += sizeof(struct nfp_flower_ipv4_udp_tun); in nfp_flower_calc_udp_tun_layer()
209 *key_size += sizeof(struct nfp_flower_ext_meta); in nfp_flower_calc_udp_tun_layer()
214 *key_size += sizeof(struct nfp_flower_ipv6_udp_tun); in nfp_flower_calc_udp_tun_layer()
216 *key_size += sizeof(struct nfp_flower_ipv4_udp_tun); in nfp_flower_calc_udp_tun_layer()
225 err = nfp_flower_calc_opt_layer(enc_op, key_layer_two, key_size, in nfp_flower_calc_udp_tun_layer()
155 nfp_flower_calc_opt_layer(struct flow_dissector_key_enc_opts *enc_opts, u32 *key_layer_two, int *key_size, bool ipv6, struct netlink_ext_ack *extack) nfp_flower_calc_opt_layer() argument
174 nfp_flower_calc_udp_tun_layer(struct flow_dissector_key_ports *enc_ports, struct flow_dissector_key_enc_opts *enc_op, u32 *key_layer_two, u8 *key_layer, int *key_size, struct nfp_flower_priv *priv, enum nfp_flower_tun_type *tun_type, bool ipv6, struct netlink_ext_ack *extack) nfp_flower_calc_udp_tun_layer() argument
252 int key_size; nfp_flower_calculate_key_layers() local
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/netronome/nfp/flower/
H A Doffload.c155 u32 *key_layer_two, int *key_size, bool ipv6, in nfp_flower_calc_opt_layer()
166 *key_size += sizeof(struct nfp_flower_geneve_options); in nfp_flower_calc_opt_layer()
175 u32 *key_layer_two, u8 *key_layer, int *key_size, in nfp_flower_calc_udp_tun_layer()
189 *key_size += sizeof(struct nfp_flower_ext_meta); in nfp_flower_calc_udp_tun_layer()
191 *key_size += sizeof(struct nfp_flower_ipv6_udp_tun); in nfp_flower_calc_udp_tun_layer()
193 *key_size += sizeof(struct nfp_flower_ipv4_udp_tun); in nfp_flower_calc_udp_tun_layer()
208 *key_size += sizeof(struct nfp_flower_ext_meta); in nfp_flower_calc_udp_tun_layer()
213 *key_size += sizeof(struct nfp_flower_ipv6_udp_tun); in nfp_flower_calc_udp_tun_layer()
215 *key_size += sizeof(struct nfp_flower_ipv4_udp_tun); in nfp_flower_calc_udp_tun_layer()
224 err = nfp_flower_calc_opt_layer(enc_op, key_layer_two, key_size, in nfp_flower_calc_udp_tun_layer()
154 nfp_flower_calc_opt_layer(struct flow_dissector_key_enc_opts *enc_opts, u32 *key_layer_two, int *key_size, bool ipv6, struct netlink_ext_ack *extack) nfp_flower_calc_opt_layer() argument
173 nfp_flower_calc_udp_tun_layer(struct flow_dissector_key_ports *enc_ports, struct flow_dissector_key_enc_opts *enc_op, u32 *key_layer_two, u8 *key_layer, int *key_size, struct nfp_flower_priv *priv, enum nfp_flower_tun_type *tun_type, bool ipv6, struct netlink_ext_ack *extack) nfp_flower_calc_udp_tun_layer() argument
250 int key_size; nfp_flower_calculate_key_layers() local
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/
H A Dsockmap_verdict_prog.c10 __uint(key_size, sizeof(int));
17 __uint(key_size, sizeof(int));
24 __uint(key_size, sizeof(int));
H A Dtest_btf_map_in_map.c24 __uint(key_size, sizeof(int));
64 __uint(key_size, sizeof(int));
84 __uint(key_size, sizeof(int));
114 __uint(key_size, sizeof(int));
/kernel/linux/linux-6.6/tools/perf/util/bpf_skel/
H A Dbperf_follower.bpf.c10 __uint(key_size, sizeof(__u32));
17 __uint(key_size, sizeof(__u32));
24 __uint(key_size, sizeof(__u32));
H A Dbperf_leader.bpf.c9 __uint(key_size, sizeof(__u32));
16 __uint(key_size, sizeof(__u32));
23 __uint(key_size, sizeof(__u32));
H A Doff_cpu.bpf.c37 __uint(key_size, sizeof(__u32));
51 __uint(key_size, sizeof(struct offcpu_key));
58 __uint(key_size, sizeof(__u32));
65 __uint(key_size, sizeof(__u32));
72 __uint(key_size, sizeof(__u64));
H A Dbpf_prog_profiler.bpf.c10 __uint(key_size, sizeof(__u32));
17 __uint(key_size, sizeof(__u32));
25 __uint(key_size, sizeof(__u32));
H A Dbperf_cgroup.bpf.c18 __uint(key_size, sizeof(__u32));
26 __uint(key_size, sizeof(__u64));
34 __uint(key_size, sizeof(__u32));
42 __uint(key_size, sizeof(__u32));
/kernel/linux/linux-5.10/crypto/asymmetric_keys/
H A Dpkcs8_parser.c25 u32 key_size; member
90 ctx->key_size = vlen; in pkcs8_note_key()
119 pub->key = kmemdup(ctx.key, ctx.key_size, GFP_KERNEL); in pkcs8_parse()
123 pub->keylen = ctx.key_size; in pkcs8_parse()
/kernel/linux/linux-5.10/tools/bpf/bpftool/skeleton/
H A Dprofiler.bpf.c16 __uint(key_size, sizeof(u32));
23 __uint(key_size, sizeof(u32));
30 __uint(key_size, sizeof(u32));
37 __uint(key_size, sizeof(u32));
/kernel/linux/linux-5.10/kernel/bpf/
H A Dmap_in_map.c48 inner_map_meta->key_size = inner_map->key_size; in bpf_map_meta_alloc()
76 meta0->key_size == meta1->key_size && in bpf_map_meta_equal()
H A Dmap_iter.c105 u32 key_acc_size, value_acc_size, key_size, value_size; in bpf_iter_attach_map() local
128 key_size = map->key_size; in bpf_iter_attach_map()
134 if (key_acc_size > key_size || value_acc_size > value_size) { in bpf_iter_attach_map()
/kernel/linux/linux-6.6/kernel/bpf/
H A Dmap_in_map.c45 inner_map_meta->key_size = inner_map->key_size; in bpf_map_meta_alloc()
102 meta0->key_size == meta1->key_size && in bpf_map_meta_equal()
/kernel/linux/linux-6.6/crypto/asymmetric_keys/
H A Dpkcs8_parser.c25 u32 key_size; member
90 ctx->key_size = vlen; in pkcs8_note_key()
119 pub->key = kmemdup(ctx.key, ctx.key_size, GFP_KERNEL); in pkcs8_parse()
123 pub->keylen = ctx.key_size; in pkcs8_parse()
/kernel/linux/linux-6.6/tools/bpf/bpftool/skeleton/
H A Dprofiler.bpf.c16 __uint(key_size, sizeof(u32));
23 __uint(key_size, sizeof(u32));
30 __uint(key_size, sizeof(u32));
37 __uint(key_size, sizeof(u32));
/kernel/linux/linux-6.6/crypto/
H A Decdh.c33 params.key_size > sizeof(u64) * ctx->ndigits) in ecdh_set_secret()
36 if (!params.key || !params.key_size) in ecdh_set_secret()
40 memcpy(ctx->private_key, params.key, params.key_size); in ecdh_set_secret()
43 ctx->private_key, params.key_size) < 0) { in ecdh_set_secret()
44 memzero_explicit(ctx->private_key, params.key_size); in ecdh_set_secret()
/third_party/mesa3d/src/gallium/auxiliary/cso_cache/
H A Dcso_cache.h172 cso_construct_key(void *key, int key_size) in cso_construct_key() argument
175 unsigned num_elements = key_size / 4; in cso_construct_key()
177 assert(key_size % 4 == 0); in cso_construct_key()
/kernel/linux/linux-5.10/net/core/
H A Dsock_map.c36 attr->key_size != 4 || in sock_map_alloc()
889 u32 key_size) in sock_hash_lookup_elem_raw()
895 !memcmp(&elem->key, key, key_size)) in sock_hash_lookup_elem_raw()
905 u32 key_size = map->key_size, hash; in __sock_hash_lookup_elem() local
911 hash = sock_hash_bucket_hash(key, key_size); in __sock_hash_lookup_elem()
913 elem = sock_hash_lookup_elem_raw(&bucket->head, hash, key, key_size); in __sock_hash_lookup_elem()
941 elem->key, map->key_size); in sock_hash_delete_from_link()
953 u32 hash, key_size = map->key_size; in sock_hash_delete_elem() local
888 sock_hash_lookup_elem_raw(struct hlist_head *head, u32 hash, void *key, u32 key_size) sock_hash_lookup_elem_raw() argument
973 sock_hash_alloc_elem(struct bpf_shtab *htab, void *key, u32 key_size, u32 hash, struct sock *sk, struct bpf_shtab_elem *old) sock_hash_alloc_elem() argument
1003 u32 key_size = map->key_size, hash; sock_hash_update_common() local
1076 u32 hash, key_size = map->key_size; sock_hash_get_next_key() local
[all...]
/kernel/linux/linux-6.6/net/core/
H A Dsock_map.c36 attr->key_size != 4 || in sock_map_alloc()
867 u32 key_size) in sock_hash_lookup_elem_raw()
873 !memcmp(&elem->key, key, key_size)) in sock_hash_lookup_elem_raw()
883 u32 key_size = map->key_size, hash; in __sock_hash_lookup_elem() local
889 hash = sock_hash_bucket_hash(key, key_size); in __sock_hash_lookup_elem()
891 elem = sock_hash_lookup_elem_raw(&bucket->head, hash, key, key_size); in __sock_hash_lookup_elem()
919 elem->key, map->key_size); in sock_hash_delete_from_link()
931 u32 hash, key_size = map->key_size; in sock_hash_delete_elem() local
866 sock_hash_lookup_elem_raw(struct hlist_head *head, u32 hash, void *key, u32 key_size) sock_hash_lookup_elem_raw() argument
951 sock_hash_alloc_elem(struct bpf_shtab *htab, void *key, u32 key_size, u32 hash, struct sock *sk, struct bpf_shtab_elem *old) sock_hash_alloc_elem() argument
982 u32 key_size = map->key_size, hash; sock_hash_update_common() local
1048 u32 hash, key_size = map->key_size; sock_hash_get_next_key() local
[all...]

Completed in 14 milliseconds

12345678910>>...22