Lines Matching defs:elem_size
100 u32 elem_size; /* size of each element in bytes */
202 return (struct htab_elem *) (htab->elems + i * htab->elem_size);
258 htab->elems = bpf_map_area_alloc(htab->elem_size * num_entries,
295 htab->elem_size, num_entries);
299 htab->elem_size, num_entries);
403 * sure that the elem_size doesn't overflow and it's
455 htab->elem_size = sizeof(struct htab_elem) +
458 htab->elem_size += sizeof(void *);
460 htab->elem_size += round_up(htab->map.value_size, 8);
467 (u64) htab->elem_size * htab->map.max_entries;
473 cost += (u64) htab->elem_size * num_possible_cpus();
898 l_new = kmalloc_node(htab->elem_size, GFP_ATOMIC | __GFP_NOWARN,