Lines Matching refs:prog_fd
6 void test_xdp_context_error(int prog_fd, struct bpf_test_run_opts opts,
23 err = bpf_prog_test_run_opts(prog_fd, &opts);
41 int err, prog_fd;
46 prog_fd = bpf_program__fd(skel->progs.xdp_context);
52 err = bpf_prog_test_run_opts(prog_fd, &opts);
64 err = bpf_prog_test_run_opts(prog_fd, &opts);
74 test_xdp_context_error(prog_fd, opts, 0, 1, sizeof(data), 0, 0, 0);
77 test_xdp_context_error(prog_fd, opts, 4, sizeof(__u32), sizeof(data),
81 test_xdp_context_error(prog_fd, opts, 0, 256, sizeof(data), 0, 0, 0);
84 test_xdp_context_error(prog_fd, opts, 0, sizeof(__u32),
86 test_xdp_context_error(prog_fd, opts, 0, sizeof(__u32),
90 test_xdp_context_error(prog_fd, opts, 0, sizeof(__u32), sizeof(data),
97 test_xdp_context_error(prog_fd, opts, 0, sizeof(__u32), sizeof(data),
101 test_xdp_context_error(prog_fd, opts, 0, sizeof(__u32), sizeof(data),