Searched refs:ucmdlen (Results 1 – 2 of 2) sorted by relevance
51 size_t ucmdlen; in create_srq_user() local55 ucmdlen = min(udata->inlen, sizeof(ucmd)); in create_srq_user()57 if (ib_copy_from_udata(&ucmd, udata, ucmdlen)) { in create_srq_user()
719 size_t ucmdlen; in create_cq_user() local727 ucmdlen = min(udata->inlen, sizeof(ucmd)); in create_cq_user()728 if (ucmdlen < offsetof(struct mlx5_ib_create_cq, flags)) in create_cq_user()731 if (ib_copy_from_udata(&ucmd, udata, ucmdlen)) in create_cq_user()