Home
last modified time | relevance | path

Searched refs:mb (Results 1 – 23 of 23) sorted by relevance

/tools/include/asm-generic/
Dbarrier.h31 #ifndef mb
32 #define mb() barrier() macro
36 #define rmb() mb()
40 #define wmb() mb()
/tools/perf/ui/browsers/
Dmap.c23 struct map_browser *mb = container_of(browser, struct map_browser, b); in map_browser__write() local
29 mb->addrlen, sym->start, mb->addrlen, sym->end, in map_browser__write()
32 width = browser->width - ((mb->addrlen * 2) + 4); in map_browser__write()
102 struct map_browser mb = { in map__browse() local
115 for (nd = rb_first(mb.b.entries); nd; nd = rb_next(nd)) { in map__browse()
122 *idx = mb.b.nr_entries; in map__browse()
124 ++mb.b.nr_entries; in map__browse()
127 mb.addrlen = snprintf(tmp, sizeof(tmp), "%" PRIx64, maxaddr); in map__browse()
128 return map_browser__run(&mb); in map__browse()
/tools/arch/tile/include/asm/
Dbarrier.h11 #define mb() asm volatile ("mf" ::: "memory") macro
12 #define wmb() mb()
13 #define rmb() mb()
/tools/arch/mips/include/asm/
Dbarrier.h10 #define mb() asm volatile( \ macro
17 #define wmb() mb()
18 #define rmb() mb()
/tools/arch/ia64/include/asm/
Dbarrier.h41 #define mb() ia64_mf() macro
42 #define rmb() mb()
43 #define wmb() mb()
/tools/arch/s390/include/asm/
Dbarrier.h25 #define mb() do { asm volatile(__ASM_BARRIER : : : "memory"); } while (0) macro
27 #define rmb() mb()
28 #define wmb() mb()
/tools/arch/sh/include/asm/
Dbarrier.h25 #define mb() __asm__ __volatile__ ("synco": : :"memory") macro
26 #define rmb() mb()
27 #define wmb() mb()
/tools/arch/xtensa/include/asm/
Dbarrier.h14 #define mb() ({ __asm__ __volatile__("memw" : : : "memory"); }) macro
16 #define wmb() mb()
/tools/arch/x86/include/asm/
Dbarrier.h19 #define mb() asm volatile("lock; addl $0,0(%%esp)" ::: "memory") macro
23 #define mb() asm volatile("mfence":::"memory") macro
/tools/virtio/asm/
Dbarrier.h3 #define mb() __sync_synchronize() macro
5 #define smp_mb() mb()
/tools/testing/selftests/powerpc/pmu/ebb/
Debb.c154 mb(); in setup_ebb_handler()
158 mb(); in setup_ebb_handler()
282 mb(); in ebb_event_enable()
291 mb(); in ebb_event_enable()
299 mb(); in ebb_freeze_pmcs()
306 mb(); in ebb_unfreeze_pmcs()
313 mb(); in ebb_global_enable()
320 mb(); in ebb_global_disable()
Dcycles_with_freeze_test.c83 mb(); in cycles_with_freeze()
89 mb(); in cycles_with_freeze()
Dreg.h19 #define mb() asm volatile("sync" : : : "memory"); macro
Dinstruction_count_test.c34 mb(); in do_count_loop()
40 mb(); in do_count_loop()
Dno_handler_test.c43 mb(); in no_handler_test()
/tools/arch/arm/include/asm/
Dbarrier.h8 #define mb() ((void(*)(void))0xffff0fa0)() macro
/tools/arch/arm64/include/asm/
Dbarrier.h12 #define mb() asm volatile("dmb ish" ::: "memory") macro
/tools/arch/alpha/include/asm/
Dbarrier.h4 #define mb() __asm__ __volatile__("mb": : :"memory") macro
/tools/arch/powerpc/include/asm/
Dbarrier.h25 #define mb() __asm__ __volatile__ ("sync" : : : "memory") macro
/tools/arch/sparc/include/asm/
Dbarrier_64.h38 #define mb() membar_safe("#StoreLoad") macro
/tools/perf/util/
Devlist.h217 mb(); in perf_mmap__write_tail()
Dauxtrace.h358 mb(); in auxtrace_mmap__write_tail()
/tools/lguest/
Dlguest.c244 #define mb() __asm__ __volatile__("lock; addl $0,0(%%esp)" : : : "memory") macro
773 mb(); in wait_for_vq_desc()