static BusState *qbus_find_bus(DeviceState *dev, char *elem)

{

    BusState *child;



    LIST_FOREACH(child, &dev->child_bus, sibling) {

        if (strcmp(child->name, elem) == 0) {

            return child;

        }

    }

    return NULL;

}

static BusState *qbus_find_bus(DeviceState *dev, char *elem)

{

    BusState *child;



    LIST_FOREACH(child, &dev->child_bus, sibling) {

        if (strcmp(child->name, elem) == 0) {

            return child;

        }

    }

    return NULL;

}

static BusState *FUNC_0(DeviceState *dev, char *elem)

{

    BusState *child;



    LIST_FOREACH(child, &dev->child_bus, sibling) {

        if (strcmp(child->name, elem) == 0) {

            return child;

        }

    }

    return NULL;

}

static BusState *FUNC_0(DeviceState *dev, char *elem)
{ BusState *child; LIST_FOREACH(child, &dev->child_bus, sibling) { if (strcmp(child->name, elem) == 0) { return child; } } return NULL; }