Home
last modified time | relevance | path

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

/fs/cifs/
Dsmbdirect.c2152 struct smbd_mr *mr; in register_mr_done() local
2158 mr = container_of(cqe, struct smbd_mr, cqe); in register_mr_done()
2159 smbd_disconnect_rdma_connection(mr->conn); in register_mr_done()
2183 rc = ib_dereg_mr(smbdirect_mr->mr); in smbd_mr_recovery_work()
2192 smbdirect_mr->mr = ib_alloc_mr( in smbd_mr_recovery_work()
2195 if (IS_ERR(smbdirect_mr->mr)) { in smbd_mr_recovery_work()
2222 struct smbd_mr *mr, *tmp; in destroy_mr_list() local
2225 list_for_each_entry_safe(mr, tmp, &info->mr_list, list) { in destroy_mr_list()
2226 if (mr->state == MR_INVALIDATED) in destroy_mr_list()
2227 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.c3896 rdata->mr = smbd_register_mr( in smb2_new_read_req()
3900 if (!rdata->mr) in smb2_new_read_req()
3911 v1->offset = cpu_to_le64(rdata->mr->mr->iova); in smb2_new_read_req()
3912 v1->token = cpu_to_le32(rdata->mr->mr->rkey); in smb2_new_read_req()
3913 v1->length = cpu_to_le32(rdata->mr->mr->length); in smb2_new_read_req()
4014 if (rdata->mr) { in smb2_readv_callback()
4015 smbd_deregister_mr(rdata->mr); in smb2_readv_callback()
4016 rdata->mr = NULL; in smb2_readv_callback()
4249 if (wdata->mr) { in smb2_writev_callback()
4250 smbd_deregister_mr(wdata->mr); in smb2_writev_callback()
[all …]
Dfile.c2870 if (wdata->mr) { in cifs_resend_wdata()
2871 wdata->mr->need_invalidate = true; in cifs_resend_wdata()
2872 smbd_deregister_mr(wdata->mr); in cifs_resend_wdata()
2873 wdata->mr = NULL; in cifs_resend_wdata()
3386 if (rdata->mr) { in cifs_readdata_release()
3387 smbd_deregister_mr(rdata->mr); in cifs_readdata_release()
3388 rdata->mr = NULL; in cifs_readdata_release()
3530 else if (rdata->mr) in uncached_fill_pages()
3607 if (rdata->mr) { in cifs_resend_rdata()
3608 rdata->mr->need_invalidate = true; in cifs_resend_rdata()
[all …]
Dcifsglob.h1394 struct smbd_mr *mr; member
1421 struct smbd_mr *mr; member
Dcifssmb.c1590 use_rdma_mr = rdata->mr; in cifs_readv_receive()
1976 if (wdata->mr) { in cifs_writedata_release()
1977 smbd_deregister_mr(wdata->mr); in cifs_writedata_release()
1978 wdata->mr = NULL; in cifs_writedata_release()
Dsmb2ops.c4624 use_rdma_mr = rdata->mr; in handle_read_data()