Home
last modified time | relevance | path

Searched refs:mr (Results 1 – 7 of 7) sorted by relevance

/fs/cifs/
Dsmbdirect.c2153 struct smbd_mr *mr; in register_mr_done() local
2159 mr = container_of(cqe, struct smbd_mr, cqe); in register_mr_done()
2160 smbd_disconnect_rdma_connection(mr->conn); in register_mr_done()
2184 rc = ib_dereg_mr(smbdirect_mr->mr); in smbd_mr_recovery_work()
2193 smbdirect_mr->mr = ib_alloc_mr( in smbd_mr_recovery_work()
2196 if (IS_ERR(smbdirect_mr->mr)) { in smbd_mr_recovery_work()
2223 struct smbd_mr *mr, *tmp; in destroy_mr_list() local
2226 list_for_each_entry_safe(mr, tmp, &info->mr_list, list) { in destroy_mr_list()
2227 if (mr->state == MR_INVALIDATED) in destroy_mr_list()
2228 ib_dma_unmap_sg(info->id->device, mr->sgl, in destroy_mr_list()
[all …]
Dsmbdirect.h286 struct ib_mr *mr; member
303 int smbd_deregister_mr(struct smbd_mr *mr);
Dsmb2pdu.c3968 rdata->mr = smbd_register_mr( in smb2_new_read_req()
3972 if (!rdata->mr) in smb2_new_read_req()
3983 v1->offset = cpu_to_le64(rdata->mr->mr->iova); in smb2_new_read_req()
3984 v1->token = cpu_to_le32(rdata->mr->mr->rkey); in smb2_new_read_req()
3985 v1->length = cpu_to_le32(rdata->mr->mr->length); in smb2_new_read_req()
4086 if (rdata->mr) { in smb2_readv_callback()
4087 smbd_deregister_mr(rdata->mr); in smb2_readv_callback()
4088 rdata->mr = NULL; in smb2_readv_callback()
4321 if (wdata->mr) { in smb2_writev_callback()
4322 smbd_deregister_mr(wdata->mr); in smb2_writev_callback()
[all …]
Dfile.c2944 if (wdata->mr) { in cifs_resend_wdata()
2945 wdata->mr->need_invalidate = true; in cifs_resend_wdata()
2946 smbd_deregister_mr(wdata->mr); in cifs_resend_wdata()
2947 wdata->mr = NULL; in cifs_resend_wdata()
3460 if (rdata->mr) { in cifs_readdata_release()
3461 smbd_deregister_mr(rdata->mr); in cifs_readdata_release()
3462 rdata->mr = NULL; in cifs_readdata_release()
3604 else if (rdata->mr) in uncached_fill_pages()
3681 if (rdata->mr) { in cifs_resend_rdata()
3682 rdata->mr->need_invalidate = true; in cifs_resend_rdata()
[all …]
Dcifsglob.h1337 struct smbd_mr *mr; member
1362 struct smbd_mr *mr; member
Dcifssmb.c1477 use_rdma_mr = rdata->mr; in cifs_readv_receive()
1863 if (wdata->mr) { in cifs_writedata_release()
1864 smbd_deregister_mr(wdata->mr); in cifs_writedata_release()
1865 wdata->mr = NULL; in cifs_writedata_release()
Dsmb2ops.c4866 use_rdma_mr = rdata->mr; in handle_read_data()