Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/prog_tests/
H A 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/kernel/trace/
H A Dbpf_trace.c2238 u32 *ids, prog_cnt, ids_len; in perf_event_query_prog_array() local
2248 ids_len = query.ids_len; in perf_event_query_prog_array()
2249 if (ids_len > BPF_TRACE_MAX_PROGS) in perf_event_query_prog_array()
2251 ids = kcalloc(ids_len, sizeof(u32), GFP_USER | __GFP_NOWARN); in perf_event_query_prog_array()
2263 ret = bpf_prog_array_copy_info(progs, ids, ids_len, &prog_cnt); in perf_event_query_prog_array()
2267 copy_to_user(uquery->ids, ids, ids_len * sizeof(u32))) in perf_event_query_prog_array()
/linux/include/uapi/linux/
H A Dperf_event.h536 __u32 ids_len; member
/linux/tools/include/uapi/linux/
H A Dperf_event.h536 __u32 ids_len; member