Lines Matching refs:pas
801 __be64 *pas; in reg_umr() local
831 pas = PTR_ALIGN(mr_pas, MLX5_UMR_ALIGN); in reg_umr()
832 mlx5_ib_populate_pas(dev, umem, page_shift, pas, MLX5_IB_MTT_PRESENT); in reg_umr()
834 memset(pas + npages, 0, size - npages * sizeof(u64)); in reg_umr()
836 dma = dma_map_single(ddev, pas, size, DMA_TO_DEVICE); in reg_umr()
892 __be64 *pas; in mlx5_ib_update_mtt() local
922 pas = (__be64 *)get_zeroed_page(GFP_ATOMIC); in mlx5_ib_update_mtt()
923 if (!pas) { in mlx5_ib_update_mtt()
925 pas = mlx5_ib_update_mtt_emergency_buffer; in mlx5_ib_update_mtt()
929 memset(pas, 0, size); in mlx5_ib_update_mtt()
932 dma = dma_map_single(ddev, pas, size, DMA_TO_DEVICE); in mlx5_ib_update_mtt()
950 start_page_index, npages, pas, in mlx5_ib_update_mtt()
954 memset(pas + npages, 0, size - npages * sizeof(u64)); in mlx5_ib_update_mtt()
996 free_page((unsigned long)pas); in mlx5_ib_update_mtt()
1020 inlen = sizeof(*in) + sizeof(*in->pas) * ((npages + 1) / 2) * 2; in reg_create()
1026 mlx5_ib_populate_pas(dev, umem, page_shift, in->pas, in reg_create()