Home
last modified time | relevance | path

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

/Linux-v5.4/tools/testing/selftests/bpf/prog_tests/
Dtp_attach_query.c67 query->ids_len = num_progs; in test_tp_attach_query()
83 query->ids_len = 0; in test_tp_attach_query()
101 query->ids_len = 1; in test_tp_attach_query()
110 query->ids_len = num_progs; in test_tp_attach_query()
/Linux-v5.4/kernel/trace/
Dbpf_trace.c1272 u32 *ids, prog_cnt, ids_len; in perf_event_query_prog_array() local
1282 ids_len = query.ids_len; in perf_event_query_prog_array()
1283 if (ids_len > BPF_TRACE_MAX_PROGS) in perf_event_query_prog_array()
1285 ids = kcalloc(ids_len, sizeof(u32), GFP_USER | __GFP_NOWARN); in perf_event_query_prog_array()
1297 ret = bpf_prog_array_copy_info(progs, ids, ids_len, &prog_cnt); in perf_event_query_prog_array()
1301 copy_to_user(uquery->ids, ids, ids_len * sizeof(u32))) in perf_event_query_prog_array()
/Linux-v5.4/tools/include/uapi/linux/
Dperf_event.h439 __u32 ids_len; member
/Linux-v5.4/include/uapi/linux/
Dperf_event.h439 __u32 ids_len; member