Lines Matching defs:handle
44 static u32 fw_hash(u32 handle)
46 handle ^= (handle >> 16);
47 handle ^= (handle >> 8);
48 return handle % HTSIZE;
81 !(TC_H_MAJ(id ^ q->handle)))) {
91 static void *fw_get(struct tcf_proto *tp, u32 handle)
99 f = rtnl_dereference(head->ht[fw_hash(handle)]);
101 if (f->id == handle)
241 u32 handle, struct nlattr **tca, void **arg,
251 return handle ? -EINVAL : 0; /* Succeed if it is old method. */
262 if (f->id != handle && handle)
303 if (!handle)
326 f->id = handle;
333 RCU_INIT_POINTER(f->next, head->ht[fw_hash(handle)]);
334 rcu_assign_pointer(head->ht[fw_hash(handle)], f);