Home
last modified time | relevance | path

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

/linux/drivers/infiniband/hw/qib/
H A Dqib_file_ops.c106 unsigned subctxt_cnt; in qib_get_base_info() local
110 subctxt_cnt = rcd->subctxt_cnt; in qib_get_base_info()
111 if (!subctxt_cnt) { in qib_get_base_info()
114 subctxt_cnt = 1; in qib_get_base_info()
151 kinfo->spi_tidcnt = dd->rcvtidcnt / subctxt_cnt; in qib_get_base_info()
153 kinfo->spi_tidcnt += dd->rcvtidcnt % subctxt_cnt; in qib_get_base_info()
199 kinfo->spi_piocnt = (rcd->piocnt / subctxt_cnt) + in qib_get_base_info()
200 (rcd->piocnt % subctxt_cnt); in qib_get_base_info()
208 kinfo->spi_piocnt = rcd->piocnt / subctxt_cnt; in qib_get_base_info()
309 if (!rcd->subctxt_cnt) { in qib_tid_update()
[all …]
H A Dqib_tx.c98 for (i = 1; i < rcd->subctxt_cnt; i++) in qib_disarm_piobufs_ifneeded()
149 for (i = 1; i < rcd->subctxt_cnt; i++) in find_ctxt()
481 for (i = 1; i < rcd->subctxt_cnt; i++) in qib_cancel_sends()
/linux/drivers/infiniband/hw/hfi1/
H A Dtrace_ctxts.h34 __field(unsigned int, subctxt_cnt)
46 __entry->subctxt_cnt = uctxt->subctxt_cnt;
59 __entry->subctxt_cnt
H A Dfile_ops.c524 memlen = rcvhdrq_size(uctxt) * uctxt->subctxt_cnt; in hfi1_file_mmap()
530 memlen = uctxt->egrbufs.size * uctxt->subctxt_cnt; in hfi1_file_mmap()
795 if (uinfo.subctxt_cnt > HFI1_MAX_SHARED_CTXTS) in assign_ctxt()
860 uctxt->subctxt_cnt != uinfo->subctxt_cnt) in match_ctxt()
877 if (subctxt >= uctxt->subctxt_cnt) { in match_ctxt()
914 if (!uinfo->subctxt_cnt) in find_sub_ctxt()
994 if (uinfo->subctxt_cnt) in allocate_ctxt()
1033 uctxt->subctxt_cnt = uinfo->subctxt_cnt; in init_subctxts()
1041 u16 num_subctxts = uctxt->subctxt_cnt; in setup_subctxt()
1203 if (uctxt->subctxt_cnt) in setup_base_ctxt()
[all …]
H A Duser_exp_rcv.c88 if (uctxt->subctxt_cnt && fd->use_mn) { in hfi1_user_exp_rcv_init()
91 fd->tid_limit = uctxt->expected_count / uctxt->subctxt_cnt; in hfi1_user_exp_rcv_init()
92 remainder = uctxt->expected_count % uctxt->subctxt_cnt; in hfi1_user_exp_rcv_init()
/linux/include/uapi/rdma/hfi/
H A Dhfi1_ioctl.h75 __u16 subctxt_cnt; member