| /kernel/linux/linux-5.10/tools/testing/selftests/powerpc/alignment/ |
| H A D | alignment_handler.c | 614 void usage(char *prog) in usage() argument
|
| /kernel/linux/linux-5.10/tools/testing/selftests/net/ |
| H A D | reuseport_bpf.c | 100 const struct bpf_insn prog[] = { in attach_ebpf() local
|
| /kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/ |
| H A D | bpf_iter.c | 41 static void do_dummy_read(struct bpf_program *prog) in do_dummy_read() argument 177 struct bpf_program *prog = skel->progs.dump_task_struct; in do_btf_read() local
|
| H A D | cls_redirect.c | 368 static void test_cls_redirect_common(struct bpf_program *prog) in test_cls_redirect_common() argument
|
| H A D | flow_dissector.c | 453 struct bpf_program *prog; in init_prog_array() local
|
| /kernel/linux/linux-6.6/arch/mips/net/ |
| H A D | bpf_jit_comp.c | 852 const struct bpf_prog *prog = ctx->program; in build_body() local 890 const struct bpf_prog *prog = ctx->program; in set_convert_flag() local 912 struct bpf_prog *bpf_int_jit_compile(struct bpf_prog *prog) in bpf_int_jit_compile() argument [all...] |
| /kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en/ |
| H A D | xdp.c | 125 struct bpf_prog *prog = rcu_dereference(rq->xdp_prog); in mlx5e_xdp_handle() local
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/bpf/ |
| H A D | offload.c | 151 nfp_prog_prepare(struct nfp_prog *nfp_prog, const struct bpf_insn *prog, in nfp_prog_prepare() argument 111 nfp_map_ptrs_record(struct nfp_app_bpf *bpf, struct nfp_prog *nfp_prog, struct bpf_prog *prog) nfp_map_ptrs_record() argument 191 nfp_bpf_verifier_prep(struct bpf_prog *prog) nfp_bpf_verifier_prep() argument 219 nfp_bpf_translate(struct bpf_prog *prog) nfp_bpf_translate() argument 247 nfp_bpf_destroy(struct bpf_prog *prog) nfp_bpf_destroy() argument 484 nfp_bpf_offload_check_mtu(struct nfp_net *nn, struct bpf_prog *prog, unsigned int mtu) nfp_bpf_offload_check_mtu() argument 496 nfp_net_bpf_load(struct nfp_net *nn, struct bpf_prog *prog, struct netlink_ext_ack *extack) nfp_net_bpf_load() argument 575 nfp_net_bpf_offload(struct nfp_net *nn, struct bpf_prog *prog, bool old_prog, struct netlink_ext_ack *extack) nfp_net_bpf_offload() argument [all...] |
| /kernel/linux/linux-5.10/drivers/hwmon/ |
| H A D | thmc50.c | 89 int prog = i2c_smbus_read_byte_data(client, THMC50_REG_CONF); in thmc50_update_device() local
|
| /kernel/linux/linux-5.10/drivers/net/netdevsim/ |
| H A D | bpf.c | 31 struct bpf_prog *prog; member 92 static void nsim_prog_set_loaded(struct bpf_prog *prog, bool loaded) in nsim_prog_set_loaded() argument 104 nsim_bpf_offload(struct netdevsim *ns, struct bpf_prog *prog, bool oldprog) in nsim_bpf_offload() argument 122 struct bpf_prog *prog = cls_bpf->prog; nsim_bpf_setup_tc_block_cb() local 218 nsim_bpf_create_prog(struct nsim_dev *nsim_dev, struct bpf_prog *prog) nsim_bpf_create_prog() argument 254 nsim_bpf_verifier_prep(struct bpf_prog *prog) nsim_bpf_verifier_prep() argument 265 nsim_bpf_translate(struct bpf_prog *prog) nsim_bpf_translate() argument 273 nsim_bpf_destroy_prog(struct bpf_prog *prog) nsim_bpf_destroy_prog() argument [all...] |
| /kernel/linux/linux-5.10/samples/bpf/ |
| H A D | hbm.c | 123 static int prog_load(char *prog) in prog_load() argument 161 static int run_bpf_prog(char *prog, int cg_id) in run_bpf_prog() argument 439 char *prog = "hbm_out_kern.o"; main() local [all...] |
| H A D | map_perf_test_user.c | 427 struct bpf_program *prog; in main() local
|
| /kernel/linux/linux-5.10/net/sched/ |
| H A D | act_bpf.c | 39 struct tcf_bpf *prog = to_bpf(act); in tcf_bpf_act() local 93 static bool tcf_bpf_is_ebpf(const struct tcf_bpf *prog) in tcf_bpf_is_ebpf() argument 98 static int tcf_bpf_dump_bpf_info(const struct tcf_bpf *prog, in tcf_bpf_dump_bpf_info() argument 116 tcf_bpf_dump_ebpf_info(const struct tcf_bpf *prog, struct sk_buff *skb) tcf_bpf_dump_ebpf_info() argument 141 struct tcf_bpf *prog = to_bpf(act); tcf_bpf_dump() local 265 tcf_bpf_prog_fill_cfg(const struct tcf_bpf *prog, struct tcf_bpf_cfg *cfg) tcf_bpf_prog_fill_cfg() argument 289 struct tcf_bpf *prog; tcf_bpf_init() local [all...] |
| /kernel/linux/linux-5.10/tools/bpf/bpftool/ |
| H A D | gen.c | 279 struct bpf_program *prog; in do_skeleton() local
|
| /kernel/linux/linux-5.10/kernel/bpf/ |
| H A D | trampoline.c | 355 static enum bpf_tramp_prog_type bpf_attach_type_to_tramp(struct bpf_prog *prog) in bpf_attach_type_to_tramp() argument 377 int bpf_trampoline_link_prog(struct bpf_prog *prog, struct bpf_trampoline *tr) in bpf_trampoline_link_prog() argument 429 bpf_trampoline_unlink_prog(struct bpf_prog *prog, struct bpf_trampoline *tr) bpf_trampoline_unlink_prog() argument [all...] |
| H A D | bpf_struct_ops.c | 368 struct bpf_prog *prog; in bpf_struct_ops_map_update_elem() local [all...] |
| H A D | local_storage.c | 494 struct bpf_cgroup_storage *bpf_cgroup_storage_alloc(struct bpf_prog *prog, in bpf_cgroup_storage_alloc() argument
|
| /kernel/linux/linux-5.10/net/bpf/ |
| H A D | test_run.c | 19 static int bpf_test_run(struct bpf_prog *prog, void *ctx, u32 repeat, in bpf_test_run() argument 204 int bpf_prog_test_run_tracing(struct bpf_prog *prog, in bpf_prog_test_run_tracing() argument 249 struct bpf_prog *prog; member 264 bpf_prog_test_run_raw_tp(struct bpf_prog *prog, const union bpf_attr *kattr, union bpf_attr __user *uattr) bpf_prog_test_run_raw_tp() argument 491 bpf_prog_test_run_skb(struct bpf_prog *prog, const union bpf_attr *kattr, union bpf_attr __user *uattr) bpf_prog_test_run_skb() argument 625 bpf_prog_test_run_xdp(struct bpf_prog *prog, const union bpf_attr *kattr, union bpf_attr __user *uattr) bpf_prog_test_run_xdp() argument 688 bpf_prog_test_run_flow_dissector(struct bpf_prog *prog, const union bpf_attr *kattr, union bpf_attr __user *uattr) bpf_prog_test_run_flow_dissector() argument [all...] |
| /kernel/linux/linux-5.10/net/core/ |
| H A D | lwt_bpf.c | 16 struct bpf_prog *prog; member 308 static void bpf_lwt_prog_destroy(struct bpf_lwt_prog *prog) in bpf_lwt_prog_destroy() argument 331 bpf_parse_prog(struct nlattr *attr, struct bpf_lwt_prog *prog, enum bpf_prog_type type) bpf_parse_prog() argument 442 bpf_fill_lwt_prog(struct sk_buff *skb, int attr, struct bpf_lwt_prog *prog) bpf_fill_lwt_prog() argument [all...] |
| /kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/include/nvkm/subdev/ |
| H A D | fb.h | 159 int (*prog)(struct nvkm_ram *); member
|
| /kernel/linux/linux-5.10/include/linux/ |
| H A D | bpf-cgroup.h | 61 struct bpf_prog *prog; member 394 cgroup_bpf_prog_attach(const union bpf_attr *attr, enum bpf_prog_type ptype, struct bpf_prog *prog) cgroup_bpf_prog_attach() argument 407 cgroup_bpf_link_attach(const union bpf_attr *attr, struct bpf_prog *prog) cgroup_bpf_link_attach() argument 421 bpf_cgroup_storage_alloc( struct bpf_prog *prog, enum bpf_cgroup_storage_type stype) bpf_cgroup_storage_alloc() argument [all...] |
| /kernel/linux/linux-6.6/drivers/net/ethernet/broadcom/bnxt/ |
| H A D | bnxt_xdp.c | 391 static int bnxt_xdp_set(struct bnxt *bp, struct bpf_prog *prog) in bnxt_xdp_set() argument
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/netronome/nfp/bpf/ |
| H A D | offload.c | 151 nfp_prog_prepare(struct nfp_prog *nfp_prog, const struct bpf_insn *prog, in nfp_prog_prepare() argument 111 nfp_map_ptrs_record(struct nfp_app_bpf *bpf, struct nfp_prog *nfp_prog, struct bpf_prog *prog) nfp_map_ptrs_record() argument 191 nfp_bpf_verifier_prep(struct bpf_prog *prog) nfp_bpf_verifier_prep() argument 219 nfp_bpf_translate(struct bpf_prog *prog) nfp_bpf_translate() argument 247 nfp_bpf_destroy(struct bpf_prog *prog) nfp_bpf_destroy() argument 484 nfp_bpf_offload_check_mtu(struct nfp_net *nn, struct bpf_prog *prog, unsigned int mtu) nfp_bpf_offload_check_mtu() argument 496 nfp_net_bpf_load(struct nfp_net *nn, struct bpf_prog *prog, struct netlink_ext_ack *extack) nfp_net_bpf_load() argument 575 nfp_net_bpf_offload(struct nfp_net *nn, struct bpf_prog *prog, bool old_prog, struct netlink_ext_ack *extack) nfp_net_bpf_offload() argument [all...] |
| /kernel/linux/linux-6.6/drivers/net/ethernet/aquantia/atlantic/ |
| H A D | aq_main.c | 134 struct bpf_prog *prog; in aq_ndev_change_mtu() local 224 struct bpf_prog *prog; in aq_ndev_fix_features() local 445 static int aq_xdp_setup(struct net_device *ndev, struct bpf_prog *prog, in aq_xdp_setup() argument [all...] |
| /kernel/linux/linux-6.6/include/linux/ |
| H A D | bpf-cgroup.h | 106 struct bpf_prog *prog; member 454 cgroup_common_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog) in cgroup_common_func_proto() argument 428 cgroup_bpf_prog_attach(const union bpf_attr *attr, enum bpf_prog_type ptype, struct bpf_prog *prog) cgroup_bpf_prog_attach() argument 441 cgroup_bpf_link_attach(const union bpf_attr *attr, struct bpf_prog *prog) cgroup_bpf_link_attach() argument 460 cgroup_current_func_proto(enum bpf_func_id func_id, const struct bpf_prog *prog) cgroup_current_func_proto() argument 467 bpf_cgroup_storage_alloc( struct bpf_prog *prog, enum bpf_cgroup_storage_type stype) bpf_cgroup_storage_alloc() argument [all...] |