static KVMSlot *kvm_lookup_slot(KVMState *s, target_phys_addr_t start_addr)

{

    int i;



    for (i = 0; i < ARRAY_SIZE(s->slots); i++) {

        KVMSlot *mem = &s->slots[i];



        if (start_addr >= mem->start_addr &&

            start_addr < (mem->start_addr + mem->memory_size))

            return mem;

    }



    return NULL;

}

static KVMSlot *kvm_lookup_slot(KVMState *s, target_phys_addr_t start_addr)

{

    int i;



    for (i = 0; i < ARRAY_SIZE(s->slots); i++) {

        KVMSlot *mem = &s->slots[i];



        if (start_addr >= mem->start_addr &&

            start_addr < (mem->start_addr + mem->memory_size))

            return mem;

    }



    return NULL;

}

static KVMSlot *kvm_lookup_slot(KVMState *s, target_phys_addr_t start_addr)         if (start_addr >= mem->start_addr &&             start_addr < (mem->start_addr + mem->memory_size))             return mem;     return NULL;
static KVMSlot *FUNC_0(KVMState *s, target_phys_addr_t start_addr)

{

    int VAR_0;



    for (VAR_0 = 0; VAR_0 < ARRAY_SIZE(s->slots); VAR_0++) {

        KVMSlot *mem = &s->slots[VAR_0];



        if (start_addr >= mem->start_addr &&

            start_addr < (mem->start_addr + mem->memory_size))

            return mem;

    }



    return NULL;

}

static KVMSlot *FUNC_0(KVMState *s, target_phys_addr_t start_addr)
{ int VAR_0; for (VAR_0 = 0; VAR_0 < ARRAY_SIZE(s->slots); VAR_0++) { KVMSlot *mem = &s->slots[VAR_0]; if (start_addr >= mem->start_addr &&
start_addr < (mem->start_addr + mem->memory_size))
return mem; } return NULL; }