Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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()
86 void mesh_path_assign_nexthop(struct mesh_path *mpath, struct sta_info *sta) in mesh_path_assign_nexthop() argument
92 rcu_assign_pointer(mpath->next_hop, sta); in mesh_path_assign_nexthop()
94 spin_lock_irqsave(&mpath->frame_queue.lock, flags); in mesh_path_assign_nexthop()
[all …]
Dmesh_hwmp.c385 struct mesh_path *mpath; in hwmp_route_info_get() local
442 mpath = mesh_path_lookup(sdata, orig_addr); in hwmp_route_info_get()
443 if (mpath) { in hwmp_route_info_get()
444 spin_lock_bh(&mpath->state_lock); in hwmp_route_info_get()
445 if (mpath->flags & MESH_PATH_FIXED) in hwmp_route_info_get()
447 else if ((mpath->flags & MESH_PATH_ACTIVE) && in hwmp_route_info_get()
448 (mpath->flags & MESH_PATH_SN_VALID)) { in hwmp_route_info_get()
449 if (SN_GT(mpath->sn, orig_sn) || in hwmp_route_info_get()
450 (mpath->sn == orig_sn && in hwmp_route_info_get()
451 (rcu_access_pointer(mpath->next_hop) != in hwmp_route_info_get()
[all …]
Dmesh.h274 void mesh_path_fix_nexthop(struct mesh_path *mpath, struct sta_info *next_hop);
281 int mesh_path_add_gate(struct mesh_path *mpath);
282 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);
349 static inline void mesh_path_activate(struct mesh_path *mpath) in mesh_path_activate() argument
351 mpath->flags |= MESH_PATH_ACTIVE | MESH_PATH_RESOLVED; in mesh_path_activate()
Dcfg.c1855 struct mesh_path *mpath; in ieee80211_add_mpath() local
1867 mpath = mesh_path_add(sdata, dst); in ieee80211_add_mpath()
1868 if (IS_ERR(mpath)) { in ieee80211_add_mpath()
1870 return PTR_ERR(mpath); in ieee80211_add_mpath()
1873 mesh_path_fix_nexthop(mpath, sta); in ieee80211_add_mpath()
1895 struct mesh_path *mpath; in ieee80211_change_mpath() local
1908 mpath = mesh_path_lookup(sdata, dst); in ieee80211_change_mpath()
1909 if (!mpath) { in ieee80211_change_mpath()
1914 mesh_path_fix_nexthop(mpath, sta); in ieee80211_change_mpath()
1920 static void mpath_set_pinfo(struct mesh_path *mpath, u8 *next_hop, in mpath_set_pinfo() argument
[all …]
Dtx.c2543 struct mesh_path __maybe_unused *mppath = NULL, *mpath = NULL; in ieee80211_build_hdr() local
2627 mpath = mesh_path_lookup(sdata, skb->data); in ieee80211_build_hdr()
2628 if (mpath) { in ieee80211_build_hdr()
2630 next_hop = rcu_dereference(mpath->next_hop); in ieee80211_build_hdr()
2632 !(mpath->flags & (MESH_PATH_ACTIVE | in ieee80211_build_hdr()
2643 if (mppath && mpath) in ieee80211_build_hdr()
2644 mesh_path_del(sdata, mpath->dst); in ieee80211_build_hdr()
2670 else if (mpath) in ieee80211_build_hdr()
2671 mesh_da = mpath->dst; in ieee80211_build_hdr()
/kernel/linux/linux-5.10/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
165 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()
/kernel/linux/linux-5.10/include/net/
Dnexthop.h78 bool mpath; member
167 return nh_grp->mpath; in nexthop_is_multipath()
182 if (nh_grp->mpath) in nexthop_num_path()
263 if (nh_grp->mpath) { in nexthop_fib_nhc()
/kernel/linux/linux-5.10/Documentation/admin-guide/device-mapper/
Ddm-uevent.rst90 DM_UUID=mpath-35333333000002328
107 DM_UUID=mpath-35333333000002328
/kernel/linux/linux-5.10/drivers/md/
DMakefile9 dm-multipath-y += dm-path-selector.o dm-mpath.o
/kernel/linux/linux-5.10/net/ipv4/
Dnexthop.c201 if (nhg->mpath) in nla_put_nh_group()
395 if (nhg->mpath) { in valid_group_nh()
801 newg->mpath = nhg->mpath; in remove_nh_grp_entry()
1293 nhg->mpath = 1; in nexthop_create_group()