static void blk_send_response_all(struct XenBlkDev *blkdev)

{

    struct ioreq *ioreq;

    int send_notify = 0;



    while (!LIST_EMPTY(&blkdev->finished)) {

        ioreq = LIST_FIRST(&blkdev->finished);

	send_notify += blk_send_response_one(ioreq);

	ioreq_release(ioreq);

    }

    if (send_notify)

	xen_be_send_notify(&blkdev->xendev);

}

static void blk_send_response_all(struct XenBlkDev *blkdev)

{

    struct ioreq *ioreq;

    int send_notify = 0;



    while (!LIST_EMPTY(&blkdev->finished)) {

        ioreq = LIST_FIRST(&blkdev->finished);

	send_notify += blk_send_response_one(ioreq);

	ioreq_release(ioreq);

    }

    if (send_notify)

	xen_be_send_notify(&blkdev->xendev);

}

static void FUNC_0(struct XenBlkDev *VAR_0)

{

    struct VAR_1 *VAR_1;

    int VAR_2 = 0;



    while (!LIST_EMPTY(&VAR_0->finished)) {

        VAR_1 = LIST_FIRST(&VAR_0->finished);

	VAR_2 += blk_send_response_one(VAR_1);

	ioreq_release(VAR_1);

    }

    if (VAR_2)

	xen_be_send_notify(&VAR_0->xendev);

}

static void FUNC_0(struct XenBlkDev *VAR_0)
{ struct VAR_1 *VAR_1; int VAR_2 = 0; while (!LIST_EMPTY(&VAR_0->finished)) { VAR_1 = LIST_FIRST(&VAR_0->finished); VAR_2 += blk_send_response_one(VAR_1); ioreq_release(VAR_1); } if (VAR_2)
xen_be_send_notify(&VAR_0->xendev); }