Home
last modified time | relevance | path

Searched defs:prog (Results 1 – 25 of 28) sorted by relevance

12

/net/sched/
Dcls_bpf.c87 struct cls_bpf_prog *prog; in cls_bpf_classify() local
140 static bool cls_bpf_is_ebpf(const struct cls_bpf_prog *prog) in cls_bpf_is_ebpf()
145 static int cls_bpf_offload_cmd(struct tcf_proto *tp, struct cls_bpf_prog *prog, in cls_bpf_offload_cmd()
197 static int cls_bpf_offload(struct tcf_proto *tp, struct cls_bpf_prog *prog, in cls_bpf_offload()
217 struct cls_bpf_prog *prog, in cls_bpf_stop_offload()
228 struct cls_bpf_prog *prog) in cls_bpf_offload_update_stats()
258 static void cls_bpf_free_parms(struct cls_bpf_prog *prog) in cls_bpf_free_parms()
269 static void __cls_bpf_delete_prog(struct cls_bpf_prog *prog) in __cls_bpf_delete_prog()
280 struct cls_bpf_prog *prog = container_of(to_rcu_work(work), in cls_bpf_delete_prog_work() local
288 static void __cls_bpf_delete(struct tcf_proto *tp, struct cls_bpf_prog *prog, in __cls_bpf_delete()
[all …]
Dact_bpf.c40 struct tcf_bpf *prog = to_bpf(act); in tcf_bpf_act() local
94 static bool tcf_bpf_is_ebpf(const struct tcf_bpf *prog) in tcf_bpf_is_ebpf()
99 static int tcf_bpf_dump_bpf_info(const struct tcf_bpf *prog, in tcf_bpf_dump_bpf_info()
117 static int tcf_bpf_dump_ebpf_info(const struct tcf_bpf *prog, in tcf_bpf_dump_ebpf_info()
142 struct tcf_bpf *prog = to_bpf(act); in tcf_bpf_dump() local
266 static void tcf_bpf_prog_fill_cfg(const struct tcf_bpf *prog, in tcf_bpf_prog_fill_cfg()
290 struct tcf_bpf *prog; in tcf_bpf_init() local
/net/netfilter/
Dnf_bpf_link.c14 const struct bpf_prog *prog = bpf_prog; in nf_hook_run_bpf() local
210 int bpf_nf_link_attach(const union bpf_attr *attr, struct bpf_prog *prog) in bpf_nf_link_attach()
292 const struct bpf_prog *prog, in nf_is_valid_access()
323 bpf_nf_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog) in bpf_nf_func_proto()
Dxt_bpf.c45 struct bpf_prog *prog; in __bpf_mt_check_fd() local
Dnfnetlink_hook.c80 const struct bpf_prog *prog) in nfnl_hook_put_bpf_prog_info()
/net/core/
Dsock_reuseport.c466 struct bpf_prog *prog; in reuseport_stop_listen_sock() local
498 struct bpf_prog *prog, struct sk_buff *skb, in run_bpf_filter()
574 struct bpf_prog *prog; in reuseport_select_sock() local
627 struct bpf_prog *prog; in reuseport_migrate_sock() local
683 int reuseport_attach_prog(struct sock *sk, struct bpf_prog *prog) in reuseport_attach_prog()
Dfilter.c578 static int bpf_convert_filter(struct sock_filter *prog, int len, in bpf_convert_filter()
1185 static void __bpf_prog_release(struct bpf_prog *prog) in __bpf_prog_release()
1474 static int __sk_attach_prog(struct bpf_prog *prog, struct sock *sk) in __sk_attach_prog()
1504 struct bpf_prog *prog; in __get_filter() local
1549 struct bpf_prog *prog = __get_filter(fprog, sk); in sk_attach_filter() local
1567 struct bpf_prog *prog = __get_filter(fprog, sk); in sk_reuseport_attach_filter() local
1595 struct bpf_prog *prog = __get_bpf(ufd, sk); in sk_attach_bpf() local
1612 struct bpf_prog *prog; in sk_reuseport_attach_bpf() local
1656 void sk_reuseport_prog_free(struct bpf_prog *prog) in sk_reuseport_prog_free()
7178 struct bpf_prog *prog, u32 *target_size) in bpf_tcp_sock_convert_ctx_access()
[all …]
Dlwt_bpf.c18 struct bpf_prog *prog; member
311 static void bpf_lwt_prog_destroy(struct bpf_lwt_prog *prog) in bpf_lwt_prog_destroy()
334 static int bpf_parse_prog(struct nlattr *attr, struct bpf_lwt_prog *prog, in bpf_parse_prog()
446 struct bpf_lwt_prog *prog) in bpf_fill_lwt_prog()
Dsock_map.c68 int sock_map_get_from_fd(const union bpf_attr *attr, struct bpf_prog *prog) in sock_map_get_from_fd()
88 struct bpf_prog *prog; in sock_map_prog_detach() local
762 struct bpf_prog *prog; in sock_map_seq_show() local
1375 struct bpf_prog *prog; in sock_hash_seq_show() local
1524 static int sock_map_prog_update(struct bpf_map *map, struct bpf_prog *prog, in sock_map_prog_update()
1561 struct bpf_prog *prog; in sock_map_bpf_prog_query() local
1748 struct bpf_prog *prog, in sock_map_link_update_prog()
1843 int sock_map_link_create(const union bpf_attr *attr, struct bpf_prog *prog) in sock_map_link_create()
1903 static int sock_map_iter_attach_target(struct bpf_prog *prog, in sock_map_iter_attach_target()
Dskmsg.c898 struct bpf_prog *prog; in sk_psock_msg_verdict() local
986 struct bpf_prog *prog; in sk_psock_tls_strp_read() local
1087 struct bpf_prog *prog; in sk_psock_strp_read() local
1121 struct bpf_prog *prog; in sk_psock_strp_parse() local
1214 struct bpf_prog *prog; in sk_psock_verdict_recv() local
Dbpf_sk_storage.c353 static bool bpf_sk_storage_tracing_allowed(const struct bpf_prog *prog) in bpf_sk_storage_tracing_allowed()
805 struct bpf_prog *prog; in DEFINE_BPF_ITER_FUNC() local
855 static int bpf_iter_attach_map(struct bpf_prog *prog, in bpf_iter_attach_map()
Dflow_dissector.c78 struct bpf_prog *prog) in flow_dissector_bpf_prog_attach_check()
1004 u32 bpf_flow_dissect(struct bpf_prog *prog, struct bpf_flow_dissector *ctx, in bpf_flow_dissect()
1148 struct bpf_prog *prog; in __skb_flow_dissect() local
Ddev.c4136 const struct bpf_prog *prog; in tcx_run() local
5128 netif_skb_check_for_xdp(struct sk_buff **pskb, struct bpf_prog *prog) in netif_skb_check_for_xdp()
9485 struct bpf_prog *prog = dev_xdp_prog(dev, mode); in dev_xdp_prog_id() local
9498 struct bpf_prog *prog) in dev_xdp_set_prog()
9506 u32 flags, struct bpf_prog *prog) in dev_xdp_install()
9546 struct bpf_prog *prog; in dev_xdp_uninstall() local
9843 int bpf_xdp_link_attach(const union bpf_attr *attr, struct bpf_prog *prog) in bpf_xdp_link_attach()
/net/bpf/
Dbpf_dummy_struct_ops.c96 static int check_test_run_args(struct bpf_prog *prog, struct bpf_dummy_ops_test_args *args) in check_test_run_args()
129 int bpf_struct_ops_test_run(struct bpf_prog *prog, const union bpf_attr *kattr, in bpf_struct_ops_test_run()
212 const struct bpf_prog *prog, in bpf_dummy_ops_is_valid_access()
220 const struct bpf_prog *prog) in bpf_dummy_ops_check_member()
Dtest_run.c285 static int xdp_test_run_batch(struct xdp_test_data *xdp, struct bpf_prog *prog, in xdp_test_run_batch()
372 static int bpf_test_run_xdp_live(struct bpf_prog *prog, struct xdp_buff *ctx, in bpf_test_run_xdp_live()
400 static int bpf_test_run(struct bpf_prog *prog, void *ctx, u32 repeat, in bpf_test_run()
679 int bpf_prog_test_run_tracing(struct bpf_prog *prog, in bpf_prog_test_run_tracing()
729 struct bpf_prog *prog; member
750 int bpf_prog_test_run_raw_tp(struct bpf_prog *prog, in bpf_prog_test_run_raw_tp()
978 int bpf_prog_test_run_skb(struct bpf_prog *prog, const union bpf_attr *kattr, in bpf_prog_test_run_skb()
1198 int bpf_prog_test_run_xdp(struct bpf_prog *prog, const union bpf_attr *kattr, in bpf_prog_test_run_xdp()
1360 int bpf_prog_test_run_flow_dissector(struct bpf_prog *prog, in bpf_prog_test_run_flow_dissector()
1429 int bpf_prog_test_run_sk_lookup(struct bpf_prog *prog, const union bpf_attr *kattr, in bpf_prog_test_run_sk_lookup()
[all …]
/net/ipv4/
Dbpf_tcp_ca.c46 const struct bpf_prog *prog, in bpf_tcp_ca_is_valid_access()
138 static u32 prog_ops_moff(const struct bpf_prog *prog) in prog_ops_moff()
153 const struct bpf_prog *prog) in bpf_tcp_ca_get_func_proto()
Dtcp_ipv4.c3019 static int tcp_prog_seq_show(struct bpf_prog *prog, struct bpf_iter_meta *meta,
3214 struct bpf_prog *prog; local
3256 struct bpf_prog *prog; local
3610 const struct bpf_prog *prog)
Dudp.c3345 static int udp_prog_seq_show(struct bpf_prog *prog, struct bpf_iter_meta *meta, in udp_prog_seq_show()
3362 struct bpf_prog *prog; in bpf_iter_udp_seq_show() local
3397 struct bpf_prog *prog; in bpf_iter_udp_seq_stop() local
/net/sunrpc/
Dstats.c39 const struct rpc_program *prog = statp->program; in rpc_proc_show() local
84 const struct svc_program *prog = statp->program; in svc_seq_show() local
Dsvc.c484 __svc_create(struct svc_program *prog, int nprogs, struct svc_stat *stats, in __svc_create()
561 struct svc_serv *svc_create(struct svc_program *prog, unsigned int bufsize, in svc_create()
578 struct svc_serv *svc_create_pooled(struct svc_program *prog, in svc_create_pooled()
Drpcb_clnt.c454 int rpcb_register(struct net *net, u32 prog, u32 vers, int prot, unsigned short port) in rpcb_register()
/net/kcm/
Dkcmsock.c389 struct bpf_prog *prog = psock->bpf_prog; in kcm_parse_func_strparser() local
1218 struct bpf_prog *prog) in kcm_attach()
1323 struct bpf_prog *prog; in kcm_attach_ioctl() local
/net/unix/
Daf_unix.c3487 static int unix_prog_seq_show(struct bpf_prog *prog, struct bpf_iter_meta *meta, in unix_prog_seq_show()
3618 struct bpf_prog *prog; in bpf_iter_unix_seq_show() local
3647 struct bpf_prog *prog; in bpf_iter_unix_seq_stop() local
3775 const struct bpf_prog *prog) in bpf_iter_unix_get_func_proto()
/net/ipv6/
Dip6_fib.c2721 static int ipv6_route_prog_seq_show(struct bpf_prog *prog, in ipv6_route_prog_seq_show()
2736 struct bpf_prog *prog; in ipv6_route_seq_show() local
2753 struct bpf_prog *prog; in ipv6_route_seq_stop() local
/net/netlink/
Daf_netlink.c2738 struct bpf_prog *prog; in netlink_seq_show() local
2754 struct bpf_prog *prog; in netlink_seq_stop() local

12