Searched refs:elems (Results 1 – 2 of 2) sorted by relevance
28 void *elems; member51 smap->elems = bpf_map_area_alloc(elem_size * smap->map.max_entries, in prealloc_elems_and_freelist()53 if (!smap->elems) in prealloc_elems_and_freelist()60 pcpu_freelist_populate(&smap->freelist, smap->elems, elem_size, in prealloc_elems_and_freelist()65 bpf_map_area_free(smap->elems); in prealloc_elems_and_freelist()660 bpf_map_area_free(smap->elems); in stack_map_free()
91 void *elems; member215 return (struct htab_elem *) (htab->elems + i * (u64)htab->elem_size); in get_htab_elem()279 bpf_map_area_free(htab->elems); in htab_free_elems()316 htab->elems = bpf_map_area_alloc((u64)htab->elem_size * num_entries, in prealloc_init()318 if (!htab->elems) in prealloc_init()352 bpf_lru_populate(&htab->lru, htab->elems, in prealloc_init()357 htab->elems + offsetof(struct htab_elem, fnode), in prealloc_init()