Home
last modified time | relevance | path

Searched defs:prog (Results 1 – 25 of 27) 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/ipv4/
Dbpf_tcp_ca.c56 const struct bpf_prog *prog, in bpf_tcp_ca_is_valid_access()
145 static u32 prog_ops_moff(const struct bpf_prog *prog) in prog_ops_moff()
160 const struct bpf_prog *prog) in bpf_tcp_ca_get_func_proto()
247 const struct bpf_prog *prog) in bpf_tcp_ca_check_member()
Dtcp_ipv4.c2793 static int tcp_prog_seq_show(struct bpf_prog *prog, struct bpf_iter_meta *meta, in tcp_prog_seq_show()
2988 struct bpf_prog *prog; in bpf_iter_tcp_seq_show() local
3030 struct bpf_prog *prog; in bpf_iter_tcp_seq_stop() local
3380 const struct bpf_prog *prog) in bpf_iter_tcp_get_func_proto()
Dudp.c3273 static int udp_prog_seq_show(struct bpf_prog *prog, struct bpf_iter_meta *meta, in udp_prog_seq_show()
3290 struct bpf_prog *prog; in bpf_iter_udp_seq_show() local
3325 struct bpf_prog *prog; in bpf_iter_udp_seq_stop() local
/net/netfilter/
Dnf_bpf_link.c14 const struct bpf_prog *prog = bpf_prog; in nf_hook_run_bpf() local
207 int bpf_nf_link_attach(const union bpf_attr *attr, struct bpf_prog *prog) in bpf_nf_link_attach()
287 const struct bpf_prog *prog, in nf_is_valid_access()
315 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.c467 struct bpf_prog *prog; in reuseport_stop_listen_sock() local
499 struct bpf_prog *prog, struct sk_buff *skb, in run_bpf_filter()
575 struct bpf_prog *prog; in reuseport_select_sock() local
628 struct bpf_prog *prog; in reuseport_migrate_sock() local
684 int reuseport_attach_prog(struct sock *sk, struct bpf_prog *prog) in reuseport_attach_prog()
Dfilter.c563 static int bpf_convert_filter(struct sock_filter *prog, int len, in bpf_convert_filter()
1170 static void __bpf_prog_release(struct bpf_prog *prog) in __bpf_prog_release()
1459 static int __sk_attach_prog(struct bpf_prog *prog, struct sock *sk) in __sk_attach_prog()
1489 struct bpf_prog *prog; in __get_filter() local
1534 struct bpf_prog *prog = __get_filter(fprog, sk); in sk_attach_filter() local
1552 struct bpf_prog *prog = __get_filter(fprog, sk); in sk_reuseport_attach_filter() local
1579 struct bpf_prog *prog = __get_bpf(ufd, sk); in sk_attach_bpf() local
1596 struct bpf_prog *prog; in sk_reuseport_attach_bpf() local
1639 void sk_reuseport_prog_free(struct bpf_prog *prog) in sk_reuseport_prog_free()
7083 struct bpf_prog *prog, u32 *target_size) in bpf_tcp_sock_convert_ctx_access()
[all …]
Dlwt_bpf.c17 struct bpf_prog *prog; member
309 static void bpf_lwt_prog_destroy(struct bpf_lwt_prog *prog) in bpf_lwt_prog_destroy()
332 static int bpf_parse_prog(struct nlattr *attr, struct bpf_lwt_prog *prog, in bpf_parse_prog()
444 struct bpf_lwt_prog *prog) in bpf_fill_lwt_prog()
Dskmsg.c870 struct bpf_prog *prog; in sk_psock_msg_verdict() local
958 struct bpf_prog *prog; in sk_psock_tls_strp_read() local
1059 struct bpf_prog *prog; in sk_psock_strp_read() local
1093 struct bpf_prog *prog; in sk_psock_strp_parse() local
1182 struct bpf_prog *prog; in sk_psock_verdict_recv() local
Dsock_map.c60 int sock_map_get_from_fd(const union bpf_attr *attr, struct bpf_prog *prog) in sock_map_get_from_fd()
82 struct bpf_prog *prog; in sock_map_prog_detach() local
749 struct bpf_prog *prog; in sock_map_seq_show() local
1357 struct bpf_prog *prog; in sock_hash_seq_show() local
1491 static int sock_map_prog_update(struct bpf_map *map, struct bpf_prog *prog, in sock_map_prog_update()
1514 struct bpf_prog *prog; in sock_map_bpf_prog_query() local
1664 static int sock_map_iter_attach_target(struct bpf_prog *prog, in sock_map_iter_attach_target()
Dbpf_sk_storage.c352 static bool bpf_sk_storage_tracing_allowed(const struct bpf_prog *prog) in bpf_sk_storage_tracing_allowed()
809 struct bpf_prog *prog; in DEFINE_BPF_ITER_FUNC() local
859 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()
971 u32 bpf_flow_dissect(struct bpf_prog *prog, struct bpf_flow_dissector *ctx, in bpf_flow_dissect()
1114 struct bpf_prog *prog; in __skb_flow_dissect() local
Ddev.c4002 const struct bpf_prog *prog; in tcx_run() local
9181 struct bpf_prog *prog = dev_xdp_prog(dev, mode); in dev_xdp_prog_id() local
9194 struct bpf_prog *prog) in dev_xdp_set_prog()
9202 u32 flags, struct bpf_prog *prog) in dev_xdp_install()
9237 struct bpf_prog *prog; in dev_xdp_uninstall() local
9530 int bpf_xdp_link_attach(const union bpf_attr *attr, struct bpf_prog *prog) in bpf_xdp_link_attach()
/net/bpf/
Dtest_run.c281 static int xdp_test_run_batch(struct xdp_test_data *xdp, struct bpf_prog *prog, in xdp_test_run_batch()
364 static int bpf_test_run_xdp_live(struct bpf_prog *prog, struct xdp_buff *ctx, in bpf_test_run_xdp_live()
392 static int bpf_test_run(struct bpf_prog *prog, void *ctx, u32 repeat, in bpf_test_run()
651 int bpf_prog_test_run_tracing(struct bpf_prog *prog, in bpf_prog_test_run_tracing()
701 struct bpf_prog *prog; member
722 int bpf_prog_test_run_raw_tp(struct bpf_prog *prog, in bpf_prog_test_run_raw_tp()
950 int bpf_prog_test_run_skb(struct bpf_prog *prog, const union bpf_attr *kattr, in bpf_prog_test_run_skb()
1144 int bpf_prog_test_run_xdp(struct bpf_prog *prog, const union bpf_attr *kattr, in bpf_prog_test_run_xdp()
1306 int bpf_prog_test_run_flow_dissector(struct bpf_prog *prog, in bpf_prog_test_run_flow_dissector()
1375 int bpf_prog_test_run_sk_lookup(struct bpf_prog *prog, const union bpf_attr *kattr, in bpf_prog_test_run_sk_lookup()
[all …]
Dbpf_dummy_struct_ops.c77 int bpf_struct_ops_test_run(struct bpf_prog *prog, const union bpf_attr *kattr, in bpf_struct_ops_test_run()
151 const struct bpf_prog *prog, in bpf_dummy_ops_is_valid_access()
159 const struct bpf_prog *prog) in bpf_dummy_ops_check_member()
/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.c456 __svc_create(struct svc_program *prog, struct svc_stat *stats, in __svc_create()
532 struct svc_serv *svc_create(struct svc_program *prog, unsigned int bufsize, in svc_create()
548 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
1217 struct bpf_prog *prog) in kcm_attach()
1322 struct bpf_prog *prog; in kcm_attach_ioctl() local
/net/unix/
Daf_unix.c3371 static int unix_prog_seq_show(struct bpf_prog *prog, struct bpf_iter_meta *meta, in unix_prog_seq_show()
3502 struct bpf_prog *prog; in bpf_iter_unix_seq_show() local
3531 struct bpf_prog *prog; in bpf_iter_unix_seq_stop() local
3658 const struct bpf_prog *prog) in bpf_iter_unix_get_func_proto()
/net/ipv6/
Dip6_fib.c2663 static int ipv6_route_prog_seq_show(struct bpf_prog *prog, in ipv6_route_prog_seq_show()
2678 struct bpf_prog *prog; in ipv6_route_seq_show() local
2695 struct bpf_prog *prog; in ipv6_route_seq_stop() local
/net/netlink/
Daf_netlink.c2737 struct bpf_prog *prog; in netlink_seq_show() local
2753 struct bpf_prog *prog; in netlink_seq_stop() local

12