Home
last modified time | relevance | path

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

/linux-6.3-rc2/net/ipv4/
A Dtcp_fastopen.c98 int n_keys = 0, i; in tcp_fastopen_get_cipher() local
106 n_keys = tcp_fastopen_context_len(ctx); in tcp_fastopen_get_cipher()
107 for (i = 0; i < n_keys; i++) { in tcp_fastopen_get_cipher()
114 return n_keys; in tcp_fastopen_get_cipher()
A Dsysctl_net_ipv4.c300 int ret, i = 0, off = 0, n_keys; in proc_tcp_fastopen_key() local
306 n_keys = tcp_fastopen_get_cipher(net, NULL, (u64 *)key); in proc_tcp_fastopen_key()
307 if (!n_keys) { in proc_tcp_fastopen_key()
309 n_keys = 1; in proc_tcp_fastopen_key()
312 for (i = 0; i < n_keys * 4; i++) in proc_tcp_fastopen_key()
315 for (i = 0; i < n_keys; i++) { in proc_tcp_fastopen_key()
326 if (i + 1 < n_keys) in proc_tcp_fastopen_key()
/linux-6.3-rc2/tools/testing/selftests/bpf/progs/
A Dmap_ptr_kern.c146 int i, n_lookups = 0, n_keys = 0; in check_array() local
158 ++n_keys; in check_array()
162 VERIFY(n_keys == MAX_ENTRIES); in check_array()
/linux-6.3-rc2/kernel/trace/
A Dtracing_map.h196 unsigned int n_keys; member
A Dtracing_map.c282 map->key_idx[map->n_keys++] = idx; in tracing_map_add_key_field()
991 for (i = 0; i < map->n_keys; i++) in is_key()
A Dtrace_events_hist.c552 unsigned int n_keys; member
2862 unsigned int n_keys) in compatible_keys() argument
2867 if (hist_data->n_fields - hist_data->n_vals != n_keys) in compatible_keys()
2873 for (n = 0; n < n_keys; n++) { in compatible_keys()
2894 unsigned int n_keys; in find_compatible_hist() local
2898 n_keys = target_hist_data->n_fields - target_hist_data->n_vals; in find_compatible_hist()
2904 if (compatible_keys(target_hist_data, hist_data, n_keys)) in find_compatible_hist()
4507 hist_data->n_keys++; in create_key_field()
4510 if (WARN_ON(hist_data->n_keys > TRACING_MAP_KEYS_MAX)) in create_key_field()
5240 bool use_compound_key = (hist_data->n_keys > 1); in event_hist_trigger()
[all …]
/linux-6.3-rc2/Documentation/trace/
A Dhistogram-design.rst304 n_keys: 2
749 n_keys: 1
806 n_keys: 1
1130 n_keys: 1
1194 n_keys: 1
1406 n_keys: 1
1468 n_keys: 1
1677 n_keys: 1
1717 n_keys: 1
1766 n_keys: 1
[all …]
/linux-6.3-rc2/drivers/input/touchscreen/
A Datmel_mxt_ts.c3085 int n_keys; in mxt_parse_device_properties() local
3089 n_keys = device_property_count_u32(dev, keymap_property); in mxt_parse_device_properties()
3090 if (n_keys <= 0) { in mxt_parse_device_properties()
3091 error = n_keys < 0 ? n_keys : -EINVAL; in mxt_parse_device_properties()
3097 keymap = devm_kmalloc_array(dev, n_keys, sizeof(*keymap), in mxt_parse_device_properties()
3103 keymap, n_keys); in mxt_parse_device_properties()
3111 data->t19_num_keys = n_keys; in mxt_parse_device_properties()

Completed in 31 milliseconds