tp_c 254 net/sched/cls_u32.c static struct tc_u_hnode *u32_lookup_ht(struct tc_u_common *tp_c, u32 handle) tp_c 258 net/sched/cls_u32.c for (ht = rtnl_dereference(tp_c->hlist); tp_c 289 net/sched/cls_u32.c struct tc_u_common *tp_c = tp->data; tp_c 294 net/sched/cls_u32.c ht = u32_lookup_ht(tp_c, TC_U32_HTID(handle)); tp_c 306 net/sched/cls_u32.c static u32 gen_new_htid(struct tc_u_common *tp_c, struct tc_u_hnode *ptr) tp_c 308 net/sched/cls_u32.c int id = idr_alloc_cyclic(&tp_c->handle_idr, ptr, 1, 0x7FF, GFP_KERNEL); tp_c 354 net/sched/cls_u32.c struct tc_u_common *tp_c = tc_u_common_find(key); tp_c 361 net/sched/cls_u32.c root_ht->handle = tp_c ? gen_new_htid(tp_c, root_ht) : 0x80000000; tp_c 366 net/sched/cls_u32.c if (tp_c == NULL) { tp_c 367 net/sched/cls_u32.c tp_c = kzalloc(sizeof(*tp_c), GFP_KERNEL); tp_c 368 net/sched/cls_u32.c if (tp_c == NULL) { tp_c 372 net/sched/cls_u32.c tp_c->ptr = key; tp_c 373 net/sched/cls_u32.c INIT_HLIST_NODE(&tp_c->hnode); tp_c 374 net/sched/cls_u32.c idr_init(&tp_c->handle_idr); tp_c 376 net/sched/cls_u32.c hlist_add_head(&tp_c->hnode, tc_u_hash(key)); tp_c 379 net/sched/cls_u32.c tp_c->refcnt++; tp_c 380 net/sched/cls_u32.c RCU_INIT_POINTER(root_ht->next, tp_c->hlist); tp_c 381 net/sched/cls_u32.c rcu_assign_pointer(tp_c->hlist, root_ht); tp_c 385 net/sched/cls_u32.c tp->data = tp_c; tp_c 446 net/sched/cls_u32.c struct tc_u_common *tp_c = tp->data; tp_c 457 net/sched/cls_u32.c tp_c->knodes--; tp_c 571 net/sched/cls_u32.c struct tc_u_common *tp_c = tp->data; tp_c 579 net/sched/cls_u32.c tp_c->knodes--; tp_c 594 net/sched/cls_u32.c struct tc_u_common *tp_c = tp->data; tp_c 602 net/sched/cls_u32.c hn = &tp_c->hlist; tp_c 609 net/sched/cls_u32.c idr_remove(&tp_c->handle_idr, ht->handle); tp_c 622 net/sched/cls_u32.c struct tc_u_common *tp_c = tp->data; tp_c 630 net/sched/cls_u32.c if (--tp_c->refcnt == 0) { tp_c 633 net/sched/cls_u32.c hlist_del(&tp_c->hnode); tp_c 635 net/sched/cls_u32.c while ((ht = rtnl_dereference(tp_c->hlist)) != NULL) { tp_c 637 net/sched/cls_u32.c RCU_INIT_POINTER(tp_c->hlist, ht->next); tp_c 646 net/sched/cls_u32.c idr_destroy(&tp_c->handle_idr); tp_c 647 net/sched/cls_u32.c kfree(tp_c); tp_c 657 net/sched/cls_u32.c struct tc_u_common *tp_c = tp->data; tp_c 679 net/sched/cls_u32.c *last = tp_c->refcnt == 1 && tp_c->knodes == 0; tp_c 765 net/sched/cls_u32.c static void u32_replace_knode(struct tcf_proto *tp, struct tc_u_common *tp_c, tp_c 775 net/sched/cls_u32.c ht = u32_lookup_ht(tp_c, TC_U32_HTID(n->handle)); tp_c 848 net/sched/cls_u32.c struct tc_u_common *tp_c = tp->data; tp_c 919 net/sched/cls_u32.c u32_replace_knode(tp, tp_c, new); tp_c 951 net/sched/cls_u32.c err = idr_alloc_u32(&tp_c->handle_idr, ht, &handle, tp_c 967 net/sched/cls_u32.c idr_remove(&tp_c->handle_idr, handle); tp_c 972 net/sched/cls_u32.c RCU_INIT_POINTER(ht->next, tp_c->hlist); tp_c 973 net/sched/cls_u32.c rcu_assign_pointer(tp_c->hlist, ht); tp_c 1089 net/sched/cls_u32.c tp_c->knodes++; tp_c 1114 net/sched/cls_u32.c struct tc_u_common *tp_c = tp->data; tp_c 1122 net/sched/cls_u32.c for (ht = rtnl_dereference(tp_c->hlist); tp_c 1214 net/sched/cls_u32.c struct tc_u_common *tp_c = tp->data; tp_c 1220 net/sched/cls_u32.c for (ht = rtnl_dereference(tp_c->hlist);