Searched refs:bpf_prog_get_type (Results 1 – 15 of 15) sorted by relevance
/openbmc/linux/net/netfilter/ |
H A D | xt_bpf.c | 47 prog = bpf_prog_get_type(fd, BPF_PROG_TYPE_SOCKET_FILTER); in __bpf_mt_check_fd()
|
/openbmc/linux/drivers/media/rc/ |
H A D | bpf-lirc.c | 276 prog = bpf_prog_get_type(attr->attach_bpf_fd, in lirc_prog_detach()
|
/openbmc/linux/kernel/bpf/ |
H A D | tcx.c | 26 replace_prog = bpf_prog_get_type(attr->replace_bpf_fd, in tcx_prog_attach()
|
H A D | net_namespace.c | 396 prog = bpf_prog_get_type(attr->attach_bpf_fd, ptype); in netns_bpf_prog_detach()
|
H A D | cpumap.c | 372 prog = bpf_prog_get_type(fd, BPF_PROG_TYPE_XDP); in __cpu_map_load_bpf_program()
|
H A D | cgroup.c | 1160 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 D | syscall.c | 3922 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 D | act_bpf.c | 232 fp = bpf_prog_get_type(bpf_fd, BPF_PROG_TYPE_SCHED_ACT); in tcf_bpf_init_from_efd()
|
/openbmc/linux/net/core/ |
H A D | lwt_bpf.c | 353 p = bpf_prog_get_type(fd, type); in bpf_parse_prog()
|
H A D | filter.c | 1572 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 D | kcmsock.c | 1329 prog = bpf_prog_get_type(info->bpf_fd, BPF_PROG_TYPE_SOCKET_FILTER); in kcm_attach_ioctl()
|
/openbmc/linux/net/ipv6/ |
H A D | seg6_local.c | 1913 p = bpf_prog_get_type(fd, BPF_PROG_TYPE_LWT_SEG6LOCAL); in parse_nla_bpf()
|
/openbmc/linux/include/linux/ |
H A D | bpf.h | 2777 static inline struct bpf_prog *bpf_prog_get_type(u32 ufd, in bpf_prog_get_type() function
|
/openbmc/linux/drivers/net/ |
H A D | tun.c | 3034 prog = bpf_prog_get_type(fd, BPF_PROG_TYPE_SOCKET_FILTER); in tun_set_ebpf()
|
/openbmc/linux/net/packet/ |
H A D | af_packet.c | 1684 new = bpf_prog_get_type(fd, BPF_PROG_TYPE_SOCKET_FILTER); in fanout_set_data_ebpf()
|