Lines Matching refs:ptr
112 #define __get_unaligned_le(ptr) (typeof(*(ptr)))({ \ argument
113 sizeof(*(ptr)) == 1 ? *(ptr) : \
114 (sizeof(*(ptr)) == 2 ? get_unaligned_le16((ptr)) : \
115 (sizeof(*(ptr)) == 4 ? get_unaligned_le32((ptr)) : \
116 (sizeof(*(ptr)) == 8 ? get_unaligned_le64((ptr)) : \
120 #define __get_unaligned_be(ptr) (__force typeof(*(ptr)))({ \ argument
121 sizeof(*(ptr)) == 1 ? *(ptr) : \
122 (sizeof(*(ptr)) == 2 ? get_unaligned_be16((ptr)) : \
123 (sizeof(*(ptr)) == 4 ? get_unaligned_be32((ptr)) : \
124 (sizeof(*(ptr)) == 8 ? get_unaligned_be64((ptr)) : \
128 #define __put_unaligned_le(val, ptr) ({ \ argument
129 void *__gu_p = (ptr); \
130 switch (sizeof(*(ptr))) { \
149 #define __put_unaligned_be(val, ptr) ({ \ argument
150 void *__gu_p = (ptr); \
151 switch (sizeof(*(ptr))) { \