Lines Matching refs:__v
56 __typeof__(*(ptr)) __v; \
59 case 1: __v = *(ptr); break; \
60 case 2: __v = __get_unaligned_2_le(__p); break; \
61 case 4: __v = __get_unaligned_4_le(__p); break; \
66 __v = ((unsigned long long)__v2 << 32 | __v1); \
69 default: __v = __bug_unaligned_x(__p); break; \
71 __v; \
76 __typeof__(*(ptr)) __v; \
79 case 1: __v = *(ptr); break; \
80 case 2: __v = __get_unaligned_2_be(__p); break; \
81 case 4: __v = __get_unaligned_4_be(__p); break; \
86 __v = ((unsigned long long)__v2 << 32 | __v1); \
89 default: __v = __bug_unaligned_x(__p); break; \
91 __v; \
95 static inline void __put_unaligned_2_le(__u32 __v, register __u8 *__p)
97 *__p++ = __v;
98 *__p++ = __v >> 8;
101 static inline void __put_unaligned_2_be(__u32 __v, register __u8 *__p)
103 *__p++ = __v >> 8;
104 *__p++ = __v;
107 static inline void __put_unaligned_4_le(__u32 __v, register __u8 *__p)
109 __put_unaligned_2_le(__v >> 16, __p + 2);
110 __put_unaligned_2_le(__v, __p);
113 static inline void __put_unaligned_4_be(__u32 __v, register __u8 *__p)
115 __put_unaligned_2_be(__v >> 16, __p);
116 __put_unaligned_2_be(__v, __p + 2);
119 static inline void __put_unaligned_8_le(const unsigned long long __v, register __u8 *__p)
126 __put_unaligned_4_le(__v >> 32, __p+4);
127 __put_unaligned_4_le(__v, __p);
130 static inline void __put_unaligned_8_be(const unsigned long long __v, register __u8 *__p)
137 __put_unaligned_4_be(__v >> 32, __p);
138 __put_unaligned_4_be(__v, __p+4);