Lines Matching refs:tsize
481 unsigned int tsize = 0;
496 if (s->tsize > 0) {
502 tsize = nla_len(tb[TCA_STAB_DATA]) / sizeof(u16);
505 if (tsize != s->tsize || (!tab && tsize > 0)) {
513 if (tsize > 0 &&
514 memcmp(stab->data, tab, flex_array_size(stab, data, tsize)))
526 stab = kmalloc(struct_size(stab, data, tsize), GFP_KERNEL);
532 if (tsize > 0)
533 memcpy(stab->data, tab, flex_array_size(stab, data, tsize));
575 if (unlikely(!stab->szopts.tsize))
583 if (likely(slot < stab->szopts.tsize))
586 pkt_len = stab->data[stab->szopts.tsize - 1] *
587 (slot / stab->szopts.tsize) +
588 stab->data[slot % stab->szopts.tsize];