Searched refs:ATOMIC_INIT (Results 1 – 6 of 6) sorted by relevance
/bionic/libc/kernel/arch-arm/asm/ |
D | atomic.h | 24 #define ATOMIC_INIT(i) { (i) } macro
|
D | semaphore.h | 35 #define __SEMAPHORE_INIT(name, cnt) { .count = ATOMIC_INIT(cnt), .wait = __WAIT_QUEUE_HEAD_INI…
|
/bionic/libc/kernel/common/linux/ |
D | interrupt.h | 119 #define DECLARE_TASKLET(name, func, data) struct tasklet_struct name = { NULL, 0, ATOMIC_INIT(0), … 120 …ET_DISABLED(name, func, data) struct tasklet_struct name = { NULL, 0, ATOMIC_INIT(1), func, data }
|
D | mutex.h | 44 #define __MUTEX_INITIALIZER(lockname) { .count = ATOMIC_INIT(1) , .wait_lock = SPIN_LOCK_UNLOCK…
|
/bionic/libc/kernel/arch-x86/asm/ |
D | atomic_32.h | 26 #define ATOMIC_INIT(i) { (i) } macro
|
/bionic/libc/kernel/arch-mips/asm/ |
D | atomic.h | 29 #define ATOMIC_INIT(i) { (i) } macro
|