Searched refs:egrbufs (Results 1 – 6 of 6) sorted by relevance
435 rcd->egrbufs.count = round_down(rcvtids, in hfi1_create_ctxtdata()437 if (rcd->egrbufs.count > MAX_EAGER_ENTRIES) { in hfi1_create_ctxtdata()440 rcd->egrbufs.count = MAX_EAGER_ENTRIES; in hfi1_create_ctxtdata()444 rcd->ctxt, rcd->egrbufs.count); in hfi1_create_ctxtdata()454 rcd->egrbufs.buffers = in hfi1_create_ctxtdata()455 kcalloc_node(rcd->egrbufs.count, in hfi1_create_ctxtdata()456 sizeof(*rcd->egrbufs.buffers), in hfi1_create_ctxtdata()458 if (!rcd->egrbufs.buffers) in hfi1_create_ctxtdata()460 rcd->egrbufs.rcvtids = in hfi1_create_ctxtdata()461 kcalloc_node(rcd->egrbufs.count, in hfi1_create_ctxtdata()[all …]
85 __entry->eager_cnt = uctxt->egrbufs.alloced;86 __entry->rcvegr_dma = uctxt->egrbufs.rcvtids[0].dma;
434 memlen = uctxt->egrbufs.size; in hfi1_file_mmap()447 for (i = 0 ; i < uctxt->egrbufs.numbufs; i++) { in hfi1_file_mmap()448 memlen = uctxt->egrbufs.buffers[i].len; in hfi1_file_mmap()449 memvirt = uctxt->egrbufs.buffers[i].addr; in hfi1_file_mmap()539 memlen = uctxt->egrbufs.size * uctxt->subctxt_cnt; in hfi1_file_mmap()1063 uctxt->subctxt_rcvegrbuf = vmalloc_user(uctxt->egrbufs.size * in setup_subctxt()1156 cinfo.rcvtids = roundup(uctxt->egrbufs.alloced, in get_ctxt_info()1164 cinfo.egrtids = uctxt->egrbufs.alloced; in get_ctxt_info()1168 cinfo.rcvegr_size = uctxt->egrbufs.rcvtid_size; in get_ctxt_info()1289 uctxt->egrbufs.rcvtids[0].dma); in get_base_info()
208 *update |= !(idx & (rcd->egrbufs.threshold - 1)) && !offset; in get_egrbuf()209 return (void *)(((u64)(rcd->egrbufs.rcvtids[idx].addr)) + in get_egrbuf()
266 struct ctxt_eager_bufs egrbufs; member
10015 rcd->egrbufs.alloced; i++) in hfi1_clear_tids()12079 rcvctrl |= ((u64)encoded_size(rcd->egrbufs.rcvtid_size) in hfi1_rcvctrl()12091 reg = (((u64)(rcd->egrbufs.alloced >> RCV_SHIFT) in hfi1_rcvctrl()