PPL Logo

arch/util/default_ppcq.h File Reference

Go to the source code of this file.

Data Structures

struct  _ppc_atomic_t

Typedefs

typedef uint64_t ppc_atomic_type_t
typedef struct _ppc_atomic_t ppc_atomic_t

Functions

static void PPC_AtomicCounterAllocate (void **atomic_mem, size_t atomic_memsize)
static ppc_atomic_type_t PPC_AtomicLoadReserved (volatile ppc_atomic_t *ptr)
static int PPC_AtomicStoreConditional (volatile ppc_atomic_t *ptr, ppc_atomic_type_t val)
static ppc_atomic_type_t PPC_AtomicLoadIncrementBounded (volatile ppc_atomic_t *counter)
static void PPC_AtomicStore (volatile ppc_atomic_t *counter, ppc_atomic_type_t val)
static void PPC_AtomicReadFence (void)
static void PPC_AtomicWriteFence (void)


Typedef Documentation

Definition at line 18 of file default_ppcq.h.

typedef struct _ppc_atomic_t ppc_atomic_t


Function Documentation

static void PPC_AtomicCounterAllocate ( void **  atomic_mem,
size_t  atomic_memsize 
) [inline, static]

Definition at line 27 of file default_ppcq.h.

References posix_memalign().

Here is the call graph for this function:

static ppc_atomic_type_t PPC_AtomicLoadReserved ( volatile ppc_atomic_t ptr  )  [inline, static]

Definition at line 34 of file default_ppcq.h.

References _ppc_atomic_t::val.

Referenced by PPC_AtomicLoadIncrementBounded().

Here is the caller graph for this function:

static int PPC_AtomicStoreConditional ( volatile ppc_atomic_t ptr,
ppc_atomic_type_t  val 
) [inline, static]

Definition at line 45 of file default_ppcq.h.

References _ppc_atomic_t::val.

Referenced by PPC_AtomicLoadIncrementBounded().

Here is the caller graph for this function:

static ppc_atomic_type_t PPC_AtomicLoadIncrementBounded ( volatile ppc_atomic_t counter  )  [inline, static]

Definition at line 58 of file default_ppcq.h.

References PPC_AtomicLoadReserved(), PPC_AtomicStoreConditional(), and _ppc_atomic_t::val.

Referenced by PPCAtomicEnqueue(), PPCAtomicMutexAcquire(), and PPCAtomicMutexTryAcquire().

Here is the call graph for this function:

Here is the caller graph for this function:

static void PPC_AtomicStore ( volatile ppc_atomic_t counter,
ppc_atomic_type_t  val 
) [inline, static]

Definition at line 75 of file default_ppcq.h.

References _ppc_atomic_t::val.

Referenced by PPCAtomicDequeue(), PPCAtomicMutexInit(), PPCAtomicMutexRelease(), and PPCAtomicQueueInit().

Here is the caller graph for this function:

static void PPC_AtomicReadFence ( void   )  [inline, static]

Definition at line 82 of file default_ppcq.h.

Referenced by PPCAtomicDequeue(), PPCAtomicMutexAcquire(), and PPCAtomicMutexTryAcquire().

Here is the caller graph for this function:

static void PPC_AtomicWriteFence ( void   )  [inline, static]

Definition at line 89 of file default_ppcq.h.

Referenced by PPCAtomicEnqueue(), and PPCAtomicMutexRelease().

Here is the caller graph for this function:


Generated on Mon Sep 21 07:56:03 2020 for Charm++ by  doxygen 1.5.5