Home
last modified time | relevance | path

Searched refs:ids_len (Results 1 – 4 of 4) sorted by relevance

/linux-6.6.21/tools/testing/selftests/bpf/prog_tests/
Dtp_attach_query.c73 query->ids_len = num_progs; in serial_test_tp_attach_query()
89 query->ids_len = 0; in serial_test_tp_attach_query()
107 query->ids_len = 1; in serial_test_tp_attach_query()
116 query->ids_len = num_progs; in serial_test_tp_attach_query()
/linux-6.6.21/kernel/trace/
Dbpf_trace.c2239 u32 *ids, prog_cnt, ids_len; in perf_event_query_prog_array() local
2249 ids_len = query.ids_len; in perf_event_query_prog_array()
2250 if (ids_len > BPF_TRACE_MAX_PROGS) in perf_event_query_prog_array()
2252 ids = kcalloc(ids_len, sizeof(u32), GFP_USER | __GFP_NOWARN); in perf_event_query_prog_array()
2264 ret = bpf_prog_array_copy_info(progs, ids, ids_len, &prog_cnt); in perf_event_query_prog_array()
2268 copy_to_user(uquery->ids, ids, ids_len * sizeof(u32))) in perf_event_query_prog_array()
/linux-6.6.21/include/uapi/linux/
Dperf_event.h532 __u32 ids_len; member
/linux-6.6.21/tools/include/uapi/linux/
Dperf_event.h532 __u32 ids_len; member