Home
last modified time | relevance | path

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

/linux-6.12.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-6.12.1/drivers/infiniband/hw/hfi1/
Duser_exp_rcv.c442 tinfo->tidcnt = tididx; in hfi1_user_exp_rcv_setup()
491 if (unlikely(tinfo->tidcnt > fd->tid_used)) in hfi1_user_exp_rcv_clear()
495 tinfo->tidcnt, sizeof(tidinfo[0])); in hfi1_user_exp_rcv_clear()
500 for (tididx = 0; tididx < tinfo->tidcnt; tididx++) { in hfi1_user_exp_rcv_clear()
511 tinfo->tidcnt = tididx; in hfi1_user_exp_rcv_clear()
543 tinfo->tidcnt = fd->invalid_tid_idx; in hfi1_user_exp_rcv_invalid()
551 tinfo->tidcnt = 0; in hfi1_user_exp_rcv_invalid()
555 if (tinfo->tidcnt) { in hfi1_user_exp_rcv_invalid()
557 array, sizeof(*array) * tinfo->tidcnt)) in hfi1_user_exp_rcv_invalid()
Dfile_ops.c1349 addr = arg + offsetof(struct hfi1_tid_info, tidcnt); in user_exp_rcv_setup()
1350 if (copy_to_user((void __user *)addr, &tinfo.tidcnt, in user_exp_rcv_setup()
1351 sizeof(tinfo.tidcnt))) in user_exp_rcv_setup()
1391 addr = arg + offsetof(struct hfi1_tid_info, tidcnt); in user_exp_rcv_clear()
1392 if (copy_to_user((void __user *)addr, &tinfo.tidcnt, in user_exp_rcv_clear()
1393 sizeof(tinfo.tidcnt))) in user_exp_rcv_clear()
1429 addr = arg + offsetof(struct hfi1_tid_info, tidcnt); in user_exp_rcv_invalid()
1430 if (copy_to_user((void __user *)addr, &tinfo.tidcnt, in user_exp_rcv_invalid()
1431 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-6.12.1/include/uapi/rdma/hfi/
Dhfi1_ioctl.h105 __u32 tidcnt; member