Lines Matching refs:mr_access_flags
121 struct ib_mr *ehca_get_dma_mr(struct ib_pd *pd, int mr_access_flags) in ehca_get_dma_mr() argument
139 mr_access_flags, e_pd, in ehca_get_dma_mr()
157 PTR_ERR(ib_mr), pd, mr_access_flags); in ehca_get_dma_mr()
166 int mr_access_flags, in ehca_reg_phys_mr() argument
184 if (((mr_access_flags & IB_ACCESS_REMOTE_WRITE) && in ehca_reg_phys_mr()
185 !(mr_access_flags & IB_ACCESS_LOCAL_WRITE)) || in ehca_reg_phys_mr()
186 ((mr_access_flags & IB_ACCESS_REMOTE_ATOMIC) && in ehca_reg_phys_mr()
187 !(mr_access_flags & IB_ACCESS_LOCAL_WRITE))) { in ehca_reg_phys_mr()
193 mr_access_flags); in ehca_reg_phys_mr()
223 ret = ehca_reg_maxmr(shca, e_mr, iova_start, mr_access_flags, in ehca_reg_phys_mr()
252 ret = ehca_reg_mr(shca, e_mr, iova_start, size, mr_access_flags, in ehca_reg_phys_mr()
271 num_phys_buf, mr_access_flags, iova_start); in ehca_reg_phys_mr()
278 u64 virt, int mr_access_flags, in ehca_reg_user_mr() argument
297 if (((mr_access_flags & IB_ACCESS_REMOTE_WRITE) && in ehca_reg_user_mr()
298 !(mr_access_flags & IB_ACCESS_LOCAL_WRITE)) || in ehca_reg_user_mr()
299 ((mr_access_flags & IB_ACCESS_REMOTE_ATOMIC) && in ehca_reg_user_mr()
300 !(mr_access_flags & IB_ACCESS_LOCAL_WRITE))) { in ehca_reg_user_mr()
306 mr_access_flags); in ehca_reg_user_mr()
326 mr_access_flags, 0); in ehca_reg_user_mr()
371 ret = ehca_reg_mr(shca, e_mr, (u64 *)virt, length, mr_access_flags, in ehca_reg_user_mr()
401 PTR_ERR(ib_mr), pd, mr_access_flags, udata); in ehca_reg_user_mr()
412 int mr_access_flags, in ehca_rereg_phys_mr() argument
479 (((mr_access_flags & IB_ACCESS_REMOTE_WRITE) && in ehca_rereg_phys_mr()
480 !(mr_access_flags & IB_ACCESS_LOCAL_WRITE)) || in ehca_rereg_phys_mr()
481 ((mr_access_flags & IB_ACCESS_REMOTE_ATOMIC) && in ehca_rereg_phys_mr()
482 !(mr_access_flags & IB_ACCESS_LOCAL_WRITE)))) { in ehca_rereg_phys_mr()
488 "mr_access_flags=%x", mr_rereg_mask, mr_access_flags); in ehca_rereg_phys_mr()
532 new_acl = mr_access_flags; in ehca_rereg_phys_mr()
555 num_phys_buf, mr_access_flags, iova_start); in ehca_rereg_phys_mr()
595 ehca_mrmw_reverse_map_acl(&hipzout.acl, &mr_attr->mr_access_flags); in ehca_query_mr()
730 int mr_access_flags, in ehca_alloc_fmr() argument
744 if (((mr_access_flags & IB_ACCESS_REMOTE_WRITE) && in ehca_alloc_fmr()
745 !(mr_access_flags & IB_ACCESS_LOCAL_WRITE)) || in ehca_alloc_fmr()
746 ((mr_access_flags & IB_ACCESS_REMOTE_ATOMIC) && in ehca_alloc_fmr()
747 !(mr_access_flags & IB_ACCESS_LOCAL_WRITE))) { in ehca_alloc_fmr()
753 mr_access_flags); in ehca_alloc_fmr()
757 if (mr_access_flags & IB_ACCESS_MW_BIND) { in ehca_alloc_fmr()
759 mr_access_flags); in ehca_alloc_fmr()
796 mr_access_flags, e_pd, &pginfo, in ehca_alloc_fmr()