Go to the source code of this file.
#define __get_unaligned_be |
( |
|
ptr | ) |
|
Value:
__builtin_choose_expr(
sizeof(*(
ptr)) == 1, *(
ptr), \
__builtin_choose_expr(
sizeof(*(
ptr)) == 2, get_unaligned_be16((
ptr)), \
}))
Definition at line 18 of file generic.h.
#define __get_unaligned_le |
( |
|
ptr | ) |
|
Value:
__builtin_choose_expr(
sizeof(*(
ptr)) == 1, *(
ptr), \
__builtin_choose_expr(
sizeof(*(
ptr)) == 2, get_unaligned_le16((
ptr)), \
}))
Definition at line 10 of file generic.h.
#define __put_unaligned_be |
( |
|
val, |
|
|
|
ptr |
|
) |
| |
Value:({ \
switch (
sizeof(*(
ptr))) { \
case 1: \
break; \
case 2: \
break; \
case 4: \
break; \
case 8: \
break; \
default: \
__bad_unaligned_access_size(); \
break; \
} \
Definition at line 47 of file generic.h.
#define __put_unaligned_le |
( |
|
val, |
|
|
|
ptr |
|
) |
| |
Value:({ \
switch (
sizeof(*(
ptr))) { \
case 1: \
break; \
case 2: \
break; \
case 4: \
break; \
case 8: \
break; \
default: \
__bad_unaligned_access_size(); \
break; \
} \
Definition at line 26 of file generic.h.
void __bad_unaligned_access_size |
( |
void |
| ) |
|