Home
last modified time | relevance | path

Searched refs:bpf_prog_get_type (Results 1 – 15 of 15) sorted by relevance

/openbmc/linux/net/netfilter/
H A Dxt_bpf.c47 prog = bpf_prog_get_type(fd, BPF_PROG_TYPE_SOCKET_FILTER); in __bpf_mt_check_fd()
/openbmc/linux/drivers/media/rc/
H A Dbpf-lirc.c276 prog = bpf_prog_get_type(attr->attach_bpf_fd, in lirc_prog_detach()
/openbmc/linux/kernel/bpf/
H A Dtcx.c26 replace_prog = bpf_prog_get_type(attr->replace_bpf_fd, in tcx_prog_attach()
H A Dnet_namespace.c396 prog = bpf_prog_get_type(attr->attach_bpf_fd, ptype); in netns_bpf_prog_detach()
H A Dcpumap.c372 prog = bpf_prog_get_type(fd, BPF_PROG_TYPE_XDP); in __cpu_map_load_bpf_program()
H A Dcgroup.c1160 replace_prog = bpf_prog_get_type(attr->replace_bpf_fd, ptype); in cgroup_bpf_prog_attach()
1186 prog = bpf_prog_get_type(attr->attach_bpf_fd, ptype); in cgroup_bpf_prog_detach()
H A Dsyscall.c3922 prog = bpf_prog_get_type(attr->attach_bpf_fd, ptype); in bpf_prog_attach()
3986 prog = bpf_prog_get_type(attr->attach_bpf_fd, ptype); in bpf_prog_detach()
5612 prog = bpf_prog_get_type(attr->test.prog_fd, BPF_PROG_TYPE_SYSCALL); in kern_sys_bpf()
/openbmc/linux/net/sched/
H A Dact_bpf.c232 fp = bpf_prog_get_type(bpf_fd, BPF_PROG_TYPE_SCHED_ACT); in tcf_bpf_init_from_efd()
/openbmc/linux/net/core/
H A Dlwt_bpf.c353 p = bpf_prog_get_type(fd, type); in bpf_parse_prog()
H A Dfilter.c1572 return bpf_prog_get_type(ufd, BPF_PROG_TYPE_SOCKET_FILTER); in __get_bpf()
1600 prog = bpf_prog_get_type(ufd, BPF_PROG_TYPE_SOCKET_FILTER); in sk_reuseport_attach_bpf()
1602 prog = bpf_prog_get_type(ufd, BPF_PROG_TYPE_SK_REUSEPORT); in sk_reuseport_attach_bpf()
/openbmc/linux/net/kcm/
H A Dkcmsock.c1329 prog = bpf_prog_get_type(info->bpf_fd, BPF_PROG_TYPE_SOCKET_FILTER); in kcm_attach_ioctl()
/openbmc/linux/net/ipv6/
H A Dseg6_local.c1913 p = bpf_prog_get_type(fd, BPF_PROG_TYPE_LWT_SEG6LOCAL); in parse_nla_bpf()
/openbmc/linux/include/linux/
H A Dbpf.h2777 static inline struct bpf_prog *bpf_prog_get_type(u32 ufd, in bpf_prog_get_type() function
/openbmc/linux/drivers/net/
H A Dtun.c3034 prog = bpf_prog_get_type(fd, BPF_PROG_TYPE_SOCKET_FILTER); in tun_set_ebpf()
/openbmc/linux/net/packet/
H A Daf_packet.c1684 new = bpf_prog_get_type(fd, BPF_PROG_TYPE_SOCKET_FILTER); in fanout_set_data_ebpf()