Lines Matching refs:struct_size
356 root_ht = kzalloc(struct_size(root_ht, ht, 1), GFP_KERNEL); in u32_init()
367 tp_c = kzalloc(struct_size(tp_c, hlist->ht, 1), GFP_KERNEL); in u32_init()
799 new = kzalloc(struct_size(new, sel.keys, s->nkeys), GFP_KERNEL); in u32_init_knode()
831 memcpy(&new->sel, s, struct_size(s, keys, s->nkeys)); in u32_init_knode()
936 ht = kzalloc(struct_size(ht, ht, divisor + 1), GFP_KERNEL); in u32_change()
1016 sel_size = struct_size(s, keys, s->nkeys); in u32_change()
1022 n = kzalloc(struct_size(n, sel.keys, s->nkeys), GFP_KERNEL); in u32_change()
1029 n->pf = __alloc_percpu(struct_size(n->pf, kcnts, s->nkeys), in u32_change()
1289 if (nla_put(skb, TCA_U32_SEL, struct_size(&n->sel, keys, n->sel.nkeys), in u32_dump()
1339 gpf = kzalloc(struct_size(gpf, kcnts, n->sel.nkeys), GFP_KERNEL); in u32_dump()
1353 if (nla_put_64bit(skb, TCA_U32_PCNT, struct_size(gpf, kcnts, n->sel.nkeys), in u32_dump()