Lines Matching refs:shift
45 u32 shift; /* shift ANDed key to the right */
86 int key = (skb->tc_index & p->mask) >> p->shift;
197 return p->hash > (p->mask >> p->shift);
250 cp->shift = p->shift;
282 cp->shift = nla_get_u32(tb[TCA_TCINDEX_SHIFT]);
305 if ((cp->mask >> cp->shift) < PERFECT_HASH_THRESHOLD)
306 cp->hash = (cp->mask >> cp->shift) + 1;
314 /* Note: this could be as restrictive as if (handle & ~(mask >> shift))
514 nla_put_u32(skb, TCA_TCINDEX_SHIFT, p->shift) ||