Searched refs:uctxt (Results 1 – 10 of 10) sorted by relevance
/linux-6.1.9/drivers/infiniband/hw/hfi1/ |
D | file_ops.c | 42 static void init_subctxts(struct hfi1_ctxtdata *uctxt, 45 struct hfi1_ctxtdata *uctxt); 46 static void user_init(struct hfi1_ctxtdata *uctxt); 56 struct hfi1_ctxtdata *uctxt); 57 static int setup_subctxt(struct hfi1_ctxtdata *uctxt); 64 static void deallocate_ctxt(struct hfi1_ctxtdata *uctxt); 67 static int user_event_ack(struct hfi1_ctxtdata *uctxt, u16 subctxt, 69 static int set_ctxt_pkey(struct hfi1_ctxtdata *uctxt, unsigned long arg); 70 static int ctxt_reset(struct hfi1_ctxtdata *uctxt); 71 static int manage_rcvq(struct hfi1_ctxtdata *uctxt, u16 subctxt, [all …]
|
D | user_exp_rcv.c | 13 static void unlock_exp_tids(struct hfi1_ctxtdata *uctxt, 52 struct hfi1_ctxtdata *uctxt) in hfi1_user_exp_rcv_init() argument 56 fd->entry_to_rb = kcalloc(uctxt->expected_count, in hfi1_user_exp_rcv_init() 62 if (!HFI1_CAP_UGET_MASK(uctxt->flags, TID_UNMAP)) { in hfi1_user_exp_rcv_init() 64 fd->invalid_tids = kcalloc(uctxt->expected_count, in hfi1_user_exp_rcv_init() 89 if (uctxt->subctxt_cnt && fd->use_mn) { in hfi1_user_exp_rcv_init() 92 fd->tid_limit = uctxt->expected_count / uctxt->subctxt_cnt; in hfi1_user_exp_rcv_init() 93 remainder = uctxt->expected_count % uctxt->subctxt_cnt; in hfi1_user_exp_rcv_init() 97 fd->tid_limit = uctxt->expected_count; in hfi1_user_exp_rcv_init() 106 struct hfi1_ctxtdata *uctxt = fd->uctxt; in hfi1_user_exp_rcv_free() local [all …]
|
D | netdev_rx.c | 21 struct hfi1_ctxtdata *uctxt) in hfi1_netdev_setup_ctxt() argument 27 uctxt->rhf_rcv_function_map = netdev_rhf_rcv_functions; in hfi1_netdev_setup_ctxt() 28 uctxt->do_interrupt = &handle_receive_interrupt_napi_sp; in hfi1_netdev_setup_ctxt() 31 ret = hfi1_create_rcvhdrq(dd, uctxt); in hfi1_netdev_setup_ctxt() 35 ret = hfi1_setup_eagerbufs(uctxt); in hfi1_netdev_setup_ctxt() 39 clear_rcvhdrtail(uctxt); in hfi1_netdev_setup_ctxt() 44 if (!HFI1_CAP_KGET_MASK(uctxt->flags, MULTI_PKT_EGR)) in hfi1_netdev_setup_ctxt() 46 if (HFI1_CAP_KGET_MASK(uctxt->flags, NODROP_EGR_FULL)) in hfi1_netdev_setup_ctxt() 48 if (HFI1_CAP_KGET_MASK(uctxt->flags, NODROP_RHQ_FULL)) in hfi1_netdev_setup_ctxt() 50 if (HFI1_CAP_KGET_MASK(uctxt->flags, DMA_RTAIL)) in hfi1_netdev_setup_ctxt() [all …]
|
D | trace_ctxts.h | 21 TP_PROTO(struct hfi1_devdata *dd, struct hfi1_ctxtdata *uctxt, 23 TP_ARGS(dd, uctxt, subctxt), 37 __entry->ctxt = uctxt->ctxt; 39 __entry->credits = uctxt->sc->credits; 40 __entry->hw_free = le64_to_cpu(*uctxt->sc->hw_free); 41 __entry->piobase = uctxt->sc->base_addr; 42 __entry->rcvhdrq_cnt = get_hdrq_cnt(uctxt); 43 __entry->rcvhdrq_dma = uctxt->rcvhdrq_dma; 44 __entry->eager_cnt = uctxt->egrbufs.alloced; 45 __entry->rcvegr_dma = uctxt->egrbufs.rcvtids[0].dma; [all …]
|
D | user_sdma.c | 126 int hfi1_user_sdma_alloc_queues(struct hfi1_ctxtdata *uctxt, in hfi1_user_sdma_alloc_queues() argument 135 if (!uctxt || !fd) in hfi1_user_sdma_alloc_queues() 141 dd = uctxt->dd; in hfi1_user_sdma_alloc_queues() 147 pq->ctxt = uctxt->ctxt; in hfi1_user_sdma_alloc_queues() 168 snprintf(buf, 64, "txreq-kmem-cache-%u-%u-%u", dd->unit, uctxt->ctxt, in hfi1_user_sdma_alloc_queues() 177 uctxt->ctxt); in hfi1_user_sdma_alloc_queues() 236 struct hfi1_ctxtdata *uctxt) in hfi1_user_sdma_free_queues() argument 240 trace_hfi1_sdma_user_free_queues(uctxt->dd, uctxt->ctxt, fd->subctxt); in hfi1_user_sdma_free_queues() 306 struct hfi1_ctxtdata *uctxt = fd->uctxt; in hfi1_user_sdma_process_request() local 325 dd->unit, uctxt->ctxt, fd->subctxt, in hfi1_user_sdma_process_request() [all …]
|
D | user_sdma.h | 205 int hfi1_user_sdma_alloc_queues(struct hfi1_ctxtdata *uctxt, 208 struct hfi1_ctxtdata *uctxt);
|
D | user_exp_rcv.h | 52 struct hfi1_ctxtdata *uctxt);
|
D | hfi.h | 1388 struct hfi1_ctxtdata *uctxt; member 1411 static inline unsigned long uctxt_offset(struct hfi1_ctxtdata *uctxt) in uctxt_offset() argument 1413 return (uctxt->ctxt - uctxt->dd->first_dyn_alloc_ctxt) * in uctxt_offset()
|
/linux-6.1.9/tools/testing/selftests/vm/ |
D | protection_keys.c | 323 ucontext_t *uctxt = vucontext; in signal_handler() local 340 trapno = uctxt->uc_mcontext.gregs[REG_TRAPNO]; in signal_handler() 341 ip = uctxt->uc_mcontext.gregs[REG_IP_IDX]; in signal_handler() 342 fpregs = (char *) uctxt->uc_mcontext.fpregs; in signal_handler()
|
/linux-6.1.9/drivers/infiniband/hw/qib/ |
D | qib_file_ops.c | 1655 unsigned uctxt; in qib_do_user_init() local 1667 uctxt = rcd->ctxt - dd->first_user_ctxt; in qib_do_user_init() 1668 if (uctxt < dd->ctxts_extrabuf) { in qib_do_user_init() 1670 rcd->pio_base = rcd->piocnt * uctxt; in qib_do_user_init() 1673 rcd->pio_base = rcd->piocnt * uctxt + in qib_do_user_init()
|