Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/infiniband/hw/hfi1/
Dinit.c395 rcd->egrbufs.count = round_down(rcvtids, in hfi1_create_ctxtdata()
397 if (rcd->egrbufs.count > MAX_EAGER_ENTRIES) { in hfi1_create_ctxtdata()
400 rcd->egrbufs.count = MAX_EAGER_ENTRIES; in hfi1_create_ctxtdata()
404 rcd->ctxt, rcd->egrbufs.count); in hfi1_create_ctxtdata()
414 rcd->egrbufs.buffers = in hfi1_create_ctxtdata()
415 kcalloc_node(rcd->egrbufs.count, in hfi1_create_ctxtdata()
416 sizeof(*rcd->egrbufs.buffers), in hfi1_create_ctxtdata()
418 if (!rcd->egrbufs.buffers) in hfi1_create_ctxtdata()
420 rcd->egrbufs.rcvtids = in hfi1_create_ctxtdata()
421 kcalloc_node(rcd->egrbufs.count, in hfi1_create_ctxtdata()
[all …]
Dtrace_ctxts.h44 __entry->eager_cnt = uctxt->egrbufs.alloced;
45 __entry->rcvegr_dma = uctxt->egrbufs.rcvtids[0].dma;
Dfile_ops.c414 memlen = uctxt->egrbufs.size; in hfi1_file_mmap()
436 for (i = 0 ; i < uctxt->egrbufs.numbufs; i++) { in hfi1_file_mmap()
437 memlen = uctxt->egrbufs.buffers[i].len; in hfi1_file_mmap()
438 memvirt = uctxt->egrbufs.buffers[i].addr; in hfi1_file_mmap()
439 memdma = uctxt->egrbufs.buffers[i].dma; in hfi1_file_mmap()
530 memlen = uctxt->egrbufs.size * uctxt->subctxt_cnt; in hfi1_file_mmap()
1055 uctxt->subctxt_rcvegrbuf = vmalloc_user(uctxt->egrbufs.size * in setup_subctxt()
1148 cinfo.rcvtids = roundup(uctxt->egrbufs.alloced, in get_ctxt_info()
1156 cinfo.egrtids = uctxt->egrbufs.alloced; in get_ctxt_info()
1160 cinfo.rcvegr_size = uctxt->egrbufs.rcvtid_size; in get_ctxt_info()
[all …]
Ddriver.c161 *update |= !(idx & (rcd->egrbufs.threshold - 1)) && !offset; in get_egrbuf()
162 return (void *)(((u64)(rcd->egrbufs.rcvtids[idx].addr)) + in get_egrbuf()
Dhfi.h225 struct ctxt_eager_bufs egrbufs; member
Dchip.c9978 rcd->egrbufs.alloced; i++) in hfi1_clear_tids()
12042 rcvctrl |= ((u64)encoded_size(rcd->egrbufs.rcvtid_size) in hfi1_rcvctrl()
12054 reg = (((u64)(rcd->egrbufs.alloced >> RCV_SHIFT) in hfi1_rcvctrl()