Home
last modified time | relevance | path

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

/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.c1437 int ret = 0, devmax, npresent, nup, ndev, dusable = 0, i; in get_a_ctxt() local
1440 devmax = qib_count_units(&npresent, &nup); in get_a_ctxt()
1441 if (!npresent) { in get_a_ctxt()
1558 int ret = 0, devmax, npresent, nup, ndev; in find_hca() local
1562 devmax = qib_count_units(&npresent, &nup); in find_hca()
1563 if (!npresent) { in find_hca()
/drivers/staging/rdma/ipath/
Dipath_file_ops.c1675 int maxofallports, npresent, nup; in find_best_unit() local
1678 devmax = ipath_count_units(&npresent, &nup, &maxofallports); in find_best_unit()
1710 if (npresent) { in find_best_unit()
1711 prefunit = curcpu / (ncpus / npresent); in find_best_unit()
1715 npresent, ncpus, ncpus / npresent, in find_best_unit()
1748 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()
/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()