Home
last modified time | relevance | path

Searched refs:npresent (Results 1 – 6 of 6) sorted by relevance

/linux-4.4.14/drivers/infiniband/hw/qib/
Dqib_driver.c127 int nunits = 0, npresent = 0, nup = 0; in qib_count_units() local
138 npresent++; in qib_count_units()
150 *npresentp = npresent; in qib_count_units()
Dqib_file_ops.c1433 int ret = 0, devmax, npresent, nup, ndev, dusable = 0, i; in get_a_ctxt() local
1436 devmax = qib_count_units(&npresent, &nup); in get_a_ctxt()
1437 if (!npresent) { in get_a_ctxt()
1554 int ret = 0, devmax, npresent, nup, ndev; in find_hca() local
1558 devmax = qib_count_units(&npresent, &nup); in find_hca()
1559 if (!npresent) { in find_hca()
/linux-4.4.14/drivers/staging/rdma/ipath/
Dipath_file_ops.c1673 int maxofallports, npresent, nup; in find_best_unit() local
1676 devmax = ipath_count_units(&npresent, &nup, &maxofallports); in find_best_unit()
1708 if (npresent) { in find_best_unit()
1709 prefunit = curcpu / (ncpus / npresent); in find_best_unit()
1713 npresent, ncpus, ncpus / npresent, in find_best_unit()
1746 if (npresent) { in find_best_unit()
Dipath_driver.c252 int nunits, npresent, nup; in ipath_count_units() local
257 nunits = npresent = nup = maxports = 0; in ipath_count_units()
264 npresent++; in ipath_count_units()
276 *npresentp = npresent; in ipath_count_units()
/linux-4.4.14/drivers/staging/rdma/hfi1/
Ddriver.c198 int nunits = 0, npresent = 0, nup = 0; in hfi1_count_units() local
209 npresent++; in hfi1_count_units()
220 *npresentp = npresent; in hfi1_count_units()
Dfile_ops.c887 int ret = 0, devmax, npresent, nup, dev; in get_user_context() local
889 devmax = hfi1_count_units(&npresent, &nup); in get_user_context()
890 if (!npresent) { in get_user_context()