Home
last modified time | relevance | path

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

/Linux-v5.10/net/dsa/
Dswitch.c94 if (dst->index == info->tree_index && ds->index == info->sw_index && in dsa_switch_bridge_join()
98 if ((dst->index != info->tree_index || ds->index != info->sw_index) && in dsa_switch_bridge_join()
100 return ds->ops->crosschip_bridge_join(ds, info->tree_index, in dsa_switch_bridge_join()
114 if (dst->index == info->tree_index && ds->index == info->sw_index && in dsa_switch_bridge_leave()
118 if ((dst->index != info->tree_index || ds->index != info->sw_index) && in dsa_switch_bridge_leave()
120 ds->ops->crosschip_bridge_leave(ds, info->tree_index, in dsa_switch_bridge_leave()
Ddsa_priv.h39 int tree_index; member
Dport.c140 .tree_index = dp->ds->dst->index, in dsa_port_bridge_join()
171 .tree_index = dp->ds->dst->index, in dsa_port_bridge_leave()
Ddsa2.c24 struct dsa_switch *dsa_switch_find(int tree_index, int sw_index) in dsa_switch_find() argument
30 if (dst->index != tree_index) in dsa_switch_find()
/Linux-v5.10/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.10/include/net/
Ddsa.h613 int (*crosschip_bridge_join)(struct dsa_switch *ds, int tree_index,
616 void (*crosschip_bridge_leave)(struct dsa_switch *ds, int tree_index,
808 struct dsa_switch *dsa_switch_find(int tree_index, int sw_index);
/Linux-v5.10/drivers/net/dsa/sja1105/
Dsja1105_main.c1866 int tree_index, int sw_index, in sja1105_crosschip_bridge_join() argument
1869 struct dsa_switch *other_ds = dsa_switch_find(tree_index, sw_index); in sja1105_crosschip_bridge_join()
1902 int tree_index, int sw_index, in sja1105_crosschip_bridge_leave() argument
1906 struct dsa_switch *other_ds = dsa_switch_find(tree_index, sw_index); in sja1105_crosschip_bridge_leave()
/Linux-v5.10/drivers/net/dsa/mv88e6xxx/
Dchip.c2251 int tree_index, int sw_index, in mv88e6xxx_crosschip_bridge_join() argument
2257 if (tree_index != ds->dst->index) in mv88e6xxx_crosschip_bridge_join()
2268 int tree_index, int sw_index, in mv88e6xxx_crosschip_bridge_leave() argument
2273 if (tree_index != ds->dst->index) in mv88e6xxx_crosschip_bridge_leave()