Home
last modified time | relevance | path

Searched refs:hfi1_ctxtdata (Results 1 – 13 of 13) sorted by relevance

/linux-4.4.14/drivers/staging/rdma/hfi1/
Dfile_ops.c93 static int init_subctxts(struct hfi1_ctxtdata *, const struct hfi1_user_info *);
98 static int setup_subctxt(struct hfi1_ctxtdata *);
106 static int user_event_ack(struct hfi1_ctxtdata *, int, unsigned long);
107 static int set_ctxt_pkey(struct hfi1_ctxtdata *, unsigned, u16);
108 static int manage_rcvq(struct hfi1_ctxtdata *, unsigned, int);
112 static void unlock_exp_tids(struct hfi1_ctxtdata *);
209 struct hfi1_ctxtdata *uctxt = ctxt_fp(fp); in hfi1_file_write()
485 struct hfi1_ctxtdata *uctxt; in hfi1_file_mmap()
736 struct hfi1_ctxtdata *uctxt; in hfi1_poll()
755 struct hfi1_ctxtdata *uctxt = fdata->uctxt; in hfi1_file_close()
[all …]
Dhfi.h169 struct hfi1_ctxtdata { struct
316 int (*do_interrupt)(struct hfi1_ctxtdata *rcd, int threaded); argument
329 struct hfi1_ctxtdata *rcd;
796 struct hfi1_ctxtdata **rcd;
1099 struct hfi1_ctxtdata *uctxt;
1123 void handle_user_interrupt(struct hfi1_ctxtdata *rcd);
1125 int hfi1_create_rcvhdrq(struct hfi1_devdata *, struct hfi1_ctxtdata *);
1126 int hfi1_setup_eagerbufs(struct hfi1_ctxtdata *);
1128 struct hfi1_ctxtdata *hfi1_create_ctxtdata(struct hfi1_pportdata *, u32);
1131 void hfi1_free_ctxtdata(struct hfi1_devdata *, struct hfi1_ctxtdata *);
[all …]
Ddriver.c231 static inline void *get_egrbuf(const struct hfi1_ctxtdata *rcd, u64 rhf, in get_egrbuf()
261 static void rcv_hdrerr(struct hfi1_ctxtdata *rcd, struct hfi1_pportdata *ppd, in rcv_hdrerr()
421 static inline void init_packet(struct hfi1_ctxtdata *rcd, in init_packet()
495 struct hfi1_ctxtdata *rcd;
506 struct hfi1_ctxtdata *rcd = packet->rcd; in init_ps_mdata()
536 struct hfi1_ctxtdata *rcd = mdata->rcd; in update_ps_mdata()
556 struct hfi1_ctxtdata *rcd = packet->rcd; in prescan_rxq()
712 struct hfi1_ctxtdata *rcd; in process_rcv_qp_work()
746 int handle_receive_interrupt_nodma_rtail(struct hfi1_ctxtdata *rcd, int thread) in handle_receive_interrupt_nodma_rtail()
776 int handle_receive_interrupt_dma_rtail(struct hfi1_ctxtdata *rcd, int thread) in handle_receive_interrupt_dma_rtail()
[all …]
Duser_sdma.h86 int hfi1_user_sdma_alloc_queues(struct hfi1_ctxtdata *, struct file *);
Dinit.c143 struct hfi1_ctxtdata *rcd; in hfi1_create_ctxts()
196 struct hfi1_ctxtdata *hfi1_create_ctxtdata(struct hfi1_pportdata *ppd, u32 ctxt) in hfi1_create_ctxtdata()
199 struct hfi1_ctxtdata *rcd; in hfi1_create_ctxtdata()
647 struct hfi1_ctxtdata *rcd; in hfi1_init()
913 void hfi1_free_ctxtdata(struct hfi1_devdata *dd, struct hfi1_ctxtdata *rcd) in hfi1_free_ctxtdata()
1232 struct hfi1_ctxtdata **tmp; in cleanup_device_data()
1270 struct hfi1_ctxtdata *rcd = tmp[ctxt]; in cleanup_device_data()
1460 int hfi1_create_rcvhdrq(struct hfi1_devdata *dd, struct hfi1_ctxtdata *rcd) in hfi1_create_rcvhdrq()
1548 int hfi1_setup_eagerbufs(struct hfi1_ctxtdata *rcd) in hfi1_setup_eagerbufs()
Dchip.h657 void update_usrhead(struct hfi1_ctxtdata *, u32, u32, u32, u32, u32);
665 u32 hdrqempty(struct hfi1_ctxtdata *rcd);
997 void hfi1_clear_tids(struct hfi1_ctxtdata *rcd);
1000 int hfi1_get_base_kinfo(struct hfi1_ctxtdata *rcd,
Dintr.c188 void handle_user_interrupt(struct hfi1_ctxtdata *rcd) in handle_user_interrupt()
Dverbs.h66 struct hfi1_ctxtdata;
945 struct hfi1_ctxtdata *rcd,
1088 void hfi1_send_rc_ack(struct hfi1_ctxtdata *, struct hfi1_qp *qp, int is_fecn);
Drc.c685 void hfi1_send_rc_ack(struct hfi1_ctxtdata *rcd, struct hfi1_qp *qp, in hfi1_send_rc_ack()
1161 u64 val, struct hfi1_ctxtdata *rcd) in do_rc_ack()
1384 struct hfi1_ctxtdata *rcd) in rdma_seq_err()
1434 struct hfi1_ctxtdata *rcd) in rc_rcv_resp()
1628 struct hfi1_ctxtdata *rcd) in rc_rcv_error()
1938 struct hfi1_ctxtdata *rcd = packet->rcd; in hfi1_rc_rcv()
2384 struct hfi1_ctxtdata *rcd, in hfi1_rc_hdrerr()
Duser_sdma.c353 int hfi1_user_sdma_alloc_queues(struct hfi1_ctxtdata *uctxt, struct file *fp) in hfi1_user_sdma_alloc_queues()
443 struct hfi1_ctxtdata *uctxt = fd->uctxt; in hfi1_user_sdma_free_queues()
488 struct hfi1_ctxtdata *uctxt = ctxt_fp(fp); in hfi1_user_sdma_process_request()
Dchip.c4420 struct hfi1_ctxtdata *rcd; in is_rcv_avail_int()
4447 struct hfi1_ctxtdata *rcd; in is_rcv_urgent_int()
4597 static inline void clear_recv_intr(struct hfi1_ctxtdata *rcd) in clear_recv_intr()
4609 static inline void force_recv_intr(struct hfi1_ctxtdata *rcd) in force_recv_intr()
4615 static inline int check_packet_present(struct hfi1_ctxtdata *rcd) in check_packet_present()
4635 struct hfi1_ctxtdata *rcd = data; in receive_context_interrupt()
4674 struct hfi1_ctxtdata *rcd = data; in receive_context_thread()
5985 void hfi1_clear_tids(struct hfi1_ctxtdata *rcd) in hfi1_clear_tids()
6000 int hfi1_get_base_kinfo(struct hfi1_ctxtdata *rcd, in hfi1_get_base_kinfo()
7559 static void adjust_rcv_timeout(struct hfi1_ctxtdata *rcd, u32 npkts) in adjust_rcv_timeout()
[all …]
Dtrace.h621 TP_PROTO(struct hfi1_devdata *dd, struct hfi1_ctxtdata *uctxt),
Dverbs.c610 struct hfi1_ctxtdata *rcd = packet->rcd; in hfi1_ib_rcv()