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()
86 void mesh_path_assign_nexthop(struct mesh_path *mpath, struct sta_info *sta) in mesh_path_assign_nexthop()
106 struct mesh_path *gate_mpath) in prepare_for_gate()
162 static void mesh_path_move_to_queue(struct mesh_path *gate_mpath, in mesh_path_move_to_queue()
163 struct mesh_path *from_mpath, in mesh_path_move_to_queue()
214 static struct mesh_path *mpath_lookup(struct mesh_table *tbl, const u8 *dst, in mpath_lookup()
217 struct mesh_path *mpath; in mpath_lookup()
238 struct mesh_path *
244 struct mesh_path *
250 static struct mesh_path *
254 struct mesh_path *mpath; in __mesh_path_lookup_by_idx()
281 struct mesh_path *
296 struct mesh_path *
306 int mesh_path_add_gate(struct mesh_path *mpath) in mesh_path_add_gate()
343 static void mesh_gate_del(struct mesh_table *tbl, struct mesh_path *mpath) in mesh_gate_del()
370 struct mesh_path *mesh_path_new(struct ieee80211_sub_if_data *sdata, in mesh_path_new()
373 struct mesh_path *new_mpath; in mesh_path_new()
375 new_mpath = kzalloc(sizeof(struct mesh_path), gfp_flags); in mesh_path_new()
401 struct mesh_path *mesh_path_add(struct ieee80211_sub_if_data *sdata, in mesh_path_add()
405 struct mesh_path *mpath, *new_mpath; in mesh_path_add()
447 struct mesh_path *new_mpath; in mpp_path_add()
494 struct mesh_path *mpath; in mesh_plink_broken()
515 struct mesh_path *mpath) in mesh_path_free_rcu()
530 static void __mesh_path_del(struct mesh_table *tbl, struct mesh_path *mpath) in __mesh_path_del()
552 struct mesh_path *mpath; in mesh_path_flush_by_nexthop()
567 struct mesh_path *mpath; in mpp_flush_by_proxy()
580 struct mesh_path *mpath; in table_flush_by_iface()
617 struct mesh_path *mpath; in table_path_del()
660 void mesh_path_tx_pending(struct mesh_path *mpath) in mesh_path_tx_pending()
677 int mesh_path_send_to_gates(struct mesh_path *mpath) in mesh_path_send_to_gates()
681 struct mesh_path *from_mpath = mpath; in mesh_path_send_to_gates()
682 struct mesh_path *gate; in mesh_path_send_to_gates()
732 void mesh_path_flush_pending(struct mesh_path *mpath) in mesh_path_flush_pending()
748 void mesh_path_fix_nexthop(struct mesh_path *mpath, struct sta_info *next_hop) in mesh_path_fix_nexthop()
794 struct mesh_path *mpath; in mesh_path_tbl_expire()