Home
last modified time | relevance | path

Searched refs:tp_c (Results 1 – 1 of 1) sorted by relevance

/Linux-v6.6/net/sched/
Dcls_u32.c256 static struct tc_u_hnode *u32_lookup_ht(struct tc_u_common *tp_c, u32 handle) in u32_lookup_ht() argument
260 for (ht = rtnl_dereference(tp_c->hlist); in u32_lookup_ht()
291 struct tc_u_common *tp_c = tp->data; in u32_get() local
296 ht = u32_lookup_ht(tp_c, TC_U32_HTID(handle)); in u32_get()
308 static u32 gen_new_htid(struct tc_u_common *tp_c, struct tc_u_hnode *ptr) in gen_new_htid() argument
310 int id = idr_alloc_cyclic(&tp_c->handle_idr, ptr, 1, 0x7FF, GFP_KERNEL); in gen_new_htid()
356 struct tc_u_common *tp_c = tc_u_common_find(key); in u32_init() local
363 root_ht->handle = tp_c ? gen_new_htid(tp_c, root_ht) : 0x80000000; in u32_init()
368 if (tp_c == NULL) { in u32_init()
369 tp_c = kzalloc(sizeof(*tp_c), GFP_KERNEL); in u32_init()
[all …]