/linux-6.1.9/drivers/net/ethernet/netronome/nfp/abm/ |
D | cls.c | 21 nfp_abm_u32_check_knode(struct nfp_abm *abm, struct tc_cls_u32_knode *knode, in nfp_abm_u32_check_knode() argument 27 if (knode->exts && tcf_exts_has_actions(knode->exts)) { in nfp_abm_u32_check_knode() 31 if (knode->link_handle) { in nfp_abm_u32_check_knode() 35 if (knode->sel->flags != TC_U32_TERMINAL) { in nfp_abm_u32_check_knode() 40 if (knode->sel->off || knode->sel->offshift || knode->sel->offmask || in nfp_abm_u32_check_knode() 41 knode->sel->offoff || knode->fshift) { in nfp_abm_u32_check_knode() 45 if (knode->sel->hoff || knode->sel->hmask) { in nfp_abm_u32_check_knode() 49 if (knode->val || knode->mask) { in nfp_abm_u32_check_knode() 53 if (knode->res && knode->res->class) { in nfp_abm_u32_check_knode() 57 if (knode->res && knode->res->classid >= abm->num_bands) { in nfp_abm_u32_check_knode() [all …]
|
/linux-6.1.9/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4_tc_u32.c | 55 for (i = 0; i < cls->knode.sel->nkeys; i++) { in fill_match_fields() 56 off = cls->knode.sel->keys[i].off; in fill_match_fields() 57 val = cls->knode.sel->keys[i].val; in fill_match_fields() 58 mask = cls->knode.sel->keys[i].mask; in fill_match_fields() 62 if (!cls->knode.sel->keys[i].offmask) in fill_match_fields() 66 if (cls->knode.sel->keys[i].offmask) in fill_match_fields() 99 exts = cls->knode.exts; in fill_action_fields() 177 TC_U32_NODE(cls->knode.handle)); in cxgb4_config_knode() 185 uhtid = TC_U32_USERHTID(cls->knode.handle); in cxgb4_config_knode() 186 link_uhtid = TC_U32_USERHTID(cls->knode.link_handle); in cxgb4_config_knode() [all …]
|
/linux-6.1.9/include/linux/ |
D | bootconfig.h | 248 #define xbc_node_for_each_key_value(node, knode, value) \ argument 249 for (knode = NULL, value = xbc_node_find_next_key_value(node, &knode);\ 250 knode != NULL; value = xbc_node_find_next_key_value(node, &knode)) 260 #define xbc_for_each_key_value(knode, value) \ argument 261 xbc_node_for_each_key_value(NULL, knode, value)
|
/linux-6.1.9/lib/ |
D | klist.c | 47 static struct klist *knode_klist(struct klist_node *knode) in knode_klist() argument 50 ((unsigned long)knode->n_klist & KNODE_KLIST_MASK); in knode_klist() 53 static bool knode_dead(struct klist_node *knode) in knode_dead() argument 55 return (unsigned long)knode->n_klist & KNODE_DEAD; in knode_dead() 58 static void knode_set_klist(struct klist_node *knode, struct klist *klist) in knode_set_klist() argument 60 knode->n_klist = klist; in knode_set_klist() 62 WARN_ON(knode_dead(knode)); in knode_set_klist() 65 static void knode_kill(struct klist_node *knode) in knode_kill() argument 68 WARN_ON(knode_dead(knode)); in knode_kill() 69 *(unsigned long *)&knode->n_klist |= KNODE_DEAD; in knode_kill()
|
/linux-6.1.9/kernel/trace/ |
D | trace_boot.c | 251 struct xbc_node *knode, *anode; in trace_boot_hist_add_one_handler() local 265 knode = xbc_node_find_subkey(hnode, "trace"); in trace_boot_hist_add_one_handler() 266 if (!knode) in trace_boot_hist_add_one_handler() 267 knode = xbc_node_find_subkey(hnode, "save"); in trace_boot_hist_add_one_handler() 269 if (knode) { in trace_boot_hist_add_one_handler() 270 anode = xbc_node_get_child(knode); in trace_boot_hist_add_one_handler() 274 xbc_node_get_data(knode)); in trace_boot_hist_add_one_handler() 278 append_printf(bufp, end, ".%s", xbc_node_get_data(knode)); in trace_boot_hist_add_one_handler() 348 struct xbc_node *node, *knode; in trace_boot_compose_hist_cmd() local 379 xbc_node_for_each_key_value(node, knode, p) { in trace_boot_compose_hist_cmd() [all …]
|
/linux-6.1.9/net/sched/ |
D | cls_u32.c | 107 struct tc_u_knode *knode; in u32_classify() member 196 stack[sdepth].knode = n; in u32_classify() 241 n = stack[sdepth].knode; in u32_classify() 527 cls_u32.knode.handle = n->handle; in u32_remove_hw_knode() 544 cls_u32.knode.handle = n->handle; in u32_replace_hw_knode() 545 cls_u32.knode.fshift = n->fshift; in u32_replace_hw_knode() 547 cls_u32.knode.val = n->val; in u32_replace_hw_knode() 548 cls_u32.knode.mask = n->mask; in u32_replace_hw_knode() 550 cls_u32.knode.val = 0; in u32_replace_hw_knode() 551 cls_u32.knode.mask = 0; in u32_replace_hw_knode() [all …]
|
/linux-6.1.9/drivers/base/ |
D | class.c | 312 struct klist_node *knode; in class_dev_iter_next() local 316 knode = klist_next(&iter->ki); in class_dev_iter_next() 317 if (!knode) in class_dev_iter_next() 319 dev = klist_class_to_dev(knode); in class_dev_iter_next()
|
D | bus.c | 994 struct klist_node *knode; in subsys_dev_iter_next() local 998 knode = klist_next(&iter->ki); in subsys_dev_iter_next() 999 if (!knode) in subsys_dev_iter_next() 1001 dev = to_device_private_bus(knode)->device; in subsys_dev_iter_next()
|
/linux-6.1.9/init/ |
D | main.c | 334 struct xbc_node *knode, *vnode; in xbc_snprint_cmdline() local 339 xbc_node_for_each_key_value(root, knode, val) { in xbc_snprint_cmdline() 340 ret = xbc_node_compose_key_after(root, knode, in xbc_snprint_cmdline() 345 vnode = xbc_node_get_child(knode); in xbc_snprint_cmdline()
|
/linux-6.1.9/drivers/net/ethernet/stmicro/stmmac/ |
D | stmmac_tc.c | 33 u32 loc = cls->knode.handle; in tc_find_entry() 66 exts = cls->knode.exts; in tc_fill_actions() 95 struct tc_u32_sel *sel = cls->knode.sel; in tc_fill_entry()
|
D | stmmac_selftests.c | 1123 cls_u32.knode.exts = exts; in stmmac_test_rxp() 1124 cls_u32.knode.sel = sel; in stmmac_test_rxp() 1125 cls_u32.knode.handle = 0x123; in stmmac_test_rxp()
|
/linux-6.1.9/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_main.c | 9308 u32 hdl = cls->knode.handle; in ixgbe_delete_clsu32() 9309 u32 uhtid = TC_U32_USERHTID(cls->knode.handle); in ixgbe_delete_clsu32() 9310 u32 loc = cls->knode.handle & 0xfffff; in ixgbe_delete_clsu32() 9509 for (i = 0; i < cls->knode.sel->nkeys; i++) { in ixgbe_clsu32_build_input() 9510 off = cls->knode.sel->keys[i].off; in ixgbe_clsu32_build_input() 9511 val = cls->knode.sel->keys[i].val; in ixgbe_clsu32_build_input() 9512 m = cls->knode.sel->keys[i].mask; in ixgbe_clsu32_build_input() 9525 if (nexthdr->off == cls->knode.sel->keys[i].off && in ixgbe_clsu32_build_input() 9527 (__force u32)cls->knode.sel->keys[i].val && in ixgbe_clsu32_build_input() 9529 (__force u32)cls->knode.sel->keys[i].mask) in ixgbe_clsu32_build_input() [all …]
|
/linux-6.1.9/include/net/ |
D | pkt_cls.h | 675 struct tc_cls_u32_knode knode; member
|