Lines Matching refs:handle
95 res->classid = TC_H_MAKE(TC_H_MAJ(tp->q->handle), key); in tcindex_classify()
107 static unsigned long tcindex_get(struct tcf_proto *tp, u32 handle) in tcindex_get() argument
112 pr_debug("tcindex_get(tp %p,handle 0x%08x)\n", tp, handle); in tcindex_get()
113 if (p->perfect && handle >= p->alloc_hash) in tcindex_get()
115 r = tcindex_lookup(p, handle); in tcindex_get()
199 tcindex_set_parms(struct tcf_proto *tp, unsigned long base, u32 handle, in tcindex_set_parms() argument
265 if (handle >= cp.alloc_hash) in tcindex_set_parms()
285 r = cp.perfect + handle; in tcindex_set_parms()
287 r = tcindex_lookup(&cp, handle) ? : &new_filter_result; in tcindex_set_parms()
312 f->key = handle; in tcindex_set_parms()
315 for (fp = p->h+(handle % p->hash); *fp; fp = &(*fp)->next) in tcindex_set_parms()
334 tcindex_change(struct tcf_proto *tp, unsigned long base, u32 handle, in tcindex_change() argument
345 tp, handle, tca, arg, opt, p, r, arg ? *arg : 0L); in tcindex_change()
354 return tcindex_set_parms(tp, base, handle, p, r, tb, tca[TCA_RATE]); in tcindex_change()