Home
last modified time | relevance | path

Searched refs:n_keys (Results 1 – 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/net/ipv4/
Dtcp_fastopen.c115 int n_keys = 0, i; in tcp_fastopen_get_cipher() local
123 n_keys = tcp_fastopen_context_len(ctx); in tcp_fastopen_get_cipher()
124 for (i = 0; i < n_keys; i++) { in tcp_fastopen_get_cipher()
131 return n_keys; in tcp_fastopen_get_cipher()
Dsysctl_net_ipv4.c307 int ret, i = 0, off = 0, n_keys; in proc_tcp_fastopen_key() local
313 n_keys = tcp_fastopen_get_cipher(net, NULL, (u64 *)key); in proc_tcp_fastopen_key()
314 if (!n_keys) { in proc_tcp_fastopen_key()
316 n_keys = 1; in proc_tcp_fastopen_key()
319 for (i = 0; i < n_keys * 4; i++) in proc_tcp_fastopen_key()
322 for (i = 0; i < n_keys; i++) { in proc_tcp_fastopen_key()
333 if (i + 1 < n_keys) in proc_tcp_fastopen_key()
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/
Dmap_ptr_kern.c152 int i, n_lookups = 0, n_keys = 0; in check_array() local
164 ++n_keys; in check_array()
168 VERIFY(n_keys == MAX_ENTRIES); in check_array()
/kernel/linux/linux-5.10/kernel/trace/
Dtracing_map.h196 unsigned int n_keys; member
Dtracing_map.c282 map->key_idx[map->n_keys++] = idx; in tracing_map_add_key_field()
992 for (i = 0; i < map->n_keys; i++) in is_key()
Dtrace_events_hist.c352 unsigned int n_keys; member
2350 unsigned int n_keys) in compatible_keys() argument
2355 if (hist_data->n_fields - hist_data->n_vals != n_keys) in compatible_keys()
2361 for (n = 0; n < n_keys; n++) { in compatible_keys()
2382 unsigned int n_keys; in find_compatible_hist() local
2386 n_keys = target_hist_data->n_fields - target_hist_data->n_vals; in find_compatible_hist()
2392 if (compatible_keys(target_hist_data, hist_data, n_keys)) in find_compatible_hist()
3830 hist_data->n_keys++; in create_key_field()
3833 if (WARN_ON(hist_data->n_keys > TRACING_MAP_KEYS_MAX)) in create_key_field()
4546 bool use_compound_key = (hist_data->n_keys > 1); in event_hist_trigger()
[all …]
/kernel/linux/linux-5.10/Documentation/trace/
Dhistogram-design.rst143 n_keys = n_fields - n_vals | |
304 n_keys: 2
440 n_keys = n_fields - n_vals | | |
666 | | n_keys = n_fields - n_vals | |
749 n_keys: 1
806 n_keys: 1
986 || ||| n_keys = n_fields - n_vals
1130 n_keys: 1
1194 n_keys: 1
1406 n_keys: 1
[all …]
/kernel/linux/linux-5.10/drivers/input/touchscreen/
Datmel_mxt_ts.c3038 int n_keys; in mxt_parse_device_properties() local
3042 n_keys = device_property_count_u32(dev, keymap_property); in mxt_parse_device_properties()
3043 if (n_keys <= 0) { in mxt_parse_device_properties()
3044 error = n_keys < 0 ? n_keys : -EINVAL; in mxt_parse_device_properties()
3050 keymap = devm_kmalloc_array(dev, n_keys, sizeof(*keymap), in mxt_parse_device_properties()
3056 keymap, n_keys); in mxt_parse_device_properties()
3064 data->t19_num_keys = n_keys; in mxt_parse_device_properties()