Lines Matching refs:setsize
6907 size_t setsize; in os_sched_setaffinity_impl() local
6916 setsize = CPU_ALLOC_SIZE(ncpus); in os_sched_setaffinity_impl()
6922 CPU_ZERO_S(setsize, cpu_set); in os_sched_setaffinity_impl()
6963 memcpy(newmask, cpu_set, setsize); in os_sched_setaffinity_impl()
6965 setsize = newsetsize; in os_sched_setaffinity_impl()
6969 CPU_SET_S(cpu, setsize, cpu_set); in os_sched_setaffinity_impl()
6976 if (sched_setaffinity(pid, setsize, cpu_set)) { in os_sched_setaffinity_impl()
7006 size_t setsize; in os_sched_getaffinity_impl() local
7012 setsize = CPU_ALLOC_SIZE(ncpus); in os_sched_getaffinity_impl()
7016 if (sched_getaffinity(pid, setsize, mask) == 0) in os_sched_getaffinity_impl()
7032 for (cpu = 0, count = CPU_COUNT_S(setsize, mask); count; cpu++) { in os_sched_getaffinity_impl()
7033 if (CPU_ISSET_S(cpu, setsize, mask)) { in os_sched_getaffinity_impl()