Lines Matching refs:prog_fd
533 int bpf_prog_attach(int prog_fd, int target_fd, enum bpf_attach_type type, in bpf_prog_attach() argument
540 return bpf_prog_attach_xattr(prog_fd, target_fd, type, &opts); in bpf_prog_attach()
543 int bpf_prog_attach_xattr(int prog_fd, int target_fd, in bpf_prog_attach_xattr() argument
554 attr.attach_bpf_fd = prog_fd; in bpf_prog_attach_xattr()
573 int bpf_prog_detach2(int prog_fd, int target_fd, enum bpf_attach_type type) in bpf_prog_detach2() argument
579 attr.attach_bpf_fd = prog_fd; in bpf_prog_detach2()
585 int bpf_link_create(int prog_fd, int target_fd, in bpf_link_create() argument
602 attr.link_create.prog_fd = prog_fd; in bpf_link_create()
675 int bpf_prog_test_run(int prog_fd, int repeat, void *data, __u32 size, in bpf_prog_test_run() argument
683 attr.test.prog_fd = prog_fd; in bpf_prog_test_run()
708 attr.test.prog_fd = test_attr->prog_fd; in bpf_prog_test_run_xattr()
727 int bpf_prog_test_run_opts(int prog_fd, struct bpf_test_run_opts *opts) in bpf_prog_test_run_opts() argument
736 attr.test.prog_fd = prog_fd; in bpf_prog_test_run_opts()
850 int bpf_raw_tracepoint_open(const char *name, int prog_fd) in bpf_raw_tracepoint_open() argument
856 attr.raw_tracepoint.prog_fd = prog_fd; in bpf_raw_tracepoint_open()
919 int bpf_prog_bind_map(int prog_fd, int map_fd, in bpf_prog_bind_map() argument
928 attr.prog_bind_map.prog_fd = prog_fd; in bpf_prog_bind_map()