Home
last modified time | relevance | path

Searched refs:rec_cpu_num (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.4/drivers/infiniband/hw/hfi1/
Dfile_ops.c204 fd->rec_cpu_num = -1; /* no cpu affinity by default */ in hfi1_file_open()
647 hfi1_put_proc_affinity(fdata->rec_cpu_num); in hfi1_file_close()
760 fd->rec_cpu_num = hfi1_get_proc_affinity(fd->uctxt->numa_id); in complete_subctxt()
956 fd->rec_cpu_num = hfi1_get_proc_affinity(dd->node); in allocate_ctxt()
957 if (fd->rec_cpu_num != -1) in allocate_ctxt()
958 numa = cpu_to_node(fd->rec_cpu_num); in allocate_ctxt()
967 uctxt->ctxt, fd->subctxt, current->pid, fd->rec_cpu_num, in allocate_ctxt()
1153 cinfo.rec_cpu = fd->rec_cpu_num; in get_ctxt_info()
Dhfi.h1445 int rec_cpu_num; member
/Linux-v5.4/drivers/infiniband/hw/qib/
Dqib_file_ops.c1157 fd->rec_cpu_num = local_cpu; in assign_ctxt_affinity()
1181 fd->rec_cpu_num = cpu; in assign_ctxt_affinity()
1296 numa_id = qib_numa_aware ? ((fd->rec_cpu_num != -1) ? in setup_ctxt()
1297 cpu_to_node(fd->rec_cpu_num) : in setup_ctxt()
1332 if (fd->rec_cpu_num != -1) in setup_ctxt()
1333 __clear_bit(fd->rec_cpu_num, qib_cpulist); in setup_ctxt()
1524 ((struct qib_filedata *)fp->private_data)->rec_cpu_num = -1; in qib_open()
1819 if (fd->rec_cpu_num != -1) in qib_close()
1820 __clear_bit(fd->rec_cpu_num, qib_cpulist); in qib_close()
1896 info.rec_cpu = fd->rec_cpu_num; in qib_ctxt_info()
Dqib.h1106 int rec_cpu_num; /* for cpu affinity; -1 if none */ member