| /linux/include/scsi/ |
| A D | scsi_devinfo.h | 9 #define BLIST_NOLUN ((__force blist_flags_t)(1ULL << 0)) 12 #define BLIST_FORCELUN ((__force blist_flags_t)(1ULL << 1)) 14 #define BLIST_BORKEN ((__force blist_flags_t)(1ULL << 2)) 16 #define BLIST_KEY ((__force blist_flags_t)(1ULL << 3)) 18 #define BLIST_SINGLELUN ((__force blist_flags_t)(1ULL << 4)) 20 #define BLIST_NOTQ ((__force blist_flags_t)(1ULL << 5)) 24 #define BLIST_MAX5LUN ((__force blist_flags_t)(1ULL << 7)) 26 #define BLIST_ISROM ((__force blist_flags_t)(1ULL << 8)) 28 #define BLIST_LARGELUN ((__force blist_flags_t)(1ULL << 9)) 78 (__force blist_flags_t) \ [all …]
|
| /linux/drivers/net/wireless/intel/iwlwifi/fw/ |
| A D | file.h | 265 IWL_UCODE_TLV_API_LQ_SS_PARAMS = (__force iwl_ucode_tlv_api_t)18, 266 IWL_UCODE_TLV_API_NEW_VERSION = (__force iwl_ucode_tlv_api_t)20, 269 IWL_UCODE_TLV_API_STA_TYPE = (__force iwl_ucode_tlv_api_t)30, 270 IWL_UCODE_TLV_API_NAN2_VER2 = (__force iwl_ucode_tlv_api_t)31, 273 IWL_UCODE_TLV_API_OCE = (__force iwl_ucode_tlv_api_t)33, 275 IWL_UCODE_TLV_API_NEW_RX_STATS = (__force iwl_ucode_tlv_api_t)35, 280 IWL_UCODE_TLV_API_FRAG_EBS = (__force iwl_ucode_tlv_api_t)44, 287 IWL_UCODE_TLV_API_MBSSID_HE = (__force iwl_ucode_tlv_api_t)52, 308 = (__force iwl_ucode_tlv_api_t)__CHECKER_NUM_IWL_UCODE_TLV_API, 407 IWL_UCODE_TLV_CAPA_UMAC_SCAN = (__force iwl_ucode_tlv_capa_t)2, [all …]
|
| /linux/include/linux/ |
| A D | blk_types.h | 327 REQ_OP_READ = (__force blk_opf_t)0, 329 REQ_OP_WRITE = (__force blk_opf_t)1, 331 REQ_OP_FLUSH = (__force blk_opf_t)2, 333 REQ_OP_DISCARD = (__force blk_opf_t)3, 337 REQ_OP_ZONE_APPEND = (__force blk_opf_t)7, 341 REQ_OP_ZONE_OPEN = (__force blk_opf_t)10, 343 REQ_OP_ZONE_CLOSE = (__force blk_opf_t)11, 352 REQ_OP_DRV_IN = (__force blk_opf_t)34, 353 REQ_OP_DRV_OUT = (__force blk_opf_t)35, 355 REQ_OP_LAST = (__force blk_opf_t)36, [all …]
|
| A D | gfp_types.h | 114 #define __GFP_DMA ((__force gfp_t)___GFP_DMA) 115 #define __GFP_HIGHMEM ((__force gfp_t)___GFP_HIGHMEM) 116 #define __GFP_DMA32 ((__force gfp_t)___GFP_DMA32) 150 #define __GFP_WRITE ((__force gfp_t)___GFP_WRITE) 180 #define __GFP_HIGH ((__force gfp_t)___GFP_HIGH) 259 #define __GFP_IO ((__force gfp_t)___GFP_IO) 260 #define __GFP_FS ((__force gfp_t)___GFP_FS) 265 #define __GFP_NOFAIL ((__force gfp_t)___GFP_NOFAIL) 292 #define __GFP_NOWARN ((__force gfp_t)___GFP_NOWARN) 293 #define __GFP_COMP ((__force gfp_t)___GFP_COMP) [all …]
|
| A D | virtio_byteorder.h | 19 return le16_to_cpu((__force __le16)val); in __virtio16_to_cpu() 21 return be16_to_cpu((__force __be16)val); in __virtio16_to_cpu() 27 return (__force __virtio16)cpu_to_le16(val); in __cpu_to_virtio16() 29 return (__force __virtio16)cpu_to_be16(val); in __cpu_to_virtio16() 35 return le32_to_cpu((__force __le32)val); in __virtio32_to_cpu() 37 return be32_to_cpu((__force __be32)val); in __virtio32_to_cpu() 43 return (__force __virtio32)cpu_to_le32(val); in __cpu_to_virtio32() 45 return (__force __virtio32)cpu_to_be32(val); in __cpu_to_virtio32() 51 return le64_to_cpu((__force __le64)val); in __virtio64_to_cpu() 53 return be64_to_cpu((__force __be64)val); in __virtio64_to_cpu() [all …]
|
| /linux/include/uapi/linux/byteorder/ |
| A D | big_endian.h | 16 #define __constant_htonl(x) ((__force __be32)(__u32)(x)) 17 #define __constant_ntohl(x) ((__force __u32)(__be32)(x)) 47 return (__force __le64)__swab64p(p); in __cpu_to_le64p() 55 return (__force __le32)__swab32p(p); in __cpu_to_le32p() 63 return (__force __le16)__swab16p(p); in __cpu_to_le16p() 71 return (__force __be64)*p; in __cpu_to_be64p() 75 return (__force __u64)*p; in __be64_to_cpup() 79 return (__force __be32)*p; in __cpu_to_be32p() 83 return (__force __u32)*p; in __be32_to_cpup() 87 return (__force __be16)*p; in __cpu_to_be16p() [all …]
|
| A D | little_endian.h | 32 #define __cpu_to_le64(x) ((__force __le64)(__u64)(x)) 33 #define __le64_to_cpu(x) ((__force __u64)(__le64)(x)) 47 return (__force __le64)*p; in __cpu_to_le64p() 51 return (__force __u64)*p; in __le64_to_cpup() 55 return (__force __le32)*p; in __cpu_to_le32p() 59 return (__force __u32)*p; in __le32_to_cpup() 63 return (__force __le16)*p; in __cpu_to_le16p() 67 return (__force __u16)*p; in __le16_to_cpup() 71 return (__force __be64)__swab64p(p); in __cpu_to_be64p() 79 return (__force __be32)__swab32p(p); in __cpu_to_be32p() [all …]
|
| /linux/include/uapi/linux/ |
| A D | eventpoll.h | 31 #define EPOLLIN (__force __poll_t)0x00000001 32 #define EPOLLPRI (__force __poll_t)0x00000002 33 #define EPOLLOUT (__force __poll_t)0x00000004 34 #define EPOLLERR (__force __poll_t)0x00000008 35 #define EPOLLHUP (__force __poll_t)0x00000010 36 #define EPOLLNVAL (__force __poll_t)0x00000020 37 #define EPOLLRDNORM (__force __poll_t)0x00000040 38 #define EPOLLRDBAND (__force __poll_t)0x00000080 39 #define EPOLLWRNORM (__force __poll_t)0x00000100 41 #define EPOLLMSG (__force __poll_t)0x00000400 [all …]
|
| /linux/tools/testing/selftests/bpf/progs/ |
| A D | test_tcp_custom_syncookie.h | 8 #define __force macro 56 unsigned long long s = (__force u32)sum; in csum_tcpudp_nofold() 58 s += (__force u32)saddr; in csum_tcpudp_nofold() 59 s += (__force u32)daddr; in csum_tcpudp_nofold() 65 return (__force __wsum)from64to32(s); in csum_tcpudp_nofold() 71 u32 sum = (__force u32)csum; in csum_fold() 75 return (__force __sum16)~sum; in csum_fold() 92 __u32 sum = (__force u32)csum; in csum_ipv6_magic() 126 ulen = (__force u32)bpf_htonl((__u32)len); in csum_ipv6_magic() 131 uproto = (__force u32)bpf_htonl(proto); in csum_ipv6_magic() [all …]
|
| /linux/tools/perf/trace/beauty/include/uapi/sound/ |
| A D | asound.h | 181 #define SNDRV_PCM_FORMAT_S8 ((__force snd_pcm_format_t) 0) 182 #define SNDRV_PCM_FORMAT_U8 ((__force snd_pcm_format_t) 1) 183 #define SNDRV_PCM_FORMAT_S16_LE ((__force snd_pcm_format_t) 2) 184 #define SNDRV_PCM_FORMAT_S16_BE ((__force snd_pcm_format_t) 3) 185 #define SNDRV_PCM_FORMAT_U16_LE ((__force snd_pcm_format_t) 4) 186 #define SNDRV_PCM_FORMAT_U16_BE ((__force snd_pcm_format_t) 5) 196 #define SNDRV_PCM_FORMAT_S32_LE ((__force snd_pcm_format_t) 10) 197 #define SNDRV_PCM_FORMAT_S32_BE ((__force snd_pcm_format_t) 11) 198 #define SNDRV_PCM_FORMAT_U32_LE ((__force snd_pcm_format_t) 12) 209 #define SNDRV_PCM_FORMAT_MPEG ((__force snd_pcm_format_t) 23) [all …]
|
| /linux/include/uapi/sound/ |
| A D | asound.h | 181 #define SNDRV_PCM_FORMAT_S8 ((__force snd_pcm_format_t) 0) 182 #define SNDRV_PCM_FORMAT_U8 ((__force snd_pcm_format_t) 1) 183 #define SNDRV_PCM_FORMAT_S16_LE ((__force snd_pcm_format_t) 2) 184 #define SNDRV_PCM_FORMAT_S16_BE ((__force snd_pcm_format_t) 3) 185 #define SNDRV_PCM_FORMAT_U16_LE ((__force snd_pcm_format_t) 4) 186 #define SNDRV_PCM_FORMAT_U16_BE ((__force snd_pcm_format_t) 5) 196 #define SNDRV_PCM_FORMAT_S32_LE ((__force snd_pcm_format_t) 10) 197 #define SNDRV_PCM_FORMAT_S32_BE ((__force snd_pcm_format_t) 11) 198 #define SNDRV_PCM_FORMAT_U32_LE ((__force snd_pcm_format_t) 12) 209 #define SNDRV_PCM_FORMAT_MPEG ((__force snd_pcm_format_t) 23) [all …]
|
| /linux/arch/s390/include/asm/ |
| A D | dma-types.h | 40 return (__force dma32_t)__pa32(ptr); in virt_to_dma32() 45 return __va((__force unsigned long)addr); in dma32_to_virt() 50 return (__force dma32_t)addr; in u32_to_dma32() 55 return (__force u32)addr; in dma32_to_u32() 60 return (__force dma32_t)((__force u32)a + b); in dma32_add() 65 return (__force dma32_t)((__force u32)a & b); in dma32_and() 75 return (__force dma64_t)__pa(ptr); in virt_to_dma64() 85 return (__force dma64_t)addr; in u64_to_dma64() 90 return (__force u64)addr; in dma64_to_u64() 95 return (__force dma64_t)((__force u64)a + b); in dma64_add() [all …]
|
| A D | checksum.h | 45 u32 csum = (__force u32) sum; in csum_fold() 49 return (__force __sum16) ~csum; in csum_fold() 79 __u64 csum = (__force __u64)sum; in csum_tcpudp_nofold() 81 csum += (__force __u32)saddr; in csum_tcpudp_nofold() 82 csum += (__force __u32)daddr; in csum_tcpudp_nofold() 86 return (__force __wsum)(csum >> 32); in csum_tcpudp_nofold() 112 __u64 sum = (__force __u64)csum; in csum_ipv6_magic() 114 sum += (__force __u32)saddr->s6_addr32[0]; in csum_ipv6_magic() 115 sum += (__force __u32)saddr->s6_addr32[1]; in csum_ipv6_magic() 116 sum += (__force __u32)saddr->s6_addr32[2]; in csum_ipv6_magic() [all …]
|
| /linux/net/ipv6/ |
| A D | ip6_checksum.c | 16 __u32 sum = (__force u32)csum; in csum_ipv6_magic() 18 sum += (__force u32)saddr->s6_addr32[0]; in csum_ipv6_magic() 22 sum += (__force u32)saddr->s6_addr32[1]; in csum_ipv6_magic() 26 sum += (__force u32)saddr->s6_addr32[2]; in csum_ipv6_magic() 30 sum += (__force u32)saddr->s6_addr32[3]; in csum_ipv6_magic() 34 sum += (__force u32)daddr->s6_addr32[0]; in csum_ipv6_magic() 38 sum += (__force u32)daddr->s6_addr32[1]; in csum_ipv6_magic() 42 sum += (__force u32)daddr->s6_addr32[2]; in csum_ipv6_magic() 50 ulen = (__force u32)htonl((__u32) len); in csum_ipv6_magic() 55 uproto = (__force u32)htonl(proto); in csum_ipv6_magic() [all …]
|
| /linux/include/linux/rpmsg/ |
| A D | byteorder.h | 22 return le16_to_cpu((__force __le16)val); in __rpmsg16_to_cpu() 24 return be16_to_cpu((__force __be16)val); in __rpmsg16_to_cpu() 30 return (__force __rpmsg16)cpu_to_le16(val); in __cpu_to_rpmsg16() 32 return (__force __rpmsg16)cpu_to_be16(val); in __cpu_to_rpmsg16() 38 return le32_to_cpu((__force __le32)val); in __rpmsg32_to_cpu() 40 return be32_to_cpu((__force __be32)val); in __rpmsg32_to_cpu() 46 return (__force __rpmsg32)cpu_to_le32(val); in __cpu_to_rpmsg32() 48 return (__force __rpmsg32)cpu_to_be32(val); in __cpu_to_rpmsg32() 54 return le64_to_cpu((__force __le64)val); in __rpmsg64_to_cpu() 56 return be64_to_cpu((__force __be64)val); in __rpmsg64_to_cpu() [all …]
|
| /linux/arch/powerpc/include/asm/ |
| A D | checksum.h | 41 u32 tmp = (__force u32)sum; in csum_fold() 61 u64 s = (__force u32)sum; in csum_tcpudp_nofold() 63 s += (__force u32)saddr; in csum_tcpudp_nofold() 64 s += (__force u32)daddr; in csum_tcpudp_nofold() 70 return (__force __wsum) from64to32(s); in csum_tcpudp_nofold() 98 u64 res = (__force u64)csum; in csum_add() 100 res += (__force u64)addend; in csum_add() 119 return (__force __wsum)rol32((__force u32)sum, (offset & 1) << 3); in csum_shift() 136 return (__force __wsum)from64to32(s); in ip_fast_csum_nofold() 181 sum = csum_add(sum, (__force __wsum) in csum_partial() [all …]
|
| /linux/include/net/ |
| A D | checksum.h | 61 u32 res = (__force u32)csum; in csum_add() 62 res += (__force u32)addend; in csum_add() 63 return (__force __wsum)(res + (res < (__force u32)addend)); in csum_add() 74 u16 res = (__force u16)csum; in csum16_add() 76 res += (__force u16)addend; in csum16_add() 77 return (__force __sum16)(res + (res < (__force u16)addend)); in csum16_add() 90 return (__force __wsum)ror32((__force u32)sum, 8); in csum_shift() 115 return (__force __wsum)n; in csum_unfold() 168 (__force __be32)to, pseudohdr); in inet_proto_csum_replace2() 182 (__force __wsum)*psum); in remcsum_adjust() [all …]
|
| /linux/fs/befs/ |
| A D | endian.h | 19 return le64_to_cpu((__force __le64)n); in fs64_to_cpu() 21 return be64_to_cpu((__force __be64)n); in fs64_to_cpu() 28 return (__force fs64)cpu_to_le64(n); in cpu_to_fs64() 30 return (__force fs64)cpu_to_be64(n); in cpu_to_fs64() 37 return le32_to_cpu((__force __le32)n); in fs32_to_cpu() 39 return be32_to_cpu((__force __be32)n); in fs32_to_cpu() 46 return (__force fs32)cpu_to_le32(n); in cpu_to_fs32() 48 return (__force fs32)cpu_to_be32(n); in cpu_to_fs32() 55 return le16_to_cpu((__force __le16)n); in fs16_to_cpu() 64 return (__force fs16)cpu_to_le16(n); in cpu_to_fs16() [all …]
|
| /linux/include/net/netfilter/ |
| A D | nf_queue.h | 51 if ((__force u32)iph->saddr < (__force u32)iph->daddr) in hash_v4() 55 return jhash_3words((__force u32)iph->daddr, in hash_v4() 63 if ((__force u32)ip6h->saddr.s6_addr32[3] < in hash_v6() 64 (__force u32)ip6h->daddr.s6_addr32[3]) { in hash_v6() 65 a = (__force u32) ip6h->saddr.s6_addr32[3]; in hash_v6() 66 b = (__force u32) ip6h->daddr.s6_addr32[3]; in hash_v6() 68 b = (__force u32) ip6h->saddr.s6_addr32[3]; in hash_v6() 69 a = (__force u32) ip6h->daddr.s6_addr32[3]; in hash_v6() 72 if ((__force u32)ip6h->saddr.s6_addr32[1] < in hash_v6() 73 (__force u32)ip6h->daddr.s6_addr32[1]) in hash_v6() [all …]
|
| /linux/arch/alpha/include/asm/ |
| A D | io_trivial.h | 24 __kernel_stb(b, *(volatile u8 __force *)a); in IO_CONCAT() 30 __kernel_stw(b, *(volatile u16 __force *)a); in IO_CONCAT() 38 return *(const volatile u32 __force *)a; in IO_CONCAT() 44 *(volatile u32 __force *)a = b; in IO_CONCAT() 50 return *(const volatile u64 __force *)a; in IO_CONCAT() 56 *(volatile u64 __force *)a = b; in IO_CONCAT() 76 __kernel_stb(b, *(volatile u8 __force *)a); in IO_CONCAT() 118 return *(const volatile u32 __force *)a; in IO_CONCAT() 124 return *(const volatile u64 __force *)a; in IO_CONCAT() 130 *(volatile u32 __force *)a = b; in IO_CONCAT() [all …]
|
| /linux/fs/ufs/ |
| A D | swab.h | 30 return le64_to_cpu((__force __le64)n); in fs64_to_cpu() 32 return be64_to_cpu((__force __be64)n); in fs64_to_cpu() 39 return (__force __fs64)cpu_to_le64(n); in cpu_to_fs64() 41 return (__force __fs64)cpu_to_be64(n); in cpu_to_fs64() 48 return le32_to_cpu((__force __le32)n); in fs32_to_cpu() 50 return be32_to_cpu((__force __be32)n); in fs32_to_cpu() 57 return (__force __fs32)cpu_to_le32(n); in cpu_to_fs32() 59 return (__force __fs32)cpu_to_be32(n); in cpu_to_fs32() 84 return le16_to_cpu((__force __le16)n); in fs16_to_cpu() 86 return be16_to_cpu((__force __be16)n); in fs16_to_cpu() [all …]
|
| /linux/fs/qnx6/ |
| A D | qnx6.h | 81 return le64_to_cpu((__force __le64)n); in fs64_to_cpu() 83 return be64_to_cpu((__force __be64)n); in fs64_to_cpu() 89 return (__force __fs64)cpu_to_le64(n); in cpu_to_fs64() 91 return (__force __fs64)cpu_to_be64(n); in cpu_to_fs64() 97 return le32_to_cpu((__force __le32)n); in fs32_to_cpu() 99 return be32_to_cpu((__force __be32)n); in fs32_to_cpu() 105 return (__force __fs32)cpu_to_le32(n); in cpu_to_fs32() 107 return (__force __fs32)cpu_to_be32(n); in cpu_to_fs32() 113 return le16_to_cpu((__force __le16)n); in fs16_to_cpu() 115 return be16_to_cpu((__force __be16)n); in fs16_to_cpu() [all …]
|
| /linux/arch/alpha/lib/ |
| A D | checksum.c | 50 return (__force __sum16)~from64to16( in csum_tcpudp_magic() 51 (__force u64)saddr + (__force u64)daddr + in csum_tcpudp_magic() 52 (__force u64)sum + ((len + proto) << 8)); in csum_tcpudp_magic() 61 result = (__force u64)saddr + (__force u64)daddr + in csum_tcpudp_nofold() 62 (__force u64)sum + ((len + proto) << 8); in csum_tcpudp_nofold() 70 return (__force __wsum)result; in csum_tcpudp_nofold() 149 return (__force __sum16)~do_csum(iph,ihl*4); in ip_fast_csum() 170 result += (__force u32)sum; in csum_partial() 173 return (__force __wsum)result; in csum_partial() 184 return (__force __sum16)~from64to16(do_csum(buff,len)); in ip_compute_csum()
|
| /linux/include/asm-generic/ |
| A D | uaccess.h | 23 *(u8 *)to = *((u8 __force *)from); in __get_user_fn() 26 *(u16 *)to = get_unaligned((u16 __force *)from); in __get_user_fn() 29 *(u32 *)to = get_unaligned((u32 __force *)from); in __get_user_fn() 32 *(u64 *)to = get_unaligned((u64 __force *)from); in __get_user_fn() 49 *(u8 __force *)to = *(u8 *)from; in __put_user_fn() 52 put_unaligned(*(u16 *)from, (u16 __force *)to); in __put_user_fn() 55 put_unaligned(*(u32 *)from, (u32 __force *)to); in __put_user_fn() 58 put_unaligned(*(u64 *)from, (u64 __force *)to); in __put_user_fn() 84 memcpy(to, (const void __force *)from, n); in raw_copy_from_user() 91 memcpy((void __force *)to, from, n); in raw_copy_to_user() [all …]
|
| /linux/drivers/staging/gdm724x/ |
| A D | gdm_endian.c | 10 return (__force __dev16)cpu_to_le16(x); in gdm_cpu_to_dev16() 12 return (__force __dev16)cpu_to_be16(x); in gdm_cpu_to_dev16() 18 return le16_to_cpu((__force __le16)x); in gdm_dev16_to_cpu() 20 return be16_to_cpu((__force __be16)x); in gdm_dev16_to_cpu() 26 return (__force __dev32)cpu_to_le32(x); in gdm_cpu_to_dev32() 28 return (__force __dev32)cpu_to_be32(x); in gdm_cpu_to_dev32() 34 return le32_to_cpu((__force __le32)x); in gdm_dev32_to_cpu() 36 return be32_to_cpu((__force __be32)x); in gdm_dev32_to_cpu()
|