Home
last modified time | relevance | path

Searched refs:__force (Results 1 – 10 of 10) sorted by relevance

/bionic/libc/kernel/common/linux/byteorder/
Dbig_endian.h31 #define __constant_htonl(x) ((__force __be32)(__u32)(x))
32 #define __constant_ntohl(x) ((__force __u32)(__be32)(x))
34 #define __constant_htons(x) ((__force __be16)(__u16)(x))
35 #define __constant_ntohs(x) ((__force __u16)(__be16)(x))
36 #define __constant_cpu_to_le64(x) ((__force __le64)___constant_swab64((x)))
37 #define __constant_le64_to_cpu(x) ___constant_swab64((__force __u64)(__le64)(x))
39 #define __constant_cpu_to_le32(x) ((__force __le32)___constant_swab32((x)))
40 #define __constant_le32_to_cpu(x) ___constant_swab32((__force __u32)(__le32)(x))
41 #define __constant_cpu_to_le16(x) ((__force __le16)___constant_swab16((x)))
42 #define __constant_le16_to_cpu(x) ___constant_swab16((__force __u16)(__le16)(x))
[all …]
Dlittle_endian.h31 #define __constant_htonl(x) ((__force __be32)___constant_swab32((x)))
32 #define __constant_ntohl(x) ___constant_swab32((__force __be32)(x))
34 #define __constant_htons(x) ((__force __be16)___constant_swab16((x)))
35 #define __constant_ntohs(x) ___constant_swab16((__force __be16)(x))
36 #define __constant_cpu_to_le64(x) ((__force __le64)(__u64)(x))
37 #define __constant_le64_to_cpu(x) ((__force __u64)(__le64)(x))
39 #define __constant_cpu_to_le32(x) ((__force __le32)(__u32)(x))
40 #define __constant_le32_to_cpu(x) ((__force __u32)(__le32)(x))
41 #define __constant_cpu_to_le16(x) ((__force __le16)(__u16)(x))
42 #define __constant_le16_to_cpu(x) ((__force __u16)(__le16)(x))
[all …]
/bionic/libc/kernel/common/linux/
Dgfp.h26 #define __GFP_DMA ((__force gfp_t)0x01u)
27 #define __GFP_HIGHMEM ((__force gfp_t)0x02u)
30 #define __GFP_DMA32 ((__force gfp_t)0x00)
32 #define __GFP_DMA32 ((__force gfp_t)0x04)
35 #define __GFP_WAIT ((__force gfp_t)0x10u)
36 #define __GFP_HIGH ((__force gfp_t)0x20u)
37 #define __GFP_IO ((__force gfp_t)0x40u)
39 #define __GFP_FS ((__force gfp_t)0x80u)
40 #define __GFP_COLD ((__force gfp_t)0x100u)
41 #define __GFP_NOWARN ((__force gfp_t)0x200u)
[all …]
Dfs.h66 #define FMODE_READ ((__force fmode_t)0x1)
67 #define FMODE_WRITE ((__force fmode_t)0x2)
69 #define FMODE_LSEEK ((__force fmode_t)0x4)
70 #define FMODE_PREAD ((__force fmode_t)0x8)
71 #define FMODE_PWRITE ((__force fmode_t)0x10)
72 #define FMODE_EXEC ((__force fmode_t)0x20)
74 #define FMODE_NDELAY ((__force fmode_t)0x40)
75 #define FMODE_EXCL ((__force fmode_t)0x80)
76 #define FMODE_WRITE_IOCTL ((__force fmode_t)0x100)
77 #define FMODE_NOCMTIME ((__force fmode_t)0x800)
[all …]
Dcompiler.h26 #define __force macro
/bionic/libc/kernel/common/sound/
Dasound.h124 #define SNDRV_PCM_ACCESS_MMAP_INTERLEAVED ((__force snd_pcm_access_t) 0)
125 #define SNDRV_PCM_ACCESS_MMAP_NONINTERLEAVED ((__force snd_pcm_access_t) 1)
126 #define SNDRV_PCM_ACCESS_MMAP_COMPLEX ((__force snd_pcm_access_t) 2)
127 #define SNDRV_PCM_ACCESS_RW_INTERLEAVED ((__force snd_pcm_access_t) 3)
129 #define SNDRV_PCM_ACCESS_RW_NONINTERLEAVED ((__force snd_pcm_access_t) 4)
132 #define SNDRV_PCM_FORMAT_S8 ((__force snd_pcm_format_t) 0)
134 #define SNDRV_PCM_FORMAT_U8 ((__force snd_pcm_format_t) 1)
135 #define SNDRV_PCM_FORMAT_S16_LE ((__force snd_pcm_format_t) 2)
136 #define SNDRV_PCM_FORMAT_S16_BE ((__force snd_pcm_format_t) 3)
137 #define SNDRV_PCM_FORMAT_U16_LE ((__force snd_pcm_format_t) 4)
[all …]
/bionic/libc/kernel/common/asm-generic/
Dsignal.h40 #define SIG_DFL ((__force __sighandler_t)0)
41 #define SIG_IGN ((__force __sighandler_t)1)
42 #define SIG_ERR ((__force __sighandler_t)-1)
/bionic/libc/kernel/arch-arm/asm/
Duaccess.h82 #define __copy_from_user(to,from,n) (memcpy(to, (void __force *)from, n), 0)
84 #define __copy_to_user(to,from,n) (memcpy((void __force *)to, from, n), 0)
85 #define __clear_user(addr,n) (memset((void __force *)addr, 0, n), 0)
/bionic/libc/kernel/arch-arm/asm/arch/
Dmcbsp.h157 #define OMAP_MCBSP_IRQ_IO ((__force omap_mcbsp_io_type_t) 1)
159 #define OMAP_MCBSP_POLL_IO ((__force omap_mcbsp_io_type_t) 2)
/bionic/libc/kernel/arch-x86/asm/
Duaccess_32.h39 #define __addr_ok(addr) ((unsigned long __force)(addr) < (current_thread_info()->addr_limit.seg))