Home
last modified time | relevance | path

Searched refs:num_progs (Results 1 – 2 of 2) sorted by relevance

/linux/tools/testing/selftests/bpf/prog_tests/
H A Dtp_attach_query.c6 const int num_progs = 3; in serial_test_tp_attach_query() local
7 int i, j, bytes, efd, err, prog_fd[num_progs], pmu_fd[num_progs]; in serial_test_tp_attach_query()
8 __u32 duration = 0, info_len, saved_prog_ids[num_progs]; in serial_test_tp_attach_query()
12 struct bpf_object *obj[num_progs]; in serial_test_tp_attach_query()
16 for (i = 0; i < num_progs; i++) in serial_test_tp_attach_query()
41 query = malloc(sizeof(*query) + sizeof(__u32) * num_progs); in serial_test_tp_attach_query()
42 for (i = 0; i < num_progs; i++) { in serial_test_tp_attach_query()
73 query->ids_len = num_progs; in serial_test_tp_attach_query()
116 query->ids_len = num_progs; in serial_test_tp_attach_query()
131 i = num_progs - 1; in serial_test_tp_attach_query()
/linux/include/linux/
H A Dbpf.h1270 int num_progs; member
1370 .num_progs = 0, \