Searched refs:tp_c (Results 1 – 1 of 1) sorted by relevance
83 struct tc_u_common *tp_c; member266 static struct tc_u_hnode *u32_lookup_ht(struct tc_u_common *tp_c, u32 handle) in u32_lookup_ht() argument270 for (ht = rtnl_dereference(tp_c->hlist); in u32_lookup_ht()301 struct tc_u_common *tp_c = tp->data; in u32_get() local306 ht = u32_lookup_ht(tp_c, TC_U32_HTID(handle)); in u32_get()318 static u32 gen_new_htid(struct tc_u_common *tp_c, struct tc_u_hnode *ptr) in gen_new_htid() argument320 int id = idr_alloc_cyclic(&tp_c->handle_idr, ptr, 1, 0x7FF, GFP_KERNEL); in gen_new_htid()368 struct tc_u_common *tp_c; in u32_init() local371 tp_c = tc_u_common_find(tp); in u32_init()378 root_ht->handle = tp_c ? gen_new_htid(tp_c, root_ht) : 0x80000000; in u32_init()[all …]