Home
last modified time | relevance | path

Searched refs:bpf_attr (Results 1 – 9 of 9) sorted by relevance

/include/linux/
Dbpf_lirc.h8 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()
Dbtf.h12 union bpf_attr;
17 int btf_new_fd(const union bpf_attr *attr);
20 const union bpf_attr *attr,
21 union bpf_attr __user *uattr);
Dbpf.h33 int (*map_alloc_check)(union bpf_attr *attr);
34 struct bpf_map *(*map_alloc)(union bpf_attr *attr);
301 int (*test_run)(struct bpf_prog *prog, const union bpf_attr *kattr,
302 union bpf_attr __user *uattr);
666 void bpf_map_init_from_attr(struct bpf_map *map, union bpf_attr *attr);
713 int bpf_check(struct bpf_prog **fp, union bpf_attr *attr,
714 union bpf_attr __user *uattr);
738 static inline int bpf_map_attr_numa_node(const union bpf_attr *attr) in bpf_map_attr_numa_node()
745 int array_map_alloc_check(union bpf_attr *attr);
747 int bpf_prog_test_run_xdp(struct bpf_prog *prog, const union bpf_attr *kattr,
[all …]
Dbpf-cgroup.h91 int __cgroup_bpf_query(struct cgroup *cgrp, const union bpf_attr *attr,
92 union bpf_attr __user *uattr);
99 int cgroup_bpf_query(struct cgroup *cgrp, const union bpf_attr *attr,
100 union bpf_attr __user *uattr);
329 int cgroup_bpf_prog_attach(const union bpf_attr *attr,
331 int cgroup_bpf_prog_detach(const union bpf_attr *attr,
333 int cgroup_bpf_prog_query(const union bpf_attr *attr,
334 union bpf_attr __user *uattr);
342 static inline int cgroup_bpf_prog_attach(const union bpf_attr *attr, in cgroup_bpf_prog_attach()
349 static inline int cgroup_bpf_prog_detach(const union bpf_attr *attr, in cgroup_bpf_prog_detach()
[all …]
Dskbuff.h249 union bpf_attr;
1284 int skb_flow_dissector_prog_query(const union bpf_attr *attr,
1285 union bpf_attr __user *uattr);
1286 int skb_flow_dissector_bpf_prog_attach(const union bpf_attr *attr,
1289 int skb_flow_dissector_bpf_prog_detach(const union bpf_attr *attr);
1291 static inline int skb_flow_dissector_prog_query(const union bpf_attr *attr, in skb_flow_dissector_prog_query()
1292 union bpf_attr __user *uattr) in skb_flow_dissector_prog_query()
1297 static inline int skb_flow_dissector_bpf_prog_attach(const union bpf_attr *attr, in skb_flow_dissector_bpf_prog_attach()
1303 static inline int skb_flow_dissector_bpf_prog_detach(const union bpf_attr *attr) in skb_flow_dissector_bpf_prog_detach()
Dsecurity.h1869 union bpf_attr;
1874 extern int security_bpf(int cmd, union bpf_attr *attr, unsigned int size);
1882 static inline int security_bpf(int cmd, union bpf_attr *attr, in security_bpf()
Dlsm_hooks.h1819 int (*bpf)(int cmd, union bpf_attr *attr,
Dsyscalls.h69 union bpf_attr;
968 asmlinkage long sys_bpf(int cmd, union bpf_attr *attr, unsigned int size);
/include/uapi/linux/
Dbpf.h369 union bpf_attr { union