Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
big_endian.h File Reference
#include <linux/types.h>
#include <linux/swab.h>

Go to the source code of this file.

Macros

#define __BIG_ENDIAN   4321
 
#define __BIG_ENDIAN_BITFIELD
 
#define __constant_htonl(x)   ((__force __be32)(__u32)(x))
 
#define __constant_ntohl(x)   ((__force __u32)(__be32)(x))
 
#define __constant_htons(x)   ((__force __be16)(__u16)(x))
 
#define __constant_ntohs(x)   ((__force __u16)(__be16)(x))
 
#define __constant_cpu_to_le64(x)   ((__force __le64)___constant_swab64((x)))
 
#define __constant_le64_to_cpu(x)   ___constant_swab64((__force __u64)(__le64)(x))
 
#define __constant_cpu_to_le32(x)   ((__force __le32)___constant_swab32((x)))
 
#define __constant_le32_to_cpu(x)   ___constant_swab32((__force __u32)(__le32)(x))
 
#define __constant_cpu_to_le16(x)   ((__force __le16)___constant_swab16((x)))
 
#define __constant_le16_to_cpu(x)   ___constant_swab16((__force __u16)(__le16)(x))
 
#define __constant_cpu_to_be64(x)   ((__force __be64)(__u64)(x))
 
#define __constant_be64_to_cpu(x)   ((__force __u64)(__be64)(x))
 
#define __constant_cpu_to_be32(x)   ((__force __be32)(__u32)(x))
 
#define __constant_be32_to_cpu(x)   ((__force __u32)(__be32)(x))
 
#define __constant_cpu_to_be16(x)   ((__force __be16)(__u16)(x))
 
#define __constant_be16_to_cpu(x)   ((__force __u16)(__be16)(x))
 
#define __cpu_to_le64(x)   ((__force __le64)__swab64((x)))
 
#define __le64_to_cpu(x)   __swab64((__force __u64)(__le64)(x))
 
#define __cpu_to_le32(x)   ((__force __le32)__swab32((x)))
 
#define __le32_to_cpu(x)   __swab32((__force __u32)(__le32)(x))
 
#define __cpu_to_le16(x)   ((__force __le16)__swab16((x)))
 
#define __le16_to_cpu(x)   __swab16((__force __u16)(__le16)(x))
 
#define __cpu_to_be64(x)   ((__force __be64)(__u64)(x))
 
#define __be64_to_cpu(x)   ((__force __u64)(__be64)(x))
 
#define __cpu_to_be32(x)   ((__force __be32)(__u32)(x))
 
#define __be32_to_cpu(x)   ((__force __u32)(__be32)(x))
 
#define __cpu_to_be16(x)   ((__force __be16)(__u16)(x))
 
#define __be16_to_cpu(x)   ((__force __u16)(__be16)(x))
 
#define __cpu_to_le64s(x)   __swab64s((x))
 
#define __le64_to_cpus(x)   __swab64s((x))
 
#define __cpu_to_le32s(x)   __swab32s((x))
 
#define __le32_to_cpus(x)   __swab32s((x))
 
#define __cpu_to_le16s(x)   __swab16s((x))
 
#define __le16_to_cpus(x)   __swab16s((x))
 
#define __cpu_to_be64s(x)   do { (void)(x); } while (0)
 
#define __be64_to_cpus(x)   do { (void)(x); } while (0)
 
#define __cpu_to_be32s(x)   do { (void)(x); } while (0)
 
#define __be32_to_cpus(x)   do { (void)(x); } while (0)
 
#define __cpu_to_be16s(x)   do { (void)(x); } while (0)
 
#define __be16_to_cpus(x)   do { (void)(x); } while (0)
 

Macro Definition Documentation

#define __be16_to_cpu (   x)    ((__force __u16)(__be16)(x))

Definition at line 41 of file big_endian.h.

#define __be16_to_cpus (   x)    do { (void)(x); } while (0)

Definition at line 102 of file big_endian.h.

#define __be32_to_cpu (   x)    ((__force __u32)(__be32)(x))

Definition at line 39 of file big_endian.h.

#define __be32_to_cpus (   x)    do { (void)(x); } while (0)

Definition at line 100 of file big_endian.h.

#define __be64_to_cpu (   x)    ((__force __u64)(__be64)(x))

Definition at line 37 of file big_endian.h.

#define __be64_to_cpus (   x)    do { (void)(x); } while (0)

Definition at line 98 of file big_endian.h.

#define __BIG_ENDIAN   4321

Definition at line 5 of file big_endian.h.

