Home
last modified time | relevance | path

Searched refs:gpf (Results 1 – 3 of 3) sorted by relevance

/net/sched/
Dcls_basic.c282 struct tc_basic_pcnt gpf = {}; in basic_dump() local
303 gpf.rcnt += pf->rcnt; in basic_dump()
304 gpf.rhit += pf->rhit; in basic_dump()
309 &gpf, TCA_BASIC_PAD)) in basic_dump()
Dcls_u32.c1334 struct tc_u32_pcnt *gpf; in u32_dump() local
1388 gpf = kzalloc(struct_size(gpf, kcnts, n->sel.nkeys), GFP_KERNEL); in u32_dump()
1389 if (!gpf) in u32_dump()
1396 gpf->rcnt += pf->rcnt; in u32_dump()
1397 gpf->rhit += pf->rhit; in u32_dump()
1399 gpf->kcnts[i] += pf->kcnts[i]; in u32_dump()
1402 if (nla_put_64bit(skb, TCA_U32_PCNT, struct_size(gpf, kcnts, n->sel.nkeys), in u32_dump()
1403 gpf, TCA_U32_PAD)) { in u32_dump()
1404 kfree(gpf); in u32_dump()
1407 kfree(gpf); in u32_dump()
Dcls_matchall.c349 struct tc_matchall_pcnt gpf = {}; in mall_dump() local
376 gpf.rhit += pf->rhit; in mall_dump()
381 &gpf, TCA_MATCHALL_PAD)) in mall_dump()