Lines Matching refs:mesh_path
18 static void mesh_path_free_rcu(struct mesh_table *tbl, struct mesh_path *mpath);
30 .key_offset = offsetof(struct mesh_path, dst),
31 .head_offset = offsetof(struct mesh_path, rhash),
35 static inline bool mpath_expired(struct mesh_path *mpath) in mpath_expired()
44 struct mesh_path *mpath = ptr; in mesh_path_rht_free()
83 void mesh_path_assign_nexthop(struct mesh_path *mpath, struct sta_info *sta) in mesh_path_assign_nexthop()
103 struct mesh_path *gate_mpath) in prepare_for_gate()
159 static void mesh_path_move_to_queue(struct mesh_path *gate_mpath, in mesh_path_move_to_queue()
160 struct mesh_path *from_mpath, in mesh_path_move_to_queue()
211 static struct mesh_path *mpath_lookup(struct mesh_table *tbl, const u8 *dst, in mpath_lookup()
214 struct mesh_path *mpath; in mpath_lookup()
235 struct mesh_path *
241 struct mesh_path *
247 static struct mesh_path *
251 struct mesh_path *mpath; in __mesh_path_lookup_by_idx()
278 struct mesh_path *
293 struct mesh_path *
303 int mesh_path_add_gate(struct mesh_path *mpath) in mesh_path_add_gate()
340 static void mesh_gate_del(struct mesh_table *tbl, struct mesh_path *mpath) in mesh_gate_del()
367 struct mesh_path *mesh_path_new(struct ieee80211_sub_if_data *sdata, in mesh_path_new()
370 struct mesh_path *new_mpath; in mesh_path_new()
372 new_mpath = kzalloc(sizeof(struct mesh_path), gfp_flags); in mesh_path_new()
398 struct mesh_path *mesh_path_add(struct ieee80211_sub_if_data *sdata, in mesh_path_add()
402 struct mesh_path *mpath, *new_mpath; in mesh_path_add()
444 struct mesh_path *new_mpath; in mpp_path_add()
491 struct mesh_path *mpath; in mesh_plink_broken()
512 struct mesh_path *mpath) in mesh_path_free_rcu()
527 static void __mesh_path_del(struct mesh_table *tbl, struct mesh_path *mpath) in __mesh_path_del()
549 struct mesh_path *mpath; in mesh_path_flush_by_nexthop()
564 struct mesh_path *mpath; in mpp_flush_by_proxy()
577 struct mesh_path *mpath; in table_flush_by_iface()
614 struct mesh_path *mpath; in table_path_del()
657 void mesh_path_tx_pending(struct mesh_path *mpath) in mesh_path_tx_pending()
674 int mesh_path_send_to_gates(struct mesh_path *mpath) in mesh_path_send_to_gates()
678 struct mesh_path *from_mpath = mpath; in mesh_path_send_to_gates()
679 struct mesh_path *gate; in mesh_path_send_to_gates()
729 void mesh_path_flush_pending(struct mesh_path *mpath) in mesh_path_flush_pending()
745 void mesh_path_fix_nexthop(struct mesh_path *mpath, struct sta_info *next_hop) in mesh_path_fix_nexthop()
791 struct mesh_path *mpath; in mesh_path_tbl_expire()