Searched defs:tsize (Results 1 - 3 of 3) sorted by relevance

/net/bridge/netfilter/
H A Debtables.c1632 compat_uint_t tsize = t->target_size - off; local
1637 strlen(target->name) + 1) || put_user(tsize, &cm->match_size))
1643 } else if (copy_to_user(cm->data, t->data, tsize))
1648 *dstptr += tsize;
/net/netfilter/
H A Dx_tables.c627 u_int16_t tsize = ct->u.user.target_size; local
634 memcpy(t->data, ct->data, tsize - sizeof(*ct));
639 tsize += off;
640 t->u.user.target_size = tsize;
643 *dstptr += tsize;
653 u_int16_t tsize = t->u.user.target_size - off; local
656 put_user(tsize, &ct->u.user.target_size) ||
665 if (copy_to_user(ct->data, t->data, tsize - sizeof(*ct)))
670 *dstptr += tsize;
/net/sched/
H A Dsch_api.c350 unsigned int tsize = 0; local
362 if (s->tsize > 0) {
366 tsize = nla_len(tb[TCA_STAB_DATA]) / sizeof(u16);
369 if (tsize != s->tsize || (!tab && tsize > 0))
377 if (tsize > 0 && memcmp(stab->data, tab, tsize * sizeof(u16)))
386 stab = kmalloc(sizeof(*stab) + tsize * sizeof(u16), GFP_KERNEL);
392 if (tsize >
[all...]

Completed in 131 milliseconds