Lines Matching refs:mesh_path
19 static void mesh_path_free_rcu(struct mesh_table *tbl, struct mesh_path *mpath);
31 .key_offset = offsetof(struct mesh_path, dst),
32 .head_offset = offsetof(struct mesh_path, rhash),
71 static inline bool mpath_expired(struct mesh_path *mpath) in mpath_expired()
80 struct mesh_path *mpath = ptr; in mesh_path_rht_free()
114 void mesh_path_assign_nexthop(struct mesh_path *mpath, struct sta_info *sta) in mesh_path_assign_nexthop()
134 struct mesh_path *gate_mpath) in prepare_for_gate()
190 static void mesh_path_move_to_queue(struct mesh_path *gate_mpath, in mesh_path_move_to_queue()
191 struct mesh_path *from_mpath, in mesh_path_move_to_queue()
242 static struct mesh_path *mpath_lookup(struct mesh_table *tbl, const u8 *dst, in mpath_lookup()
245 struct mesh_path *mpath; in mpath_lookup()
266 struct mesh_path *
272 struct mesh_path *
278 static struct mesh_path *
282 struct mesh_path *mpath; in __mesh_path_lookup_by_idx()
309 struct mesh_path *
324 struct mesh_path *
334 int mesh_path_add_gate(struct mesh_path *mpath) in mesh_path_add_gate()
371 static void mesh_gate_del(struct mesh_table *tbl, struct mesh_path *mpath) in mesh_gate_del()
398 struct mesh_path *mesh_path_new(struct ieee80211_sub_if_data *sdata, in mesh_path_new()
401 struct mesh_path *new_mpath; in mesh_path_new()
403 new_mpath = kzalloc(sizeof(struct mesh_path), gfp_flags); in mesh_path_new()
459 struct sk_buff *skb, struct mesh_path *mpath) in mesh_fast_tx_cache()
468 struct mesh_path *mppath; in mesh_fast_tx_cache()
619 void mesh_fast_tx_flush_mpath(struct mesh_path *mpath) in mesh_fast_tx_flush_mpath()
675 struct mesh_path *mesh_path_add(struct ieee80211_sub_if_data *sdata, in mesh_path_add()
679 struct mesh_path *mpath, *new_mpath; in mesh_path_add()
721 struct mesh_path *new_mpath; in mpp_path_add()
770 struct mesh_path *mpath; in mesh_plink_broken()
791 struct mesh_path *mpath) in mesh_path_free_rcu()
806 static void __mesh_path_del(struct mesh_table *tbl, struct mesh_path *mpath) in __mesh_path_del()
832 struct mesh_path *mpath; in mesh_path_flush_by_nexthop()
847 struct mesh_path *mpath; in mpp_flush_by_proxy()
860 struct mesh_path *mpath; in table_flush_by_iface()
897 struct mesh_path *mpath; in table_path_del()
940 void mesh_path_tx_pending(struct mesh_path *mpath) in mesh_path_tx_pending()
957 int mesh_path_send_to_gates(struct mesh_path *mpath) in mesh_path_send_to_gates()
961 struct mesh_path *from_mpath = mpath; in mesh_path_send_to_gates()
962 struct mesh_path *gate; in mesh_path_send_to_gates()
1012 void mesh_path_flush_pending(struct mesh_path *mpath) in mesh_path_flush_pending()
1041 void mesh_path_fix_nexthop(struct mesh_path *mpath, struct sta_info *next_hop) in mesh_path_fix_nexthop()
1070 struct mesh_path *mpath; in mesh_path_tbl_expire()