Home
last modified time | relevance | path

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

/linux-4.19.296/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.h11 union bpf_attr;
16 int btf_new_fd(const union bpf_attr *attr);
19 const union bpf_attr *attr,
20 union bpf_attr __user *uattr);
Dbpf-cgroup.h74 int __cgroup_bpf_query(struct cgroup *cgrp, const union bpf_attr *attr,
75 union bpf_attr __user *uattr);
82 int cgroup_bpf_query(struct cgroup *cgrp, const union bpf_attr *attr,
83 union bpf_attr __user *uattr);
242 int cgroup_bpf_prog_attach(const union bpf_attr *attr,
244 int cgroup_bpf_prog_detach(const union bpf_attr *attr,
246 int cgroup_bpf_prog_query(const union bpf_attr *attr,
247 union bpf_attr __user *uattr);
255 static inline int cgroup_bpf_prog_attach(const union bpf_attr *attr, in cgroup_bpf_prog_attach()
262 static inline int cgroup_bpf_prog_detach(const union bpf_attr *attr, in cgroup_bpf_prog_detach()
[all …]
Dbpf.h31 int (*map_alloc_check)(union bpf_attr *attr);
32 struct bpf_map *(*map_alloc)(union bpf_attr *attr);
233 int (*test_run)(struct bpf_prog *prog, const union bpf_attr *kattr,
234 union bpf_attr __user *uattr);
342 int bpf_prog_test_run_xdp(struct bpf_prog *prog, const union bpf_attr *kattr,
343 union bpf_attr __user *uattr);
344 int bpf_prog_test_run_skb(struct bpf_prog *prog, const union bpf_attr *kattr,
345 union bpf_attr __user *uattr);
458 void bpf_map_init_from_attr(struct bpf_map *map, union bpf_attr *attr);
505 int bpf_check(struct bpf_prog **fp, union bpf_attr *attr);
[all …]
Dsecurity.h1776 union bpf_attr;
1781 extern int security_bpf(int cmd, union bpf_attr *attr, unsigned int size);
1789 static inline int security_bpf(int cmd, union bpf_attr *attr, in security_bpf()
Dlsm_hooks.h1773 int (*bpf)(int cmd, union bpf_attr *attr,
Dsyscalls.h71 union bpf_attr;
885 asmlinkage long sys_bpf(int cmd, union bpf_attr *attr, unsigned int size);
/linux-4.19.296/drivers/media/rc/
Dbpf-lirc.c213 int lirc_prog_attach(const union bpf_attr *attr, struct bpf_prog *prog) in lirc_prog_attach()
232 int lirc_prog_detach(const union bpf_attr *attr) in lirc_prog_detach()
260 int lirc_prog_query(const union bpf_attr *attr, union bpf_attr __user *uattr) in lirc_prog_query()
/linux-4.19.296/include/uapi/linux/
Dbpf.h301 union bpf_attr { union