Home
last modified time | relevance | path

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

/linux/net/dsa/
A Dswitch.c94 if (dst->index == info->tree_index && ds->index == info->sw_index) { in dsa_switch_bridge_join()
103 if ((dst->index != info->tree_index || ds->index != info->sw_index) && in dsa_switch_bridge_join()
105 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()
A Dtag_8021q.c218 if (ds->dst->index == info->tree_index && ds->index == info->sw_index) in dsa_port_tag_8021q_vlan_match()
332 if (dp->ds->dst->index == info->tree_index && in dsa_port_tag_8021q_bridge_match()
355 targeted_ds = dsa_switch_find(info->tree_index, info->sw_index); in dsa_tag_8021q_bridge_join()
390 targeted_ds = dsa_switch_find(info->tree_index, info->sw_index); in dsa_tag_8021q_bridge_leave()
A Ddsa_priv.h56 int tree_index; member
122 int tree_index; member
A Dport.c325 .tree_index = dp->ds->dst->index, in dsa_port_bridge_join()
390 .tree_index = dp->ds->dst->index, in dsa_port_bridge_leave()
1336 .tree_index = dp->ds->dst->index, in dsa_port_tag_8021q_vlan_add()
1351 .tree_index = dp->ds->dst->index, in dsa_port_tag_8021q_vlan_del()
A 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/drivers/md/
A 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/include/net/
A Ddsa.h831 int (*crosschip_bridge_join)(struct dsa_switch *ds, int tree_index,
834 void (*crosschip_bridge_leave)(struct dsa_switch *ds, int tree_index,
1096 struct dsa_switch *dsa_switch_find(int tree_index, int sw_index);
/linux/drivers/net/dsa/mv88e6xxx/
A Dchip.c2507 int tree_index, int sw_index, in mv88e6xxx_crosschip_bridge_join() argument
2513 if (tree_index != ds->dst->index) in mv88e6xxx_crosschip_bridge_join()
2524 int tree_index, int sw_index, in mv88e6xxx_crosschip_bridge_leave() argument
2529 if (tree_index != ds->dst->index) in mv88e6xxx_crosschip_bridge_leave()

Completed in 38 milliseconds