Home
last modified time | relevance | path

Searched refs:__u64 (Results 1 – 3 of 3) sorted by relevance

/DragonStub/inc/dragonstub/linux/
H A Dswab.h28 #define ___constant_swab64(x) ((__u64)( \
29 (((__u64)(x) & (__u64)0x00000000000000ffULL) << 56) | \
30 (((__u64)(x) & (__u64)0x000000000000ff00ULL) << 40) | \
31 (((__u64)(x) & (__u64)0x0000000000ff0000ULL) << 24) | \
32 (((__u64)(x) & (__u64)0x00000000ff000000ULL) << 8) | \
33 (((__u64)(x) & (__u64)0x000000ff00000000ULL) >> 8) | \
34 (((__u64)(x) & (__u64)0x0000ff0000000000ULL) >> 24) | \
35 (((__u64)(x) & (__u64)0x00ff000000000000ULL) >> 40) | \
36 (((__u64)(x) & (__u64)0xff00000000000000ULL) >> 56)))
70 static inline __attribute_const__ __u64 __fswab64(__u64 val) in __fswab64()
[all …]
H A Dbyteorder_little_endian.h20 #define __constant_cpu_to_le64(x) ((__force __le64)(__u64)(x))
21 #define __constant_le64_to_cpu(x) ((__force __u64)(__le64)(x))
27 #define __constant_be64_to_cpu(x) ___constant_swab64((__force __u64)(__be64)(x))
32 #define __cpu_to_le64(x) ((__force __le64)(__u64)(x))
33 #define __le64_to_cpu(x) ((__force __u64)(__le64)(x))
39 #define __be64_to_cpu(x) __swab64((__force __u64)(__be64)(x))
45 static __always_inline __le64 __cpu_to_le64p(const __u64 *p) in __cpu_to_le64p()
49 static __always_inline __u64 __le64_to_cpup(const __le64 *p) in __le64_to_cpup()
51 return (__force __u64)*p; in __le64_to_cpup()
69 static __always_inline __be64 __cpu_to_be64p(const __u64 *p) in __cpu_to_be64p()
[all …]
/DragonStub/inc/dragonstub/
H A Dtypes.h33 __extension__ typedef unsigned long long __u64; typedef
36 typedef unsigned long long __u64; typedef
48 typedef __u64 u64;
76 typedef __u64 __bitwise __le64;
77 typedef __u64 __bitwise __be64;
91 #define __aligned_u64 __u64 __attribute__((aligned(8)))