Searched refs:cpumasksize (Results 1 – 3 of 3) sorted by relevance
32 int cpumasksize; in check_affinity() local36 cpumasksize = uv_cpumask_size(); in check_affinity()37 ASSERT_GT(cpumasksize, 0); in check_affinity()41 r = uv_thread_setaffinity(&tid, cpumask + cpumasksize, cpumask, cpumasksize); in check_affinity()51 int cpumasksize; in TEST_IMPL() local66 ASSERT_GT(cpumasksize, 0); in TEST_IMPL()78 t1first = cpumasksize * 0; in TEST_IMPL()79 t1second = cpumasksize * 1; in TEST_IMPL()80 t2first = cpumasksize * 2; in TEST_IMPL()81 t2second = cpumasksize * 3; in TEST_IMPL()[all …]
171 int cpumasksize; in uv_thread_setaffinity() local173 cpumasksize = uv_cpumask_size(); in uv_thread_setaffinity()174 assert(cpumasksize > 0); in uv_thread_setaffinity()175 if (mask_size < (size_t)cpumasksize) in uv_thread_setaffinity()183 for (i = 0; i < cpumasksize; i++) { in uv_thread_setaffinity()197 for (i = 0; i < cpumasksize; i++) in uv_thread_setaffinity()212 int cpumasksize; in uv_thread_getaffinity() local214 cpumasksize = uv_cpumask_size(); in uv_thread_getaffinity()215 assert(cpumasksize > 0); in uv_thread_getaffinity()216 if (mask_size < (size_t)cpumasksize) in uv_thread_getaffinity()[all …]
189 int cpumasksize; in uv_thread_setaffinity() local191 cpumasksize = uv_cpumask_size(); in uv_thread_setaffinity()192 if (cpumasksize < 0) in uv_thread_setaffinity()193 return cpumasksize; in uv_thread_setaffinity()194 if (mask_size < (size_t)cpumasksize) in uv_thread_setaffinity()204 for (i = 0; i < cpumasksize; i++) in uv_thread_setaffinity()227 int cpumasksize; in uv_thread_getaffinity() local229 cpumasksize = uv_cpumask_size(); in uv_thread_getaffinity()230 if (cpumasksize < 0) in uv_thread_getaffinity()231 return cpumasksize; in uv_thread_getaffinity()[all …]
Completed in 11 milliseconds