Lines Matching refs:subctxt_cnt
95 unsigned subctxt_cnt;
99 subctxt_cnt = rcd->subctxt_cnt;
100 if (!subctxt_cnt) {
103 subctxt_cnt = 1;
140 kinfo->spi_tidcnt = dd->rcvtidcnt / subctxt_cnt;
142 kinfo->spi_tidcnt += dd->rcvtidcnt % subctxt_cnt;
188 kinfo->spi_piocnt = (rcd->piocnt / subctxt_cnt) +
189 (rcd->piocnt % subctxt_cnt);
197 kinfo->spi_piocnt = rcd->piocnt / subctxt_cnt;
298 if (!rcd->subctxt_cnt) {
303 tidcnt = (dd->rcvtidcnt / rcd->subctxt_cnt) +
304 (dd->rcvtidcnt % rcd->subctxt_cnt);
309 tidcnt = dd->rcvtidcnt / rcd->subctxt_cnt;
440 if (!rcd->subctxt_cnt)
487 if (!rcd->subctxt_cnt)
490 tidcnt = (dd->rcvtidcnt / rcd->subctxt_cnt) +
491 (dd->rcvtidcnt % rcd->subctxt_cnt);
494 tidcnt = dd->rcvtidcnt / rcd->subctxt_cnt;
905 unsigned subctxt_cnt;
911 subctxt_cnt = rcd->subctxt_cnt;
921 size = PAGE_SIZE * subctxt_cnt;
924 size = rcd->rcvhdrq_size * subctxt_cnt;
927 size *= subctxt_cnt;
1031 if (!rcd->subctxt_cnt) {
1037 piocnt = (rcd->piocnt / rcd->subctxt_cnt) +
1038 (rcd->piocnt % rcd->subctxt_cnt);
1045 piocnt = rcd->piocnt / rcd->subctxt_cnt;
1235 rcd->subctxt_cnt = uinfo->spu_subctxt_cnt;
1450 if (rcd->subctxt_cnt != uinfo->spu_subctxt_cnt ||
1452 rcd->cnt >= rcd->subctxt_cnt) {
1670 if (rcd->subctxt_cnt) {
1815 info.num_subctxts = rcd->subctxt_cnt;
1875 * subctxt_cnt is 0 if not shared, so do base
1880 for (i = 1; i < rcd->subctxt_cnt; i++)
1911 * subctxt_cnt is 0 if not shared, so do base
1915 for (i = 1; i < rcd->subctxt_cnt; i++)