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()
78 void mesh_path_assign_nexthop(struct mesh_path *mpath, struct sta_info *sta) in mesh_path_assign_nexthop()
98 struct mesh_path *gate_mpath) in prepare_for_gate()
154 static void mesh_path_move_to_queue(struct mesh_path *gate_mpath, in mesh_path_move_to_queue()
155 struct mesh_path *from_mpath, in mesh_path_move_to_queue()
206 static struct mesh_path *mpath_lookup(struct mesh_table *tbl, const u8 *dst, in mpath_lookup()
209 struct mesh_path *mpath; in mpath_lookup()
230 struct mesh_path *
236 struct mesh_path *
242 static struct mesh_path *
246 struct mesh_path *mpath; in __mesh_path_lookup_by_idx()
273 struct mesh_path *
288 struct mesh_path *
298 int mesh_path_add_gate(struct mesh_path *mpath) in mesh_path_add_gate()
335 static void mesh_gate_del(struct mesh_table *tbl, struct mesh_path *mpath) in mesh_gate_del()
362 struct mesh_path *mesh_path_new(struct ieee80211_sub_if_data *sdata, in mesh_path_new()
365 struct mesh_path *new_mpath; in mesh_path_new()
367 new_mpath = kzalloc(sizeof(struct mesh_path), gfp_flags); in mesh_path_new()
393 struct mesh_path *mesh_path_add(struct ieee80211_sub_if_data *sdata, in mesh_path_add()
397 struct mesh_path *mpath, *new_mpath; in mesh_path_add()
439 struct mesh_path *new_mpath; in mpp_path_add()
486 struct mesh_path *mpath; in mesh_plink_broken()
507 struct mesh_path *mpath) in mesh_path_free_rcu()
522 static void __mesh_path_del(struct mesh_table *tbl, struct mesh_path *mpath) in __mesh_path_del()
544 struct mesh_path *mpath; in mesh_path_flush_by_nexthop()
559 struct mesh_path *mpath; in mpp_flush_by_proxy()
572 struct mesh_path *mpath; in table_flush_by_iface()
609 struct mesh_path *mpath; in table_path_del()
652 void mesh_path_tx_pending(struct mesh_path *mpath) in mesh_path_tx_pending()
669 int mesh_path_send_to_gates(struct mesh_path *mpath) in mesh_path_send_to_gates()
673 struct mesh_path *from_mpath = mpath; in mesh_path_send_to_gates()
674 struct mesh_path *gate; in mesh_path_send_to_gates()
724 void mesh_path_flush_pending(struct mesh_path *mpath) in mesh_path_flush_pending()
740 void mesh_path_fix_nexthop(struct mesh_path *mpath, struct sta_info *next_hop) in mesh_path_fix_nexthop()
767 struct mesh_path *mpath; in mesh_path_tbl_expire()