Searched refs:cpu (Results 1 – 2 of 2) sorted by relevance
/io_uring/ |
D | sqpoll.c | 404 int cpu = p->sq_thread_cpu; in io_sq_offload_create() local 407 if (cpu >= nr_cpu_ids || !cpu_online(cpu)) in io_sq_offload_create() 409 sqd->sq_cpu = cpu; in io_sq_offload_create()
|
D | io-wq.c | 1283 unsigned int cpu; member 1292 cpumask_set_cpu(od->cpu, worker->wq->cpu_mask); in io_wq_worker_affinity() 1294 cpumask_clear_cpu(od->cpu, worker->wq->cpu_mask); in io_wq_worker_affinity() 1298 static int __io_wq_cpu_online(struct io_wq *wq, unsigned int cpu, bool online) in __io_wq_cpu_online() argument 1301 .cpu = cpu, in __io_wq_cpu_online() 1311 static int io_wq_cpu_online(unsigned int cpu, struct hlist_node *node) in io_wq_cpu_online() argument 1315 return __io_wq_cpu_online(wq, cpu, true); in io_wq_cpu_online() 1318 static int io_wq_cpu_offline(unsigned int cpu, struct hlist_node *node) in io_wq_cpu_offline() argument 1322 return __io_wq_cpu_online(wq, cpu, false); in io_wq_cpu_offline()
|