Searched refs:entry_size (Results 1 – 2 of 2) sorted by relevance
255 unsigned long entry_size; in pipapo_estimate_size() local259 for (i = 0, entry_size = 0; i < desc->field_count; i++) { in pipapo_estimate_size()270 entry_size += rules * in pipapo_estimate_size()273 entry_size += rules * sizeof(union nft_pipapo_map_bucket); in pipapo_estimate_size()277 size = desc->size * entry_size; in pipapo_estimate_size()278 if (size && div_u64(size, desc->size) != entry_size) in pipapo_estimate_size()
438 n = kzalloc(tbl->entry_size + dev->neigh_priv_len, GFP_ATOMIC); in neigh_alloc()1718 if (!tbl->entry_size) in neigh_table_init()1719 tbl->entry_size = ALIGN(offsetof(struct neighbour, primary_key) + in neigh_table_init()1722 WARN_ON(tbl->entry_size % NEIGH_PRIV_ALIGN); in neigh_table_init()2072 .ndtc_entry_size = tbl->entry_size, in neightbl_fill_info()