Lines Matching refs:cpu_to_lock
60 int cpu_to_lock; member
680 cmd_data->cpu_to_lock = -1; in processOptions()
705 save_value = &cmd_data->cpu_to_lock; in processOptions()
785 bool raisePriorityAndLock(int cpu_to_lock) { in raisePriorityAndLock() argument
799 if (cpu_to_lock < 0) { in raisePriorityAndLock()
803 cpu_to_lock = i; in raisePriorityAndLock()
806 } else if (!CPU_ISSET(cpu_to_lock, &cpuset)) { in raisePriorityAndLock()
807 printf("Cpu %d does not exist.\n", cpu_to_lock); in raisePriorityAndLock()
811 if (cpu_to_lock < 0) { in raisePriorityAndLock()
817 CPU_SET(cpu_to_lock, &cpuset); in raisePriorityAndLock()
835 if (!raisePriorityAndLock(cmd_data.cpu_to_lock)) { in main()