Home
last modified time | relevance | path

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

/linux-4.1.27/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.1.27/drivers/infiniband/hw/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.c248 int nunits, npresent, nup; in ipath_count_units() local
253 nunits = npresent = nup = maxports = 0; in ipath_count_units()
260 npresent++; in ipath_count_units()
272 *npresentp = npresent; in ipath_count_units()