bool bdrv_qiov_is_aligned(BlockDriverState *bs, QEMUIOVector *qiov)

{

    int i;



    for (i = 0; i < qiov->niov; i++) {

        if ((uintptr_t) qiov->iov[i].iov_base % bs->buffer_alignment) {

            return false;

        }

        if (qiov->iov[i].iov_len % bs->buffer_alignment) {

            return false;

        }

    }



    return true;

}

bool bdrv_qiov_is_aligned(BlockDriverState *bs, QEMUIOVector *qiov)

{

    int i;



    for (i = 0; i < qiov->niov; i++) {

        if ((uintptr_t) qiov->iov[i].iov_base % bs->buffer_alignment) {

            return false;

        }

        if (qiov->iov[i].iov_len % bs->buffer_alignment) {

            return false;

        }

    }



    return true;

}

        if ((uintptr_t) qiov->iov[i].iov_base % bs->buffer_alignment) {         if (qiov->iov[i].iov_len % bs->buffer_alignment) {
bool FUNC_0(BlockDriverState *bs, QEMUIOVector *qiov)

{

    int VAR_0;



    for (VAR_0 = 0; VAR_0 < qiov->niov; VAR_0++) {

        if ((uintptr_t) qiov->iov[VAR_0].iov_base % bs->buffer_alignment) {

            return false;

        }

        if (qiov->iov[VAR_0].iov_len % bs->buffer_alignment) {

            return false;

        }

    }



    return true;

}

bool FUNC_0(BlockDriverState *bs, QEMUIOVector *qiov)
{ int VAR_0; for (VAR_0 = 0; VAR_0 < qiov->niov; VAR_0++) { if ((uintptr_t) qiov->iov[VAR_0].iov_base % bs->buffer_alignment) { return false; } if (qiov->iov[VAR_0].iov_len % bs->buffer_alignment) { return false; } } return true; }