| /Linux-v4.19/include/scsi/ |
| 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)) 22 #define BLIST_SPARSELUN ((__force blist_flags_t)(1ULL << 6)) 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)) [all …]
|
| /Linux-v4.19/include/uapi/linux/byteorder/ |
| D | big_endian.h | 15 #define __constant_htonl(x) ((__force __be32)(__u32)(x)) 16 #define __constant_ntohl(x) ((__force __u32)(__be32)(x)) 17 #define __constant_htons(x) ((__force __be16)(__u16)(x)) 18 #define __constant_ntohs(x) ((__force __u16)(__be16)(x)) 19 #define __constant_cpu_to_le64(x) ((__force __le64)___constant_swab64((x))) 20 #define __constant_le64_to_cpu(x) ___constant_swab64((__force __u64)(__le64)(x)) 21 #define __constant_cpu_to_le32(x) ((__force __le32)___constant_swab32((x))) 22 #define __constant_le32_to_cpu(x) ___constant_swab32((__force __u32)(__le32)(x)) 23 #define __constant_cpu_to_le16(x) ((__force __le16)___constant_swab16((x))) 24 #define __constant_le16_to_cpu(x) ___constant_swab16((__force __u16)(__le16)(x)) [all …]
|
| D | little_endian.h | 15 #define __constant_htonl(x) ((__force __be32)___constant_swab32((x))) 16 #define __constant_ntohl(x) ___constant_swab32((__force __be32)(x)) 17 #define __constant_htons(x) ((__force __be16)___constant_swab16((x))) 18 #define __constant_ntohs(x) ___constant_swab16((__force __be16)(x)) 19 #define __constant_cpu_to_le64(x) ((__force __le64)(__u64)(x)) 20 #define __constant_le64_to_cpu(x) ((__force __u64)(__le64)(x)) 21 #define __constant_cpu_to_le32(x) ((__force __le32)(__u32)(x)) 22 #define __constant_le32_to_cpu(x) ((__force __u32)(__le32)(x)) 23 #define __constant_cpu_to_le16(x) ((__force __le16)(__u16)(x)) 24 #define __constant_le16_to_cpu(x) ((__force __u16)(__le16)(x)) [all …]
|
| /Linux-v4.19/drivers/net/wireless/intel/iwlwifi/fw/ |
| D | file.h | 266 IWL_UCODE_TLV_API_FRAGMENTED_SCAN = (__force iwl_ucode_tlv_api_t)8, 267 IWL_UCODE_TLV_API_WIFI_MCC_UPDATE = (__force iwl_ucode_tlv_api_t)9, 268 IWL_UCODE_TLV_API_LQ_SS_PARAMS = (__force iwl_ucode_tlv_api_t)18, 269 IWL_UCODE_TLV_API_NEW_VERSION = (__force iwl_ucode_tlv_api_t)20, 270 IWL_UCODE_TLV_API_SCAN_TSF_REPORT = (__force iwl_ucode_tlv_api_t)28, 271 IWL_UCODE_TLV_API_TKIP_MIC_KEYS = (__force iwl_ucode_tlv_api_t)29, 272 IWL_UCODE_TLV_API_STA_TYPE = (__force iwl_ucode_tlv_api_t)30, 273 IWL_UCODE_TLV_API_NAN2_VER2 = (__force iwl_ucode_tlv_api_t)31, 275 IWL_UCODE_TLV_API_ADAPTIVE_DWELL = (__force iwl_ucode_tlv_api_t)32, 276 IWL_UCODE_TLV_API_OCE = (__force iwl_ucode_tlv_api_t)33, [all …]
|
| /Linux-v4.19/tools/include/uapi/sound/ |
| D | asound.h | 184 #define SNDRV_PCM_ACCESS_MMAP_INTERLEAVED ((__force snd_pcm_access_t) 0) /* interleaved mmap */ 185 #define SNDRV_PCM_ACCESS_MMAP_NONINTERLEAVED ((__force snd_pcm_access_t) 1) /* noninterleaved mmap … 186 #define SNDRV_PCM_ACCESS_MMAP_COMPLEX ((__force snd_pcm_access_t) 2) /* complex mmap */ 187 #define SNDRV_PCM_ACCESS_RW_INTERLEAVED ((__force snd_pcm_access_t) 3) /* readi/writei */ 188 #define SNDRV_PCM_ACCESS_RW_NONINTERLEAVED ((__force snd_pcm_access_t) 4) /* readn/writen */ 192 #define SNDRV_PCM_FORMAT_S8 ((__force snd_pcm_format_t) 0) 193 #define SNDRV_PCM_FORMAT_U8 ((__force snd_pcm_format_t) 1) 194 #define SNDRV_PCM_FORMAT_S16_LE ((__force snd_pcm_format_t) 2) 195 #define SNDRV_PCM_FORMAT_S16_BE ((__force snd_pcm_format_t) 3) 196 #define SNDRV_PCM_FORMAT_U16_LE ((__force snd_pcm_format_t) 4) [all …]
|
| /Linux-v4.19/include/uapi/sound/ |
| D | asound.h | 184 #define SNDRV_PCM_ACCESS_MMAP_INTERLEAVED ((__force snd_pcm_access_t) 0) /* interleaved mmap */ 185 #define SNDRV_PCM_ACCESS_MMAP_NONINTERLEAVED ((__force snd_pcm_access_t) 1) /* noninterleaved mmap … 186 #define SNDRV_PCM_ACCESS_MMAP_COMPLEX ((__force snd_pcm_access_t) 2) /* complex mmap */ 187 #define SNDRV_PCM_ACCESS_RW_INTERLEAVED ((__force snd_pcm_access_t) 3) /* readi/writei */ 188 #define SNDRV_PCM_ACCESS_RW_NONINTERLEAVED ((__force snd_pcm_access_t) 4) /* readn/writen */ 192 #define SNDRV_PCM_FORMAT_S8 ((__force snd_pcm_format_t) 0) 193 #define SNDRV_PCM_FORMAT_U8 ((__force snd_pcm_format_t) 1) 194 #define SNDRV_PCM_FORMAT_S16_LE ((__force snd_pcm_format_t) 2) 195 #define SNDRV_PCM_FORMAT_S16_BE ((__force snd_pcm_format_t) 3) 196 #define SNDRV_PCM_FORMAT_U16_LE ((__force snd_pcm_format_t) 4) [all …]
|
| /Linux-v4.19/include/uapi/linux/ |
| 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 40 #define EPOLLWRBAND (__force __poll_t)0x00000200 [all …]
|
| /Linux-v4.19/net/ipv6/ |
| 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() 19 carry = (sum < (__force u32)saddr->s6_addr32[0]); in csum_ipv6_magic() 22 sum += (__force u32)saddr->s6_addr32[1]; in csum_ipv6_magic() 23 carry = (sum < (__force u32)saddr->s6_addr32[1]); in csum_ipv6_magic() 26 sum += (__force u32)saddr->s6_addr32[2]; in csum_ipv6_magic() 27 carry = (sum < (__force u32)saddr->s6_addr32[2]); in csum_ipv6_magic() 30 sum += (__force u32)saddr->s6_addr32[3]; in csum_ipv6_magic() 31 carry = (sum < (__force u32)saddr->s6_addr32[3]); in csum_ipv6_magic() 34 sum += (__force u32)daddr->s6_addr32[0]; in csum_ipv6_magic() [all …]
|
| /Linux-v4.19/include/linux/ |
| 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 …]
|
| D | serial_core.h | 191 #define UPF_FOURPORT ((__force upf_t) ASYNC_FOURPORT /* 1 */ ) 192 #define UPF_SAK ((__force upf_t) ASYNC_SAK /* 2 */ ) 193 #define UPF_SPD_HI ((__force upf_t) ASYNC_SPD_HI /* 4 */ ) 194 #define UPF_SPD_VHI ((__force upf_t) ASYNC_SPD_VHI /* 5 */ ) 195 #define UPF_SPD_CUST ((__force upf_t) ASYNC_SPD_CUST /* 0x0030 */ ) 196 #define UPF_SPD_WARP ((__force upf_t) ASYNC_SPD_WARP /* 0x1010 */ ) 197 #define UPF_SPD_MASK ((__force upf_t) ASYNC_SPD_MASK /* 0x1030 */ ) 198 #define UPF_SKIP_TEST ((__force upf_t) ASYNC_SKIP_TEST /* 6 */ ) 199 #define UPF_AUTO_IRQ ((__force upf_t) ASYNC_AUTO_IRQ /* 7 */ ) 200 #define UPF_HARDPPS_CD ((__force upf_t) ASYNC_HARDPPS_CD /* 11 */ ) [all …]
|
| D | gfp.h | 56 #define __GFP_DMA ((__force gfp_t)___GFP_DMA) 57 #define __GFP_HIGHMEM ((__force gfp_t)___GFP_HIGHMEM) 58 #define __GFP_DMA32 ((__force gfp_t)___GFP_DMA32) 59 #define __GFP_MOVABLE ((__force gfp_t)___GFP_MOVABLE) /* ZONE_MOVABLE allowed */ 89 #define __GFP_RECLAIMABLE ((__force gfp_t)___GFP_RECLAIMABLE) 90 #define __GFP_WRITE ((__force gfp_t)___GFP_WRITE) 91 #define __GFP_HARDWALL ((__force gfp_t)___GFP_HARDWALL) 92 #define __GFP_THISNODE ((__force gfp_t)___GFP_THISNODE) 93 #define __GFP_ACCOUNT ((__force gfp_t)___GFP_ACCOUNT) 117 #define __GFP_ATOMIC ((__force gfp_t)___GFP_ATOMIC) [all …]
|
| /Linux-v4.19/fs/ntfs/ |
| D | endian.h | 35 return le16_to_cpu((__force le16)x); in sle16_to_cpu() 40 return le32_to_cpu((__force le32)x); in sle32_to_cpu() 45 return le64_to_cpu((__force le64)x); in sle64_to_cpu() 50 return le16_to_cpu(*(__force le16*)x); in sle16_to_cpup() 55 return le32_to_cpu(*(__force le32*)x); in sle32_to_cpup() 60 return le64_to_cpu(*(__force le64*)x); in sle64_to_cpup() 65 return (__force sle16)cpu_to_le16(x); in cpu_to_sle16() 70 return (__force sle32)cpu_to_le32(x); in cpu_to_sle32() 75 return (__force sle64)cpu_to_le64(x); in cpu_to_sle64() 80 return (__force sle16)cpu_to_le16(*x); in cpu_to_sle16p() [all …]
|
| /Linux-v4.19/include/net/ |
| D | checksum.h | 56 return (__force __wsum)-1; /* invalid checksum */ in csum_and_copy_to_user() 63 u32 res = (__force u32)csum; in csum_add() 64 res += (__force u32)addend; in csum_add() 65 return (__force __wsum)(res + (res < (__force u32)addend)); in csum_add() 76 u16 res = (__force u16)csum; in csum16_add() 78 res += (__force u16)addend; in csum16_add() 79 return (__force __sum16)(res + (res < (__force u16)addend)); in csum16_add() 90 u32 sum = (__force u32)csum2; in csum_block_add() 96 return csum_add(csum, (__force __wsum)sum); in csum_block_add() 113 return (__force __wsum)n; in csum_unfold() [all …]
|
| /Linux-v4.19/fs/befs/ |
| 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() 57 return be16_to_cpu((__force __be16)n); in fs16_to_cpu() [all …]
|
| /Linux-v4.19/include/net/netfilter/ |
| D | nf_queue.h | 47 if ((__force u32)iph->saddr < (__force u32)iph->daddr) in hash_v4() 48 return jhash_3words((__force u32)iph->saddr, in hash_v4() 49 (__force u32)iph->daddr, iph->protocol, initval); in hash_v4() 51 return jhash_3words((__force u32)iph->daddr, in hash_v4() 52 (__force u32)iph->saddr, iph->protocol, initval); in hash_v4() 59 if ((__force u32)ip6h->saddr.s6_addr32[3] < in hash_v6() 60 (__force u32)ip6h->daddr.s6_addr32[3]) { in hash_v6() 61 a = (__force u32) ip6h->saddr.s6_addr32[3]; in hash_v6() 62 b = (__force u32) ip6h->daddr.s6_addr32[3]; in hash_v6() 64 b = (__force u32) ip6h->saddr.s6_addr32[3]; in hash_v6() [all …]
|
| /Linux-v4.19/arch/powerpc/include/asm/ |
| D | checksum.h | 55 return (__force __sum16)(~((__force u32)sum + tmp) >> 16); in csum_fold() 67 u64 s = (__force u32)sum; in csum_tcpudp_nofold() 69 s += (__force u32)saddr; in csum_tcpudp_nofold() 70 s += (__force u32)daddr; in csum_tcpudp_nofold() 76 return (__force __wsum) from64to32(s); in csum_tcpudp_nofold() 104 u64 res = (__force u64)csum; in csum_add() 112 res += (__force u64)addend; in csum_add() 113 return (__force __wsum)((u32)res + (res >> 32)); in csum_add() 136 return (__force __wsum)from64to32(s); in ip_fast_csum_nofold() 177 sum = csum_add(sum, (__force __wsum)*(const u16 *)buff); in csum_partial() [all …]
|
| /Linux-v4.19/arch/ia64/lib/ |
| D | checksum.c | 41 return (__force __sum16)~from64to16( in csum_tcpudp_magic() 42 (__force u64)saddr + (__force u64)daddr + in csum_tcpudp_magic() 43 (__force u64)sum + ((len + proto) << 8)); in csum_tcpudp_magic() 54 result = (__force u64)saddr + (__force u64)daddr + in csum_tcpudp_nofold() 55 (__force u64)sum + ((len + proto) << 8); in csum_tcpudp_nofold() 62 return (__force __wsum)result; in csum_tcpudp_nofold() 85 result += (__force u32)sum; in csum_partial() 88 return (__force __wsum)result; in csum_partial() 99 return (__force __sum16)~do_csum(buff,len); in ip_compute_csum()
|
| /Linux-v4.19/include/linux/unaligned/ |
| D | generic.h | 11 #define __get_unaligned_le(ptr) ((__force typeof(*(ptr)))({ \ 19 #define __get_unaligned_be(ptr) ((__force typeof(*(ptr)))({ \ 31 *(u8 *)__gu_p = (__force u8)(val); \ 34 put_unaligned_le16((__force u16)(val), __gu_p); \ 37 put_unaligned_le32((__force u32)(val), __gu_p); \ 40 put_unaligned_le64((__force u64)(val), __gu_p); \ 52 *(u8 *)__gu_p = (__force u8)(val); \ 55 put_unaligned_be16((__force u16)(val), __gu_p); \ 58 put_unaligned_be32((__force u32)(val), __gu_p); \ 61 put_unaligned_be64((__force u64)(val), __gu_p); \
|
| /Linux-v4.19/arch/alpha/include/asm/ |
| D | io_trivial.h | 12 return __kernel_ldbu(*(volatile u8 __force *)a); in IO_CONCAT() 18 return __kernel_ldwu(*(volatile u16 __force *)a); in IO_CONCAT() 24 __kernel_stb(b, *(volatile u8 __force *)a); in IO_CONCAT() 30 __kernel_stw(b, *(volatile u16 __force *)a); in IO_CONCAT() 38 return *(volatile u32 __force *)a; in IO_CONCAT() 44 *(volatile u32 __force *)a = b; in IO_CONCAT() 52 return __kernel_ldbu(*(const volatile u8 __force *)a); in IO_CONCAT() 58 return __kernel_ldwu(*(const volatile u16 __force *)a); in IO_CONCAT() 64 __kernel_stb(b, *(volatile u8 __force *)a); in IO_CONCAT() 70 __kernel_stw(b, *(volatile u16 __force *)a); in IO_CONCAT() [all …]
|
| /Linux-v4.19/fs/ufs/ |
| 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-v4.19/arch/h8300/include/asm/ |
| D | uaccess.h | 13 *(u8 *)to = *(u8 __force *)from; in raw_copy_from_user() 16 *(u16 *)to = *(u16 __force *)from; in raw_copy_from_user() 19 *(u32 *)to = *(u32 __force *)from; in raw_copy_from_user() 24 memcpy(to, (const void __force *)from, n); in raw_copy_from_user() 34 *(u8 __force *)to = *(u8 *)from; in raw_copy_to_user() 37 *(u16 __force *)to = *(u16 *)from; in raw_copy_to_user() 40 *(u32 __force *)to = *(u32 *)from; in raw_copy_to_user() 47 memcpy((void __force *)to, from, n); in raw_copy_to_user()
|
| /Linux-v4.19/arch/arc/include/asm/ |
| D | io.h | 46 #define ioread16be(p) ({ u16 __v = be16_to_cpu((__force __be16)__raw_readw(p)); __iormb(); __v; }) 47 #define ioread32be(p) ({ u32 __v = be32_to_cpu((__force __be32)__raw_readl(p)); __iormb(); __v; }) 49 #define iowrite16be(v,p) ({ __iowmb(); __raw_writew((__force u16)cpu_to_be16(v), p); }) 50 #define iowrite32be(v,p) ({ __iowmb(); __raw_writel((__force u32)cpu_to_be32(v), p); }) 63 : "m" (*(volatile u8 __force *)addr) in __raw_readb() 77 : "m" (*(volatile u16 __force *)addr) in __raw_readw() 91 : "m" (*(volatile u32 __force *)addr) in __raw_readl() 103 : "r" (b), "m" (*(volatile u8 __force *)addr) in __raw_writeb() 113 : "r" (s), "m" (*(volatile u16 __force *)addr) in __raw_writew() 124 : "r" (w), "m" (*(volatile u32 __force *)addr) in __raw_writel() [all …]
|
| /Linux-v4.19/arch/alpha/lib/ |
| D | checksum.c | 48 return (__force __sum16)~from64to16( in csum_tcpudp_magic() 49 (__force u64)saddr + (__force u64)daddr + in csum_tcpudp_magic() 50 (__force u64)sum + ((len + proto) << 8)); in csum_tcpudp_magic() 59 result = (__force u64)saddr + (__force u64)daddr + in csum_tcpudp_nofold() 60 (__force u64)sum + ((len + proto) << 8); in csum_tcpudp_nofold() 68 return (__force __wsum)result; in csum_tcpudp_nofold() 147 return (__force __sum16)~do_csum(iph,ihl*4); in ip_fast_csum() 168 result += (__force u32)sum; in csum_partial() 171 return (__force __wsum)result; in csum_partial() 182 return (__force __sum16)~from64to16(do_csum(buff,len)); in ip_compute_csum()
|
| /Linux-v4.19/drivers/staging/gdm724x/ |
| 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()
|
| /Linux-v4.19/fs/qnx6/ |
| 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 …]
|