Lines Matching refs:udata
74 struct ib_udata *udata) in mlx4_ib_create_srq() argument
78 udata, struct mlx4_ib_ucontext, ibucontext); in mlx4_ib_create_srq()
107 if (udata) { in mlx4_ib_create_srq()
110 if (ib_copy_from_udata(&ucmd, udata, sizeof(ucmd))) in mlx4_ib_create_srq()
113 srq->umem = ib_umem_get(udata, ucmd.buf_addr, buf_size, 0, 0); in mlx4_ib_create_srq()
126 err = mlx4_ib_db_map_user(udata, ucmd.db_addr, &srq->db); in mlx4_ib_create_srq()
187 if (udata) in mlx4_ib_create_srq()
188 if (ib_copy_to_udata(udata, &srq->msrq.srqn, sizeof (__u32))) { in mlx4_ib_create_srq()
198 if (udata) in mlx4_ib_create_srq()
212 if (!udata) in mlx4_ib_create_srq()
219 enum ib_srq_attr_mask attr_mask, struct ib_udata *udata) in mlx4_ib_modify_srq() argument
262 void mlx4_ib_destroy_srq(struct ib_srq *srq, struct ib_udata *udata) in mlx4_ib_destroy_srq() argument
270 if (udata) { in mlx4_ib_destroy_srq()
273 udata, in mlx4_ib_destroy_srq()