#include <stdint.h>
Go to the source code of this file.
|
#define | __k_cas ((int (*)(int, int, volatile int *))0xffff0fc0) |
|
|
static int | a_ctz_l (unsigned long x) |
|
static int | a_ctz_64 (uint64_t x) |
|
static int | a_cas (volatile int *p, int t, int s) |
|
static void * | a_cas_p (volatile void *p, void *t, void *s) |
|
static long | a_cas_l (volatile void *p, long t, long s) |
|
static int | a_swap (volatile int *x, int v) |
|
static int | a_fetch_add (volatile int *x, int v) |
|
static void | a_inc (volatile int *x) |
|
static void | a_dec (volatile int *x) |
|
static void | a_store (volatile int *p, int x) |
|
static void | a_spin () |
|
static void | a_crash () |
|
static void | a_and (volatile int *p, int v) |
|
static void | a_or (volatile int *p, int v) |
|
static void | a_or_l (volatile void *p, long v) |
|
static void | a_and_64 (volatile uint64_t *p, uint64_t v) |
|
static void | a_or_64 (volatile uint64_t *p, uint64_t v) |
|
◆ __k_cas
#define __k_cas ((int (*)(int, int, volatile int *))0xffff0fc0) |
◆ a_and()
static void a_and |
( |
volatile int * |
p, |
|
|
int |
v |
|
) |
| |
|
inlinestatic |
◆ a_and_64()
static void a_and_64 |
( |
volatile uint64_t * |
p, |
|
|
uint64_t |
v |
|
) |
| |
|
inlinestatic |
◆ a_cas()
static int a_cas |
( |
volatile int * |
p, |
|
|
int |
t, |
|
|
int |
s |
|
) |
| |
|
inlinestatic |
◆ a_cas_l()
static long a_cas_l |
( |
volatile void * |
p, |
|
|
long |
t, |
|
|
long |
s |
|
) |
| |
|
inlinestatic |
◆ a_cas_p()
static void* a_cas_p |
( |
volatile void * |
p, |
|
|
void * |
t, |
|
|
void * |
s |
|
) |
| |
|
inlinestatic |
◆ a_crash()
◆ a_ctz_64()
static int a_ctz_64 |
( |
uint64_t |
x | ) |
|
|
inlinestatic |
◆ a_ctz_l()
static int a_ctz_l |
( |
unsigned long |
x | ) |
|
|
inlinestatic |
◆ a_dec()
static void a_dec |
( |
volatile int * |
x | ) |
|
|
inlinestatic |
◆ a_fetch_add()
static int a_fetch_add |
( |
volatile int * |
x, |
|
|
int |
v |
|
) |
| |
|
inlinestatic |
◆ a_inc()
static void a_inc |
( |
volatile int * |
x | ) |
|
|
inlinestatic |
◆ a_or()
static void a_or |
( |
volatile int * |
p, |
|
|
int |
v |
|
) |
| |
|
inlinestatic |
◆ a_or_64()
static void a_or_64 |
( |
volatile uint64_t * |
p, |
|
|
uint64_t |
v |
|
) |
| |
|
inlinestatic |
◆ a_or_l()
static void a_or_l |
( |
volatile void * |
p, |
|
|
long |
v |
|
) |
| |
|
inlinestatic |
◆ a_spin()
◆ a_store()
static void a_store |
( |
volatile int * |
p, |
|
|
int |
x |
|
) |
| |
|
inlinestatic |
◆ a_swap()
static int a_swap |
( |
volatile int * |
x, |
|
|
int |
v |
|
) |
| |
|
inlinestatic |