Searched refs:bpf_prog_array (Results 1 – 13 of 13) sorted by relevance
| /OK3568_Linux_fs/kernel/drivers/media/rc/ |
| H A D | bpf-lirc.c | 139 struct bpf_prog_array *old_array; in lirc_bpf_attach() 140 struct bpf_prog_array *new_array; in lirc_bpf_attach() 177 struct bpf_prog_array *old_array; in lirc_bpf_detach() 178 struct bpf_prog_array *new_array; in lirc_bpf_detach() 232 struct bpf_prog_array *array; in lirc_bpf_free() 294 struct bpf_prog_array *progs; in lirc_prog_query()
|
| H A D | rc-core-priv.h | 65 struct bpf_prog_array __rcu *progs;
|
| /OK3568_Linux_fs/kernel/include/net/netns/ |
| H A D | bpf.h | 12 struct bpf_prog_array; 16 struct bpf_prog_array __rcu *run_array[MAX_NETNS_BPF_ATTACH_TYPE];
|
| /OK3568_Linux_fs/kernel/kernel/bpf/ |
| H A D | net_namespace.c | 58 struct bpf_prog_array *run_array; in netns_bpf_run_array_detach() 90 struct bpf_prog_array *prog_array) in fill_prog_array() 106 struct bpf_prog_array *old_array, *new_array; in bpf_netns_link_release() 170 struct bpf_prog_array *run_array; in bpf_netns_link_update_prog() 251 struct bpf_prog_array *run_array; in __netns_bpf_prog_query() 298 struct bpf_prog_array *run_array; in netns_bpf_prog_attach() 425 struct bpf_prog_array *run_array; in netns_bpf_link_attach()
|
| H A D | core.c | 1920 struct bpf_prog_array hdr; 1926 struct bpf_prog_array *bpf_prog_array_alloc(u32 prog_cnt, gfp_t flags) in bpf_prog_array_alloc() 1929 return kzalloc(sizeof(struct bpf_prog_array) + in bpf_prog_array_alloc() 1937 void bpf_prog_array_free(struct bpf_prog_array *progs) in bpf_prog_array_free() 1944 int bpf_prog_array_length(struct bpf_prog_array *array) in bpf_prog_array_length() 1955 bool bpf_prog_array_is_empty(struct bpf_prog_array *array) in bpf_prog_array_is_empty() 1965 static bool bpf_prog_array_copy_core(struct bpf_prog_array *array, in bpf_prog_array_copy_core() 1985 int bpf_prog_array_copy_to_user(struct bpf_prog_array *array, in bpf_prog_array_copy_to_user() 2011 void bpf_prog_array_delete_safe(struct bpf_prog_array *array, in bpf_prog_array_delete_safe() 2038 int bpf_prog_array_delete_safe_at(struct bpf_prog_array *array, int index) in bpf_prog_array_delete_safe_at() [all …]
|
| H A D | cgroup.c | 112 struct bpf_prog_array *old_array; in cgroup_bpf_release() 229 struct bpf_prog_array **array) in compute_effective_progs() 232 struct bpf_prog_array *progs; in compute_effective_progs() 273 struct bpf_prog_array *old_array) in activate_effective_progs() 293 struct bpf_prog_array *arrays[NR] = {}; in cgroup_bpf_inherit() 528 struct bpf_prog_array *progs; in replace_effective_prog() 671 struct bpf_prog_array *progs; in purge_effective_progs() 771 struct bpf_prog_array *effective; in __cgroup_bpf_query() 1342 struct bpf_prog_array *prog_array; in __cgroup_bpf_prog_array_is_empty()
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | bpf.h | 1075 struct bpf_prog_array { struct 1080 struct bpf_prog_array *bpf_prog_array_alloc(u32 prog_cnt, gfp_t flags); argument 1081 void bpf_prog_array_free(struct bpf_prog_array *progs); 1082 int bpf_prog_array_length(struct bpf_prog_array *progs); 1083 bool bpf_prog_array_is_empty(struct bpf_prog_array *array); 1084 int bpf_prog_array_copy_to_user(struct bpf_prog_array *progs, 1087 void bpf_prog_array_delete_safe(struct bpf_prog_array *progs, 1089 int bpf_prog_array_delete_safe_at(struct bpf_prog_array *array, int index); 1090 int bpf_prog_array_update_at(struct bpf_prog_array *array, int index, 1092 int bpf_prog_array_copy_info(struct bpf_prog_array *array, [all …]
|
| H A D | bpf-cgroup.h | 79 struct bpf_prog_array; 83 struct bpf_prog_array __rcu *effective[MAX_BPF_ATTACH_TYPE]; 97 struct bpf_prog_array *inactive;
|
| H A D | filter.h | 1390 struct bpf_prog_array *run_array; in bpf_sk_lookup_run_v4() 1428 struct bpf_prog_array *run_array; in bpf_sk_lookup_run_v6()
|
| H A D | trace_events.h | 305 struct bpf_prog_array __rcu *prog_array;
|
| /OK3568_Linux_fs/kernel/kernel/trace/ |
| H A D | bpf_trace.c | 1904 struct bpf_prog_array *old_array; in perf_event_attach_bpf_prog() 1905 struct bpf_prog_array *new_array; in perf_event_attach_bpf_prog() 1945 struct bpf_prog_array *old_array; in perf_event_detach_bpf_prog() 1946 struct bpf_prog_array *new_array; in perf_event_detach_bpf_prog() 1976 struct bpf_prog_array *progs; in perf_event_query_prog_array()
|
| /OK3568_Linux_fs/kernel/net/bpf/ |
| H A D | test_run.c | 810 struct bpf_prog_array *progs = NULL; in bpf_prog_test_run_sk_lookup()
|
| /OK3568_Linux_fs/kernel/net/core/ |
| H A D | flow_dissector.c | 978 struct bpf_prog_array *run_array; in __skb_flow_dissect()
|