H A D | arraymap.c | 22 static void bpf_array_free_percpu(struct bpf_array *array) in bpf_array_free_percpu() argument 26 for (i = 0; i < array->map.max_entries; i++) { in bpf_array_free_percpu() 27 free_percpu(array->pptrs[i]); in bpf_array_free_percpu() 32 static int bpf_array_alloc_percpu(struct bpf_array *array) in bpf_array_alloc_percpu() argument 37 for (i = 0; i < array->map.max_entries; i++) { in bpf_array_alloc_percpu() 38 ptr = bpf_map_alloc_percpu(&array->map, array->elem_size, 8, in bpf_array_alloc_percpu() 41 bpf_array_free_percpu(array); in bpf_array_alloc_percpu() 44 array->pptrs[i] = ptr; in bpf_array_alloc_percpu() 90 struct bpf_array *array; in array_map_alloc() 87 struct bpf_array *array; array_map_alloc() local 157 array_map_elem_ptr(struct bpf_array * array,u32 index) array_map_elem_ptr() argument 165 struct bpf_array *array = container_of(map, struct bpf_array, map); array_map_lookup_elem() local 177 struct bpf_array *array = container_of(map, struct bpf_array, map); array_map_direct_value_addr() local 191 struct bpf_array *array = container_of(map, struct bpf_array, map); array_map_direct_value_meta() local 207 struct bpf_array *array = container_of(map, struct bpf_array, map); array_map_gen_lookup() local 240 struct bpf_array *array = container_of(map, struct bpf_array, map); percpu_array_map_lookup_elem() local 252 struct bpf_array *array = container_of(map, struct bpf_array, map); percpu_array_map_gen_lookup() local 283 struct bpf_array *array = container_of(map, struct bpf_array, map); percpu_array_map_lookup_percpu_elem() local 297 struct bpf_array *array = container_of(map, struct bpf_array, map); bpf_percpu_array_copy() local 325 struct bpf_array *array = container_of(map, struct bpf_array, map); array_map_get_next_key() local 345 struct bpf_array *array = container_of(map, struct bpf_array, map); array_map_update_elem() local 384 struct bpf_array *array = container_of(map, struct bpf_array, map); bpf_percpu_array_update() local 426 array_map_vmalloc_addr(struct bpf_array * array) array_map_vmalloc_addr() argument 433 struct bpf_array *array = container_of(map, struct bpf_array, map); array_map_free_timers_wq() local 452 struct bpf_array *array = container_of(map, struct bpf_array, map); array_map_free() local 505 struct bpf_array *array = container_of(map, struct bpf_array, map); percpu_array_map_seq_show_elem() local 559 struct bpf_array *array = container_of(map, struct bpf_array, map); array_map_mmap() local 592 struct bpf_array *array; bpf_array_map_seq_start() local 611 struct bpf_array *array; bpf_array_map_seq_next() local 631 struct bpf_array *array = container_of(map, struct bpf_array, map); __bpf_array_map_seq_show() local 682 struct bpf_array *array = container_of(map, struct bpf_array, map); bpf_iter_init_array_map() local 730 struct bpf_array *array; bpf_for_each_array_elem() local 763 struct bpf_array *array = container_of(map, struct bpf_array, map); array_map_mem_usage() local 844 struct bpf_array *array = container_of(map, struct bpf_array, map); fd_array_map_free() local 883 struct bpf_array *array = container_of(map, struct bpf_array, map); bpf_fd_array_map_update_elem() local 914 struct bpf_array *array = container_of(map, struct bpf_array, map); __fd_array_map_delete_elem() local 973 struct bpf_array *array = container_of(map, struct bpf_array, map); bpf_fd_array_map_clear() local 1257 struct bpf_array *array = container_of(map, struct bpf_array, map); perf_event_fd_array_release() local 1374 struct bpf_array *array = container_of(map, struct bpf_array, map); array_of_map_gen_lookup() local [all...] |