Home
last modified time | relevance | path

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

/linux-6.1.9/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()
261 for (i = 0 ; i < ctbl->clipt_size; ++i) { in clip_tbl_show()
281 unsigned int clipt_size; in t4_init_clip_tbl() local
286 clipt_size = clipt_end - clipt_start + 1; in t4_init_clip_tbl()
287 if (clipt_size < CLIPT_MIN_HASH_BUCKETS) in t4_init_clip_tbl()
290 ctbl = kvzalloc(struct_size(ctbl, hash_list, clipt_size), GFP_KERNEL); in t4_init_clip_tbl()
295 ctbl->clipt_size = clipt_size; in t4_init_clip_tbl()
298 atomic_set(&ctbl->nfree, clipt_size); in t4_init_clip_tbl()
301 for (i = 0; i < ctbl->clipt_size; ++i) in t4_init_clip_tbl()
[all …]
Dclip_tbl.h27 unsigned int clipt_size; member