Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/chelsio/cxgb4/
H A Dsmt.c44 unsigned int smt_size; in t4_init_smt() local
48 smt_size = SMT_SIZE; in t4_init_smt()
50 s = kvzalloc(struct_size(s, smtab, smt_size), GFP_KERNEL); in t4_init_smt()
53 s->smt_size = smt_size; in t4_init_smt()
55 for (i = 0; i < s->smt_size; ++i) { in t4_init_smt()
70 for (e = &s->smtab[0], end = &s->smtab[s->smt_size]; e != end; ++e) { in find_or_alloc_smte()
H A Dsmt.h67 unsigned int smt_size; member
69 struct smt_entry smtab[] __counted_by(smt_size);