Lines Matching full:ee
1199 struct bpf_event_entry *ee; in bpf_event_entry_gen() local
1201 ee = kzalloc(sizeof(*ee), GFP_KERNEL); in bpf_event_entry_gen()
1202 if (ee) { in bpf_event_entry_gen()
1203 ee->event = perf_file->private_data; in bpf_event_entry_gen()
1204 ee->perf_file = perf_file; in bpf_event_entry_gen()
1205 ee->map_file = map_file; in bpf_event_entry_gen()
1208 return ee; in bpf_event_entry_gen()
1213 struct bpf_event_entry *ee; in __bpf_event_entry_free() local
1215 ee = container_of(rcu, struct bpf_event_entry, rcu); in __bpf_event_entry_free()
1216 fput(ee->perf_file); in __bpf_event_entry_free()
1217 kfree(ee); in __bpf_event_entry_free()
1220 static void bpf_event_entry_free_rcu(struct bpf_event_entry *ee) in bpf_event_entry_free_rcu() argument
1222 call_rcu(&ee->rcu, __bpf_event_entry_free); in bpf_event_entry_free_rcu()
1228 struct bpf_event_entry *ee; in perf_event_fd_array_get_ptr() local
1237 ee = ERR_PTR(-EOPNOTSUPP); in perf_event_fd_array_get_ptr()
1242 ee = bpf_event_entry_gen(perf_file, map_file); in perf_event_fd_array_get_ptr()
1243 if (ee) in perf_event_fd_array_get_ptr()
1244 return ee; in perf_event_fd_array_get_ptr()
1245 ee = ERR_PTR(-ENOMEM); in perf_event_fd_array_get_ptr()
1248 return ee; in perf_event_fd_array_get_ptr()
1261 struct bpf_event_entry *ee; in perf_event_fd_array_release() local
1269 ee = READ_ONCE(array->ptrs[i]); in perf_event_fd_array_release()
1270 if (ee && ee->map_file == map_file) in perf_event_fd_array_release()