Searched refs:subval (Results 1 – 1 of 1) sorted by relevance
/xen/tools/misc/ |
A D | xenpm.c | 1133 int value, subval = XEN_SYSCTL_CX_UNLIMITED; in set_max_cstate_func() local 1141 (sscanf(argv[1], "%d", &subval) == 1 in set_max_cstate_func() 1142 ? subval < 0 in set_max_cstate_func() 1143 : (subval = XEN_SYSCTL_CX_UNLIMITED, strcmp(argv[1], "unlimited")))) ) in set_max_cstate_func() 1162 snprintf(buf, ARRAY_SIZE(buf), "%d", subval); in set_max_cstate_func() 1164 if ( !xc_set_cpuidle_max_csubstate(xc_handle, (uint32_t)subval) ) in set_max_cstate_func() 1166 subval >= 0 ? buf : "unlimited"); in set_max_cstate_func() 1169 subval >= 0 ? buf : "unlimited", errno, strerror(errno)); in set_max_cstate_func()
|
Completed in 5 milliseconds