Searched refs:egrbufs (Results 1 – 6 of 6) sorted by relevance
275 rcd->egrbufs.count = round_down(rcvtids, in hfi1_create_ctxtdata()277 if (rcd->egrbufs.count > MAX_EAGER_ENTRIES) { in hfi1_create_ctxtdata()280 rcd->egrbufs.count = MAX_EAGER_ENTRIES; in hfi1_create_ctxtdata()283 rcd->ctxt, rcd->egrbufs.count); in hfi1_create_ctxtdata()293 rcd->egrbufs.buffers = kcalloc(rcd->egrbufs.count, in hfi1_create_ctxtdata()294 sizeof(*rcd->egrbufs.buffers), in hfi1_create_ctxtdata()296 if (!rcd->egrbufs.buffers) in hfi1_create_ctxtdata()298 rcd->egrbufs.rcvtids = kcalloc(rcd->egrbufs.count, in hfi1_create_ctxtdata()299 sizeof(*rcd->egrbufs.rcvtids), in hfi1_create_ctxtdata()301 if (!rcd->egrbufs.rcvtids) in hfi1_create_ctxtdata()[all …]
568 memlen = uctxt->egrbufs.size; in hfi1_file_mmap()581 for (i = 0 ; i < uctxt->egrbufs.numbufs; i++) { in hfi1_file_mmap()584 uctxt->egrbufs.buffers[i].phys >> PAGE_SHIFT, in hfi1_file_mmap()585 uctxt->egrbufs.buffers[i].len, in hfi1_file_mmap()589 addr += uctxt->egrbufs.buffers[i].len; in hfi1_file_mmap()663 memlen = uctxt->egrbufs.size * uctxt->subctxt_cnt; in hfi1_file_mmap()1095 uctxt->subctxt_rcvegrbuf = vmalloc_user(uctxt->egrbufs.size * in setup_subctxt()1199 cinfo.rcvtids = roundup(uctxt->egrbufs.alloced, in get_ctxt_info()1207 cinfo.egrtids = uctxt->egrbufs.alloced; in get_ctxt_info()1211 cinfo.rcvegr_size = uctxt->egrbufs.rcvtid_size; in get_ctxt_info()[all …]
236 *update |= !(idx & (rcd->egrbufs.threshold - 1)) && !offset; in get_egrbuf()237 return (void *)(((u64)(rcd->egrbufs.rcvtids[idx].addr)) + in get_egrbuf()
642 __entry->eager_cnt = uctxt->egrbufs.alloced;643 __entry->rcvegr_phys = uctxt->egrbufs.rcvtids[0].phys;
193 struct ctxt_eager_bufs egrbufs; member
5993 rcd->egrbufs.alloced; i++) in hfi1_clear_tids()7719 rcvctrl |= ((u64)encoded_size(rcd->egrbufs.rcvtid_size) in hfi1_rcvctrl()7731 reg = (((u64)(rcd->egrbufs.alloced >> RCV_SHIFT) in hfi1_rcvctrl()