Searched refs:cpumask (Results 1 – 11 of 11) sorted by relevance
/external/fio/os/ |
D | os-freebsd.h | 49 static inline int fio_setaffinity(int pid, os_cpu_mask_t cpumask) in fio_setaffinity() argument 51 return cpuset_setaffinity(CPU_LEVEL_WHICH, CPU_WHICH_TID, pid, sizeof(cpumask), &cpumask); in fio_setaffinity() 54 static inline int fio_getaffinity(int pid, os_cpu_mask_t *cpumask) in fio_getaffinity() argument 56 return cpuset_getaffinity(CPU_LEVEL_WHICH, CPU_WHICH_PID, pid, sizeof(cpumask), cpumask); in fio_getaffinity()
|
D | os-linux.h | 52 #define fio_setaffinity(pid, cpumask) \ argument 53 sched_setaffinity((pid), sizeof(cpumask), &(cpumask)) 57 #define fio_setaffinity(pid, cpumask) \ argument 58 sched_setaffinity((pid), &(cpumask))
|
D | os-windows.h | 170 static inline int fio_setaffinity(int pid, os_cpu_mask_t cpumask) in fio_setaffinity() argument 177 bSuccess = SetThreadAffinityMask(h, cpumask); in fio_setaffinity() 179 …rr("fio_setaffinity failed: failed to set thread affinity (pid %d, mask %.16llx)\n", pid, cpumask); in fio_setaffinity()
|
D | os-solaris.h | 100 #define fio_setaffinity(pid, cpumask) \ argument 101 pset_bind((cpumask), P_PID, (pid), NULL)
|
/external/llvm/test/CodeGen/Hexagon/ |
D | expand-condsets-rm-segment.ll | 7 %struct.cpumask = type { [1 x i32] } 20 @cpu_online_mask = external constant %struct.cpumask*
|
/external/fio/ |
D | thread_options.h | 165 os_cpu_mask_t cpumask; member 392 uint8_t cpumask[FIO_TOP_STR_MAX]; member
|
D | backend.c | 1362 fio_cpu_clear(&o->cpumask, o->gtod_cpu); in thread_main() 1368 if (fio_option_is_set(o, cpumask)) { in thread_main() 1370 ret = fio_cpus_split(&o->cpumask, td->thread_number - 1); in thread_main() 1378 ret = fio_setaffinity(td->pid, o->cpumask); in thread_main() 1613 if (fio_option_is_set(o, cpumask)) { in thread_main() 1614 ret = fio_cpuset_exit(&o->cpumask); in thread_main()
|
D | options.c | 435 ret = fio_cpuset_init(&td->o.cpumask); in str_cpumask_cb() 452 fio_cpu_set(&td->o.cpumask, i); in str_cpumask_cb() 532 return set_cpus_allowed(td, &td->o.cpumask, input); in str_cpus_allowed_cb() 2975 .off1 = td_var_offset(cpumask), 2985 .off1 = td_var_offset(cpumask),
|
D | cconv.c | 251 uint8_t cpumask[FIO_TOP_STR_MAX]; in convert_thread_options_to_cpu() 461 uint8_t cpumask[FIO_TOP_STR_MAX]; in convert_thread_options_to_net()
|
D | init.c | 1676 fio_getaffinity(getpid(), &def_thread.o.cpumask); in fill_def_thread()
|
D | HOWTO | 1023 cpumask=int Set the CPU affinity of this job. The parameter given is a 1033 cpus_allowed=str Controls the same options as cpumask, but it allows a text 1040 specified by cpus_allowed or cpumask. Two policies are
|