Searched refs:pm_type (Results 1 – 9 of 9) 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 …]
983 u8 pm_type = mptcp_get_pm_type(sock_net((struct sock *)msk)); in mptcp_pm_data_reset() local989 WRITE_ONCE(pm->pm_type, pm_type); in mptcp_pm_data_reset()991 if (pm_type == MPTCP_PM_TYPE_KERNEL) { in mptcp_pm_data_reset()
237 u8 pm_type;1102 return READ_ONCE(msk->pm.pm_type) == MPTCP_PM_TYPE_USERSPACE; in mptcp_pm_is_userspace()1107 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
102 ip netns exec $netns sysctl -q net.mptcp.pm_type=0 2>/dev/null || true1941 ip netns exec $ns sysctl -q net.mptcp.pm_type=1
620 enum amd_pm_state_type pm_type; in renoir_get_current_power_state() local629 pm_type = POWER_STATE_TYPE_BATTERY; in renoir_get_current_power_state()632 pm_type = POWER_STATE_TYPE_BALANCED; in renoir_get_current_power_state()635 pm_type = POWER_STATE_TYPE_PERFORMANCE; in renoir_get_current_power_state()639 pm_type = POWER_STATE_TYPE_INTERNAL_BOOT; in renoir_get_current_power_state()641 pm_type = POWER_STATE_TYPE_DEFAULT; in renoir_get_current_power_state()645 return pm_type; in renoir_get_current_power_state()
470 enum amd_pm_state_type pm_type; in pp_dpm_get_current_power_state() local479 pm_type = POWER_STATE_TYPE_BATTERY; in pp_dpm_get_current_power_state()482 pm_type = POWER_STATE_TYPE_BALANCED; in pp_dpm_get_current_power_state()485 pm_type = POWER_STATE_TYPE_PERFORMANCE; in pp_dpm_get_current_power_state()489 pm_type = POWER_STATE_TYPE_INTERNAL_BOOT; in pp_dpm_get_current_power_state()491 pm_type = POWER_STATE_TYPE_DEFAULT; in pp_dpm_get_current_power_state()495 return pm_type; in pp_dpm_get_current_power_state()
96 pm_type - INTEGER
63 Path managers are controlled by the ``net.mptcp.pm_type`` sysctl knob -- see