/openbmc/qemu/hw/riscv/ |
H A D | numa.c | 28 static bool numa_enabled(const MachineState *ms) in numa_enabled() 33 int riscv_socket_count(const MachineState *ms) in riscv_socket_count() 38 int riscv_socket_first_hartid(const MachineState *ms, int socket_id) in riscv_socket_first_hartid() 58 int riscv_socket_last_hartid(const MachineState *ms, int socket_id) in riscv_socket_last_hartid() 78 int riscv_socket_hart_count(const MachineState *ms, int socket_id) in riscv_socket_hart_count() 103 bool riscv_socket_check_hartids(const MachineState *ms, int socket_id) in riscv_socket_check_hartids() 130 uint64_t riscv_socket_mem_offset(const MachineState *ms, int socket_id) in riscv_socket_mem_offset() 149 uint64_t riscv_socket_mem_size(const MachineState *ms, int socket_id) in riscv_socket_mem_size() 159 void riscv_socket_fdt_write_id(const MachineState *ms, const char *node_name, in riscv_socket_fdt_write_id() 167 void riscv_socket_fdt_write_distance_matrix(const MachineState *ms) in riscv_socket_fdt_write_distance_matrix() [all …]
|
H A D | virt.c | 226 MachineState *ms = MACHINE(s); in create_fdt_socket_cpus() local 297 MachineState *ms = MACHINE(s); in create_fdt_socket_memory() local 317 MachineState *ms = MACHINE(s); in create_fdt_socket_clint() local 355 MachineState *ms = MACHINE(s); in create_fdt_socket_aclint() local 437 MachineState *ms = MACHINE(s); in create_fdt_socket_plic() local 514 MachineState *ms = MACHINE(s); in create_fdt_one_imsic() local 616 MachineState *ms = MACHINE(s); in create_fdt_one_aplic() local 679 MachineState *ms = MACHINE(s); in create_fdt_socket_aplic() local 717 MachineState *ms = MACHINE(s); in create_fdt_pmu() local 733 MachineState *ms = MACHINE(s); in create_fdt_sockets() local [all …]
|
H A D | virt-acpi-build.c | 73 MachineState *ms = MACHINE(s); in riscv_acpi_madt_add_rintc() local 121 MachineState *ms = MACHINE(s); in acpi_dsdt_add_cpus() local 252 MachineState *ms = MACHINE(s); in build_rhct() local 415 MachineState *ms = MACHINE(s); in build_dsdt() local 488 MachineState *ms = MACHINE(s); in build_madt() local 611 MachineState *ms = MACHINE(vms); in build_srat() local 653 MachineState *ms = MACHINE(s); in virt_acpi_build() local
|
/openbmc/qemu/hw/core/ |
H A D | machine.c | 292 MachineState *ms = MACHINE(obj); in machine_get_kernel() local 299 MachineState *ms = MACHINE(obj); in machine_set_kernel() local 307 MachineState *ms = MACHINE(obj); in machine_get_initrd() local 314 MachineState *ms = MACHINE(obj); in machine_set_initrd() local 322 MachineState *ms = MACHINE(obj); in machine_get_append() local 329 MachineState *ms = MACHINE(obj); in machine_set_append() local 337 MachineState *ms = MACHINE(obj); in machine_get_dtb() local 344 MachineState *ms = MACHINE(obj); in machine_set_dtb() local 352 MachineState *ms = MACHINE(obj); in machine_get_dumpdtb() local 359 MachineState *ms = MACHINE(obj); in machine_set_dumpdtb() local [all …]
|
H A D | machine-smp.c | 31 static char *cpu_hierarchy_to_string(MachineState *ms) in cpu_hierarchy_to_string() 85 void machine_parse_smp_config(MachineState *ms, in machine_parse_smp_config() 264 static bool machine_check_topo_support(MachineState *ms, in machine_check_topo_support() 285 bool machine_parse_smp_cache(MachineState *ms, in machine_parse_smp_cache() 331 unsigned int machine_topo_get_cores_per_socket(const MachineState *ms) in machine_topo_get_cores_per_socket() 336 unsigned int machine_topo_get_threads_per_socket(const MachineState *ms) in machine_topo_get_threads_per_socket() 341 CpuTopologyLevel machine_get_cache_topo_level(const MachineState *ms, in machine_get_cache_topo_level() 347 void machine_set_cache_topo_level(MachineState *ms, CacheLevelAndType cache, in machine_set_cache_topo_level() 378 bool machine_check_smp_cache(const MachineState *ms, Error **errp) in machine_check_smp_cache()
|
H A D | numa.c | 62 static void parse_numa_node(MachineState *ms, NumaNodeOptions *node, in parse_numa_node() 172 void parse_numa_distance(MachineState *ms, NumaDistOptions *dist, Error **errp) in parse_numa_distance() 389 void parse_numa_hmat_cache(MachineState *ms, NumaHmatCacheOptions *node, in parse_numa_hmat_cache() 462 void set_numa_options(MachineState *ms, NumaOptions *object, Error **errp) in set_numa_options() 520 MachineState *ms = MACHINE(opaque); in parse_numa() local 560 static void validate_numa_distance(MachineState *ms) in validate_numa_distance() 603 static void complete_init_numa_distance(MachineState *ms) in complete_init_numa_distance() 626 static void numa_init_memdev_container(MachineState *ms, MemoryRegion *ram) in numa_init_memdev_container() 643 void numa_complete_configuration(MachineState *ms) in numa_complete_configuration() 736 void parse_numa_opts(MachineState *ms) in parse_numa_opts() [all …]
|
/openbmc/linux/drivers/md/ |
H A D | dm-raid1.c | 51 struct mirror_set *ms; member 99 struct mirror_set *ms = context; in wakeup_mirrord() local 106 struct mirror_set *ms = from_timer(ms, t, timer); in delayed_wake_fn() local 112 static void delayed_wake(struct mirror_set *ms) in delayed_wake() 126 static void queue_bio(struct mirror_set *ms, struct bio *bio, int rw) in queue_bio() 144 struct mirror_set *ms = context; in dispatch_bios() local 178 static struct mirror *get_default_mirror(struct mirror_set *ms) in get_default_mirror() 185 struct mirror_set *ms = m->ms; in set_default_mirror() local 191 static struct mirror *get_valid_mirror(struct mirror_set *ms) in get_valid_mirror() 218 struct mirror_set *ms = m->ms; in fail_mirror() local [all …]
|
/openbmc/linux/drivers/scsi/ |
H A D | mesh.c | 213 static void dlog(struct mesh_state *ms, char *fmt, int a) in dlog() 238 static void dumplog(struct mesh_state *ms, int t) in dumplog() 264 static void dumpslog(struct mesh_state *ms) in dumpslog() 291 static inline void dlog(struct mesh_state *ms, char *fmt, int a) in dlog() 293 static inline void dumplog(struct mesh_state *ms, int tgt) in dumplog() 295 static inline void dumpslog(struct mesh_state *ms) in dumpslog() 303 mesh_dump_regs(struct mesh_state *ms) in mesh_dump_regs() 349 static void mesh_init(struct mesh_state *ms) in mesh_init() 396 static void mesh_start_cmd(struct mesh_state *ms, struct scsi_cmnd *cmd) in mesh_start_cmd() 549 static void mesh_start(struct mesh_state *ms) in mesh_start() [all …]
|
/openbmc/qemu/hw/virtio/ |
H A D | virtio-md-stubs.c | 5 void virtio_md_pci_pre_plug(VirtIOMDPCI *vmd, MachineState *ms, Error **errp) in virtio_md_pci_pre_plug() 10 void virtio_md_pci_plug(VirtIOMDPCI *vmd, MachineState *ms, Error **errp) in virtio_md_pci_plug() 15 void virtio_md_pci_unplug_request(VirtIOMDPCI *vmd, MachineState *ms, in virtio_md_pci_unplug_request() 21 void virtio_md_pci_unplug(VirtIOMDPCI *vmd, MachineState *ms, Error **errp) in virtio_md_pci_unplug()
|
H A D | virtio-md-pci.c | 19 void virtio_md_pci_pre_plug(VirtIOMDPCI *vmd, MachineState *ms, Error **errp) in virtio_md_pci_pre_plug() 47 void virtio_md_pci_plug(VirtIOMDPCI *vmd, MachineState *ms, Error **errp) in virtio_md_pci_plug() 69 void virtio_md_pci_unplug_request(VirtIOMDPCI *vmd, MachineState *ms, in virtio_md_pci_unplug_request() 110 void virtio_md_pci_unplug(VirtIOMDPCI *vmd, MachineState *ms, Error **errp) in virtio_md_pci_unplug()
|
/openbmc/linux/drivers/spi/ |
H A D | spi-mpc52xx.c | 99 static void mpc52xx_spi_chipsel(struct mpc52xx_spi *ms, int value) in mpc52xx_spi_chipsel() 116 static void mpc52xx_spi_start_transfer(struct mpc52xx_spi *ms) in mpc52xx_spi_start_transfer() 148 mpc52xx_spi_fsmstate_idle(int irq, struct mpc52xx_spi *ms, u8 status, u8 data) in mpc52xx_spi_fsmstate_idle() 214 static int mpc52xx_spi_fsmstate_transfer(int irq, struct mpc52xx_spi *ms, in mpc52xx_spi_fsmstate_transfer() 280 mpc52xx_spi_fsmstate_wait(int irq, struct mpc52xx_spi *ms, u8 status, u8 data) in mpc52xx_spi_fsmstate_wait() 321 static void mpc52xx_spi_fsm_process(int irq, struct mpc52xx_spi *ms) in mpc52xx_spi_fsm_process() 343 struct mpc52xx_spi *ms = _ms; in mpc52xx_spi_irq() local 355 struct mpc52xx_spi *ms = container_of(work, struct mpc52xx_spi, work); in mpc52xx_spi_wq() local 369 struct mpc52xx_spi *ms = spi_master_get_devdata(spi->master); in mpc52xx_spi_transfer() local 389 struct mpc52xx_spi *ms; in mpc52xx_spi_probe() local [all …]
|
/openbmc/qemu/hw/loongarch/ |
H A D | virt.c | 141 MachineState *ms = MACHINE(lvms); in fdt_add_cpuic_node() local 159 MachineState *ms = MACHINE(lvms); in fdt_add_eiointc_node() local 184 MachineState *ms = MACHINE(lvms); in fdt_add_pch_pic_node() local 209 MachineState *ms = MACHINE(lvms); in fdt_add_pch_msi_node() local 235 MachineState *ms = MACHINE(lvms); in fdt_add_flash_node() local 269 MachineState *ms = MACHINE(lvms); in fdt_add_rtc_node() local 287 MachineState *ms = MACHINE(lvms); in fdt_add_ged_reset() local 327 MachineState *ms = MACHINE(lvms); in fdt_add_uart_node() local 344 MachineState *ms = MACHINE(lvms); in create_fdt() local 368 const MachineState *ms = MACHINE(lvms); in fdt_add_cpu_nodes() local [all …]
|
/openbmc/linux/drivers/hid/ |
H A D | hid-microsoft.c | 62 struct ms_data *ms = hid_get_drvdata(hdev); in ms_report_fixup() local 186 struct ms_data *ms = hid_get_drvdata(hdev); in ms_input_mapping() local 213 struct ms_data *ms = hid_get_drvdata(hdev); in ms_input_mapped() local 225 struct ms_data *ms = hid_get_drvdata(hdev); in ms_event() local 283 struct ms_data *ms = container_of(work, struct ms_data, ff_worker); in ms_ff_worker() local 311 struct ms_data *ms = hid_get_drvdata(hid); in ms_play_effect() local 330 struct ms_data *ms = hid_get_drvdata(hdev); in ms_init_ff() local 357 struct ms_data *ms = hid_get_drvdata(hdev); in ms_remove_ff() local 368 struct ms_data *ms; in ms_probe() local
|
/openbmc/linux/mm/ |
H A D | sparse.c | 164 static void __section_mark_present(struct mem_section *ms, in __section_mark_present() 202 struct mem_section *ms; in subsection_map_init() local 246 struct mem_section *ms; in memory_present() local 300 static void __meminit sparse_init_one_section(struct mem_section *ms, in sparse_init_one_section() 545 struct mem_section *ms; in sparse_init_nid() local 598 struct mem_section *ms; in online_mem_sections() local 616 struct mem_section *ms; in offline_mem_sections() local 658 struct mem_section *ms = __pfn_to_section(pfn); in clear_subsection_map() local 675 static bool is_subsection_map_empty(struct mem_section *ms) in is_subsection_map_empty() 683 struct mem_section *ms = __pfn_to_section(pfn); in fill_subsection_map() local [all …]
|
/openbmc/linux/fs/dlm/ |
H A D | requestqueue.c | 34 const struct dlm_message *ms) in dlm_add_requestqueue() 71 struct dlm_message *ms; in dlm_process_requestqueue() local 131 static int purge_request(struct dlm_ls *ls, struct dlm_message *ms, int nodeid) in purge_request() 158 struct dlm_message *ms; in dlm_purge_requestqueue() local
|
H A D | lock.c | 1462 const struct dlm_message *ms) in _remove_from_waiters() 1561 const struct dlm_message *ms, bool local) in remove_from_waiters_ms() 1803 const struct dlm_message *ms) in set_lvb_lock_pc() 1910 const struct dlm_message *ms) in grant_lock_pc() 1948 static void munge_altmode(struct dlm_lkb *lkb, const struct dlm_message *ms) in munge_altmode() 3333 struct dlm_message *ms; in _create_message() local 3391 static int send_message(struct dlm_mhandle *mh, struct dlm_message *ms, in send_message() 3399 struct dlm_message *ms) in send_args() 3444 struct dlm_message *ms; in send_common() local 3508 struct dlm_message *ms; in send_grant() local [all …]
|
/openbmc/linux/lib/zstd/compress/ |
H A D | zstd_lazy.c | 20 ZSTD_updateDUBT(ZSTD_matchState_t* ms, in ZSTD_updateDUBT() 64 ZSTD_insertDUBT1(const ZSTD_matchState_t* ms, in ZSTD_insertDUBT1() 154 const ZSTD_matchState_t* ms, in ZSTD_DUBT_findBetterDictMatch() 231 ZSTD_DUBT_findBestMatch(ZSTD_matchState_t* ms, in ZSTD_DUBT_findBestMatch() 382 ZSTD_BtFindBestMatch( ZSTD_matchState_t* ms, in ZSTD_BtFindBestMatch() 398 void ZSTD_dedicatedDictSearch_lazy_loadDictionary(ZSTD_matchState_t* ms, const BYTE* const ip) in ZSTD_dedicatedDictSearch_lazy_loadDictionary() 618 ZSTD_matchState_t* ms, in ZSTD_insertAndFindFirstIndex_internal() 641 U32 ZSTD_insertAndFindFirstIndex(ZSTD_matchState_t* ms, const BYTE* ip) { in ZSTD_insertAndFindFirstIndex() 649 ZSTD_matchState_t* ms, in ZSTD_HcFindBestMatch() 862 FORCE_INLINE_TEMPLATE void ZSTD_row_fillHashCache(ZSTD_matchState_t* ms, const BYTE* base, in ZSTD_row_fillHashCache() [all …]
|
H A D | zstd_opt.c | 382 static U32 ZSTD_insertAndFindFirstIndexHash3 (const ZSTD_matchState_t* ms, in ZSTD_insertAndFindFirstIndexHash3() 412 const ZSTD_matchState_t* ms, in ZSTD_insertBt1() 531 ZSTD_matchState_t* ms, in ZSTD_updateTree_internal() 551 void ZSTD_updateTree(ZSTD_matchState_t* ms, const BYTE* ip, const BYTE* iend) { in ZSTD_updateTree() 558 ZSTD_matchState_t* ms, in ZSTD_insertBtAndGetAllMatches() 797 ZSTD_matchState_t* ms, in ZSTD_btGetAllMatches_internal() 1037 ZSTD_compressBlock_opt_generic(ZSTD_matchState_t* ms, in ZSTD_compressBlock_opt_generic() 1325 ZSTD_matchState_t* ms, seqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], in ZSTD_compressBlock_opt0() 1332 ZSTD_matchState_t* ms, seqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], in ZSTD_compressBlock_opt2() 1339 ZSTD_matchState_t* ms, seqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], in ZSTD_compressBlock_btopt() [all …]
|
/openbmc/linux/include/asm-generic/ |
H A D | mmiowb.h | 37 struct mmiowb_state *ms = __mmiowb_state(); in mmiowb_set_pending() local 45 struct mmiowb_state *ms = __mmiowb_state(); in mmiowb_spin_lock() local 51 struct mmiowb_state *ms = __mmiowb_state(); in mmiowb_spin_unlock() local
|
/openbmc/qemu/hw/mem/ |
H A D | memory-device.c | 85 static unsigned int get_reserved_memslots(MachineState *ms) in get_reserved_memslots() 113 static unsigned int memory_device_memslot_decision_limit(MachineState *ms, in memory_device_memslot_decision_limit() 173 static void memory_device_check_addable(MachineState *ms, MemoryDeviceState *md, in memory_device_check_addable() 214 static uint64_t memory_device_get_free_addr(MachineState *ms, in memory_device_get_free_addr() 347 void memory_device_pre_plug(MemoryDeviceState *md, MachineState *ms, in memory_device_pre_plug() 410 void memory_device_plug(MemoryDeviceState *md, MachineState *ms) in memory_device_plug() 442 void memory_device_unplug(MemoryDeviceState *md, MachineState *ms) in memory_device_unplug() 529 void machine_memory_devices_init(MachineState *ms, hwaddr base, uint64_t size) in machine_memory_devices_init()
|
/openbmc/qemu/hw/s390x/ |
H A D | s390-virtio-ccw.c | 161 MachineState *ms = MACHINE(qdev_get_machine()); in virtio_ccw_hcall_early_printk() local 259 S390CcwMachineState *ms = S390_CCW_MACHINE(machine); in ccw_init() local 328 MachineState *ms = MACHINE(hotplug_dev); in s390_cpu_plug() local 354 static void s390_machine_unprotect(S390CcwMachineState *ms) in s390_machine_unprotect() 364 static int s390_machine_protect(S390CcwMachineState *ms) in s390_machine_protect() 433 static void s390_pv_prepare_reset(S390CcwMachineState *ms) in s390_pv_prepare_reset() 450 S390CcwMachineState *ms = S390_CCW_MACHINE(machine); in s390_machine_reset() local 566 static CpuInstanceProperties s390_cpu_index_to_props(MachineState *ms, in s390_cpu_index_to_props() 576 static const CPUArchIdList *s390_possible_cpu_arch_ids(MachineState *ms) in s390_possible_cpu_arch_ids() 647 S390CcwMachineState *ms = S390_CCW_MACHINE(obj); in machine_get_aes_key_wrap() local [all …]
|
H A D | cpu-topology.c | 87 static void s390_topology_init(MachineState *ms) in s390_topology_init() 292 static void s390_update_cpu_props(MachineState *ms, S390CPU *cpu) in s390_update_cpu_props() 315 void s390_topology_setup_cpu(MachineState *ms, S390CPU *cpu, Error **errp) in s390_topology_setup_cpu() 364 MachineState *ms = current_machine; in s390_change_topology() local
|
/openbmc/qemu/hw/arm/ |
H A D | virt.c | 232 static void create_randomness(MachineState *ms, const char *node) in create_randomness() 262 MachineState *ms = MACHINE(vms); in create_fdt() local 366 MachineState *ms = MACHINE(vms); in fdt_add_timer_nodes() local 419 const MachineState *ms = MACHINE(vms); in fdt_add_cpu_nodes() local 534 MachineState *ms = MACHINE(vms); in fdt_add_its_gic_node() local 553 MachineState *ms = MACHINE(vms); in fdt_add_v2m_gic_node() local 572 MachineState *ms = MACHINE(vms); in fdt_add_gic_node() local 652 MachineState *ms = MACHINE(vms); in fdt_add_pmu_nodes() local 679 MachineState *ms = MACHINE(vms); in create_acpi_ged() local 766 MachineState *ms = MACHINE(vms); in create_gic() local [all …]
|
/openbmc/qemu/tests/unit/ |
H A D | test-smp-parse.c | 781 static void check_parse(MachineState *ms, const SMPConfiguration *config, in check_parse() 885 static void smp_parse_test(MachineState *ms, SMPTestData *data, bool is_valid) in smp_parse_test() 1012 MachineState *ms = MACHINE(obj); in test_generic_valid() local 1031 MachineState *ms = MACHINE(obj); in test_generic_invalid() local 1050 MachineState *ms = MACHINE(obj); in test_with_modules() local 1100 MachineState *ms = MACHINE(obj); in test_with_dies() local 1150 MachineState *ms = MACHINE(obj); in test_with_modules_dies() local 1211 MachineState *ms = MACHINE(obj); in test_with_clusters() local 1261 MachineState *ms = MACHINE(obj); in test_with_books() local 1311 MachineState *ms = MACHINE(obj); in test_with_drawers() local [all …]
|
/openbmc/qemu/hw/ppc/ |
H A D | spapr_numa.c | 72 static int get_numa_distance(MachineState *ms, int src, int dst) in get_numa_distance() 94 static bool spapr_numa_is_symmetrical(MachineState *ms) in spapr_numa_is_symmetrical() 145 MachineState *ms = MACHINE(spapr); in spapr_numa_define_FORM1_domains() local 434 MachineState *ms = MACHINE(spapr); in spapr_numa_FORM1_write_rtas_dt() local 491 MachineState *ms = MACHINE(spapr); in spapr_numa_FORM2_write_rtas_tables() local 552 MachineState *ms = MACHINE(spapr); in spapr_numa_FORM2_write_rtas_dt() local
|