OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:ATOMIC_BITSET_SZ
(Results
1 - 2
of
2
) sorted by null
/device/google/contexthub/firmware/os/cpu/cortexm4/inc/cpu/
atomicBitset.h
30
#define
ATOMIC_BITSET_SZ
(numbits) (sizeof(struct AtomicBitset) + sizeof(uint32_t) * ATOMIC_BITSET_NUM_WORDS(numbits))
31
#define ATOMIC_BITSET_DECL(nam, numbits, extra_keyword) DECLARE_OS_ALIGNMENT(nam,
ATOMIC_BITSET_SZ
(numbits), extra_keyword, struct AtomicBitset)
/device/google/contexthub/firmware/os/cpu/x86/inc/cpu/
atomicBitset.h
28
#define
ATOMIC_BITSET_SZ
(numbits) (sizeof(struct AtomicBitset) + ((numbits) + 31) / 8)
29
#define ATOMIC_BITSET_DECL(nam, numbits, extra_keyword) extra_keyword uint8_t _##nam##_store [
ATOMIC_BITSET_SZ
(numbits)] __attribute__((aligned(4))); extra_keyword struct AtomicBitset *nam = (struct AtomicBitset*)_##nam##_store
Completed in 137 milliseconds