Home
last modified time | relevance | path

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

/linux/net/netfilter/
H A Dxt_bpf.c47 prog = bpf_prog_get_type(fd, BPF_PROG_TYPE_SOCKET_FILTER); in __bpf_mt_check_fd()
/linux/drivers/media/rc/
H A Dbpf-lirc.c276 prog = bpf_prog_get_type(attr->attach_bpf_fd, in lirc_prog_detach()
/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.c374 prog = bpf_prog_get_type(fd, BPF_PROG_TYPE_XDP); in __cpu_map_load_bpf_program()
H A Dcgroup.c1143 replace_prog = bpf_prog_get_type(attr->replace_bpf_fd, ptype); in cgroup_bpf_prog_attach()
1169 prog = bpf_prog_get_type(attr->attach_bpf_fd, ptype); in cgroup_bpf_prog_detach()
H A Dsyscall.c4089 prog = bpf_prog_get_type(attr->attach_bpf_fd, ptype); in bpf_prog_attach()
4157 prog = bpf_prog_get_type(attr->attach_bpf_fd, ptype); in bpf_prog_detach()
5850 prog = bpf_prog_get_type(attr->test.prog_fd, BPF_PROG_TYPE_SYSCALL); in kern_sys_bpf()
/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()
/linux/net/core/
H A Dlwt_bpf.c353 p = bpf_prog_get_type(fd, type); in bpf_parse_prog()
H A Dfilter.c1579 return bpf_prog_get_type(ufd, BPF_PROG_TYPE_SOCKET_FILTER); in __get_bpf()
1607 prog = bpf_prog_get_type(ufd, BPF_PROG_TYPE_SOCKET_FILTER); in sk_reuseport_attach_bpf()
1609 prog = bpf_prog_get_type(ufd, BPF_PROG_TYPE_SK_REUSEPORT); in sk_reuseport_attach_bpf()
/linux/drivers/net/
H A Dnetkit.c531 replace_prog = bpf_prog_get_type(attr->replace_bpf_fd, in netkit_prog_attach()
H A Dtun.c3023 prog = bpf_prog_get_type(fd, BPF_PROG_TYPE_SOCKET_FILTER); in tun_set_ebpf()
/linux/net/kcm/
H A Dkcmsock.c1326 prog = bpf_prog_get_type(info->bpf_fd, BPF_PROG_TYPE_SOCKET_FILTER); in kcm_attach_ioctl()
/linux/net/ipv6/
H A Dseg6_local.c1913 p = bpf_prog_get_type(fd, BPF_PROG_TYPE_LWT_SEG6LOCAL); in parse_nla_bpf()
/linux/include/linux/
H A Dbpf.h2932 static inline struct bpf_prog *bpf_prog_get_type(u32 ufd, in bpf_prog_get_type() function
/linux/net/packet/
H A Daf_packet.c1623 new = bpf_prog_get_type(fd, BPF_PROG_TYPE_SOCKET_FILTER); in fanout_set_data_ebpf()