Home
last modified time | relevance | path

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

/linux-6.1.9/include/uapi/rdma/hfi/
Dhfi1_ioctl.h126 __u16 jkey; member
Dhfi1_user.h231 __le16 jkey; member
/linux-6.1.9/drivers/infiniband/hw/hfi1/
Dfile_ops.c827 uctxt->jkey != generate_jkey(current_uid()) || in match_ctxt()
970 uctxt->jkey = generate_jkey(current_uid()); in allocate_ctxt()
1066 hfi1_set_ctxt_jkey(uctxt->dd, uctxt, uctxt->jkey); in user_init()
1229 binfo.jkey = uctxt->jkey; in get_base_info()
Dhfi.h255 u16 jkey; member
1625 u16 jkey = from_kuid(current_user_ns(), uid) & HFI1_JKEY_MASK; in generate_jkey() local
1628 jkey &= HFI1_ADMIN_JKEY_RANGE - 1; in generate_jkey()
1629 else if (jkey < 64) in generate_jkey()
1630 jkey |= BIT(HFI1_JKEY_WIDTH - 1); in generate_jkey()
1632 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()
1747 KDETH_RESET(rreq->kdeth1, JKEY, remote->jkey); in hfi1_build_tid_rdma_read_packet()
2381 KDETH_RESET(resp->kdeth1, JKEY, remote->jkey); in hfi1_build_tid_rdma_read_resp()
3384 KDETH_RESET(ohdr->u.tid_rdma.w_req.kdeth1, JKEY, remote->jkey); in hfi1_build_tid_rdma_write_req()
3917 KDETH_RESET(ohdr->u.tid_rdma.w_rsp.kdeth1, JKEY, remote->jkey); in hfi1_build_tid_rdma_write_resp()
4242 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.h1390 u16 jkey);
Dchip.c14758 u16 jkey) in hfi1_set_ctxt_jkey() argument
14768 ((jkey & SEND_CTXT_CHECK_JOB_KEY_VALUE_MASK) << in hfi1_set_ctxt_jkey()
14785 ((jkey & RCV_KEY_CTRL_JOB_KEY_VALUE_MASK) << in hfi1_set_ctxt_jkey()