Home
last modified time | relevance | path

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

/linux-4.1.27/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.c377 struct mesh_path *mpath; in hwmp_route_info_get() local
431 mpath = mesh_path_lookup(sdata, orig_addr); in hwmp_route_info_get()
432 if (mpath) { in hwmp_route_info_get()
433 spin_lock_bh(&mpath->state_lock); in hwmp_route_info_get()
434 if (mpath->flags & MESH_PATH_FIXED) in hwmp_route_info_get()
436 else if ((mpath->flags & MESH_PATH_ACTIVE) && in hwmp_route_info_get()
437 (mpath->flags & MESH_PATH_SN_VALID)) { in hwmp_route_info_get()
438 if (SN_GT(mpath->sn, orig_sn) || in hwmp_route_info_get()
439 (mpath->sn == orig_sn && in hwmp_route_info_get()
440 new_metric >= mpath->metric)) { in hwmp_route_info_get()
[all …]
Dmesh.h275 void mesh_path_fix_nexthop(struct mesh_path *mpath, struct sta_info *next_hop);
282 int mesh_path_add_gate(struct mesh_path *mpath);
283 int mesh_path_send_to_gates(struct mesh_path *mpath);
308 void mesh_path_assign_nexthop(struct mesh_path *mpath, struct sta_info *sta);
309 void mesh_path_flush_pending(struct mesh_path *mpath);
310 void mesh_path_tx_pending(struct mesh_path *mpath);
351 static inline void mesh_path_activate(struct mesh_path *mpath) in mesh_path_activate() argument
353 mpath->flags |= MESH_PATH_ACTIVE | MESH_PATH_RESOLVED; in mesh_path_activate()
Dcfg.c1424 struct mesh_path *mpath; in ieee80211_add_mpath() local
1436 mpath = mesh_path_add(sdata, dst); in ieee80211_add_mpath()
1437 if (IS_ERR(mpath)) { in ieee80211_add_mpath()
1439 return PTR_ERR(mpath); in ieee80211_add_mpath()
1442 mesh_path_fix_nexthop(mpath, sta); in ieee80211_add_mpath()
1464 struct mesh_path *mpath; in ieee80211_change_mpath() local
1477 mpath = mesh_path_lookup(sdata, dst); in ieee80211_change_mpath()
1478 if (!mpath) { in ieee80211_change_mpath()
1483 mesh_path_fix_nexthop(mpath, sta); in ieee80211_change_mpath()
1489 static void mpath_set_pinfo(struct mesh_path *mpath, u8 *next_hop, in mpath_set_pinfo() argument
[all …]
Dtx.c1999 struct mesh_path __maybe_unused *mppath = NULL, *mpath = NULL; in ieee80211_build_hdr() local
2079 mpath = mesh_path_lookup(sdata, skb->data); in ieee80211_build_hdr()
2080 if (mpath) { in ieee80211_build_hdr()
2082 next_hop = rcu_dereference(mpath->next_hop); in ieee80211_build_hdr()
2084 !(mpath->flags & (MESH_PATH_ACTIVE | in ieee80211_build_hdr()
2092 if (mppath && mpath) in ieee80211_build_hdr()
2093 mesh_path_del(mpath->sdata, mpath->dst); in ieee80211_build_hdr()
2119 else if (mpath) in ieee80211_build_hdr()
2120 mesh_da = mpath->dst; in ieee80211_build_hdr()
/linux-4.1.27/drivers/s390/cio/
Ddevice_pgid.c35 int mpath = cdev->private->flags.mpath; in verify_done() local
41 if (sch->config.mp != mpath) { in verify_done()
42 sch->config.mp = mpath; in verify_done()
47 "vpm=%02x\n", id->ssid, id->devno, rc, pgroup, mpath, in verify_done()
183 if (cdev->private->flags.mpath) in pgid_wipeout_start()
207 if (cdev->private->flags.mpath) in spid_do()
242 if (cdev->private->flags.mpath) { in spid_callback()
244 cdev->private->flags.mpath = 0; in spid_callback()
351 if (cdev->private->flags.mpath) { in pgid_to_donepm()
422 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.1.27/Documentation/device-mapper/
Ddm-uevent.txt78 DM_UUID=mpath-35333333000002328
94 DM_UUID=mpath-35333333000002328
/linux-4.1.27/drivers/md/
DMakefile7 dm-multipath-y += dm-path-selector.o dm-mpath.o