Lines Matching refs:pd
373 mmr->pd = be32_to_cpu((*mpt_entry)->pd_flags) & MLX4_MPT_PD_MASK; in mlx4_mr_hw_write_mpt()
419 static int mlx4_mr_alloc_reserved(struct mlx4_dev *dev, u32 mridx, u32 pd, in mlx4_mr_alloc_reserved() argument
425 mr->pd = pd; in mlx4_mr_alloc_reserved()
529 int mlx4_mr_alloc(struct mlx4_dev *dev, u32 pd, u64 iova, u64 size, u32 access, in mlx4_mr_alloc() argument
539 err = mlx4_mr_alloc_reserved(dev, index, pd, iova, size, in mlx4_mr_alloc()
650 mpt_entry->pd_flags = cpu_to_be32(mr->pd | MLX4_MPT_PD_FLAG_EN_INV); in mlx4_mr_enable()
817 int mlx4_mw_alloc(struct mlx4_dev *dev, u32 pd, enum mlx4_mw_type type, in mlx4_mw_alloc() argument
833 mw->pd = pd; in mlx4_mw_alloc()
862 mpt_entry->pd_flags = cpu_to_be32(mw->pd); in mlx4_mw_enable()
1046 int mlx4_fmr_alloc(struct mlx4_dev *dev, u32 pd, u32 access, int max_pages, in mlx4_fmr_alloc() argument
1067 err = mlx4_mr_alloc(dev, pd, 0, 0, access, max_pages, in mlx4_fmr_alloc()