Lines Matching refs:cpu
130 int cpu; in main() local
279 randBind(&availCPU, &cpu); in main()
282 cpu, rv); in main()
285 testPrintI("CPU: %i wifi_load_driver succeeded", cpu); in main()
288 randBind(&availCPU, &cpu); in main()
291 cpu, rv); in main()
294 testPrintI("CPU: %i wifi_start_supplicant succeeded", cpu); in main()
314 randBind(&availCPU, &cpu); in main()
317 cpu, rv); in main()
320 testPrintI("CPU: %i wifi_stop_supplicant succeeded", cpu); in main()
323 randBind(&availCPU, &cpu); in main()
326 cpu, rv); in main()
329 testPrintI("CPU: %i wifi_unload_driver succeeded", cpu); in main()
481 int chosenAvail, avail, cpu, currentCPU; in randBind() local
490 for (cpu = 0; cpu < CPU_SETSIZE; cpu++) { in randBind()
491 if (CPU_ISSET(cpu, availSet)) { in randBind()
493 CPU_SET(cpu, &cpuset); in randBind()
499 assert(cpu < CPU_SETSIZE); in randBind()
509 if (currentCPU != cpu) { in randBind()
511 currentCPU, cpu); in randBind()
516 *chosenCPU = cpu; in randBind()