| /include/linux/ |
| D | bpf-netns.h | 25 union bpf_attr; 29 int netns_bpf_prog_query(const union bpf_attr *attr, 30 union bpf_attr __user *uattr); 31 int netns_bpf_prog_attach(const union bpf_attr *attr, 33 int netns_bpf_prog_detach(const union bpf_attr *attr, enum bpf_prog_type ptype); 34 int netns_bpf_link_create(const union bpf_attr *attr, 37 static inline int netns_bpf_prog_query(const union bpf_attr *attr, in netns_bpf_prog_query() 38 union bpf_attr __user *uattr) in netns_bpf_prog_query() 43 static inline int netns_bpf_prog_attach(const union bpf_attr *attr, in netns_bpf_prog_attach() 49 static inline int netns_bpf_prog_detach(const union bpf_attr *attr, in netns_bpf_prog_detach() [all …]
|
| D | bpf_lirc.h | 8 int lirc_prog_attach(const union bpf_attr *attr, struct bpf_prog *prog); 9 int lirc_prog_detach(const union bpf_attr *attr); 10 int lirc_prog_query(const union bpf_attr *attr, union bpf_attr __user *uattr); 12 static inline int lirc_prog_attach(const union bpf_attr *attr, in lirc_prog_attach() 18 static inline int lirc_prog_detach(const union bpf_attr *attr) in lirc_prog_detach() 23 static inline int lirc_prog_query(const union bpf_attr *attr, in lirc_prog_query() 24 union bpf_attr __user *uattr) in lirc_prog_query()
|
| D | bpf.h | 84 int (*map_alloc_check)(union bpf_attr *attr); 85 struct bpf_map *(*map_alloc)(union bpf_attr *attr); 91 int (*map_lookup_batch)(struct bpf_map *map, const union bpf_attr *attr, 92 union bpf_attr __user *uattr); 96 const union bpf_attr *attr, 97 union bpf_attr __user *uattr); 99 const union bpf_attr *attr, 100 union bpf_attr __user *uattr); 101 int (*map_delete_batch)(struct bpf_map *map, const union bpf_attr *attr, 102 union bpf_attr __user *uattr); [all …]
|
| D | bpf-cgroup.h | 420 int cgroup_bpf_prog_attach(const union bpf_attr *attr, 422 int cgroup_bpf_prog_detach(const union bpf_attr *attr, 424 int cgroup_bpf_link_attach(const union bpf_attr *attr, struct bpf_prog *prog); 425 int cgroup_bpf_prog_query(const union bpf_attr *attr, 426 union bpf_attr __user *uattr); 437 static inline int cgroup_bpf_prog_attach(const union bpf_attr *attr, in cgroup_bpf_prog_attach() 444 static inline int cgroup_bpf_prog_detach(const union bpf_attr *attr, in cgroup_bpf_prog_detach() 450 static inline int cgroup_bpf_link_attach(const union bpf_attr *attr, in cgroup_bpf_link_attach() 456 static inline int cgroup_bpf_prog_query(const union bpf_attr *attr, in cgroup_bpf_prog_query() 457 union bpf_attr __user *uattr) in cgroup_bpf_prog_query()
|
| D | bpf_local_storage.h | 125 int bpf_local_storage_map_alloc_check(union bpf_attr *attr); 128 bpf_local_storage_map_alloc(union bpf_attr *attr,
|
| D | bpf_mprog.h | 331 int bpf_mprog_query(const union bpf_attr *attr, union bpf_attr __user *uattr,
|
| D | btf.h | 110 union bpf_attr; 144 int btf_new_fd(const union bpf_attr *attr, bpfptr_t uattr, u32 uattr_sz); 147 const union bpf_attr *attr, 148 union bpf_attr __user *uattr);
|
| D | trace_events.h | 18 union bpf_attr; 797 int bpf_kprobe_multi_link_attach(const union bpf_attr *attr, struct bpf_prog *prog); 798 int bpf_uprobe_multi_link_attach(const union bpf_attr *attr, struct bpf_prog *prog); 842 bpf_kprobe_multi_link_attach(const union bpf_attr *attr, struct bpf_prog *prog) in bpf_kprobe_multi_link_attach() 847 bpf_uprobe_multi_link_attach(const union bpf_attr *attr, struct bpf_prog *prog) in bpf_uprobe_multi_link_attach()
|
| D | security.h | 2170 union bpf_attr; 2175 extern int security_bpf(int cmd, union bpf_attr *attr, unsigned int size); 2178 extern int security_bpf_map_create(struct bpf_map *map, union bpf_attr *attr, 2181 extern int security_bpf_prog_load(struct bpf_prog *prog, union bpf_attr *attr, 2184 extern int security_bpf_token_create(struct bpf_token *token, union bpf_attr *attr, 2190 static inline int security_bpf(int cmd, union bpf_attr *attr, in security_bpf() 2206 static inline int security_bpf_map_create(struct bpf_map *map, union bpf_attr *attr, in security_bpf_map_create() 2215 static inline int security_bpf_prog_load(struct bpf_prog *prog, union bpf_attr *attr, in security_bpf_prog_load() 2224 static inline int security_bpf_token_create(struct bpf_token *token, union bpf_attr *attr, in security_bpf_token_create()
|
| D | lsm_hook_defs.h | 424 LSM_HOOK(int, 0, bpf, int cmd, union bpf_attr *attr, unsigned int size) 427 LSM_HOOK(int, 0, bpf_map_create, struct bpf_map *map, union bpf_attr *attr, 430 LSM_HOOK(int, 0, bpf_prog_load, struct bpf_prog *prog, union bpf_attr *attr, 433 LSM_HOOK(int, 0, bpf_token_create, struct bpf_token *token, union bpf_attr *attr,
|
| D | syscalls.h | 68 union bpf_attr; 916 asmlinkage long sys_bpf(int cmd, union bpf_attr __user *attr, unsigned int size);
|
| D | skbuff.h | 285 union bpf_attr;
|
| D | netdevice.h | 4010 int bpf_xdp_link_attach(const union bpf_attr *attr, struct bpf_prog *prog);
|
| /include/net/ |
| D | netkit.h | 9 int netkit_prog_attach(const union bpf_attr *attr, struct bpf_prog *prog); 10 int netkit_link_attach(const union bpf_attr *attr, struct bpf_prog *prog); 11 int netkit_prog_detach(const union bpf_attr *attr, struct bpf_prog *prog); 12 int netkit_prog_query(const union bpf_attr *attr, union bpf_attr __user *uattr); 15 static inline int netkit_prog_attach(const union bpf_attr *attr, in netkit_prog_attach() 21 static inline int netkit_link_attach(const union bpf_attr *attr, in netkit_link_attach() 27 static inline int netkit_prog_detach(const union bpf_attr *attr, in netkit_prog_detach() 33 static inline int netkit_prog_query(const union bpf_attr *attr, in netkit_prog_query() 34 union bpf_attr __user *uattr) in netkit_prog_query()
|
| D | tcx.h | 164 int tcx_prog_attach(const union bpf_attr *attr, struct bpf_prog *prog); 165 int tcx_link_attach(const union bpf_attr *attr, struct bpf_prog *prog); 166 int tcx_prog_detach(const union bpf_attr *attr, struct bpf_prog *prog); 169 int tcx_prog_query(const union bpf_attr *attr, 170 union bpf_attr __user *uattr); 179 static inline int tcx_prog_attach(const union bpf_attr *attr, in tcx_prog_attach() 185 static inline int tcx_link_attach(const union bpf_attr *attr, in tcx_link_attach() 191 static inline int tcx_prog_detach(const union bpf_attr *attr, in tcx_prog_detach() 197 static inline int tcx_prog_query(const union bpf_attr *attr, in tcx_prog_query() 198 union bpf_attr __user *uattr) in tcx_prog_query()
|
| /include/net/netfilter/ |
| D | nf_bpf_link.h | 9 int bpf_nf_link_attach(const union bpf_attr *attr, struct bpf_prog *prog); 11 static inline int bpf_nf_link_attach(const union bpf_attr *attr, struct bpf_prog *prog) in bpf_nf_link_attach()
|
| /include/trace/hooks/ |
| D | syscall_check.h | 14 union bpf_attr; 27 TP_PROTO(int cmd, const union bpf_attr *attr, unsigned int size),
|
| /include/uapi/linux/ |
| D | bpf.h | 1472 union bpf_attr { union
|