/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 | 238 MachineState *ms = MACHINE(s); in create_fdt_socket_cpus() local 309 MachineState *ms = MACHINE(s); in create_fdt_socket_memory() local 329 MachineState *ms = MACHINE(s); in create_fdt_socket_clint() local 367 MachineState *ms = MACHINE(s); in create_fdt_socket_aclint() local 449 MachineState *ms = MACHINE(s); in create_fdt_socket_plic() local 526 MachineState *ms = MACHINE(s); in create_fdt_one_imsic() local 628 MachineState *ms = MACHINE(s); in create_fdt_one_aplic() local 691 MachineState *ms = MACHINE(s); in create_fdt_socket_aplic() local 729 MachineState *ms = MACHINE(s); in create_fdt_pmu() local 745 MachineState *ms = MACHINE(s); in create_fdt_sockets() local [all …]
|
/openbmc/qemu/hw/core/ |
H A D | machine.c | 305 MachineState *ms = MACHINE(obj); in machine_get_kernel() local 312 MachineState *ms = MACHINE(obj); in machine_set_kernel() local 320 MachineState *ms = MACHINE(obj); in machine_get_shim() local 327 MachineState *ms = MACHINE(obj); in machine_set_shim() local 335 MachineState *ms = MACHINE(obj); in machine_get_initrd() local 342 MachineState *ms = MACHINE(obj); in machine_set_initrd() local 350 MachineState *ms = MACHINE(obj); in machine_get_append() local 357 MachineState *ms = MACHINE(obj); in machine_set_append() local 365 MachineState *ms = MACHINE(obj); in machine_get_dtb() local 372 MachineState *ms = MACHINE(obj); in machine_set_dtb() 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() 340 unsigned int machine_topo_get_cores_per_socket(const MachineState *ms) in machine_topo_get_cores_per_socket() 345 unsigned int machine_topo_get_threads_per_socket(const MachineState *ms) in machine_topo_get_threads_per_socket() 350 CpuTopologyLevel machine_get_cache_topo_level(const MachineState *ms, in machine_get_cache_topo_level() 356 void machine_set_cache_topo_level(MachineState *ms, CacheLevelAndType cache, in machine_set_cache_topo_level() 387 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() argument 126 queue_bio(struct mirror_set * ms,struct bio * bio,int rw) queue_bio() argument 144 struct mirror_set *ms = context; dispatch_bios() local 178 get_default_mirror(struct mirror_set * ms) get_default_mirror() argument 185 struct mirror_set *ms = m->ms; set_default_mirror() local 191 get_valid_mirror(struct mirror_set * ms) get_valid_mirror() argument 218 struct mirror_set *ms = m->ms; fail_mirror() local 261 struct mirror_set *ms = ti->private; mirror_flush() local 306 struct mirror_set *ms = dm_rh_region_context(reg); recovery_complete() local 335 recover(struct mirror_set * ms,struct dm_region * reg) recover() argument 379 reset_ms_flags(struct mirror_set * ms) reset_ms_flags() argument 390 do_recovery(struct mirror_set * ms) do_recovery() argument 423 choose_mirror(struct mirror_set * ms,sector_t sector) choose_mirror() argument 445 mirror_available(struct mirror_set * ms,struct bio * bio) mirror_available() argument 480 hold_bio(struct mirror_set * ms,struct bio * bio) hold_bio() argument 560 region_in_sync(struct mirror_set * ms,region_t region,int may_block) region_in_sync() argument 567 do_reads(struct mirror_set * ms,struct bio_list * reads) do_reads() argument 608 struct mirror_set *ms; write_callback() local 654 do_write(struct mirror_set * ms,struct bio * bio) do_write() argument 687 do_writes(struct mirror_set * ms,struct bio_list * writes) do_writes() argument 795 do_failures(struct mirror_set * ms,struct bio_list * failures) do_failures() argument 849 struct mirror_set *ms = trigger_event() local 862 struct mirror_set *ms = container_of(work, struct mirror_set, do_mirror() local 893 struct mirror_set *ms = alloc_context() local 937 free_context(struct mirror_set * ms,struct dm_target * ti,unsigned int m) free_context() argument 948 get_mirror(struct mirror_set * ms,struct dm_target * ti,unsigned int mirror,char ** argv) get_mirror() argument 1014 parse_features(struct mirror_set * ms,unsigned int argc,char ** argv,unsigned int * args_used) parse_features() argument 1079 struct mirror_set *ms; mirror_ctr() local 1183 struct mirror_set *ms = ti->private; mirror_dtr() local 1200 struct mirror_set *ms = ti->private; mirror_map() local 1249 struct mirror_set *ms = ti->private; mirror_end_io() local 1314 struct mirror_set *ms = ti->private; mirror_presuspend() local 1360 struct mirror_set *ms = ti->private; mirror_postsuspend() local 1370 struct mirror_set *ms = ti->private; mirror_resume() local 1410 struct mirror_set *ms = ti->private; mirror_status() local 1473 struct mirror_set *ms = ti->private; mirror_iterate_devices() 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/loongarch/ |
H A D | virt-fdt-build.c | 22 MachineState *ms = MACHINE(lvms); in create_fdt() local 46 MachineState *ms = MACHINE(lvms); in fdt_add_cpu_nodes() local 111 static void fdt_add_memory_node(MachineState *ms, in fdt_add_memory_node() 128 static void fdt_add_memory_nodes(MachineState *ms) in fdt_add_memory_nodes() 174 const MachineState *ms = MACHINE(lvms); in fdt_add_fw_cfg_node() local 188 MachineState *ms = MACHINE(lvms); in fdt_add_flash_node() local 219 MachineState *ms = MACHINE(lvms); in fdt_add_cpuic_node() local 237 MachineState *ms = MACHINE(lvms); in fdt_add_eiointc_node() local 262 MachineState *ms = MACHINE(lvms); in fdt_add_pch_pic_node() local 287 MachineState *ms = MACHINE(lvms); in fdt_add_pch_msi_node() local [all …]
|
H A D | virt.c | 128 MachineState *ms = MACHINE(lvms); in virt_build_smbios() local 190 MachineState *ms = MACHINE(lvms); in create_acpi_ged() local 327 MachineState *ms = MACHINE(lvms); in virt_cpu_irq_init() local 604 static void fw_cfg_add_memory(MachineState *ms) in fw_cfg_add_memory() 788 static void virt_get_topo_from_index(MachineState *ms, in virt_get_topo_from_index() 811 static int virt_get_arch_id_from_topo(MachineState *ms, LoongArchCPUTopo *topo) in virt_get_arch_id_from_topo() 831 static CPUArchId *virt_find_cpu_slot(MachineState *ms, int arch_id) in virt_find_cpu_slot() 844 static CPUArchId *virt_find_empty_cpu_slot(MachineState *ms) in virt_find_empty_cpu_slot() 860 MachineState *ms = MACHINE(OBJECT(hotplug_dev)); in virt_cpu_pre_plug() local 1085 static const CPUArchIdList *virt_possible_cpu_arch_ids(MachineState *ms) in virt_possible_cpu_arch_ids() [all …]
|
/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/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/qemu/hw/s390x/ |
H A D | virtio-ccw-md-stubs.c | 5 void virtio_ccw_md_pre_plug(VirtIOMDCcw *vmd, MachineState *ms, Error **errp) in virtio_ccw_md_pre_plug() 10 void virtio_ccw_md_plug(VirtIOMDCcw *vmd, MachineState *ms, Error **errp) in virtio_ccw_md_plug() 15 void virtio_ccw_md_unplug_request(VirtIOMDCcw *vmd, MachineState *ms, in virtio_ccw_md_unplug_request() 21 void virtio_ccw_md_unplug(VirtIOMDCcw *vmd, MachineState *ms, Error **errp) in virtio_ccw_md_unplug()
|
H A D | virtio-ccw-md.c | 19 void virtio_ccw_md_pre_plug(VirtIOMDCcw *vmd, MachineState *ms, Error **errp) in virtio_ccw_md_pre_plug() 48 void virtio_ccw_md_plug(VirtIOMDCcw *vmd, MachineState *ms, Error **errp) in virtio_ccw_md_plug() 70 void virtio_ccw_md_unplug_request(VirtIOMDCcw *vmd, MachineState *ms, in virtio_ccw_md_unplug_request() 112 void virtio_ccw_md_unplug(VirtIOMDCcw *vmd, MachineState *ms, Error **errp) in virtio_ccw_md_unplug()
|
H A D | s390-virtio-ccw.c | 266 S390CcwMachineState *ms = S390_CCW_MACHINE(machine); in ccw_init() local 332 MachineState *ms = MACHINE(hotplug_dev); in s390_cpu_plug() local 358 static void s390_machine_unprotect(S390CcwMachineState *ms) in s390_machine_unprotect() 368 static int s390_machine_protect(S390CcwMachineState *ms) in s390_machine_protect() 437 static void s390_pv_prepare_reset(S390CcwMachineState *ms) in s390_pv_prepare_reset() 454 S390CcwMachineState *ms = S390_CCW_MACHINE(machine); in s390_machine_reset() local 638 static CpuInstanceProperties s390_cpu_index_to_props(MachineState *ms, in s390_cpu_index_to_props() 648 static const CPUArchIdList *s390_possible_cpu_arch_ids(MachineState *ms) in s390_possible_cpu_arch_ids() 721 S390CcwMachineState *ms = S390_CCW_MACHINE(obj); in machine_get_aes_key_wrap() local 729 S390CcwMachineState *ms = S390_CCW_MACHINE(obj); in machine_set_aes_key_wrap() 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/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/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/arm/ |
H A D | virt.c | 241 static void create_randomness(MachineState *ms, const char *node) in create_randomness() 271 MachineState *ms = MACHINE(vms); in create_fdt() local 375 MachineState *ms = MACHINE(vms); in fdt_add_timer_nodes() local 428 const MachineState *ms = MACHINE(vms); in fdt_add_cpu_nodes() local 543 MachineState *ms = MACHINE(vms); in fdt_add_its_gic_node() local 562 MachineState *ms = MACHINE(vms); in fdt_add_v2m_gic_node() local 581 MachineState *ms = MACHINE(vms); in fdt_add_gic_node() local 661 MachineState *ms = MACHINE(vms); in fdt_add_pmu_nodes() local 688 MachineState *ms = MACHINE(vms); in create_acpi_ged() local 775 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 …]
|