Home
last modified time | relevance | path

Searched refs:n_keys (Results 1 - 16 of 16) sorted by relevance

/kernel/linux/linux-5.10/net/ipv4/
H A 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()
H A 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-6.6/net/ipv4/
H 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()
H A Dsysctl_net_ipv4.c302 int ret, i = 0, off = 0, n_keys; in proc_tcp_fastopen_key() local
308 n_keys = tcp_fastopen_get_cipher(net, NULL, (u64 *)key); in proc_tcp_fastopen_key()
309 if (!n_keys) { in proc_tcp_fastopen_key()
311 n_keys = 1; in proc_tcp_fastopen_key()
314 for (i = 0; i < n_keys * 4; i++) in proc_tcp_fastopen_key()
317 for (i = 0; i < n_keys; i++) { in proc_tcp_fastopen_key()
328 if (i + 1 < n_keys) in proc_tcp_fastopen_key()
/kernel/linux/linux-6.6/drivers/input/touchscreen/
H A Datmel_mxt_ts.c3144 int n_keys; in mxt_parse_device_properties() local
3148 n_keys = device_property_count_u32(dev, keymap_property); in mxt_parse_device_properties()
3149 if (n_keys <= 0) { in mxt_parse_device_properties()
3150 error = n_keys < 0 ? n_keys : -EINVAL; in mxt_parse_device_properties()
3156 keymap = devm_kmalloc_array(dev, n_keys, sizeof(*keymap), in mxt_parse_device_properties()
3162 keymap, n_keys); in mxt_parse_device_properties()
3170 data->t19_num_keys = n_keys; in mxt_parse_device_properties()
3174 n_keys = device_property_count_u32(dev, buttons_property); in mxt_parse_device_properties()
3175 if (n_keys < in mxt_parse_device_properties()
[all...]
/kernel/linux/linux-5.10/kernel/trace/
H A Dtracing_map.h196 unsigned int n_keys; member
H A Dtracing_map.c282 map->key_idx[map->n_keys++] = idx; in tracing_map_add_key_field()
997 for (i = 0; i < map->n_keys; i++) in is_key()
H A Dtrace_events_hist.c352 unsigned int n_keys; member
2363 unsigned int n_keys) in compatible_keys()
2368 if (hist_data->n_fields - hist_data->n_vals != n_keys) in compatible_keys()
2374 for (n = 0; n < n_keys; n++) { in compatible_keys()
2395 unsigned int n_keys; in find_compatible_hist() local
2399 n_keys = target_hist_data->n_fields - target_hist_data->n_vals; in find_compatible_hist()
2405 if (compatible_keys(target_hist_data, hist_data, n_keys)) in find_compatible_hist()
3848 hist_data->n_keys++; in create_key_field()
3851 if (WARN_ON(hist_data->n_keys > TRACING_MAP_KEYS_MAX)) in create_key_field()
4566 bool use_compound_key = (hist_data->n_keys > in event_hist_trigger()
2361 compatible_keys(struct hist_trigger_data *target_hist_data, struct hist_trigger_data *hist_data, unsigned int n_keys) compatible_keys() argument
[all...]
/kernel/linux/linux-6.6/kernel/trace/
H A Dtracing_map.h196 unsigned int n_keys; member
H A Dtracing_map.c282 map->key_idx[map->n_keys++] = idx; in tracing_map_add_key_field()
996 for (i = 0; i < map->n_keys; i++) in is_key()
H A Dtrace_events_hist.c552 unsigned int n_keys; member
2869 unsigned int n_keys) in compatible_keys()
2874 if (hist_data->n_fields - hist_data->n_vals != n_keys) in compatible_keys()
2880 for (n = 0; n < n_keys; n++) { in compatible_keys()
2901 unsigned int n_keys; in find_compatible_hist() local
2905 n_keys = target_hist_data->n_fields - target_hist_data->n_vals; in find_compatible_hist()
2911 if (compatible_keys(target_hist_data, hist_data, n_keys)) in find_compatible_hist()
4532 hist_data->n_keys++; in create_key_field()
4535 if (WARN_ON(hist_data->n_keys > TRACING_MAP_KEYS_MAX)) in create_key_field()
5265 bool use_compound_key = (hist_data->n_keys > in event_hist_trigger()
2867 compatible_keys(struct hist_trigger_data *target_hist_data, struct hist_trigger_data *hist_data, unsigned int n_keys) compatible_keys() argument
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/
H A 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-6.6/tools/testing/selftests/bpf/progs/
H A Dmap_ptr_kern.c151 int i, n_lookups = 0, n_keys = 0; in check_array() local
163 ++n_keys; in check_array()
167 VERIFY(n_keys == MAX_ENTRIES); in check_array()
/kernel/linux/linux-5.10/drivers/input/touchscreen/
H A 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()
/kernel/linux/linux-6.6/drivers/net/ethernet/sfc/
H A Dtc.h226 u16 n_keys; member
H A Dmae.c258 desc->n_keys = MCDI_WORD(outbuf, TABLE_DESCRIPTOR_OUT_N_KEY_FIELDS); in efx_mae_table_get_desc()
269 desc->keys = kcalloc(desc->n_keys, in efx_mae_table_get_desc()
284 for (i = 0; i + offset < desc->n_keys + desc->n_resps; i++) { in efx_mae_table_get_desc()
292 if (i + offset < desc->n_keys) in efx_mae_table_get_desc()
295 field = desc->resps + (i + offset - desc->n_keys); in efx_mae_table_get_desc()
327 efx_mae_table_hook_find((_desc)->n_keys, (_desc)->keys, _id)

Completed in 37 milliseconds