Home
last modified time | relevance | path

Searched refs:uctxt (Results 1 – 5 of 5) sorted by relevance

/drivers/staging/rdma/hfi1/
Dfile_ops.c209 struct hfi1_ctxtdata *uctxt = ctxt_fp(fp); in hfi1_file_write() local
290 if (uctxt_required && !uctxt) { in hfi1_file_write()
322 if (uctxt && uctxt->sc) in hfi1_file_write()
323 sc_return_credits(uctxt->sc); in hfi1_file_write()
347 ret = manage_rcvq(uctxt, subctxt_fp(fp), (int)user_val); in hfi1_file_write()
350 uctxt->poll_type = (typeof(uctxt->poll_type))user_val; in hfi1_file_write()
353 ret = user_event_ack(uctxt, subctxt_fp(fp), user_val); in hfi1_file_write()
357 ret = set_ctxt_pkey(uctxt, subctxt_fp(fp), user_val); in hfi1_file_write()
365 if (!uctxt || !uctxt->dd || !uctxt->sc) { in hfi1_file_write()
376 dd = uctxt->dd; in hfi1_file_write()
[all …]
Duser_sdma.c353 int hfi1_user_sdma_alloc_queues(struct hfi1_ctxtdata *uctxt, struct file *fp) in hfi1_user_sdma_alloc_queues() argument
363 if (!uctxt || !fp) { in hfi1_user_sdma_alloc_queues()
373 dd = uctxt->dd; in hfi1_user_sdma_alloc_queues()
386 pq->ctxt = uctxt->ctxt; in hfi1_user_sdma_alloc_queues()
395 snprintf(buf, 64, "txreq-kmem-cache-%u-%u-%u", dd->unit, uctxt->ctxt, in hfi1_user_sdma_alloc_queues()
404 uctxt->ctxt); in hfi1_user_sdma_alloc_queues()
421 spin_lock_irqsave(&uctxt->sdma_qlock, flags); in hfi1_user_sdma_alloc_queues()
422 list_add(&pq->list, &uctxt->sdma_queues); in hfi1_user_sdma_alloc_queues()
423 spin_unlock_irqrestore(&uctxt->sdma_qlock, flags); in hfi1_user_sdma_alloc_queues()
443 struct hfi1_ctxtdata *uctxt = fd->uctxt; in hfi1_user_sdma_free_queues() local
[all …]
Dtrace.h621 TP_PROTO(struct hfi1_devdata *dd, struct hfi1_ctxtdata *uctxt),
622 TP_ARGS(dd, uctxt),
636 __entry->ctxt = uctxt->ctxt;
637 __entry->credits = uctxt->sc->credits;
638 __entry->hw_free = (u64)uctxt->sc->hw_free;
639 __entry->piobase = (u64)uctxt->sc->base_addr;
640 __entry->rcvhdrq_cnt = uctxt->rcvhdrq_cnt;
641 __entry->rcvhdrq_phys = uctxt->rcvhdrq_phys;
642 __entry->eager_cnt = uctxt->egrbufs.alloced;
643 __entry->rcvegr_phys = uctxt->egrbufs.rcvtids[0].phys;
Dhfi.h1099 struct hfi1_ctxtdata *uctxt; member
1428 (((struct hfi1_filedata *)(fp)->private_data)->uctxt)
/drivers/infiniband/hw/qib/
Dqib_file_ops.c1684 unsigned uctxt; in qib_do_user_init() local
1696 uctxt = rcd->ctxt - dd->first_user_ctxt; in qib_do_user_init()
1697 if (uctxt < dd->ctxts_extrabuf) { in qib_do_user_init()
1699 rcd->pio_base = rcd->piocnt * uctxt; in qib_do_user_init()
1702 rcd->pio_base = rcd->piocnt * uctxt + in qib_do_user_init()