Home
last modified time | relevance | path

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

/include/linux/
Dbpf-netns.h31 union bpf_attr;
35 int netns_bpf_prog_query(const union bpf_attr *attr,
36 union bpf_attr __user *uattr);
37 int netns_bpf_prog_attach(const union bpf_attr *attr,
39 int netns_bpf_prog_detach(const union bpf_attr *attr, enum bpf_prog_type ptype);
40 int netns_bpf_link_create(const union bpf_attr *attr,
43 static inline int netns_bpf_prog_query(const union bpf_attr *attr, in netns_bpf_prog_query()
44 union bpf_attr __user *uattr) in netns_bpf_prog_query()
49 static inline int netns_bpf_prog_attach(const union bpf_attr *attr, in netns_bpf_prog_attach()
55 static inline int netns_bpf_prog_detach(const union bpf_attr *attr, in netns_bpf_prog_detach()
[all …]
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()
Dbpf.h58 int (*map_alloc_check)(union bpf_attr *attr);
59 struct bpf_map *(*map_alloc)(union bpf_attr *attr);
65 int (*map_lookup_batch)(struct bpf_map *map, const union bpf_attr *attr,
66 union bpf_attr __user *uattr);
68 const union bpf_attr *attr,
69 union bpf_attr __user *uattr);
70 int (*map_update_batch)(struct bpf_map *map, const union bpf_attr *attr,
71 union bpf_attr __user *uattr);
72 int (*map_delete_batch)(struct bpf_map *map, const union bpf_attr *attr,
73 union bpf_attr __user *uattr);
[all …]
Dbpf-cgroup.h116 int __cgroup_bpf_query(struct cgroup *cgrp, const union bpf_attr *attr,
117 union bpf_attr __user *uattr);
126 int cgroup_bpf_query(struct cgroup *cgrp, const union bpf_attr *attr,
127 union bpf_attr __user *uattr);
414 int cgroup_bpf_prog_attach(const union bpf_attr *attr,
416 int cgroup_bpf_prog_detach(const union bpf_attr *attr,
418 int cgroup_bpf_link_attach(const union bpf_attr *attr, struct bpf_prog *prog);
419 int cgroup_bpf_prog_query(const union bpf_attr *attr,
420 union bpf_attr __user *uattr);
428 static inline int cgroup_bpf_prog_attach(const union bpf_attr *attr, in cgroup_bpf_prog_attach()
[all …]
Dbtf.h16 union bpf_attr;
22 int btf_new_fd(const union bpf_attr *attr);
25 const union bpf_attr *attr,
26 union bpf_attr __user *uattr);
Dbpf_local_storage.h120 int bpf_local_storage_map_alloc_check(union bpf_attr *attr);
122 struct bpf_local_storage_map *bpf_local_storage_map_alloc(union bpf_attr *attr);
Dsecurity.h1940 union bpf_attr;
1945 extern int security_bpf(int cmd, union bpf_attr *attr, unsigned int size);
1953 static inline int security_bpf(int cmd, union bpf_attr *attr, in security_bpf()
Dlsm_hook_defs.h382 LSM_HOOK(int, 0, bpf, int cmd, union bpf_attr *attr, unsigned int size)
Dsyscalls.h67 union bpf_attr;
1000 asmlinkage long sys_bpf(int cmd, union bpf_attr *attr, unsigned int size);
Dskbuff.h250 union bpf_attr;
Dnetdevice.h3995 int bpf_xdp_link_attach(const union bpf_attr *attr, struct bpf_prog *prog);
/include/trace/hooks/
Dsyscall_check.h16 union bpf_attr;
33 TP_PROTO(int cmd, const union bpf_attr *attr, unsigned int size),
/include/uapi/linux/
Dbpf.h483 union bpf_attr { union