Home
last modified time | relevance | path

Searched refs:tidcnt (Results 1 – 8 of 8) sorted by relevance

/Linux-v6.1/drivers/infiniband/hw/qib/
Dqib_file_ops.c288 u32 tid, ctxttid, cnt, i, tidcnt, tidoff; in qib_tid_update() local
303 cnt = ti->tidcnt; in qib_tid_update()
310 tidcnt = dd->rcvtidcnt; in qib_tid_update()
314 tidcnt = (dd->rcvtidcnt / rcd->subctxt_cnt) + in qib_tid_update()
316 tidoff = dd->rcvtidcnt - tidcnt; in qib_tid_update()
320 tidcnt = dd->rcvtidcnt / rcd->subctxt_cnt; in qib_tid_update()
321 tidoff = tidcnt * (subctxt - 1); in qib_tid_update()
325 if (cnt > tidcnt) { in qib_tid_update()
329 cnt, tidcnt); in qib_tid_update()
330 cnt = tidcnt; in qib_tid_update()
[all …]
Dqib_common.h431 __u32 tidcnt; member
/Linux-v6.1/drivers/infiniband/hw/hfi1/
Duser_exp_rcv.c405 tinfo->tidcnt = tididx; in hfi1_user_exp_rcv_setup()
445 if (unlikely(tinfo->tidcnt > fd->tid_used)) in hfi1_user_exp_rcv_clear()
449 sizeof(tidinfo[0]) * tinfo->tidcnt); in hfi1_user_exp_rcv_clear()
454 for (tididx = 0; tididx < tinfo->tidcnt; tididx++) { in hfi1_user_exp_rcv_clear()
465 tinfo->tidcnt = tididx; in hfi1_user_exp_rcv_clear()
497 tinfo->tidcnt = fd->invalid_tid_idx; in hfi1_user_exp_rcv_invalid()
505 tinfo->tidcnt = 0; in hfi1_user_exp_rcv_invalid()
509 if (tinfo->tidcnt) { in hfi1_user_exp_rcv_invalid()
511 array, sizeof(*array) * tinfo->tidcnt)) in hfi1_user_exp_rcv_invalid()
Dfile_ops.c1318 addr = arg + offsetof(struct hfi1_tid_info, tidcnt); in user_exp_rcv_setup()
1319 if (copy_to_user((void __user *)addr, &tinfo.tidcnt, in user_exp_rcv_setup()
1320 sizeof(tinfo.tidcnt))) in user_exp_rcv_setup()
1357 addr = arg + offsetof(struct hfi1_tid_info, tidcnt); in user_exp_rcv_clear()
1358 if (copy_to_user((void __user *)addr, &tinfo.tidcnt, in user_exp_rcv_clear()
1359 sizeof(tinfo.tidcnt))) in user_exp_rcv_clear()
1395 addr = arg + offsetof(struct hfi1_tid_info, tidcnt); in user_exp_rcv_invalid()
1396 if (copy_to_user((void __user *)addr, &tinfo.tidcnt, in user_exp_rcv_invalid()
1397 sizeof(tinfo.tidcnt))) in user_exp_rcv_invalid()
Dtid_rdma.h185 u8 tidcnt; member
Dtid_rdma.c1342 flow->tid_entry[flow->tidcnt++] = in kern_program_rcv_group()
1347 flow->req->qp, flow->tidcnt - 1, in kern_program_rcv_group()
1348 flow->tid_entry[flow->tidcnt - 1]); in kern_program_rcv_group()
1413 flow->tidcnt = 0; in kern_program_rcvarray()
1724 (flow->tidcnt - flow->tid_idx); in hfi1_build_tid_rdma_read_packet()
1910 flow->tidcnt = pktlen / sizeof(*flow->tid_entry); in tid_rdma_rcv_read_request()
1917 for (i = 0; i < flow->tidcnt; i++) { in tid_rdma_rcv_read_request()
3089 for (tididx = 0; tididx < flow->tidcnt; tididx++) { in hfi1_tid_rdma_restart_req()
3890 resp_len = sizeof(*flow->tid_entry) * flow->tidcnt; in hfi1_build_tid_rdma_write_resp()
4132 flow->tidcnt = pktlen / sizeof(*flow->tid_entry); in hfi1_rc_rcv_tid_rdma_write_resp()
[all …]
Dtrace_tid.h507 __field(u32, tidcnt)
529 __entry->tidcnt = flow->tidcnt;
550 __entry->tidcnt,
/Linux-v6.1/include/uapi/rdma/hfi/
Dhfi1_ioctl.h105 __u32 tidcnt; member