/linux-6.3-rc2/drivers/net/ethernet/netronome/nfp/abm/ |
A D | cls.c | 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() 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() 62 if (knode->sel->nkeys != 1) { in nfp_abm_u32_check_knode() 79 k = &knode->sel->keys[0]; in nfp_abm_u32_check_knode() [all …]
|
/linux-6.3-rc2/drivers/net/ethernet/chelsio/cxgb4/ |
A D | cxgb4_tc_u32.c | 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() 203 fs.tc_cookie = cls->knode.handle; in cxgb4_config_knode() 256 off = cls->knode.sel->keys[j].off; in cxgb4_config_knode() 257 val = cls->knode.sel->keys[j].val; in cxgb4_config_knode() [all …]
|
/linux-6.3-rc2/include/linux/ |
A 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.3-rc2/lib/ |
A 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.3-rc2/kernel/trace/ |
A 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.3-rc2/net/sched/ |
A D | cls_u32.c | 109 struct tc_u_knode *knode; in u32_classify() member 198 stack[sdepth].knode = n; in u32_classify() 243 n = stack[sdepth].knode; in u32_classify() 549 cls_u32.knode.val = n->val; in u32_replace_hw_knode() 550 cls_u32.knode.mask = n->mask; in u32_replace_hw_knode() 552 cls_u32.knode.val = 0; in u32_replace_hw_knode() 553 cls_u32.knode.mask = 0; in u32_replace_hw_knode() 555 cls_u32.knode.sel = &n->sel; in u32_replace_hw_knode() 556 cls_u32.knode.res = &n->res; in u32_replace_hw_knode() 1188 cls_u32.knode.val = 0; in u32_reoffload_knode() [all …]
|
/linux-6.3-rc2/drivers/base/ |
A D | class.c | 322 struct klist_node *knode; in class_dev_iter_next() local 326 knode = klist_next(&iter->ki); in class_dev_iter_next() 327 if (!knode) in class_dev_iter_next() 329 dev = klist_class_to_dev(knode); in class_dev_iter_next()
|
A D | bus.c | 1102 struct klist_node *knode; in subsys_dev_iter_next() local 1106 knode = klist_next(&iter->ki); in subsys_dev_iter_next() 1107 if (!knode) in subsys_dev_iter_next() 1109 dev = to_device_private_bus(knode)->device; in subsys_dev_iter_next()
|
/linux-6.3-rc2/init/ |
A D | main.c | 335 struct xbc_node *knode, *vnode; in xbc_snprint_cmdline() local 340 xbc_node_for_each_key_value(root, knode, val) { in xbc_snprint_cmdline() 341 ret = xbc_node_compose_key_after(root, knode, in xbc_snprint_cmdline() 346 vnode = xbc_node_get_child(knode); in xbc_snprint_cmdline()
|
/linux-6.3-rc2/drivers/net/ethernet/stmicro/stmmac/ |
A 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()
|
A 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.3-rc2/drivers/net/ethernet/intel/ixgbe/ |
A D | ixgbe_main.c | 9316 u32 hdl = cls->knode.handle; in ixgbe_delete_clsu32() 9317 u32 uhtid = TC_U32_USERHTID(cls->knode.handle); in ixgbe_delete_clsu32() 9318 u32 loc = cls->knode.handle & 0xfffff; in ixgbe_delete_clsu32() 9517 for (i = 0; i < cls->knode.sel->nkeys; i++) { in ixgbe_clsu32_build_input() 9518 off = cls->knode.sel->keys[i].off; in ixgbe_clsu32_build_input() 9519 val = cls->knode.sel->keys[i].val; in ixgbe_clsu32_build_input() 9520 m = cls->knode.sel->keys[i].mask; in ixgbe_clsu32_build_input() 9563 u32 loc = cls->knode.handle & 0xfffff; in ixgbe_configure_clsu32() 9573 uhtid = TC_U32_USERHTID(cls->knode.handle); in ixgbe_configure_clsu32() 9642 (__force u32)cls->knode.sel->offmask) in ixgbe_configure_clsu32() [all …]
|
/linux-6.3-rc2/include/net/ |
A D | pkt_cls.h | 688 struct tc_cls_u32_knode knode; member
|