Searched refs:setsz (Results 1 – 1 of 1) sorted by relevance
146 ulong setsz = CPU_ALLOC_SIZE(ncores); in affinity() local153 CPU_ZERO_S(setsz, setp); in affinity()154 CPU_SET_S(cpu, setsz, setp); in affinity()155 if (sched_setaffinity(getpid(), setsz, setp) == -1) in affinity()