Searched refs:cpu_mask (Results 1 – 4 of 4) sorted by relevance
49 fio_cpuset_exit(&ipt->cpu_mask); in free_cpu_affinity()56 if (fio_cpuset_init(&ipt->cpu_mask)) { in set_cpu_affinity()61 fio_cpu_set(&ipt->cpu_mask, ipt->cpu); in set_cpu_affinity()63 if (fio_setaffinity(gettid(), ipt->cpu_mask)) { in set_cpu_affinity()65 fio_cpuset_exit(&ipt->cpu_mask); in set_cpu_affinity()
482 os_cpu_mask_t cpu_mask; in clock_thread_fn() local486 if (fio_cpuset_init(&cpu_mask)) { in clock_thread_fn()493 fio_cpu_set(&cpu_mask, t->cpu); in clock_thread_fn()495 if (fio_setaffinity(gettid(), cpu_mask) == -1) { in clock_thread_fn()537 fio_cpuset_exit(&cpu_mask); in clock_thread_fn()540 fio_cpuset_exit(&cpu_mask); in clock_thread_fn()
38 os_cpu_mask_t cpu_mask; member
610 cpu_set_t cpu_mask; in lock_on_cpu() local612 CPU_ZERO(&cpu_mask); in lock_on_cpu()613 CPU_SET(cpu, &cpu_mask); in lock_on_cpu()614 if (sched_setaffinity(0, sizeof(cpu_mask), &cpu_mask) < 0) in lock_on_cpu()