Lines Matching full:indices
30 * x:indices-1 indices use entry [indices-1]
32 * x:y y+1 use entry [y & (indices-1)]
34 * 0xffff 0x10000 use entry [indices-1]
50 u16 indices; member
59 return index <= p->indices && index > 0; in dsmark_valid_index()
178 for (i = 0; i < p->indices; i++) { in dsmark_walk()
300 index = skb->tc_index & (p->indices - 1); in dsmark_dequeue()
343 u16 indices; in dsmark_init() local
363 indices = nla_get_u16(tb[TCA_DSMARK_INDICES]); in dsmark_init()
365 if (hweight32(indices) != 1) in dsmark_init()
371 if (indices <= DSMARK_EMBEDDED_SZ) in dsmark_init()
374 p->mv = kmalloc_array(indices, sizeof(*p->mv), GFP_KERNEL); in dsmark_init()
379 for (i = 0; i < indices; i++) { in dsmark_init()
383 p->indices = indices; in dsmark_init()
458 if (nla_put_u16(skb, TCA_DSMARK_INDICES, p->indices)) in dsmark_dump()