Home
last modified time | relevance | path

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

/Linux-v6.1/net/mac80211/
Dmesh_pathtbl.c18 static void mesh_path_free_rcu(struct mesh_table *tbl, struct mesh_path *mpath);
35 static inline bool mpath_expired(struct mesh_path *mpath) in mpath_expired() argument
37 return (mpath->flags & MESH_PATH_ACTIVE) && in mpath_expired()
38 time_after(jiffies, mpath->exp_time) && in mpath_expired()
39 !(mpath->flags & MESH_PATH_FIXED); in mpath_expired()
44 struct mesh_path *mpath = ptr; in mesh_path_rht_free() local
47 mesh_path_free_rcu(tbl, mpath); in mesh_path_rht_free()
78 void mesh_path_assign_nexthop(struct mesh_path *mpath, struct sta_info *sta) in mesh_path_assign_nexthop() argument
84 rcu_assign_pointer(mpath->next_hop, sta); in mesh_path_assign_nexthop()
86 spin_lock_irqsave(&mpath->frame_queue.lock, flags); in mesh_path_assign_nexthop()
[all …]
Dmesh_hwmp.c390 struct mesh_path *mpath; in hwmp_route_info_get() local
447 mpath = mesh_path_lookup(sdata, orig_addr); in hwmp_route_info_get()
448 if (mpath) { in hwmp_route_info_get()
449 spin_lock_bh(&mpath->state_lock); in hwmp_route_info_get()
450 if (mpath->flags & MESH_PATH_FIXED) in hwmp_route_info_get()
452 else if ((mpath->flags & MESH_PATH_ACTIVE) && in hwmp_route_info_get()
453 (mpath->flags & MESH_PATH_SN_VALID)) { in hwmp_route_info_get()
454 if (SN_GT(mpath->sn, orig_sn) || in hwmp_route_info_get()
455 (mpath->sn == orig_sn && in hwmp_route_info_get()
456 (rcu_access_pointer(mpath->next_hop) != in hwmp_route_info_get()
[all …]
Dmesh.h254 void mesh_path_fix_nexthop(struct mesh_path *mpath, struct sta_info *next_hop);
261 int mesh_path_add_gate(struct mesh_path *mpath);
262 int mesh_path_send_to_gates(struct mesh_path *mpath);
288 void mesh_path_assign_nexthop(struct mesh_path *mpath, struct sta_info *sta);
289 void mesh_path_flush_pending(struct mesh_path *mpath);
290 void mesh_path_tx_pending(struct mesh_path *mpath);
329 static inline void mesh_path_activate(struct mesh_path *mpath) in mesh_path_activate() argument
331 mpath->flags |= MESH_PATH_ACTIVE | MESH_PATH_RESOLVED; in mesh_path_activate()
Dcfg.c2112 struct mesh_path *mpath; in ieee80211_add_mpath() local
2124 mpath = mesh_path_add(sdata, dst); in ieee80211_add_mpath()
2125 if (IS_ERR(mpath)) { in ieee80211_add_mpath()
2127 return PTR_ERR(mpath); in ieee80211_add_mpath()
2130 mesh_path_fix_nexthop(mpath, sta); in ieee80211_add_mpath()
2152 struct mesh_path *mpath; in ieee80211_change_mpath() local
2165 mpath = mesh_path_lookup(sdata, dst); in ieee80211_change_mpath()
2166 if (!mpath) { in ieee80211_change_mpath()
2171 mesh_path_fix_nexthop(mpath, sta); in ieee80211_change_mpath()
2177 static void mpath_set_pinfo(struct mesh_path *mpath, u8 *next_hop, in mpath_set_pinfo() argument
[all …]
Dtx.c2611 struct mesh_path __maybe_unused *mppath = NULL, *mpath = NULL; in ieee80211_build_hdr() local
2705 mpath = mesh_path_lookup(sdata, skb->data); in ieee80211_build_hdr()
2706 if (mpath) { in ieee80211_build_hdr()
2708 next_hop = rcu_dereference(mpath->next_hop); in ieee80211_build_hdr()
2710 !(mpath->flags & (MESH_PATH_ACTIVE | in ieee80211_build_hdr()
2721 if (mppath && mpath) in ieee80211_build_hdr()
2722 mesh_path_del(sdata, mpath->dst); in ieee80211_build_hdr()
2748 else if (mpath) in ieee80211_build_hdr()
2749 mesh_da = mpath->dst; in ieee80211_build_hdr()
/Linux-v6.1/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()
425 cdev->private->flags.mpath = 0; in snid_done()
[all …]
Dio_sch.h154 unsigned int mpath:1; /* do multipathing */ member
164 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-v6.1/Documentation/admin-guide/device-mapper/
Ddm-uevent.rst90 DM_UUID=mpath-35333333000002328
107 DM_UUID=mpath-35333333000002328
/Linux-v6.1/drivers/md/
DMakefile9 dm-multipath-y += dm-path-selector.o dm-mpath.o