Searched refs:bpf_prog_type (Results 1 - 25 of 43) sorted by path

12

/linux-master/drivers/net/ethernet/netronome/nfp/bpf/
H A Dmain.h524 enum bpf_prog_type type;
/linux-master/include/linux/
H A Dbpf-cgroup.h428 enum bpf_prog_type ptype, struct bpf_prog *prog);
430 enum bpf_prog_type ptype);
445 enum bpf_prog_type ptype,
452 enum bpf_prog_type ptype)
H A Dbpf-netns.h33 int netns_bpf_prog_detach(const union bpf_attr *attr, enum bpf_prog_type ptype);
50 enum bpf_prog_type ptype)
H A Dbpf.h296 enum bpf_prog_type type;
1450 enum bpf_prog_type saved_dst_prog_type;
1545 enum bpf_prog_type type; /* Type of BPF program */
2189 struct bpf_prog *bpf_prog_get_type_dev(u32 ufd, enum bpf_prog_type type,
2349 enum bpf_prog_type prog_type,
2521 struct bpf_prog *bpf_prog_get_type_path(const char *name, enum bpf_prog_type type);
2654 enum bpf_prog_type type,
2798 enum bpf_prog_type type)
2933 enum bpf_prog_type type)
2941 bool bpf_prog_get_ok(struct bpf_prog *, enum bpf_prog_type *, boo
[all...]
H A Dbpf_mprog.h334 static inline bool bpf_mprog_supported(enum bpf_prog_type type)
H A Dbpf_verifier.h836 static inline enum bpf_prog_type resolve_prog_type(const struct bpf_prog *prog)
H A Dbtf.h527 int register_btf_kfunc_id_set(enum bpf_prog_type prog_type,
535 const struct btf_type *t, enum bpf_prog_type prog_type,
537 int get_kern_ctx_btf_id(struct bpf_verifier_log *log, enum bpf_prog_type prog_type);
558 static inline int register_btf_kfunc_id_set(enum bpf_prog_type prog_type,
578 const struct btf_type *t, enum bpf_prog_type prog_type,
584 enum bpf_prog_type prog_type) {
/linux-master/include/uapi/linux/
H A Dbpf.h1024 enum bpf_prog_type { enum
1525 __u32 prog_type; /* one of enum bpf_prog_type */
/linux-master/kernel/bpf/
H A Dbtf.c5679 static const struct btf_type *find_canonical_prog_ctx_type(enum bpf_prog_type prog_type)
5695 static int find_kern_ctx_type_id(enum bpf_prog_type prog_type)
5712 const struct btf_type *t, enum bpf_prog_type prog_type,
5801 enum bpf_prog_type prog_type,
5936 enum bpf_prog_type prog_type,
5944 int get_kern_ctx_btf_id(struct bpf_verifier_log *log, enum bpf_prog_type prog_type)
6338 enum bpf_prog_type tgt_type;
7135 enum bpf_prog_type prog_type = prog->type;
8108 static int bpf_prog_type_to_kfunc_hook(enum bpf_prog_type prog_type)
8156 enum bpf_prog_type prog_typ
[all...]
H A Dcgroup.c1131 enum bpf_prog_type ptype, struct bpf_prog *prog)
1159 int cgroup_bpf_prog_detach(const union bpf_attr *attr, enum bpf_prog_type ptype)
H A Dcore.c2288 enum bpf_prog_type prog_type = resolve_prog_type(fp);
H A Dinode.c556 static struct bpf_prog *__get_prog_inode(struct inode *inode, enum bpf_prog_type type)
583 struct bpf_prog *bpf_prog_get_type_path(const char *name, enum bpf_prog_type type)
636 else if (strcmp(name, "bpf_prog_type") == 0)
H A Dmprog.c9 enum bpf_prog_type type)
32 enum bpf_prog_type type)
55 enum bpf_prog_type type)
H A Dnet_namespace.c383 int netns_bpf_prog_detach(const union bpf_attr *attr, enum bpf_prog_type ptype)
H A Dsyscall.c2142 static int find_prog_type(enum bpf_prog_type type, struct bpf_prog *prog)
2447 enum bpf_prog_type *attach_type, bool attach_drv)
2461 static struct bpf_prog *__bpf_prog_get(u32 ufd, enum bpf_prog_type *attach_type,
2486 struct bpf_prog *bpf_prog_get_type_dev(u32 ufd, enum bpf_prog_type type,
2525 bpf_prog_load_check_attach(enum bpf_prog_type prog_type,
2631 static bool is_net_admin_prog_type(enum bpf_prog_type prog_type)
2662 static bool is_perfmon_prog_type(enum bpf_prog_type prog_type)
2685 enum bpf_prog_type type = attr->prog_type;
3898 static enum bpf_prog_type
3974 enum bpf_prog_type ptyp
[all...]
H A Dtoken.c270 enum bpf_prog_type prog_type,
H A Dtrampoline.c110 enum bpf_prog_type ptype = prog->type;
H A Dverifier.c5477 enum bpf_prog_type prog_type = resolve_prog_type(env->prog);
8831 enum bpf_prog_type type = resolve_prog_type(env->prog);
10125 enum bpf_prog_type type = resolve_prog_type(env->prog);
10182 enum bpf_prog_type prog_type = resolve_prog_type(env->prog);
11590 enum bpf_prog_type prog_type = resolve_prog_type(env->prog);
15264 static bool may_access_skb(enum bpf_prog_type type)
15380 enum bpf_prog_type prog_type = resolve_prog_type(env->prog);
18104 static bool is_tracing_prog_type(enum bpf_prog_type type)
18123 enum bpf_prog_type prog_type = resolve_prog_type(prog);
19588 enum bpf_prog_type prog_typ
[all...]
/linux-master/net/core/
H A Dlwt_bpf.c333 enum bpf_prog_type type)
H A Dsock_map.c79 int sock_map_prog_detach(const union bpf_attr *attr, enum bpf_prog_type ptype)
/linux-master/tools/bpf/bpftool/
H A Dfeature.c513 probe_prog_load_ifindex(enum bpf_prog_type prog_type,
534 static bool probe_prog_type_ifindex(enum bpf_prog_type prog_type, __u32 ifindex)
547 probe_prog_type(enum bpf_prog_type prog_type, const char *prog_type_str,
655 probe_helper_ifindex(enum bpf_func_id id, enum bpf_prog_type prog_type,
682 probe_helper_for_progtype(enum bpf_prog_type prog_type, bool supported_type,
719 probe_helpers_for_progtype(enum bpf_prog_type prog_type,
H A Dprog.c1447 get_prog_type_by_name(const char *name, enum bpf_prog_type *prog_type,
1515 enum bpf_prog_type common_prog_type = BPF_PROG_TYPE_UNSPEC;
1697 enum bpf_prog_type prog_type = common_prog_type;
/linux-master/tools/include/uapi/linux/
H A Dbpf.h1024 enum bpf_prog_type { enum
1525 __u32 prog_type; /* one of enum bpf_prog_type */
/linux-master/tools/lib/bpf/
H A Dbpf.c236 int bpf_prog_load(enum bpf_prog_type prog_type,
H A Dbpf.h114 LIBBPF_API int bpf_prog_load(enum bpf_prog_type prog_type,

Completed in 505 milliseconds

12