#define __BIG_ENDIAN_BITFIELD

Definition at line 8 of file big_endian.h.

#define __constant_be16_to_cpu (   x)    ((__force __u16)(__be16)(x))

Definition at line 29 of file big_endian.h.

#define __constant_be32_to_cpu (   x)    ((__force __u32)(__be32)(x))

Definition at line 27 of file big_endian.h.

#define __constant_be64_to_cpu (   x)    ((__force __u64)(__be64)(x))

Definition at line 25 of file big_endian.h.

#define __constant_cpu_to_be16 (   x)    ((__force __be16)(__u16)(x))

Definition at line 28 of file big_endian.h.

#define __constant_cpu_to_be32 (   x)    ((__force __be32)(__u32)(x))

Definition at line 26 of file big_endian.h.

#define __constant_cpu_to_be64 (   x)    ((__force __be64)(__u64)(x))

Definition at line 24 of file big_endian.h.

#define __constant_cpu_to_le16 (   x)    ((__force __le16)___constant_swab16((x)))

Definition at line 22 of file big_endian.h.

#define __constant_cpu_to_le32 (   x)    ((__force __le32)___constant_swab32((x)))

Definition at line 20 of file big_endian.h.

#define __constant_cpu_to_le64 (   x)    ((__force __le64)___constant_swab64((x)))

Definition at line 18 of file big_endian.h.

#define __constant_htonl (   x)    ((__force __be32)(__u32)(x))

Definition at line 14 of file big_endian.h.

#define __constant_htons (   x)    ((__force __be16)(__u16)(x))

Definition at line 16 of file big_endian.h.

#define __constant_le16_to_cpu (   x)    ___constant_swab16((__force __u16)(__le16)(x))

Definition at line 23 of file big_endian.h.

#define __constant_le32_to_cpu (   x)    ___constant_swab32((__force __u32)(__le32)(x))

Definition at line 21 of file big_endian.h.

#define __constant_le64_to_cpu (   x)    ___constant_swab64((__force __u64)(__le64)(x))

Definition at line 19 of file big_endian.h.

#define __constant_ntohl (   x)    ((__force __u32)(__be32)(x))

Definition at line 15 of file big_endian.h.

#define __constant_ntohs (   x)    ((__force __u16)(__be16)(x))

Definition at line 17 of file big_endian.h.

#define __cpu_to_be16 (   x)    ((__force __be16)(__u16)(x))

Definition at line 40 of file big_endian.h.

#define __cpu_to_be16s (   x)    do { (void)(x); } while (0)

Definition at line 101 of file big_endian.h.

#define __cpu_to_be32 (   x)    ((__force __be32)(__u32)(x))

Definition at line 38 of file big_endian.h.

#define __cpu_to_be32s (   x)    do { (void)(x); } while (0)

Definition at line 99 of file big_endian.h.

#define __cpu_to_be64 (   x)    ((__force __be64)(__u64)(x))

Definition at line 36 of file big_endian.h.

#define __cpu_to_be64s (   x)    do { (void)(x); } while (0)

Definition at line 97 of file big_endian.h.

#define __cpu_to_le16 (   x)    ((__force __le16)__swab16((x)))

Definition at line 34 of file big_endian.h.

#define __cpu_to_le16s (   x)    __swab16s((x))

Definition at line 95 of file big_endian.h.

#define __cpu_to_le32 (   x)    ((__force __le32)__swab32((x)))

Definition at line 32 of file big_endian.h.

#define __cpu_to_le32s (   x)    __swab32s((x))

Definition at line 93 of file big_endian.h.

#define __cpu_to_le64 (   x)    ((__force __le64)__swab64((x)))

Definition at line 30 of file big_endian.h.

#define __cpu_to_le64s (   x)    __swab64s((x))

Definition at line 91 of file big_endian.h.

#define __le16_to_cpu (   x)    __swab16((__force __u16)(__le16)(x))

Definition at line 35 of file big_endian.h.

#define __le16_to_cpus (   x)    __swab16s((x))

Definition at line 96 of file big_endian.h.

#define __le32_to_cpu (   x)    __swab32((__force __u32)(__le32)(x))

Definition at line 33 of file big_endian.h.

#define __le32_to_cpus (   x)    __swab32s((x))

Definition at line 94 of file big_endian.h.

#define __le64_to_cpu (   x)    __swab64((__force __u64)(__le64)(x))

Definition at line 31 of file big_endian.h.

#define __le64_to_cpus (   x)    __swab64s((x))

Definition at line 92 of file big_endian.h.