Home
last modified time | relevance | path

Searched refs:replace_bpf_fd (Results 1 – 7 of 7) sorted by relevance

/linux-6.1.9/tools/lib/bpf/
Dbpf.c626 const size_t attr_sz = offsetofend(union bpf_attr, replace_bpf_fd); in bpf_prog_attach_opts()
638 attr.replace_bpf_fd = OPTS_GET(opts, replace_prog_fd, 0); in bpf_prog_attach_opts()
646 const size_t attr_sz = offsetofend(union bpf_attr, replace_bpf_fd); in bpf_prog_detach()
660 const size_t attr_sz = offsetofend(union bpf_attr, replace_bpf_fd); in bpf_prog_detach2()
/linux-6.1.9/kernel/bpf/
Dnet_namespace.c305 if (attr->target_fd || attr->attach_flags || attr->replace_bpf_fd) in netns_bpf_prog_attach()
Dcgroup.c1142 replace_prog = bpf_prog_get_type(attr->replace_bpf_fd, ptype); in cgroup_bpf_prog_attach()
Dsyscall.c3454 #define BPF_PROG_ATTACH_LAST_FIELD replace_bpf_fd
/linux-6.1.9/net/core/
Dsock_map.c69 if (attr->attach_flags || attr->replace_bpf_fd) in sock_map_get_from_fd()
89 if (attr->attach_flags || attr->replace_bpf_fd) in sock_map_prog_detach()
/linux-6.1.9/tools/include/uapi/linux/
Dbpf.h1406 __u32 replace_bpf_fd; /* previously attached eBPF member
/linux-6.1.9/include/uapi/linux/
Dbpf.h1406 __u32 replace_bpf_fd; /* previously attached eBPF member