Home
last modified time | relevance | path

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

/Linux-v4.19/net/mac80211/
Dmesh_pathtbl.c21 static void mesh_path_free_rcu(struct mesh_table *tbl, struct mesh_path *mpath);
38 static inline bool mpath_expired(struct mesh_path *mpath) in mpath_expired() argument
40 return (mpath->flags & MESH_PATH_ACTIVE) && in mpath_expired()
41 time_after(jiffies, mpath->exp_time) && in mpath_expired()
42 !(mpath->flags & MESH_PATH_FIXED); in mpath_expired()
47 struct mesh_path *mpath = ptr; in mesh_path_rht_free() local
50 mesh_path_free_rcu(tbl, mpath); in mesh_path_rht_free()
84 void mesh_path_assign_nexthop(struct mesh_path *mpath, struct sta_info *sta) in mesh_path_assign_nexthop() argument
90 rcu_assign_pointer(mpath->next_hop, sta); in mesh_path_assign_nexthop()
92 spin_lock_irqsave(&mpath->frame_queue.lock, flags); in mesh_path_assign_nexthop()
[all …]
Dmesh_hwmp.c381 struct mesh_path *mpath; in hwmp_route_info_get() local
435 mpath = mesh_path_lookup(sdata, orig_addr); in hwmp_route_info_get()
436 if (mpath) { in hwmp_route_info_get()
437 spin_lock_bh(&mpath->state_lock); in hwmp_route_info_get()
438 if (mpath->flags & MESH_PATH_FIXED) in hwmp_route_info_get()
440 else if ((mpath->flags & MESH_PATH_ACTIVE) && in hwmp_route_info_get()
441 (mpath->flags & MESH_PATH_SN_VALID)) { in hwmp_route_info_get()
442 if (SN_GT(mpath->sn, orig_sn) || in hwmp_route_info_get()
443 (mpath->sn == orig_sn && in hwmp_route_info_get()
444 new_metric >= mpath->metric)) { in hwmp_route_info_get()
[all …]
Dmesh.h263 void mesh_path_fix_nexthop(struct mesh_path *mpath, struct sta_info *next_hop);
270 int mesh_path_add_gate(struct mesh_path *mpath);
271 int mesh_path_send_to_gates(struct mesh_path *mpath);
294 void mesh_path_assign_nexthop(struct mesh_path *mpath, struct sta_info *sta);
295 void mesh_path_flush_pending(struct mesh_path *mpath);
296 void mesh_path_tx_pending(struct mesh_path *mpath);
335 static inline void mesh_path_activate(struct mesh_path *mpath) in mesh_path_activate() argument
337 mpath->flags |= MESH_PATH_ACTIVE | MESH_PATH_RESOLVED; in mesh_path_activate()
Dcfg.c1644 struct mesh_path *mpath; in ieee80211_add_mpath() local
1656 mpath = mesh_path_add(sdata, dst); in ieee80211_add_mpath()
1657 if (IS_ERR(mpath)) { in ieee80211_add_mpath()
1659 return PTR_ERR(mpath); in ieee80211_add_mpath()
1662 mesh_path_fix_nexthop(mpath, sta); in ieee80211_add_mpath()
1684 struct mesh_path *mpath; in ieee80211_change_mpath() local
1697 mpath = mesh_path_lookup(sdata, dst); in ieee80211_change_mpath()
1698 if (!mpath) { in ieee80211_change_mpath()
1703 mesh_path_fix_nexthop(mpath, sta); in ieee80211_change_mpath()
1709 static void mpath_set_pinfo(struct mesh_path *mpath, u8 *next_hop, in mpath_set_pinfo() argument
[all …]
Dtx.c2420 struct mesh_path __maybe_unused *mppath = NULL, *mpath = NULL; in ieee80211_build_hdr() local
2499 mpath = mesh_path_lookup(sdata, skb->data); in ieee80211_build_hdr()
2500 if (mpath) { in ieee80211_build_hdr()
2502 next_hop = rcu_dereference(mpath->next_hop); in ieee80211_build_hdr()
2504 !(mpath->flags & (MESH_PATH_ACTIVE | in ieee80211_build_hdr()
2515 if (mppath && mpath) in ieee80211_build_hdr()
2516 mesh_path_del(sdata, mpath->dst); in ieee80211_build_hdr()
2542 else if (mpath) in ieee80211_build_hdr()
2543 mesh_da = mpath->dst; in ieee80211_build_hdr()
/Linux-v4.19/drivers/s390/cio/
Ddevice_pgid.c37 int mpath = cdev->private->flags.mpath; in verify_done() local
43 if (sch->config.mp != mpath) { in verify_done()
44 sch->config.mp = mpath; in verify_done()
49 "vpm=%02x\n", id->ssid, id->devno, rc, pgroup, mpath, in verify_done()
185 if (cdev->private->flags.mpath) in pgid_wipeout_start()
209 if (cdev->private->flags.mpath) in spid_do()
244 if (cdev->private->flags.mpath) { in spid_callback()
246 cdev->private->flags.mpath = 0; in spid_callback()
353 if (cdev->private->flags.mpath) { in pgid_to_donepm()
424 cdev->private->flags.mpath = 0; in snid_done()
[all …]
Dio_sch.h142 unsigned int mpath:1; /* do multipathing */ member
153 unsigned int mpath:1; /* multipathing is set up */ member
Ddevice_ops.c51 cdev->private->options.mpath = (flags & CCWDEV_DO_MULTIPATH) != 0; in ccw_device_set_options_mask()
80 cdev->private->options.mpath |= (flags & CCWDEV_DO_MULTIPATH) != 0; in ccw_device_set_options()
97 cdev->private->options.mpath &= (flags & CCWDEV_DO_MULTIPATH) == 0; in ccw_device_clear_options()
120 return cdev->private->flags.mpath; in ccw_device_is_multipath()
/Linux-v4.19/Documentation/device-mapper/
Ddm-uevent.txt78 DM_UUID=mpath-35333333000002328
94 DM_UUID=mpath-35333333000002328
/Linux-v4.19/drivers/md/
DMakefile9 dm-multipath-y += dm-path-selector.o dm-mpath.o