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()
224 u32 handle, struct tcindex_data *p, in tcindex_set_parms() argument
320 if (handle >= cp->alloc_hash) in tcindex_set_parms()
353 r = cp->perfect + handle; in tcindex_set_parms()
355 r = tcindex_lookup(cp, handle) ? : &new_filter_result; in tcindex_set_parms()
361 f->key = handle; in tcindex_set_parms()
389 fp = cp->h + (handle % cp->hash); in tcindex_set_parms()
415 struct tcf_proto *tp, unsigned long base, u32 handle, in tcindex_change() argument
426 tp, handle, tca, arg, opt, p, r, arg ? *arg : 0L); in tcindex_change()
435 return tcindex_set_parms(net, tp, base, handle, p, r, tb, in tcindex_change()