Lines Matching refs:tidinfo
72 static int unprogram_rcvarray(struct hfi1_filedata *fd, u32 tidinfo,
512 u32 *tidinfo; in hfi1_user_exp_rcv_clear() local
518 tidinfo = memdup_user(u64_to_user_ptr(tinfo->tidlist), in hfi1_user_exp_rcv_clear()
519 sizeof(tidinfo[0]) * tinfo->tidcnt); in hfi1_user_exp_rcv_clear()
520 if (IS_ERR(tidinfo)) in hfi1_user_exp_rcv_clear()
521 return PTR_ERR(tidinfo); in hfi1_user_exp_rcv_clear()
525 ret = unprogram_rcvarray(fd, tidinfo[tididx], NULL); in hfi1_user_exp_rcv_clear()
538 kfree(tidinfo); in hfi1_user_exp_rcv_clear()
690 u32 tidinfo = 0, rcventry, useidx = 0; in program_rcvarray() local
734 tidinfo = rcventry2tidinfo(rcventry - uctxt->expected_base) | in program_rcvarray()
736 tidlist[(*tididx)++] = tidinfo; in program_rcvarray()
809 static int unprogram_rcvarray(struct hfi1_filedata *fd, u32 tidinfo, in unprogram_rcvarray() argument
815 u8 tidctrl = EXP_TID_GET(tidinfo, CTRL); in unprogram_rcvarray()
816 u32 tididx = EXP_TID_GET(tidinfo, IDX) << 1, rcventry; in unprogram_rcvarray()