Searched refs:pm_type (Results 1 – 10 of 10) sorted by relevance
40 u8 pm_type; member84 return mptcp_get_pernet(net)->pm_type; in mptcp_get_pm_type()108 pernet->pm_type = MPTCP_PM_TYPE_KERNEL; in mptcp_pernet_set_defaults()220 u8 pm_type = __MPTCP_PM_TYPE_NR; in proc_path_manager() local223 pm_type = MPTCP_PM_TYPE_KERNEL; in proc_path_manager()225 pm_type = MPTCP_PM_TYPE_USERSPACE; in proc_path_manager()226 pernet->pm_type = pm_type; in proc_path_manager()238 pm_type); in proc_pm_type()243 u8 pm_type = READ_ONCE(*(u8 *)ctl->data); in proc_pm_type() local246 if (pm_type == MPTCP_PM_TYPE_KERNEL) in proc_pm_type()[all …]
1062 u8 pm_type = mptcp_get_pm_type(sock_net((struct sock *)msk)); in mptcp_pm_data_reset() local1068 WRITE_ONCE(pm->pm_type, pm_type); in mptcp_pm_data_reset()1070 if (pm_type == MPTCP_PM_TYPE_KERNEL) { in mptcp_pm_data_reset()
236 u8 pm_type;1165 return READ_ONCE(msk->pm.pm_type) == MPTCP_PM_TYPE_USERSPACE; in mptcp_pm_is_userspace()1170 return READ_ONCE(msk->pm.pm_type) == MPTCP_PM_TYPE_KERNEL; in mptcp_pm_is_kernel()
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
133 ip netns exec $netns sysctl -q net.mptcp.pm_type=0 2>/dev/null || true2100 ip netns exec $ns sysctl -q net.mptcp.pm_type=1
467 enum amd_pm_state_type pm_type; in pp_dpm_get_current_power_state() local476 pm_type = POWER_STATE_TYPE_BATTERY; in pp_dpm_get_current_power_state()479 pm_type = POWER_STATE_TYPE_BALANCED; in pp_dpm_get_current_power_state()482 pm_type = POWER_STATE_TYPE_PERFORMANCE; in pp_dpm_get_current_power_state()486 pm_type = POWER_STATE_TYPE_INTERNAL_BOOT; in pp_dpm_get_current_power_state()488 pm_type = POWER_STATE_TYPE_DEFAULT; in pp_dpm_get_current_power_state()492 return pm_type; in pp_dpm_get_current_power_state()
609 enum amd_pm_state_type pm_type; in renoir_get_current_power_state() local618 pm_type = POWER_STATE_TYPE_BATTERY; in renoir_get_current_power_state()621 pm_type = POWER_STATE_TYPE_BALANCED; in renoir_get_current_power_state()624 pm_type = POWER_STATE_TYPE_PERFORMANCE; in renoir_get_current_power_state()628 pm_type = POWER_STATE_TYPE_INTERNAL_BOOT; in renoir_get_current_power_state()630 pm_type = POWER_STATE_TYPE_DEFAULT; in renoir_get_current_power_state()634 return pm_type; in renoir_get_current_power_state()
91 pm_type - INTEGER
2025 enum mmc_poweroff_type pm_type) in mmc_host_can_poweroff_notify() argument2031 pm_type == MMC_POWEROFF_SUSPEND) in mmc_host_can_poweroff_notify()2034 return pm_type == MMC_POWEROFF_SHUTDOWN; in mmc_host_can_poweroff_notify()2123 static int _mmc_suspend(struct mmc_host *host, enum mmc_poweroff_type pm_type) in _mmc_suspend() argument2128 if (pm_type == MMC_POWEROFF_SHUTDOWN) in _mmc_suspend()2140 if (pm_type != MMC_POWEROFF_UNDERVOLTAGE) { in _mmc_suspend()2147 mmc_host_can_poweroff_notify(host, pm_type)) in _mmc_suspend()
100 pm_type - INTEGER