Lines Matching refs:machine
109 MachineState *machine = MACHINE(qdev_get_machine()); in read_SCP_info() local
113 int required_len = SCCB_REQ_LEN(ReadInfo, machine->possible_cpus->len); in read_SCP_info()
132 prepare_cpu_entries(machine, entries_start, &cpu_count); in read_SCP_info()
135 read_info->highest_cpu = cpu_to_be16(machine->smp.max_cpus - 1); in read_SCP_info()
165 rnmax = machine->ram_size >> sclp->increment_size; in read_SCP_info()
186 MachineState *machine = MACHINE(qdev_get_machine()); in sclp_read_cpu_info() local
189 int required_len = SCCB_REQ_LEN(ReadCpuInfo, machine->possible_cpus->len); in sclp_read_cpu_info()
199 prepare_cpu_entries(machine, cpu_info->entries, &cpu_count); in sclp_read_cpu_info()
393 MachineState *machine = MACHINE(qdev_get_machine()); in sclp_realize() local
407 ret = s390_set_memory_limit(machine->maxram_size, &hw_limit); in sclp_realize()
418 MachineState *machine = MACHINE(qdev_get_machine()); in sclp_memory_init() local
420 ram_addr_t initial_mem = machine->ram_size; in sclp_memory_init()