Searched refs:elem_count (Results 1 – 2 of 2) sorted by relevance
200 int elem_count; /* number of elements in a frame */ member314 int elem_count, int frame_count,
329 s64 __percpu *elem_count; member2498 size_t size = sizeof(*map->elem_count), align = size; in bpf_map_init_elem_count()2501 map->elem_count = bpf_map_alloc_percpu(map, size, align, flags); in bpf_map_init_elem_count()2502 if (!map->elem_count) in bpf_map_init_elem_count()2511 free_percpu(map->elem_count); in bpf_map_free_elem_count()2516 this_cpu_inc(*map->elem_count); in bpf_map_inc_elem_count()2521 this_cpu_dec(*map->elem_count); in bpf_map_dec_elem_count()
Completed in 17 milliseconds