Lines Matching refs:mesh
56 cache = &sdata->u.mesh.tx_cache; in mesh_fast_tx_deinit()
65 cache = &sdata->u.mesh.tx_cache; in mesh_fast_tx_init()
269 return mpath_lookup(&sdata->u.mesh.mesh_paths, dst, sdata); in mesh_path_lookup()
275 return mpath_lookup(&sdata->u.mesh.mpp_paths, dst, sdata); in mpp_path_lookup()
312 return __mesh_path_lookup_by_idx(&sdata->u.mesh.mesh_paths, idx); in mesh_path_lookup_by_idx()
327 return __mesh_path_lookup_by_idx(&sdata->u.mesh.mpp_paths, idx); in mpp_path_lookup_by_idx()
340 tbl = &mpath->sdata->u.mesh.mesh_paths; in mesh_path_add_gate()
349 mpath->sdata->u.mesh.num_gates++; in mesh_path_add_gate()
359 mpath->dst, mpath->sdata->u.mesh.num_gates); in mesh_path_add_gate()
380 mpath->sdata->u.mesh.num_gates--; in mesh_gate_del()
385 mpath->dst, mpath->sdata->u.mesh.num_gates); in mesh_gate_del()
394 return sdata->u.mesh.num_gates; in mesh_gate_num()
435 cache = &sdata->u.mesh.tx_cache; in mesh_fast_tx_get()
480 cache = &sdata->u.mesh.tx_cache; in mesh_fast_tx_cache()
605 struct mesh_tx_cache *cache = &sdata->u.mesh.tx_cache; in mesh_fast_tx_gc()
622 struct mesh_tx_cache *cache = &sdata->u.mesh.tx_cache; in mesh_fast_tx_flush_mpath()
636 struct mesh_tx_cache *cache = &sdata->u.mesh.tx_cache; in mesh_fast_tx_flush_sta()
650 struct mesh_tx_cache *cache = &sdata->u.mesh.tx_cache; in mesh_fast_tx_flush_addr()
688 if (atomic_add_unless(&sdata->u.mesh.mpaths, 1, MESH_MAX_MPATHS) == 0) in mesh_path_add()
695 tbl = &sdata->u.mesh.mesh_paths; in mesh_path_add()
713 sdata->u.mesh.mesh_paths_generation++; in mesh_path_add()
737 tbl = &sdata->u.mesh.mpp_paths; in mpp_path_add()
752 sdata->u.mesh.mpp_paths_generation++; in mpp_path_add()
768 struct mesh_table *tbl = &sdata->u.mesh.mesh_paths; in mesh_plink_broken()
782 sdata->u.mesh.mshcfg.element_ttl, in mesh_plink_broken()
800 atomic_dec(&sdata->u.mesh.mpaths); in mesh_path_free_rcu()
810 if (tbl == &mpath->sdata->u.mesh.mpp_paths) in __mesh_path_del()
831 struct mesh_table *tbl = &sdata->u.mesh.mesh_paths; in mesh_path_flush_by_nexthop()
846 struct mesh_table *tbl = &sdata->u.mesh.mpp_paths; in mpp_flush_by_proxy()
880 table_flush_by_iface(&sdata->u.mesh.mesh_paths); in mesh_path_flush_by_iface()
881 table_flush_by_iface(&sdata->u.mesh.mpp_paths); in mesh_path_flush_by_iface()
927 err = table_path_del(&sdata->u.mesh.mesh_paths, sdata, addr); in mesh_path_del()
928 sdata->u.mesh.mesh_paths_generation++; in mesh_path_del()
965 tbl = &sdata->u.mesh.mesh_paths; in mesh_path_send_to_gates()
1002 sdata->u.mesh.mshstats.dropped_frames_no_route++; in mesh_path_discard_frame()
1015 struct ieee80211_if_mesh *ifmsh = &sdata->u.mesh; in mesh_path_flush_pending()
1053 ewma_mesh_fail_avg_init(&next_hop->mesh->fail_avg); in mesh_path_fix_nexthop()
1055 ewma_mesh_fail_avg_add(&next_hop->mesh->fail_avg, 1); in mesh_path_fix_nexthop()
1061 mesh_table_init(&sdata->u.mesh.mesh_paths); in mesh_pathtbl_init()
1062 mesh_table_init(&sdata->u.mesh.mpp_paths); in mesh_pathtbl_init()
1085 mesh_path_tbl_expire(sdata, &sdata->u.mesh.mesh_paths); in mesh_path_expire()
1086 mesh_path_tbl_expire(sdata, &sdata->u.mesh.mpp_paths); in mesh_path_expire()
1092 mesh_table_free(&sdata->u.mesh.mesh_paths); in mesh_pathtbl_unregister()
1093 mesh_table_free(&sdata->u.mesh.mpp_paths); in mesh_pathtbl_unregister()