Lines Matching refs:num_progs
21 printf("USAGE: %s [-i num_progs] [-h]\n", cmd);
22 printf(" -i num_progs # number of progs of the test\n");
46 static int test(char *filename, int num_progs)
48 int map0_fds[num_progs], map1_fds[num_progs], fd, i, j = 0;
49 struct bpf_link *links[num_progs * 4];
50 struct bpf_object *objs[num_progs];
53 for (i = 0; i < num_progs; i++) {
102 for (i = 0; i < num_progs; i++) {
119 int opt, num_progs = 1;
125 num_progs = atoi(optarg);
137 return test(filename, num_progs);