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()
722 size_t ucmdlen; in create_cq_user() local730 ucmdlen = min(udata->inlen, sizeof(ucmd)); in create_cq_user()731 if (ucmdlen < offsetof(struct mlx5_ib_create_cq, flags)) in create_cq_user()734 if (ib_copy_from_udata(&ucmd, udata, ucmdlen)) in create_cq_user()