Home
last modified time | relevance | path

Searched refs:mpath (Results 1 – 11 of 11) sorted by relevance

/linux-4.4.14/net/mac80211/
Dmesh_pathtbl.c27 static inline bool mpath_expired(struct mesh_path *mpath) in mpath_expired() argument
29 return (mpath->flags & MESH_PATH_ACTIVE) && in mpath_expired()
30 time_after(jiffies, mpath->exp_time) && in mpath_expired()
31 !(mpath->flags & MESH_PATH_FIXED); in mpath_expired()
40 struct mesh_path *mpath; member
206 void mesh_path_assign_nexthop(struct mesh_path *mpath, struct sta_info *sta) in mesh_path_assign_nexthop() argument
212 rcu_assign_pointer(mpath->next_hop, sta); in mesh_path_assign_nexthop()
214 spin_lock_irqsave(&mpath->frame_queue.lock, flags); in mesh_path_assign_nexthop()
215 skb_queue_walk(&mpath->frame_queue, skb) { in mesh_path_assign_nexthop()
218 memcpy(hdr->addr2, mpath->sdata->vif.addr, ETH_ALEN); in mesh_path_assign_nexthop()
[all …]
Dmesh_hwmp.c370 struct mesh_path *mpath; in hwmp_route_info_get() local
424 mpath = mesh_path_lookup(sdata, orig_addr); in hwmp_route_info_get()
425 if (mpath) { in hwmp_route_info_get()
426 spin_lock_bh(&mpath->state_lock); in hwmp_route_info_get()
427 if (mpath->flags & MESH_PATH_FIXED) in hwmp_route_info_get()
429 else if ((mpath->flags & MESH_PATH_ACTIVE) && in hwmp_route_info_get()
430 (mpath->flags & MESH_PATH_SN_VALID)) { in hwmp_route_info_get()
431 if (SN_GT(mpath->sn, orig_sn) || in hwmp_route_info_get()
432 (mpath->sn == orig_sn && in hwmp_route_info_get()
433 new_metric >= mpath->metric)) { in hwmp_route_info_get()
[all …]
Dmesh.h279 void mesh_path_fix_nexthop(struct mesh_path *mpath, struct sta_info *next_hop);
286 int mesh_path_add_gate(struct mesh_path *mpath);
287 int mesh_path_send_to_gates(struct mesh_path *mpath);
312 void mesh_path_assign_nexthop(struct mesh_path *mpath, struct sta_info *sta);
313 void mesh_path_flush_pending(struct mesh_path *mpath);
314 void mesh_path_tx_pending(struct mesh_path *mpath);
355 static inline void mesh_path_activate(struct mesh_path *mpath) in mesh_path_activate() argument
357 mpath->flags |= MESH_PATH_ACTIVE | MESH_PATH_RESOLVED; in mesh_path_activate()
Dcfg.c1405 struct mesh_path *mpath; in ieee80211_add_mpath() local
1417 mpath = mesh_path_add(sdata, dst); in ieee80211_add_mpath()
1418 if (IS_ERR(mpath)) { in ieee80211_add_mpath()
1420 return PTR_ERR(mpath); in ieee80211_add_mpath()
1423 mesh_path_fix_nexthop(mpath, sta); in ieee80211_add_mpath()
1445 struct mesh_path *mpath; in ieee80211_change_mpath() local
1458 mpath = mesh_path_lookup(sdata, dst); in ieee80211_change_mpath()
1459 if (!mpath) { in ieee80211_change_mpath()
1464 mesh_path_fix_nexthop(mpath, sta); in ieee80211_change_mpath()
1470 static void mpath_set_pinfo(struct mesh_path *mpath, u8 *next_hop, in mpath_set_pinfo() argument
[all …]
Dtx.c2012 struct mesh_path __maybe_unused *mppath = NULL, *mpath = NULL; in ieee80211_build_hdr() local
2092 mpath = mesh_path_lookup(sdata, skb->data); in ieee80211_build_hdr()
2093 if (mpath) { in ieee80211_build_hdr()
2095 next_hop = rcu_dereference(mpath->next_hop); in ieee80211_build_hdr()
2097 !(mpath->flags & (MESH_PATH_ACTIVE | in ieee80211_build_hdr()
2105 if (mppath && mpath) in ieee80211_build_hdr()
2106 mesh_path_del(mpath->sdata, mpath->dst); in ieee80211_build_hdr()
2132 else if (mpath) in ieee80211_build_hdr()
2133 mesh_da = mpath->dst; in ieee80211_build_hdr()
/linux-4.4.14/drivers/s390/cio/
Ddevice_pgid.c36 int mpath = cdev->private->flags.mpath; in verify_done() local
42 if (sch->config.mp != mpath) { in verify_done()
43 sch->config.mp = mpath; in verify_done()
48 "vpm=%02x\n", id->ssid, id->devno, rc, pgroup, mpath, in verify_done()
184 if (cdev->private->flags.mpath) in pgid_wipeout_start()
208 if (cdev->private->flags.mpath) in spid_do()
243 if (cdev->private->flags.mpath) { in spid_callback()
245 cdev->private->flags.mpath = 0; in spid_callback()
352 if (cdev->private->flags.mpath) { in pgid_to_donepm()
423 cdev->private->flags.mpath = 0; in snid_done()
[all …]
Dio_sch.h140 unsigned int mpath:1; /* do multipathing */ member
151 unsigned int mpath:1; /* multipathing is set up */ member
Ddevice_ops.c50 cdev->private->options.mpath = (flags & CCWDEV_DO_MULTIPATH) != 0; in ccw_device_set_options_mask()
79 cdev->private->options.mpath |= (flags & CCWDEV_DO_MULTIPATH) != 0; in ccw_device_set_options()
96 cdev->private->options.mpath &= (flags & CCWDEV_DO_MULTIPATH) == 0; in ccw_device_clear_options()
119 return cdev->private->flags.mpath; in ccw_device_is_multipath()
/linux-4.4.14/Documentation/device-mapper/
Ddm-uevent.txt78 DM_UUID=mpath-35333333000002328
94 DM_UUID=mpath-35333333000002328
/linux-4.4.14/Documentation/DocBook/
D80211.xml.db38 API-enum-mpath-info-flags
39 API-struct-mpath-info
/linux-4.4.14/drivers/md/
DMakefile7 dm-multipath-y += dm-path-selector.o dm-mpath.o