Lines Matching refs:tidcnt
288 u32 tid, ctxttid, cnt, i, tidcnt, tidoff; in qib_tid_update() local
303 cnt = ti->tidcnt; in qib_tid_update()
310 tidcnt = dd->rcvtidcnt; in qib_tid_update()
314 tidcnt = (dd->rcvtidcnt / rcd->subctxt_cnt) + in qib_tid_update()
316 tidoff = dd->rcvtidcnt - tidcnt; in qib_tid_update()
320 tidcnt = dd->rcvtidcnt / rcd->subctxt_cnt; in qib_tid_update()
321 tidoff = tidcnt * (subctxt - 1); in qib_tid_update()
325 if (cnt > tidcnt) { in qib_tid_update()
329 cnt, tidcnt); in qib_tid_update()
330 cnt = tidcnt; in qib_tid_update()
339 ntids = tidcnt; in qib_tid_update()
370 if (tid == tidcnt) in qib_tid_update()
414 if (limit > tidcnt) in qib_tid_update()
416 limit = tidcnt; in qib_tid_update()
455 if (tid == tidcnt) in qib_tid_update()
487 u32 tid, ctxttid, limit, tidcnt; in qib_tid_free() local
505 tidcnt = dd->rcvtidcnt; in qib_tid_free()
507 tidcnt = (dd->rcvtidcnt / rcd->subctxt_cnt) + in qib_tid_free()
509 ctxttid += dd->rcvtidcnt - tidcnt; in qib_tid_free()
511 tidcnt = dd->rcvtidcnt / rcd->subctxt_cnt; in qib_tid_free()
512 ctxttid += tidcnt * (subctxt - 1); in qib_tid_free()
519 if (limit > tidcnt) in qib_tid_free()
521 limit = tidcnt; in qib_tid_free()