Lines Matching refs:num_entries
225 u32 num_entries = htab->map.max_entries; in htab_free_prealloced_timers() local
231 num_entries += num_possible_cpus(); in htab_free_prealloced_timers()
233 for (i = 0; i < num_entries; i++) { in htab_free_prealloced_timers()
246 u32 num_entries = htab->map.max_entries; in htab_free_prealloced_kptrs() local
252 num_entries += num_possible_cpus(); in htab_free_prealloced_kptrs()
254 for (i = 0; i < num_entries; i++) { in htab_free_prealloced_kptrs()
310 u32 num_entries = htab->map.max_entries; in prealloc_init() local
314 num_entries += num_possible_cpus(); in prealloc_init()
316 htab->elems = bpf_map_area_alloc((u64)htab->elem_size * num_entries, in prealloc_init()
324 for (i = 0; i < num_entries; i++) { in prealloc_init()
354 htab->elem_size, num_entries); in prealloc_init()
358 htab->elem_size, num_entries); in prealloc_init()