Home
last modified time | relevance | path

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

/linux/arch/arm/mach-qcom/
H A Dplatsmp.c217 struct device_node *cpu_node, *l2_node, *acc_node, *saw_node; in kpssv2_release_secondary() local
232 l2_node = of_parse_phandle(cpu_node, "next-level-cache", 0); in kpssv2_release_secondary()
233 if (!l2_node) { in kpssv2_release_secondary()
238 saw_node = of_parse_phandle(l2_node, "qcom,saw", 0); in kpssv2_release_secondary()
305 of_node_put(l2_node); in kpssv2_release_secondary()
/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_tc.c952 struct bnxt_tc_l2_node *l2_node = flow_node->l2_node; in bnxt_tc_put_l2_node() local
958 if (--l2_node->refcount == 0) { in bnxt_tc_put_l2_node()
959 rc = rhashtable_remove_fast(&tc_info->l2_table, &l2_node->node, in bnxt_tc_put_l2_node()
965 kfree_rcu(l2_node, rcu); in bnxt_tc_put_l2_node()
975 struct bnxt_tc_l2_node *l2_node; in bnxt_tc_get_l2_node() local
978 l2_node = rhashtable_lookup_fast(l2_table, l2_key, ht_params); in bnxt_tc_get_l2_node()
979 if (!l2_node) { in bnxt_tc_get_l2_node()
980 l2_node = kzalloc(sizeof(*l2_node), GFP_KERNEL); in bnxt_tc_get_l2_node()
981 if (!l2_node) { in bnxt_tc_get_l2_node()
986 l2_node->key = *l2_key; in bnxt_tc_get_l2_node()
[all …]
H A Dbnxt_tc.h201 struct bnxt_tc_l2_node *l2_node; member
/linux/drivers/net/ethernet/mediatek/
H A Dmtk_ppe.c23 .head_offset = offsetof(struct mtk_flow_entry, l2_node),
507 rhashtable_remove_fast(&ppe->l2_flows, &entry->l2_node, in __mtk_foe_entry_clear()
667 prev = rhashtable_lookup_get_insert_fast(&ppe->l2_flows, &entry->l2_node, in mtk_foe_entry_commit_l2()
675 return rhashtable_replace_fast(&ppe->l2_flows, &prev->l2_node, in mtk_foe_entry_commit_l2()
676 &entry->l2_node, mtk_flow_l2_ht_params); in mtk_foe_entry_commit_l2()
H A Dmtk_ppe.h291 struct rhash_head l2_node; member