Home
last modified time | relevance | path

Searched refs:ee (Results 1 – 2 of 2) sorted by relevance

/kernel/bpf/
Darraymap.c645 struct bpf_event_entry *ee; in bpf_event_entry_gen() local
647 ee = kzalloc(sizeof(*ee), GFP_ATOMIC); in bpf_event_entry_gen()
648 if (ee) { in bpf_event_entry_gen()
649 ee->event = perf_file->private_data; in bpf_event_entry_gen()
650 ee->perf_file = perf_file; in bpf_event_entry_gen()
651 ee->map_file = map_file; in bpf_event_entry_gen()
654 return ee; in bpf_event_entry_gen()
659 struct bpf_event_entry *ee; in __bpf_event_entry_free() local
661 ee = container_of(rcu, struct bpf_event_entry, rcu); in __bpf_event_entry_free()
662 fput(ee->perf_file); in __bpf_event_entry_free()
[all …]
/kernel/trace/
Dbpf_trace.c353 struct bpf_event_entry *ee; in get_map_perf_counter() local
362 ee = READ_ONCE(array->ptrs[index]); in get_map_perf_counter()
363 if (!ee) in get_map_perf_counter()
366 return perf_event_read_local(ee->event, value, enabled, running); in get_map_perf_counter()
426 struct bpf_event_entry *ee; in __bpf_perf_event_output() local
434 ee = READ_ONCE(array->ptrs[index]); in __bpf_perf_event_output()
435 if (!ee) in __bpf_perf_event_output()
438 event = ee->event; in __bpf_perf_event_output()