Lines Matching refs:__p
42 #define __get_unaligned_2(__p) \ argument
43 (__p[0] | __p[1] << 8)
45 #define __get_unaligned_4(__p) \ argument
46 (__p[0] | __p[1] << 8 | __p[2] << 16 | __p[3] << 24)
51 __u8 *__p = (__u8 *)(ptr); \
54 case 2: __v = __get_unaligned_2(__p); break; \
55 case 4: __v = __get_unaligned_4(__p); break; \
58 __v2 = __get_unaligned_4((__p+4)); \
59 __v1 = __get_unaligned_4(__p); \
63 default: __v = __bug_unaligned_x(__p); break; \
69 static inline void __put_unaligned_2(__u32 __v, register __u8 *__p) in __put_unaligned_2() argument
71 *__p++ = __v; in __put_unaligned_2()
72 *__p++ = __v >> 8; in __put_unaligned_2()
75 static inline void __put_unaligned_4(__u32 __v, register __u8 *__p) in __put_unaligned_4() argument
77 __put_unaligned_2(__v >> 16, __p + 2); in __put_unaligned_4()
78 __put_unaligned_2(__v, __p); in __put_unaligned_4()
81 static inline void __put_unaligned_8(const unsigned long long __v, register __u8 *__p) in __put_unaligned_8() argument
88 __put_unaligned_4(__v >> 32, __p+4); in __put_unaligned_8()
89 __put_unaligned_4(__v, __p); in __put_unaligned_8()