Lines Matching refs:id_or_fd
8 u32 id_or_fd, u32 flags, in bpf_mprog_link() argument
15 link = bpf_link_by_id(id_or_fd); in bpf_mprog_link()
16 else if (id_or_fd) in bpf_mprog_link()
17 link = bpf_link_get_from_fd(id_or_fd); in bpf_mprog_link()
31 u32 id_or_fd, u32 flags, in bpf_mprog_prog() argument
38 prog = bpf_prog_by_id(id_or_fd); in bpf_mprog_prog()
39 else if (id_or_fd) in bpf_mprog_prog()
40 prog = bpf_prog_get(id_or_fd); in bpf_mprog_prog()
54 u32 id_or_fd, u32 flags, in bpf_mprog_tuple_relative() argument
62 return bpf_mprog_link(tuple, id_or_fd, flags, type); in bpf_mprog_tuple_relative()
67 if (!id && !id_or_fd) in bpf_mprog_tuple_relative()
69 return bpf_mprog_prog(tuple, id_or_fd, flags, type); in bpf_mprog_tuple_relative()
229 u32 flags, u32 id_or_fd, u64 revision) in bpf_mprog_attach() argument
244 ret = bpf_mprog_tuple_relative(&rtuple, id_or_fd, in bpf_mprog_attach()
331 u32 flags, u32 id_or_fd, u64 revision) in bpf_mprog_detach() argument
345 ret = bpf_mprog_tuple_relative(&rtuple, id_or_fd, flags, in bpf_mprog_detach()