/xen/tools/firmware/rombios/32bit/ |
A D | pmm.c | 224 return mb; in split_memblk() 229 mb->next = sb; in split_memblk() 252 mb->next = nb; in collect_avail_memblks() 261 set_avail(mb); in pmm_init_heap() 293 memblk_t *mb; in pmm_max_avail_length() local 312 memblk_t *mb; in first_fit() local 360 memblk_t *mb; in pmm_find_handle() local 401 memblk_t *mb; in pmmAllocate() local 455 memblk_t *mb; in pmmFind() local 464 return mb ? memblk_buffer(mb) : 0; in pmmFind() [all …]
|
/xen/tools/helpers/ |
A D | init-xenstore-domain.c | 269 unsigned long mb = 0, a = 0, b = 0; in parse_maxmem() local 282 res = &mb; in parse_maxmem() 290 if ( res != &mb || a != 0 ) in parse_maxmem() 301 res = &mb; in parse_maxmem() 310 maxmem = mb < val ? val : mb; in parse_maxmem()
|
/xen/xen/arch/x86/cpu/mcheck/ |
A D | mce.c | 128 struct mca_banks *mb; in mcabanks_alloc() local 130 mb = xmalloc(struct mca_banks); in mcabanks_alloc() 131 if ( !mb ) in mcabanks_alloc() 143 if ( !mb->bank_map ) in mcabanks_alloc() 145 xfree(mb); in mcabanks_alloc() 149 mb->num = nr_mce_banks; in mcabanks_alloc() 151 return mb; in mcabanks_alloc() 647 struct mca_banks *mb; in set_poll_bankmask() local 650 BUG_ON(!mb); in set_poll_bankmask() 657 bitmap_fill(mb->bank_map, mb->num); in set_poll_bankmask() [all …]
|
/xen/tools/firmware/hvmloader/ |
A D | util.h | 51 #define MB(mb) (mb##ULL << 20) argument 136 #define mb() asm volatile ( "lock; addl $0,0(%%esp)" : : : "memory" ) macro
|
/xen/xen/include/asm-x86/ |
A D | system.h | 214 #define mb() asm volatile ( "mfence" ::: "memory" ) macro 229 #define smp_mb() mb()
|
/xen/xen/include/asm-arm/ |
A D | system.h | 16 #define mb() dsb(sy) macro
|
/xen/tools/ocaml/libs/xc/ |
A D | xenctrl_stubs.c | 989 CAMLlocal1(mb); in stub_shadow_allocation_get() 1001 mb = Val_int(c_mb); in stub_shadow_allocation_get() 1002 CAMLreturn(mb); in stub_shadow_allocation_get() 1006 value mb) in stub_shadow_allocation_set() argument 1008 CAMLparam3(xch, domid, mb); in stub_shadow_allocation_set() 1012 c_mb = Int_val(mb); in stub_shadow_allocation_set()
|
/xen/xen/arch/x86/mm/hap/ |
A D | hap.c | 618 rc = hap_set_allocation(d, sc->mb << (20 - PAGE_SHIFT), &preempted); in hap_domctl() 626 sc->mb = hap_get_allocation(d); in hap_domctl() 629 sc->mb = hap_get_allocation(d); in hap_domctl()
|
/xen/xen/arch/x86/acpi/ |
A D | cpu_idle.c | 454 mb(); in mwait_idle_with_hints() 456 mb(); in mwait_idle_with_hints() 902 mb(); in acpi_dead_idle() 905 mb(); in acpi_dead_idle()
|
/xen/tools/libxc/ |
A D | xc_domain.c | 658 unsigned long *mb, in xc_shadow_control() argument 672 domctl.u.shadow_op.mb = mb ? *mb : 0; in xc_shadow_control() 684 if ( mb ) in xc_shadow_control() 685 *mb = domctl.u.shadow_op.mb; in xc_shadow_control()
|
/xen/xen/tools/kconfig/ |
A D | qconf.cc | 1746 QMessageBox mb("qconf", "Save configuration?", QMessageBox::Warning, in closeEvent() local 1748 mb.setButtonText(QMessageBox::Yes, "&Save Changes"); in closeEvent() 1749 mb.setButtonText(QMessageBox::No, "&Discard Changes"); in closeEvent() 1750 mb.setButtonText(QMessageBox::Cancel, "Cancel Exit"); in closeEvent() 1751 switch (mb.exec()) { in closeEvent()
|
/xen/xen/include/public/io/ |
A D | ring.h | 48 #define xen_mb() mb()
|
/xen/tools/python/xen/lowlevel/xc/ |
A D | xc.c | 1211 unsigned long mb; in pyxc_shadow_mem_control() local 1223 mb = mbarg; in pyxc_shadow_mem_control() 1226 if ( xc_shadow_control(xc->xc_handle, dom, op, NULL, 0, &mb, 0, NULL) < 0 ) in pyxc_shadow_mem_control() 1229 mbarg = mb; in pyxc_shadow_mem_control()
|
/xen/xen/arch/x86/mm/ |
A D | mem_sharing.c | 1632 unsigned long mb = hap_get_allocation(d); in fork_hap_allocation() local 1634 if ( mb == hap_get_allocation(cd) ) in fork_hap_allocation() 1638 rc = hap_set_allocation(cd, mb << (20 - PAGE_SHIFT), &preempted); in fork_hap_allocation()
|
/xen/xen/include/public/ |
A D | domctl.h | 255 uint32_t mb; /* Shadow memory allocation in MB */ member
|
/xen/xen/arch/x86/mm/shadow/ |
A D | common.c | 3442 sc->mb = shadow_get_allocation(d); in shadow_domctl() 3447 if ( sc->mb == 0 && shadow_mode_enabled(d) ) in shadow_domctl() 3456 rc = shadow_set_allocation(d, sc->mb << (20 - PAGE_SHIFT), &preempted); in shadow_domctl() 3464 sc->mb = shadow_get_allocation(d); in shadow_domctl()
|
/xen/ |
A D | config.sub | 1192 | m88110 | m88k | maxq | mb | mcore | mep | metag \
|
/xen/tools/libxc/include/ |
A D | xenctrl.h | 953 unsigned long *mb,
|