Home
last modified time | relevance | path

Searched refs:pm_type (Results 1 – 6 of 6) sorted by relevance

/linux/tools/testing/selftests/net/mptcp/
H A Duserspace_pm.sh126 pm_type="$(ip netns exec "$ns1" sysctl -n net.mptcp.pm_type)"
127 if [ "${pm_type}" != "1" ]; then
128 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" ]; then
136 test_fail "unexpected pm_type after error: ${pm_type}"
141 ip netns exec "$ns1" sysctl -q net.mptcp.pm_type=0
151 ip netns exec "$i" sysctl -q net.mptcp.pm_type=1
H A Dmptcp_join.sh146 ip netns exec $netns sysctl -q net.mptcp.pm_type=0 2>/dev/null || true
2180 ip netns exec $ns sysctl -q net.mptcp.pm_type=1
/linux/Documentation/translations/zh_CN/networking/
H A Dmptcp-sysctl.rst91 pm_type - INTEGER
/linux/drivers/mmc/core/
H A Dmmc.c2039 enum mmc_poweroff_type pm_type) in mmc_host_can_poweroff_notify() argument
2045 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() argument
2142 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()
/linux/net/mptcp/
H A Dpm.c1179 u8 pm_type = mptcp_get_pm_type(sock_net((struct sock *)msk)); in mptcp_pm_data_reset() local
1185 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()
H A Dprotocol.h238 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()