/* * Copied from the kernel sources: * * Copyright (C) 1999 Cort Dougan */ #ifndef _TOOLS_LINUX_ASM_POWERPC_BARRIER_H #define _TOOLS_LINUX_ASM_POWERPC_BARRIER_H /* * Memory barrier. * The sync instruction guarantees that all memory accesses initiated * by this processor have been performed (with respect to all other * mechanisms that access memory). The eieio instruction is a barrier * providing an ordering (separately) for (a) cacheable stores and (b) * loads and stores to non-cacheable memory (e.g. I/O devices). * * mb() prevents loads and stores being reordered across this point. * rmb() prevents loads being reordered across this point. * wmb() prevents stores being reordered across this point. * * *mb() variants without smp_ prefix must order all types of memory * operations with one another. sync is the only instruction sufficient * to do this. */ #define mb() __asm__ __volatile__ ("sync" : : : "memory") #define rmb() __asm__ __volatile__ ("sync" : : : "memory") #define wmb() __asm__ __volatile__ ("sync" : : : "memory") #endif /* _TOOLS_LINUX_ASM_POWERPC_BARRIER_H */ ivate-remove net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
path: root/include/rdma
ModeNameSize
-rw-r--r--ib.h3386logplain
-rw-r--r--ib_addr.h10080logplain
-rw-r--r--ib_cache.h6375logplain
-rw-r--r--ib_cm.h19359logplain
-rw-r--r--ib_fmr_pool.h3439logplain
-rw-r--r--ib_hdrs.h4989logplain
-rw-r--r--ib_mad.h27924logplain
-rw-r--r--ib_marshall.h2025logplain
-rw-r--r--ib_pack.h9047logplain
-rw-r--r--ib_pma.h5579logplain
-rw-r--r--ib_sa.h16914logplain
-rw-r--r--ib_smi.h5633logplain
-rw-r--r--ib_umem.h3577logplain
-rw-r--r--ib_umem_odp.h5300logplain
-rw-r--r--ib_verbs.h100225logplain
-rw-r--r--iw_cm.h8793logplain
-rw-r--r--iw_portmap.h7688logplain
-rw-r--r--mr_pool.h954logplain
-rw-r--r--opa_port_info.h15063logplain
-rw-r--r--opa_smi.h4417logplain