Home
last modified time | relevance | path

Searched refs:jkey (Results 1 – 9 of 9) sorted by relevance

/Linux-v5.10/include/uapi/rdma/hfi/
Dhfi1_ioctl.h126 __u16 jkey; member
Dhfi1_user.h231 __le16 jkey; member
/Linux-v5.10/drivers/infiniband/hw/hfi1/
Dfile_ops.c866 uctxt->jkey != generate_jkey(current_uid()) || in match_ctxt()
1009 uctxt->jkey = generate_jkey(current_uid()); in allocate_ctxt()
1105 hfi1_set_ctxt_jkey(uctxt->dd, uctxt, uctxt->jkey); in user_init()
1266 binfo.jkey = uctxt->jkey; in get_base_info()
Dhfi.h296 u16 jkey; member
1674 u16 jkey = from_kuid(current_user_ns(), uid) & HFI1_JKEY_MASK; in generate_jkey() local
1677 jkey &= HFI1_ADMIN_JKEY_RANGE - 1; in generate_jkey()
1678 else if (jkey < 64) in generate_jkey()
1679 jkey |= BIT(HFI1_JKEY_WIDTH - 1); in generate_jkey()
1681 return jkey; in generate_jkey()
Dtid_rdma.h62 u16 jkey; member
Dtid_rdma.c169 (((u64)p->jkey & TID_OPFN_JKEY_MASK) << TID_OPFN_JKEY_SHIFT) | in tid_rdma_opfn_encode()
180 p->jkey = (data >> TID_OPFN_JKEY_SHIFT) & TID_OPFN_JKEY_MASK; in tid_rdma_opfn_decode()
199 p->jkey = priv->rcd->jkey; in tid_rdma_opfn_init()
305 rcd->jkey = TID_RDMA_JKEY; in hfi1_kern_exp_rcv_init()
306 hfi1_set_ctxt_jkey(rcd->dd, rcd, rcd->jkey); in hfi1_kern_exp_rcv_init()
1740 KDETH_RESET(rreq->kdeth1, JKEY, remote->jkey); in hfi1_build_tid_rdma_read_packet()
2374 KDETH_RESET(resp->kdeth1, JKEY, remote->jkey); in hfi1_build_tid_rdma_read_resp()
3372 KDETH_RESET(ohdr->u.tid_rdma.w_req.kdeth1, JKEY, remote->jkey); in hfi1_build_tid_rdma_write_req()
3905 KDETH_RESET(ohdr->u.tid_rdma.w_rsp.kdeth1, JKEY, remote->jkey); in hfi1_build_tid_rdma_write_resp()
4230 KDETH_RESET(wd->kdeth1, JKEY, remote->jkey); in hfi1_build_tid_rdma_packet()
[all …]
Dtrace_tid.h310 __field(u16, jkey)
322 __entry->jkey = param->jkey;
337 __entry->jkey,
Dchip.h1437 u16 jkey);
Dchip.c14797 u16 jkey) in hfi1_set_ctxt_jkey() argument
14807 ((jkey & SEND_CTXT_CHECK_JOB_KEY_VALUE_MASK) << in hfi1_set_ctxt_jkey()
14824 ((jkey & RCV_KEY_CTRL_JOB_KEY_VALUE_MASK) << in hfi1_set_ctxt_jkey()