Lines Matching refs:prog_fd
800 int prog_fd = bpf_obj_get(pathname, type); in bpf_obj_pinned() local
802 if (prog_fd < 0) in bpf_obj_pinned()
805 return prog_fd; in bpf_obj_pinned()
985 int ret, prog_fd, map_fd; in bpf_graft_map() local
989 prog_fd = bpf_parse(&type, &mode, &cfg, opt_tbl); in bpf_graft_map()
990 if (prog_fd < 0) in bpf_graft_map()
991 return prog_fd; in bpf_graft_map()
1019 ret = bpf_map_update(map_fd, &map_key, &prog_fd, BPF_ANY); in bpf_graft_map()
1025 close(prog_fd); in bpf_graft_map()
1029 int bpf_prog_attach_fd(int prog_fd, int target_fd, enum bpf_attach_type type) in bpf_prog_attach_fd() argument
1034 attr.attach_bpf_fd = prog_fd; in bpf_prog_attach_fd()
2134 int prog_fd; member
2173 ret = bpf_derive_prog_from_fdinfo(aux->prog_fd, &aux->prog); in bpf_tail_call_get_aux()
2217 aux.prog_fd = fd; in bpf_fill_prog_arrays()