Home
last modified time | relevance | path

Searched refs:clipt_size (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.4/drivers/net/ethernet/chelsio/cxgb4/
Dclip_tbl.c23 unsigned int clipt_size_half = c->clipt_size / 2; in ipv4_clip_hash()
30 unsigned int clipt_size_half = d->clipt_size / 2; in ipv6_clip_hash()
263 for (i = 0 ; i < ctbl->clipt_size; ++i) { in clip_tbl_show()
283 unsigned int clipt_size; in t4_init_clip_tbl() local
288 clipt_size = clipt_end - clipt_start + 1; in t4_init_clip_tbl()
289 if (clipt_size < CLIPT_MIN_HASH_BUCKETS) in t4_init_clip_tbl()
292 ctbl = kvzalloc(struct_size(ctbl, hash_list, clipt_size), GFP_KERNEL); in t4_init_clip_tbl()
297 ctbl->clipt_size = clipt_size; in t4_init_clip_tbl()
300 atomic_set(&ctbl->nfree, clipt_size); in t4_init_clip_tbl()
303 for (i = 0; i < ctbl->clipt_size; ++i) in t4_init_clip_tbl()
[all …]
Dclip_tbl.h27 unsigned int clipt_size; member