Home
last modified time | relevance | path

Searched refs:tree_index (Results 1 – 8 of 8) sorted by relevance

/Linux-v5.15/net/dsa/
Dtag_8021q.c216 if (ds->dst->index == info->tree_index && ds->index == info->sw_index) in dsa_switch_tag_8021q_vlan_match()
331 if (ds->dst->index == info->tree_index && in dsa_tag_8021q_bridge_match()
353 targeted_ds = dsa_switch_find(info->tree_index, info->sw_index); in dsa_tag_8021q_bridge_join()
389 targeted_ds = dsa_switch_find(info->tree_index, info->sw_index); in dsa_tag_8021q_bridge_leave()
Dswitch.c95 if (dst->index == info->tree_index && ds->index == info->sw_index) { in dsa_switch_bridge_join()
104 if ((dst->index != info->tree_index || ds->index != info->sw_index) && in dsa_switch_bridge_join()
106 err = ds->ops->crosschip_bridge_join(ds, info->tree_index, in dsa_switch_bridge_join()
125 if (dst->index == info->tree_index && ds->index == info->sw_index && in dsa_switch_bridge_leave()
129 if ((dst->index != info->tree_index || ds->index != info->sw_index) && in dsa_switch_bridge_leave()
131 ds->ops->crosschip_bridge_leave(ds, info->tree_index, in dsa_switch_bridge_leave()
Ddsa_priv.h56 int tree_index; member
122 int tree_index; member
Dport.c325 .tree_index = dp->ds->dst->index, in dsa_port_bridge_join()
388 .tree_index = dp->ds->dst->index, in dsa_port_bridge_leave()
1333 .tree_index = dp->ds->dst->index, in dsa_port_tag_8021q_vlan_add()
1348 .tree_index = dp->ds->dst->index, in dsa_port_tag_8021q_vlan_del()
Ddsa2.c177 struct dsa_switch *dsa_switch_find(int tree_index, int sw_index) in dsa_switch_find() argument
183 if (dst->index != tree_index) in dsa_switch_find()
/Linux-v5.15/drivers/md/
Draid5-cache.c2646 sector_t tree_index; in r5c_try_caching_write() local
2699 tree_index = r5c_tree_index(conf, sh->sector); in r5c_try_caching_write()
2702 tree_index); in r5c_try_caching_write()
2716 &log->big_stripe_tree, tree_index, in r5c_try_caching_write()
2811 sector_t tree_index; in r5c_finish_stripe_write_out() local
2854 tree_index = r5c_tree_index(conf, sh->sector); in r5c_finish_stripe_write_out()
2857 tree_index); in r5c_finish_stripe_write_out()
2863 radix_tree_delete(&log->big_stripe_tree, tree_index); in r5c_finish_stripe_write_out()
2948 sector_t tree_index; in r5c_big_stripe_cached() local
2955 tree_index = r5c_tree_index(conf, sect); in r5c_big_stripe_cached()
[all …]
/Linux-v5.15/include/net/
Ddsa.h793 int (*crosschip_bridge_join)(struct dsa_switch *ds, int tree_index,
796 void (*crosschip_bridge_leave)(struct dsa_switch *ds, int tree_index,
1058 struct dsa_switch *dsa_switch_find(int tree_index, int sw_index);
/Linux-v5.15/drivers/net/dsa/mv88e6xxx/
Dchip.c2492 int tree_index, int sw_index, in mv88e6xxx_crosschip_bridge_join() argument
2498 if (tree_index != ds->dst->index) in mv88e6xxx_crosschip_bridge_join()
2509 int tree_index, int sw_index, in mv88e6xxx_crosschip_bridge_leave() argument
2514 if (tree_index != ds->dst->index) in mv88e6xxx_crosschip_bridge_leave()