Lines Matching refs:orig_mask
273 cpu_set_t *orig_mask, *mask; in bind_to_cpu() local
276 orig_mask = CPU_ALLOC(nrcpus); in bind_to_cpu()
277 BUG_ON(!orig_mask); in bind_to_cpu()
279 CPU_ZERO_S(size, orig_mask); in bind_to_cpu()
281 if (sched_getaffinity(0, size, orig_mask)) in bind_to_cpu()
305 return orig_mask; in bind_to_cpu()
310 CPU_FREE(orig_mask); in bind_to_cpu()
321 cpu_set_t *orig_mask, *mask; in bind_to_node() local
324 orig_mask = CPU_ALLOC(nrcpus); in bind_to_node()
325 BUG_ON(!orig_mask); in bind_to_node()
327 CPU_ZERO_S(size, orig_mask); in bind_to_node()
329 if (sched_getaffinity(0, size, orig_mask)) in bind_to_node()
359 return orig_mask; in bind_to_node()
364 CPU_FREE(orig_mask); in bind_to_node()
426 cpu_set_t *orig_mask = NULL; in alloc_data() local
438 orig_mask = bind_to_node(node); in alloc_data()
483 bind_to_cpumask(orig_mask); in alloc_data()
484 CPU_FREE(orig_mask); in alloc_data()
1277 cpu_set_t *orig_mask; in worker_thread() local
1294 orig_mask = bind_to_cpu(target_cpu); in worker_thread()
1300 bind_to_cpumask(orig_mask); in worker_thread()
1301 CPU_FREE(orig_mask); in worker_thread()