Home
last modified time | relevance | path

Searched refs:rkey (Results 1 – 11 of 11) sorted by relevance

/net/dns_resolver/
Ddns_query.c79 struct key *rkey; in dns_query() local
128 rkey = request_key_net(&key_type_dns_resolver, desc, net, options); in dns_query()
131 if (IS_ERR(rkey)) { in dns_query()
132 ret = PTR_ERR(rkey); in dns_query()
136 down_read(&rkey->sem); in dns_query()
137 set_bit(KEY_FLAG_ROOT_CAN_INVAL, &rkey->flags); in dns_query()
138 rkey->perm |= KEY_USR_VIEW; in dns_query()
140 ret = key_validate(rkey); in dns_query()
145 ret = PTR_ERR(rkey->payload.data[dns_key_error]); in dns_query()
149 upayload = user_key_payload_locked(rkey); in dns_query()
[all …]
/net/smc/
Dsmc_core.c1120 lgr->rtokens[i][lnk->link_idx].rkey = 0; in smcr_rtoken_clear_link()
2212 u32 rkey) in smc_rtoken_find_by_link() argument
2218 lgr->rtokens[i][lnk_idx].rkey == rkey) in smc_rtoken_find_by_link()
2233 lgr->rtokens[rtok_idx][link_idx_new].rkey = ntohl(nw_rkey); in smc_rtoken_set()
2242 u32 rkey = ntohl(nw_rkey); in smc_rtoken_set2() local
2254 lgr->rtokens[rtok_idx][link_idx].rkey = rkey; in smc_rtoken_set2()
2263 u32 rkey = ntohl(nw_rkey); in smc_rtoken_add() local
2267 if (lgr->rtokens[i][lnk->link_idx].rkey == rkey && in smc_rtoken_add()
2277 lgr->rtokens[i][lnk->link_idx].rkey = rkey; in smc_rtoken_add()
2286 u32 rkey = ntohl(nw_rkey); in smc_rtoken_delete() local
[all …]
Dsmc_llc.c134 __be32 rkey[8]; member
438 htonl(rmb_desc->mr_rx[link->link_idx]->rkey); in smc_llc_send_confirm_rkey()
448 htonl(rmb_desc->mr_rx[send_link->link_idx]->rkey); in smc_llc_send_confirm_rkey()
477 rkeyllc->rkey[0] = htonl(rmb_desc->mr_rx[link->link_idx]->rkey); in smc_llc_send_delete_rkey()
729 addc_llc->rt[i].rmb_key = htonl(rmb->mr_rx[prim_lnk_idx]->rkey); in smc_llc_add_link_cont()
730 addc_llc->rt[i].rmb_key_new = htonl(rmb->mr_rx[lnk_idx]->rkey); in smc_llc_add_link_cont()
1507 if (smc_rtoken_delete(link, llc->rkey[i])) in smc_llc_rmt_delete_rkey()
Dsmc_tx.c296 rdma_wr->rkey = lgr->rtokens[conn->rtoken_idx][link->link_idx].rkey; in smc_tx_rdma_write()
Dsmc_core.h187 u32 rkey; member
Dsmc_wr.c309 link->wr_reg.key = mr->rkey; in smc_wr_reg_send()
Dsmc_clc.c696 htonl(conn->rmb_desc->mr_rx[link->link_idx]->rkey); in smc_clc_send_confirm_accept()
/net/rds/
Dib_frmr.c158 reg_wr.key = frmr->mr->rkey; in rds_ib_post_reg_frmr()
290 s_wr->ex.invalidate_rkey = frmr->mr->rkey; in rds_ib_post_inv()
428 *key = frmr->mr->rkey; in rds_ib_reg_frmr()
Dib_send.c805 send->s_atomic_wr.rkey = op->op_rkey; in rds_ib_xmit_atomic()
928 send->s_rdma_wr.rkey = op->op_rkey; in rds_ib_xmit_rdma()
Dib_rdma.c590 *key_ret = ib_mr->rkey; in rds_ib_get_mr()
/net/sunrpc/xprtrdma/
Dfrwr_ops.c333 key = (u8)(ibmr->rkey & 0x000000FF); in frwr_map()
338 reg_wr->key = ibmr->rkey; in frwr_map()
343 mr->mr_handle = ibmr->rkey; in frwr_map()