static void blk_alloc(struct XenDevice *xendev)

{

    struct XenBlkDev *blkdev = container_of(xendev, struct XenBlkDev, xendev);



    LIST_INIT(&blkdev->inflight);

    LIST_INIT(&blkdev->finished);

    LIST_INIT(&blkdev->freelist);

    blkdev->bh = qemu_bh_new(blk_bh, blkdev);

    if (xen_mode != XEN_EMULATE)

        batch_maps = 1;

}

static void blk_alloc(struct XenDevice *xendev)

{

    struct XenBlkDev *blkdev = container_of(xendev, struct XenBlkDev, xendev);



    LIST_INIT(&blkdev->inflight);

    LIST_INIT(&blkdev->finished);

    LIST_INIT(&blkdev->freelist);

    blkdev->bh = qemu_bh_new(blk_bh, blkdev);

    if (xen_mode != XEN_EMULATE)

        batch_maps = 1;

}

static void FUNC_0(struct XenDevice *VAR_0)

{

    struct XenBlkDev *VAR_1 = container_of(VAR_0, struct XenBlkDev, VAR_0);



    LIST_INIT(&VAR_1->inflight);

    LIST_INIT(&VAR_1->finished);

    LIST_INIT(&VAR_1->freelist);

    VAR_1->bh = qemu_bh_new(blk_bh, VAR_1);

    if (xen_mode != XEN_EMULATE)

        batch_maps = 1;

}

static void FUNC_0(struct XenDevice *VAR_0)
{ struct XenBlkDev *VAR_1 = container_of(VAR_0, struct XenBlkDev, VAR_0); LIST_INIT(&VAR_1->inflight); LIST_INIT(&VAR_1->finished); LIST_INIT(&VAR_1->freelist); VAR_1->bh = qemu_bh_new(blk_bh, VAR_1); if (xen_mode != XEN_EMULATE)
batch_maps = 1; }