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

/net/bridge/netfilter/
H A Debtables.c1640 compat_uint_t tsize = t->target_size - off; local
1645 strlen(target->name) + 1) || put_user(tsize, &cm->match_size))
1651 } else if (copy_to_user(cm->data, t->data, tsize))
1656 *dstptr += tsize;
/net/netfilter/
H A Dx_tables.c610 u_int16_t tsize = ct->u.user.target_size; local
617 memcpy(t->data, ct->data, tsize - sizeof(*ct));
622 tsize += off;
623 t->u.user.target_size = tsize;
626 *dstptr += tsize;
636 u_int16_t tsize = t->u.user.target_size - off; local
639 put_user(tsize, &ct->u.user.target_size) ||
648 if (copy_to_user(ct->data, t->data, tsize - sizeof(*ct)))
653 *dstptr += tsize;
/net/sched/
H A Dsch_api.c448 unsigned int tsize = 0; local
460 if (s->tsize > 0) {
464 tsize = nla_len(tb[TCA_STAB_DATA]) / sizeof(u16);
467 if (tsize != s->tsize || (!tab && tsize > 0))
475 if (tsize > 0 && memcmp(stab->data, tab, tsize * sizeof(u16)))
484 stab = kmalloc(sizeof(*stab) + tsize * sizeof(u16), GFP_KERNEL);
490 if (tsize >
[all...]

Completed in 89 milliseconds