Searched refs:pm_type (Results 1 – 6 of 6) sorted by relevance
126 pm_type="$(ip netns exec "$ns1" sysctl -n net.mptcp.pm_type)"127 if [ "${pm_type}" != "1" ]; then128 test_fail "unexpected pm_type: ${pm_type}"134 pm_type="$(ip netns exec "$ns1" sysctl -n net.mptcp.pm_type)"135 if [ "${pm_type}" != "1" ]; then136 test_fail "unexpected pm_type after error: ${pm_type}"141 ip netns exec "$ns1" sysctl -q net.mptcp.pm_type=0151 ip netns exec "$i" sysctl -q net.mptcp.pm_type=1
146 ip netns exec $netns sysctl -q net.mptcp.pm_type=0 2>/dev/null || true2180 ip netns exec $ns sysctl -q net.mptcp.pm_type=1
91 pm_type - INTEGER
2039 enum mmc_poweroff_type pm_type) in mmc_host_can_poweroff_notify() argument2045 pm_type == MMC_POWEROFF_SUSPEND) in mmc_host_can_poweroff_notify()2048 return pm_type == MMC_POWEROFF_SHUTDOWN; in mmc_host_can_poweroff_notify()2137 static int _mmc_suspend(struct mmc_host *host, enum mmc_poweroff_type pm_type) in _mmc_suspend() argument2142 if (pm_type == MMC_POWEROFF_SHUTDOWN) in _mmc_suspend()2154 if (pm_type != MMC_POWEROFF_UNDERVOLTAGE) { in _mmc_suspend()2161 mmc_host_can_poweroff_notify(host, pm_type)) in _mmc_suspend()
1179 u8 pm_type = mptcp_get_pm_type(sock_net((struct sock *)msk)); in mptcp_pm_data_reset() local1185 WRITE_ONCE(pm->pm_type, pm_type); in mptcp_pm_data_reset()1187 if (pm_type == MPTCP_PM_TYPE_KERNEL) { in mptcp_pm_data_reset()
238 u8 pm_type;1201 return READ_ONCE(msk->pm.pm_type) == MPTCP_PM_TYPE_USERSPACE; in mptcp_pm_is_userspace()1206 return READ_ONCE(msk->pm.pm_type) == MPTCP_PM_TYPE_KERNEL; in mptcp_pm_is_kernel()