|
CS350 COS
COS
|
#include <stddef.h>Go to the source code of this file.
Macros | |
| #define | PACKED __attribute__((__packed__)) |
| #define | PERCORE __attribute__((section(".data.percore"))) |
| #define | INLINE inline |
| #define | ALWAYS_INLINE __attribute__((__always_inline__)) |
| #define | NO_RETURN __attribute__((noreturn)) |
| #define | UNREACHABLE __builtin_unreachable |
| #define | UNUSED __attribute__((unused)) |
| #define | ROUNDUP(_x, _n) (((_x) + (_n) - 1) & ~((_n) - 1)) |
| #define | __MALLOC __attribute__((__malloc__)) |
| #define | __NO_LOCK_ANALYSIS |
| #define | __LOCKABLE |
| #define | __LOCK_EX(_x) |
| #define | __TRYLOCK_EX(_x) |
| #define | __UNLOCK_EX(_x) |
| #define | __LOCK_EX_ASSERT(_x) |
| #define | __GUARDED_BY(_x) |
| #define | __hidden __attribute__((__visibility__("hidden"))) |
| #define | __printflike(_fmt, _var) __attribute__((__format__(__printf__, _fmt, _var))) |
| #define __hidden __attribute__((__visibility__("hidden"))) |
| #define __MALLOC __attribute__((__malloc__)) |
| #define __printflike | ( | _fmt, | |
| _var | |||
| ) | __attribute__((__format__(__printf__, _fmt, _var))) |
| #define ALWAYS_INLINE __attribute__((__always_inline__)) |
| #define NO_RETURN __attribute__((noreturn)) |
| struct ether_addr PACKED __attribute__((__packed__)) |
| #define PERCORE __attribute__((section(".data.percore"))) |
| #define UNUSED __attribute__((unused)) |