knode 1012 drivers/base/bus.c struct klist_node *knode; knode 1016 drivers/base/bus.c knode = klist_next(&iter->ki); knode 1017 drivers/base/bus.c if (!knode) knode 1019 drivers/base/bus.c dev = to_device_private_bus(knode)->device; knode 306 drivers/base/class.c struct klist_node *knode; knode 310 drivers/base/class.c knode = klist_next(&iter->ki); knode 311 drivers/base/class.c if (!knode) knode 313 drivers/base/class.c dev = klist_class_to_dev(knode); knode 54 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_u32.c for (i = 0; i < cls->knode.sel->nkeys; i++) { knode 55 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_u32.c off = cls->knode.sel->keys[i].off; knode 56 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_u32.c val = cls->knode.sel->keys[i].val; knode 57 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_u32.c mask = cls->knode.sel->keys[i].mask; knode 61 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_u32.c if (!cls->knode.sel->keys[i].offmask) knode 65 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_u32.c if (cls->knode.sel->keys[i].offmask) knode 98 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_u32.c exts = cls->knode.exts; knode 168 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_u32.c filter_id = cls->knode.handle & 0xFFFFF; knode 178 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_u32.c uhtid = TC_U32_USERHTID(cls->knode.handle); knode 179 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_u32.c link_uhtid = TC_U32_USERHTID(cls->knode.link_handle); knode 233 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_u32.c if (next[i].offoff != cls->knode.sel->offoff || knode 234 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_u32.c next[i].shift != cls->knode.sel->offshift || knode 235 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_u32.c next[i].mask != cls->knode.sel->offmask || knode 236 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_u32.c next[i].offset != cls->knode.sel->off) knode 243 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_u32.c for (j = 0; j < cls->knode.sel->nkeys; j++) { knode 244 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_u32.c off = cls->knode.sel->keys[j].off; knode 245 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_u32.c val = cls->knode.sel->keys[j].val; knode 246 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_u32.c mask = cls->knode.sel->keys[j].mask; knode 271 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_u32.c link->link_handle = cls->knode.handle; knode 353 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_u32.c filter_id = cls->knode.handle & 0xFFFFF; knode 363 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_u32.c handle = cls->knode.handle; knode 364 drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_u32.c uhtid = TC_U32_USERHTID(cls->knode.handle); knode 9167 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c u32 hdl = cls->knode.handle; knode 9168 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c u32 uhtid = TC_U32_USERHTID(cls->knode.handle); knode 9169 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c u32 loc = cls->knode.handle & 0xfffff; knode 9362 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c for (i = 0; i < cls->knode.sel->nkeys; i++) { knode 9363 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c off = cls->knode.sel->keys[i].off; knode 9364 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c val = cls->knode.sel->keys[i].val; knode 9365 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c m = cls->knode.sel->keys[i].mask; knode 9378 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c if (nexthdr->off == cls->knode.sel->keys[i].off && knode 9380 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c (__force u32)cls->knode.sel->keys[i].val && knode 9382 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c (__force u32)cls->knode.sel->keys[i].mask) knode 9408 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c u32 loc = cls->knode.handle & 0xfffff; knode 9418 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c uhtid = TC_U32_USERHTID(cls->knode.handle); knode 9419 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c link_uhtid = TC_U32_USERHTID(cls->knode.link_handle); knode 9484 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c if (nexthdr[i].o != cls->knode.sel->offoff || knode 9485 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c nexthdr[i].s != cls->knode.sel->offshift || knode 9487 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c (__force u32)cls->knode.sel->offmask) knode 9505 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c jump->link_hdl = cls->knode.handle; knode 9557 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c err = parse_tc_actions(adapter, cls->knode.exts, &input->action, knode 21 drivers/net/ethernet/netronome/nfp/abm/cls.c nfp_abm_u32_check_knode(struct nfp_abm *abm, struct tc_cls_u32_knode *knode, knode 27 drivers/net/ethernet/netronome/nfp/abm/cls.c if (knode->exts && tcf_exts_has_actions(knode->exts)) { knode 31 drivers/net/ethernet/netronome/nfp/abm/cls.c if (knode->link_handle) { knode 35 drivers/net/ethernet/netronome/nfp/abm/cls.c if (knode->sel->flags != TC_U32_TERMINAL) { knode 40 drivers/net/ethernet/netronome/nfp/abm/cls.c if (knode->sel->off || knode->sel->offshift || knode->sel->offmask || knode 41 drivers/net/ethernet/netronome/nfp/abm/cls.c knode->sel->offoff || knode->fshift) { knode 45 drivers/net/ethernet/netronome/nfp/abm/cls.c if (knode->sel->hoff || knode->sel->hmask) { knode 49 drivers/net/ethernet/netronome/nfp/abm/cls.c if (knode->val || knode->mask) { knode 53 drivers/net/ethernet/netronome/nfp/abm/cls.c if (knode->res && knode->res->class) { knode 57 drivers/net/ethernet/netronome/nfp/abm/cls.c if (knode->res && knode->res->classid >= abm->num_bands) { knode 62 drivers/net/ethernet/netronome/nfp/abm/cls.c if (knode->sel->nkeys != 1) { knode 79 drivers/net/ethernet/netronome/nfp/abm/cls.c k = &knode->sel->keys[0]; knode 156 drivers/net/ethernet/netronome/nfp/abm/cls.c struct tc_cls_u32_knode *knode) knode 161 drivers/net/ethernet/netronome/nfp/abm/cls.c if (iter->handle == knode->handle) { knode 171 drivers/net/ethernet/netronome/nfp/abm/cls.c struct tc_cls_u32_knode *knode, knode 179 drivers/net/ethernet/netronome/nfp/abm/cls.c if (!nfp_abm_u32_check_knode(alink->abm, knode, proto, extack)) knode 185 drivers/net/ethernet/netronome/nfp/abm/cls.c val = be32_to_cpu(knode->sel->keys[0].val) >> tos_off & 0xff; knode 186 drivers/net/ethernet/netronome/nfp/abm/cls.c mask = be32_to_cpu(knode->sel->keys[0].mask) >> tos_off & 0xff; knode 192 drivers/net/ethernet/netronome/nfp/abm/cls.c if (iter->handle == knode->handle) { knode 199 drivers/net/ethernet/netronome/nfp/abm/cls.c iter->band != knode->res->classid) { knode 211 drivers/net/ethernet/netronome/nfp/abm/cls.c match->handle = knode->handle; knode 212 drivers/net/ethernet/netronome/nfp/abm/cls.c match->band = knode->res->classid; knode 223 drivers/net/ethernet/netronome/nfp/abm/cls.c nfp_abm_u32_knode_delete(alink, knode); knode 254 drivers/net/ethernet/netronome/nfp/abm/cls.c return nfp_abm_u32_knode_replace(alink, &cls_u32->knode, knode 258 drivers/net/ethernet/netronome/nfp/abm/cls.c nfp_abm_u32_knode_delete(alink, &cls_u32->knode); knode 1082 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c cls_u32.knode.exts = exts; knode 1083 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c cls_u32.knode.sel = sel; knode 1084 drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c cls_u32.knode.handle = 0x123; knode 33 drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c u32 loc = cls->knode.handle; knode 66 drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c exts = cls->knode.exts; knode 95 drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c struct tc_u32_sel *sel = cls->knode.sel; knode 565 include/net/pkt_cls.h struct tc_cls_u32_knode knode; knode 47 lib/klist.c static struct klist *knode_klist(struct klist_node *knode) knode 50 lib/klist.c ((unsigned long)knode->n_klist & KNODE_KLIST_MASK); knode 53 lib/klist.c static bool knode_dead(struct klist_node *knode) knode 55 lib/klist.c return (unsigned long)knode->n_klist & KNODE_DEAD; knode 58 lib/klist.c static void knode_set_klist(struct klist_node *knode, struct klist *klist) knode 60 lib/klist.c knode->n_klist = klist; knode 62 lib/klist.c WARN_ON(knode_dead(knode)); knode 65 lib/klist.c static void knode_kill(struct klist_node *knode) knode 68 lib/klist.c WARN_ON(knode_dead(knode)); knode 69 lib/klist.c *(unsigned long *)&knode->n_klist |= KNODE_DEAD; knode 107 net/sched/cls_u32.c struct tc_u_knode *knode; knode 196 net/sched/cls_u32.c stack[sdepth].knode = n; knode 241 net/sched/cls_u32.c n = stack[sdepth].knode; knode 523 net/sched/cls_u32.c cls_u32.knode.handle = n->handle; knode 540 net/sched/cls_u32.c cls_u32.knode.handle = n->handle; knode 541 net/sched/cls_u32.c cls_u32.knode.fshift = n->fshift; knode 543 net/sched/cls_u32.c cls_u32.knode.val = n->val; knode 544 net/sched/cls_u32.c cls_u32.knode.mask = n->mask; knode 546 net/sched/cls_u32.c cls_u32.knode.val = 0; knode 547 net/sched/cls_u32.c cls_u32.knode.mask = 0; knode 549 net/sched/cls_u32.c cls_u32.knode.sel = &n->sel; knode 550 net/sched/cls_u32.c cls_u32.knode.res = &n->res; knode 551 net/sched/cls_u32.c cls_u32.knode.exts = &n->exts; knode 553 net/sched/cls_u32.c cls_u32.knode.link_handle = ht->handle; knode 1184 net/sched/cls_u32.c cls_u32.knode.handle = n->handle; knode 1187 net/sched/cls_u32.c cls_u32.knode.fshift = n->fshift; knode 1189 net/sched/cls_u32.c cls_u32.knode.val = n->val; knode 1190 net/sched/cls_u32.c cls_u32.knode.mask = n->mask; knode 1192 net/sched/cls_u32.c cls_u32.knode.val = 0; knode 1193 net/sched/cls_u32.c cls_u32.knode.mask = 0; knode 1195 net/sched/cls_u32.c cls_u32.knode.sel = &n->sel; knode 1196 net/sched/cls_u32.c cls_u32.knode.res = &n->res; knode 1197 net/sched/cls_u32.c cls_u32.knode.exts = &n->exts; knode 1199 net/sched/cls_u32.c cls_u32.knode.link_handle = ht->handle;