Home
last modified time | relevance | path

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

12

/tools/include/asm-generic/
Dbarrier.h27 #ifndef mb
28 #define mb() barrier() macro
32 #define rmb() mb()
36 #define wmb() mb()
/tools/perf/ui/browsers/
Dmap.c28 struct map_browser *mb = container_of(browser, struct map_browser, b); in map_browser__write() local
34 mb->addrlen, sym->start, mb->addrlen, sym->end, in map_browser__write()
37 width = browser->width - ((mb->addrlen * 2) + 4); in map_browser__write()
107 struct map_browser mb = { in map__browse() local
120 for (nd = rb_first(mb.b.entries); nd; nd = rb_next(nd)) { in map__browse()
127 *idx = mb.b.nr_entries; in map__browse()
129 ++mb.b.nr_entries; in map__browse()
132 mb.addrlen = snprintf(tmp, sizeof(tmp), "%" PRIx64, maxaddr); in map__browse()
133 return map_browser__run(&mb); in map__browse()
/tools/memory-model/
Dlinux-kernel.def17 smp_store_mb(X,V) { __store{once}(X,V); __fence{mb}; }
20 smp_mb() { __fence{mb}; }
30 xchg(X,V) __xchg{mb}(X,V)
34 cmpxchg(X,V,W) __cmpxchg{mb}(X,V,W)
68 atomic_add_return(V,X) __atomic_op_return{mb}(X,+,V)
72 atomic_fetch_add(V,X) __atomic_fetch_op{mb}(X,+,V)
77 atomic_inc_return(X) __atomic_op_return{mb}(X,+,1)
81 atomic_fetch_inc(X) __atomic_fetch_op{mb}(X,+,1)
86 atomic_sub_return(V,X) __atomic_op_return{mb}(X,-,V)
90 atomic_fetch_sub(V,X) __atomic_fetch_op{mb}(X,-,V)
[all …]
Dlinux-kernel.cfg19 edgeattr mb,color,darkgreen
Dlinux-kernel.bell26 'mb (*smp_mb*) ||
/tools/arch/mips/include/asm/
Dbarrier.h11 #define mb() asm volatile( \ macro
18 #define wmb() mb()
19 #define rmb() mb()
/tools/arch/sh/include/asm/
Dbarrier.h26 #define mb() __asm__ __volatile__ ("synco": : :"memory") macro
27 #define rmb() mb()
28 #define wmb() mb()
/tools/arch/ia64/include/asm/
Dbarrier.h45 #define mb() ia64_mf() macro
46 #define rmb() mb()
47 #define wmb() mb()
/tools/testing/selftests/powerpc/mm/
Dsegv_errors.c55 mb(); in test_segv_errors()
57 mb(); in test_segv_errors()
65 mb(); in test_segv_errors()
67 mb(); in test_segv_errors()
/tools/arch/s390/include/asm/
Dbarrier.h26 #define mb() do { asm volatile(__ASM_BARRIER : : : "memory"); } while (0) macro
28 #define rmb() mb()
29 #define wmb() mb()
/tools/arch/arm64/include/asm/
Dbarrier.h13 #define mb() asm volatile("dmb ish" ::: "memory") macro
59 mb(); \
92 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.h20 #define mb() asm volatile("lock; addl $0,0(%%esp)" ::: "memory") macro
24 #define mb() asm volatile("mfence" ::: "memory") macro
/tools/testing/selftests/powerpc/pmu/ebb/
Debb.c152 mb(); in setup_ebb_handler()
156 mb(); in setup_ebb_handler()
280 mb(); in ebb_event_enable()
289 mb(); in ebb_event_enable()
297 mb(); in ebb_freeze_pmcs()
304 mb(); in ebb_unfreeze_pmcs()
311 mb(); in ebb_global_enable()
318 mb(); in ebb_global_disable()
Dcycles_with_freeze_test.c83 mb(); in cycles_with_freeze()
89 mb(); in cycles_with_freeze()
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/alpha/include/asm/
Dbarrier.h5 #define mb() __asm__ __volatile__("mb": : :"memory") macro
/tools/arch/sparc/include/asm/
Dbarrier_64.h39 #define mb() membar_safe("#StoreLoad") macro
/tools/arch/powerpc/include/asm/
Dbarrier.h26 #define mb() __asm__ __volatile__ ("sync" : : : "memory") macro
/tools/virtio/asm/
Dbarrier.h15 # define mb() abort() macro
/tools/include/asm/
Dbarrier.h47 # define smp_mb() mb()
/tools/testing/selftests/powerpc/include/
Dreg.h19 #define mb() asm volatile("sync" : : : "memory"); macro
/tools/testing/selftests/net/
Dtcp_mmap.c207 unsigned long mb = total >> 20; in child_thread() local
218 (double)total_usec/mb, in child_thread()

12