/linux-4.4.14/include/uapi/linux/byteorder/ |
D | little_endian.h | 14 #define __constant_htonl(x) ((__force __be32)___constant_swab32((x))) 15 #define __constant_ntohl(x) ___constant_swab32((__force __be32)(x)) 16 #define __constant_htons(x) ((__force __be16)___constant_swab16((x))) 17 #define __constant_ntohs(x) ___constant_swab16((__force __be16)(x)) 18 #define __constant_cpu_to_le64(x) ((__force __le64)(__u64)(x)) 19 #define __constant_le64_to_cpu(x) ((__force __u64)(__le64)(x)) 20 #define __constant_cpu_to_le32(x) ((__force __le32)(__u32)(x)) 21 #define __constant_le32_to_cpu(x) ((__force __u32)(__le32)(x)) 22 #define __constant_cpu_to_le16(x) ((__force __le16)(__u16)(x)) 23 #define __constant_le16_to_cpu(x) ((__force __u16)(__le16)(x)) [all …]
|
D | big_endian.h | 14 #define __constant_htonl(x) ((__force __be32)(__u32)(x)) 15 #define __constant_ntohl(x) ((__force __u32)(__be32)(x)) 16 #define __constant_htons(x) ((__force __be16)(__u16)(x)) 17 #define __constant_ntohs(x) ((__force __u16)(__be16)(x)) 18 #define __constant_cpu_to_le64(x) ((__force __le64)___constant_swab64((x))) 19 #define __constant_le64_to_cpu(x) ___constant_swab64((__force __u64)(__le64)(x)) 20 #define __constant_cpu_to_le32(x) ((__force __le32)___constant_swab32((x))) 21 #define __constant_le32_to_cpu(x) ___constant_swab32((__force __u32)(__le32)(x)) 22 #define __constant_cpu_to_le16(x) ((__force __le16)___constant_swab16((x))) 23 #define __constant_le16_to_cpu(x) ___constant_swab16((__force __u16)(__le16)(x)) [all …]
|
/linux-4.4.14/include/uapi/sound/ |
D | asound.h | 176 #define SNDRV_PCM_ACCESS_MMAP_INTERLEAVED ((__force snd_pcm_access_t) 0) /* interleaved mmap */ 177 #define SNDRV_PCM_ACCESS_MMAP_NONINTERLEAVED ((__force snd_pcm_access_t) 1) /* noninterleaved mmap … 178 #define SNDRV_PCM_ACCESS_MMAP_COMPLEX ((__force snd_pcm_access_t) 2) /* complex mmap */ 179 #define SNDRV_PCM_ACCESS_RW_INTERLEAVED ((__force snd_pcm_access_t) 3) /* readi/writei */ 180 #define SNDRV_PCM_ACCESS_RW_NONINTERLEAVED ((__force snd_pcm_access_t) 4) /* readn/writen */ 184 #define SNDRV_PCM_FORMAT_S8 ((__force snd_pcm_format_t) 0) 185 #define SNDRV_PCM_FORMAT_U8 ((__force snd_pcm_format_t) 1) 186 #define SNDRV_PCM_FORMAT_S16_LE ((__force snd_pcm_format_t) 2) 187 #define SNDRV_PCM_FORMAT_S16_BE ((__force snd_pcm_format_t) 3) 188 #define SNDRV_PCM_FORMAT_U16_LE ((__force snd_pcm_format_t) 4) [all …]
|
/linux-4.4.14/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-4.4.14/include/linux/ |
D | virtio_byteorder.h | 18 return le16_to_cpu((__force __le16)val); in __virtio16_to_cpu() 20 return be16_to_cpu((__force __be16)val); in __virtio16_to_cpu() 26 return (__force __virtio16)cpu_to_le16(val); in __cpu_to_virtio16() 28 return (__force __virtio16)cpu_to_be16(val); in __cpu_to_virtio16() 34 return le32_to_cpu((__force __le32)val); in __virtio32_to_cpu() 36 return be32_to_cpu((__force __be32)val); in __virtio32_to_cpu() 42 return (__force __virtio32)cpu_to_le32(val); in __cpu_to_virtio32() 44 return (__force __virtio32)cpu_to_be32(val); in __cpu_to_virtio32() 50 return le64_to_cpu((__force __le64)val); in __virtio64_to_cpu() 52 return be64_to_cpu((__force __be64)val); in __virtio64_to_cpu() [all …]
|
D | serial_core.h | 178 #define UPF_FOURPORT ((__force upf_t) ASYNC_FOURPORT /* 1 */ ) 179 #define UPF_SAK ((__force upf_t) ASYNC_SAK /* 2 */ ) 180 #define UPF_SPD_HI ((__force upf_t) ASYNC_SPD_HI /* 4 */ ) 181 #define UPF_SPD_VHI ((__force upf_t) ASYNC_SPD_VHI /* 5 */ ) 182 #define UPF_SPD_CUST ((__force upf_t) ASYNC_SPD_CUST /* 0x0030 */ ) 183 #define UPF_SPD_WARP ((__force upf_t) ASYNC_SPD_WARP /* 0x1010 */ ) 184 #define UPF_SPD_MASK ((__force upf_t) ASYNC_SPD_MASK /* 0x1030 */ ) 185 #define UPF_SKIP_TEST ((__force upf_t) ASYNC_SKIP_TEST /* 6 */ ) 186 #define UPF_AUTO_IRQ ((__force upf_t) ASYNC_AUTO_IRQ /* 7 */ ) 187 #define UPF_HARDPPS_CD ((__force upf_t) ASYNC_HARDPPS_CD /* 11 */ ) [all …]
|
D | gfp.h | 48 #define __GFP_DMA ((__force gfp_t)___GFP_DMA) 49 #define __GFP_HIGHMEM ((__force gfp_t)___GFP_HIGHMEM) 50 #define __GFP_DMA32 ((__force gfp_t)___GFP_DMA32) 51 #define __GFP_MOVABLE ((__force gfp_t)___GFP_MOVABLE) /* Page is movable */ 52 #define __GFP_MOVABLE ((__force gfp_t)___GFP_MOVABLE) /* ZONE_MOVABLE allowed */ 77 #define __GFP_RECLAIMABLE ((__force gfp_t)___GFP_RECLAIMABLE) 78 #define __GFP_WRITE ((__force gfp_t)___GFP_WRITE) 79 #define __GFP_HARDWALL ((__force gfp_t)___GFP_HARDWALL) 80 #define __GFP_THISNODE ((__force gfp_t)___GFP_THISNODE) 103 #define __GFP_ATOMIC ((__force gfp_t)___GFP_ATOMIC) [all …]
|
D | mroute6.h | 105 #define MFC6_HASH(a, g) (((__force u32)(a)->s6_addr32[0] ^ \ 106 (__force u32)(a)->s6_addr32[1] ^ \ 107 (__force u32)(a)->s6_addr32[2] ^ \ 108 (__force u32)(a)->s6_addr32[3] ^ \ 109 (__force u32)(g)->s6_addr32[0] ^ \ 110 (__force u32)(g)->s6_addr32[1] ^ \ 111 (__force u32)(g)->s6_addr32[2] ^ \ 112 (__force u32)(g)->s6_addr32[3]) % MFC6_LINES)
|
D | err.h | 28 static inline long __must_check PTR_ERR(__force const void *ptr) in PTR_ERR() 33 static inline bool __must_check IS_ERR(__force const void *ptr) in IS_ERR() 38 static inline bool __must_check IS_ERR_OR_NULL(__force const void *ptr) in IS_ERR_OR_NULL() 50 static inline void * __must_check ERR_CAST(__force const void *ptr) in ERR_CAST() 56 static inline int __must_check PTR_ERR_OR_ZERO(__force const void *ptr) in PTR_ERR_OR_ZERO()
|
D | pmem.h | 65 memcpy(dst, (void __force const *) src, size); in memcpy_from_pmem() 97 memcpy((void __force *) dst, src, size); in default_memcpy_to_pmem() 103 return copy_from_iter_nocache((void __force *)addr, bytes, i); in default_copy_from_iter_pmem() 109 clear_page((void __force *)addr); in default_clear_pmem() 111 memset((void __force *)addr, 0, size); in default_clear_pmem()
|
D | mroute.h | 98 #define MFC_HASH(a,b) (((((__force u32)(__be32)a)>>24)^(((__force u32)(__be32)b)>>26))&(MFC_LINES-1… 100 #define MFC_HASH(a,b) ((((__force u32)(__be32)a)^(((__force u32)(__be32)b)>>2))&(MFC_LINES-1))
|
D | io-mapping.h | 130 return (struct io_mapping __force *) ioremap_wc(base, size); in io_mapping_create_wc() 136 iounmap((void __force __iomem *) mapping); in io_mapping_free() 146 return ((char __force __iomem *) mapping) + offset; in io_mapping_map_atomic_wc() 160 return ((char __force __iomem *) mapping) + offset; in io_mapping_map_wc()
|
D | suspend.h | 36 #define PM_SUSPEND_ON ((__force suspend_state_t) 0) 37 #define PM_SUSPEND_FREEZE ((__force suspend_state_t) 1) 38 #define PM_SUSPEND_STANDBY ((__force suspend_state_t) 2) 39 #define PM_SUSPEND_MEM ((__force suspend_state_t) 3) 41 #define PM_SUSPEND_MAX ((__force suspend_state_t) 4)
|
D | pci.h | 112 #define PCI_D0 ((pci_power_t __force) 0) 113 #define PCI_D1 ((pci_power_t __force) 1) 114 #define PCI_D2 ((pci_power_t __force) 2) 115 #define PCI_D3hot ((pci_power_t __force) 3) 116 #define PCI_D3cold ((pci_power_t __force) 4) 117 #define PCI_UNKNOWN ((pci_power_t __force) 5) 118 #define PCI_POWER_ERROR ((pci_power_t __force) -1) 141 pci_channel_io_normal = (__force pci_channel_state_t) 1, 144 pci_channel_io_frozen = (__force pci_channel_state_t) 2, 147 pci_channel_io_perm_failure = (__force pci_channel_state_t) 3, [all …]
|
D | omap-mailbox.h | 15 #define IRQ_TX ((__force omap_mbox_irq_t) 1) 16 #define IRQ_RX ((__force omap_mbox_irq_t) 2)
|
D | virtio_config.h | 353 return virtio16_to_cpu(vdev, (__force __virtio16)ret); in virtio_cread16() 359 val = (__force u16)cpu_to_virtio16(vdev, val); in virtio_cwrite16() 368 return virtio32_to_cpu(vdev, (__force __virtio32)ret); in virtio_cread32() 374 val = (__force u32)cpu_to_virtio32(vdev, val); in virtio_cwrite32() 383 return virtio64_to_cpu(vdev, (__force __virtio64)ret); in virtio_cread64() 389 val = (__force u64)cpu_to_virtio64(vdev, val); in virtio_cwrite64()
|
D | rcupdate.h | 602 typeof(*p) *_________p1 = (typeof(*p) *__force)READ_ONCE(p); \ 604 ((typeof(*p) __force __kernel *)(_________p1)); \ 609 typeof(*p) *________p1 = (typeof(*p) *__force)lockless_dereference(p); \ 612 ((typeof(*p) __force __kernel *)(________p1)); \ 618 ((typeof(*p) __force __kernel *)(p)); \ 625 #define RCU_INITIALIZER(v) (typeof(*(v)) __force __rcu *)(v)
|
D | rculist_nulls.h | 41 (*((struct hlist_nulls_node __rcu __force **)&(head)->first)) 44 (*((struct hlist_nulls_node __rcu __force **)&(node)->next))
|
D | compiler.h | 10 # define __force __attribute__((force)) macro 32 # define __force macro 297 { .__val = (__force typeof(x)) (val) }; \ 511 __maybe_unused typeof(x) __var = (__force typeof(x)) 0; \
|
D | fs.h | 92 #define FMODE_READ ((__force fmode_t)0x1) 94 #define FMODE_WRITE ((__force fmode_t)0x2) 96 #define FMODE_LSEEK ((__force fmode_t)0x4) 98 #define FMODE_PREAD ((__force fmode_t)0x8) 100 #define FMODE_PWRITE ((__force fmode_t)0x10) 102 #define FMODE_EXEC ((__force fmode_t)0x20) 104 #define FMODE_NDELAY ((__force fmode_t)0x40) 106 #define FMODE_EXCL ((__force fmode_t)0x80) 109 #define FMODE_WRITE_IOCTL ((__force fmode_t)0x100) 111 #define FMODE_32BITHASH ((__force fmode_t)0x200) [all …]
|
D | etherdevice.h | 79 (__force int)((a[2] ^ b[2]) & m)) == 0; in is_link_local_ether_addr() 208 return (__force u16)proto >= (__force u16)htons(ETH_P_802_3_MIN); in eth_proto_is_802_3()
|
D | posix-timers.h | 13 return (__force unsigned long long)expires; in cputime_to_expires() 18 return (__force cputime_t)expires; in expires_to_cputime()
|
/linux-4.4.14/include/net/netfilter/ |
D | nf_queue.h | 49 if ((__force u32)iph->saddr < (__force u32)iph->daddr) in hash_v4() 50 return jhash_3words((__force u32)iph->saddr, in hash_v4() 51 (__force u32)iph->daddr, iph->protocol, jhash_initval); in hash_v4() 53 return jhash_3words((__force u32)iph->daddr, in hash_v4() 54 (__force u32)iph->saddr, iph->protocol, jhash_initval); 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() [all …]
|
/linux-4.4.14/drivers/net/wireless/iwlwifi/ |
D | iwl-fw-file.h | 261 IWL_UCODE_TLV_API_BT_COEX_SPLIT = (__force iwl_ucode_tlv_api_t)3, 262 IWL_UCODE_TLV_API_FRAGMENTED_SCAN = (__force iwl_ucode_tlv_api_t)8, 263 IWL_UCODE_TLV_API_WIFI_MCC_UPDATE = (__force iwl_ucode_tlv_api_t)9, 264 IWL_UCODE_TLV_API_WIDE_CMD_HDR = (__force iwl_ucode_tlv_api_t)14, 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, 267 IWL_UCODE_TLV_API_EXT_SCAN_PRIORITY = (__force iwl_ucode_tlv_api_t)24, 268 IWL_UCODE_TLV_API_TX_POWER_CHAIN = (__force iwl_ucode_tlv_api_t)27, 315 IWL_UCODE_TLV_CAPA_D0I3_SUPPORT = (__force iwl_ucode_tlv_capa_t)0, 316 IWL_UCODE_TLV_CAPA_LAR_SUPPORT = (__force iwl_ucode_tlv_capa_t)1, [all …]
|
/linux-4.4.14/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-4.4.14/arch/s390/include/asm/ |
D | cputime.h | 35 return __div((__force unsigned long long) cputime, CPUTIME_PER_SEC / HZ); in cputime_to_jiffies() 40 return (__force cputime_t)(jif * (CPUTIME_PER_SEC / HZ)); in jiffies_to_cputime() 45 unsigned long long jif = (__force unsigned long long) cputime; in cputime64_to_jiffies64() 52 return (__force cputime64_t)(jif * (CPUTIME_PER_SEC / HZ)); in jiffies64_to_cputime64() 60 return (__force unsigned long long) cputime >> 12; in cputime_to_usecs() 65 return (__force cputime_t)(m * CPUTIME_PER_USEC); in usecs_to_cputime() 75 return __div((__force unsigned long long) cputime, CPUTIME_PER_SEC / 2) >> 1; in cputime_to_secs() 80 return (__force cputime_t)(s * CPUTIME_PER_SEC); in secs_to_cputime() 89 return (__force cputime_t)(ret + __div(value->tv_nsec * CPUTIME_PER_USEC, NSEC_PER_USEC)); in timespec_to_cputime() 95 unsigned long long __cputime = (__force unsigned long long) cputime; in cputime_to_timespec() [all …]
|
D | checksum.h | 72 u32 csum = (__force u32) sum; in csum_fold() 76 return (__force __sum16) ~csum; in csum_fold() 98 __u32 csum = (__force __u32)sum; in csum_tcpudp_nofold() 100 csum += (__force __u32)saddr; in csum_tcpudp_nofold() 101 if (csum < (__force __u32)saddr) in csum_tcpudp_nofold() 104 csum += (__force __u32)daddr; in csum_tcpudp_nofold() 105 if (csum < (__force __u32)daddr) in csum_tcpudp_nofold() 112 return (__force __wsum)csum; in csum_tcpudp_nofold()
|
D | pci_io.h | 25 (((__force u64) addr & ZPCI_IOMAP_ADDR_IDX_MASK) >> 48) 27 ((__force u64) addr & ZPCI_IOMAP_ADDR_OFF_MASK) 143 size = zpci_get_max_write_size((u64 __force) src, in zpci_memcpy_fromio() 167 size = zpci_get_max_write_size((u64 __force) dst, in zpci_memcpy_toio()
|
D | uaccess.h | 221 (x) = *(__force __typeof__(*(ptr)) *) &__x; \ 228 (x) = *(__force __typeof__(*(ptr)) *) &__x; \ 235 (x) = *(__force __typeof__(*(ptr)) *) &__x; \ 242 (x) = *(__force __typeof__(*(ptr)) *) &__x; \
|
/linux-4.4.14/fs/befs/ |
D | endian.h | 18 return le64_to_cpu((__force __le64)n); in fs64_to_cpu() 20 return be64_to_cpu((__force __be64)n); in fs64_to_cpu() 27 return (__force fs64)cpu_to_le64(n); in cpu_to_fs64() 29 return (__force fs64)cpu_to_be64(n); in cpu_to_fs64() 36 return le32_to_cpu((__force __le32)n); in fs32_to_cpu() 38 return be32_to_cpu((__force __be32)n); in fs32_to_cpu() 45 return (__force fs32)cpu_to_le32(n); in cpu_to_fs32() 47 return (__force fs32)cpu_to_be32(n); in cpu_to_fs32() 54 return le16_to_cpu((__force __le16)n); in fs16_to_cpu() 56 return be16_to_cpu((__force __be16)n); in fs16_to_cpu() [all …]
|
D | befs_fs_types.h | 58 #define BEFS_BYTEORDER_NATIVE_LE (__force fs32)cpu_to_le32(BEFS_BYTEORDER_NATIVE) 59 #define BEFS_BYTEORDER_NATIVE_BE (__force fs32)cpu_to_be32(BEFS_BYTEORDER_NATIVE) 62 #define BEFS_SUPER_MAGIC1_LE (__force fs32)cpu_to_le32(BEFS_SUPER_MAGIC1) 63 #define BEFS_SUPER_MAGIC1_BE (__force fs32)cpu_to_be32(BEFS_SUPER_MAGIC1)
|
/linux-4.4.14/net/core/ |
D | secure_seq.c | 53 secret[i] = net_secret[i] + (__force u32)daddr[i]; in secure_tcpv6_sequence_number() 55 (((__force u16)sport << 16) + (__force u16)dport); in secure_tcpv6_sequence_number() 75 secret[i] = net_secret[i] + (__force u32) daddr[i]; in secure_ipv6_port_ephemeral() 76 secret[4] = net_secret[4] + (__force u32)dport; in secure_ipv6_port_ephemeral() 95 hash[0] = (__force u32)saddr; in secure_tcp_sequence_number() 96 hash[1] = (__force u32)daddr; in secure_tcp_sequence_number() 97 hash[2] = ((__force u16)sport << 16) + (__force u16)dport; in secure_tcp_sequence_number() 110 hash[0] = (__force u32)saddr; in secure_ipv4_port_ephemeral() 111 hash[1] = (__force u32)daddr; in secure_ipv4_port_ephemeral() 112 hash[2] = (__force u32)dport ^ net_secret[14]; in secure_ipv4_port_ephemeral() [all …]
|
D | utils.c | 310 (__force __wsum)from), in inet_proto_csum_replace4() 311 (__force __wsum)to); in inet_proto_csum_replace4() 314 (__force __wsum)from), in inet_proto_csum_replace4() 315 (__force __wsum)to)); in inet_proto_csum_replace4()
|
D | flow_dissector.c | 551 return (__force __be32)ipv6_addr_hash( in flow_get_u32_src() 567 return (__force __be32)ipv6_addr_hash( in flow_get_u32_dst() 581 addr_diff = (__force u32)keys->addrs.v4addrs.dst - in __flow_hash_consistentify() 582 (__force u32)keys->addrs.v4addrs.src; in __flow_hash_consistentify() 585 ((__force u16)keys->ports.dst < in __flow_hash_consistentify() 586 (__force u16)keys->ports.src))) { in __flow_hash_consistentify() 597 ((__force u16)keys->ports.dst < in __flow_hash_consistentify() 598 (__force u16)keys->ports.src))) { in __flow_hash_consistentify() 707 keys.tags.flow_label = (__force u32)fl6->flowlabel; in __skb_get_hash_flowi6() 815 keys->tags.flow_label = (__force u32)fl6->flowlabel; in __get_hash_from_flowi6()
|
/linux-4.4.14/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() 93 return csum_add(csum, (__force __wsum)sum); in csum_block_add() 105 u32 sum = (__force u32)csum2; in csum_block_sub() [all …]
|
D | inet_hashtables.h | 241 ((__force __portpair)(((__force __u32)(__be16)(__sport) << 16) | (__u32)(__dport))) 244 ((__force __portpair)(((__u32)(__dport) << 16) | (__force __u32)(__be16)(__sport))) 250 const __addrpair __name = (__force __addrpair) ( \ 251 (((__force __u64)(__be32)(__saddr)) << 32) | \ 252 ((__force __u64)(__be32)(__daddr))) 255 const __addrpair __name = (__force __addrpair) ( \ 256 (((__force __u64)(__be32)(__daddr)) << 32) | \ 257 ((__force __u64)(__be32)(__saddr)))
|
D | dsfield.h | 30 __u32 check = ntohs((__force __be16)iph->check); in ipv4_change_dsfield() 38 iph->check = (__force __sum16)htons(check); in ipv4_change_dsfield() 46 __be16 *p = (__force __be16 *)ipv6h; in ipv6_change_dsfield()
|
D | inet_ecn.h | 76 u32 check = (__force u32)iph->check; in IP_ECN_set_ce() 94 check += (__force u16)htons(0xFFFB) + (__force u16)htons(ecn); in IP_ECN_set_ce() 96 iph->check = (__force __sum16)(check + (check>=0xFFFF)); in IP_ECN_set_ce()
|
D | ipv6.h | 410 *(__force u64 *)addr = ((__force u64)(wh) << 32 | (__force u64)(wl)); in __ipv6_addr_set_half() 415 *(__force u64 *)addr = ((__force u64)(wl) << 32 | (__force u64)(wh)); in __ipv6_addr_set_half() 559 return (__force u32)(a->s6_addr32[0] ^ a->s6_addr32[1] ^ in ipv6_addr_hash() 567 u32 v = (__force u32)a->s6_addr32[0] ^ (__force u32)a->s6_addr32[1]; in __ipv6_addr_jhash() 570 (__force u32)a->s6_addr32[2], in __ipv6_addr_jhash() 571 (__force u32)a->s6_addr32[3], in __ipv6_addr_jhash() 597 (__force unsigned long)(a->s6_addr32[0] | a->s6_addr32[1]) | in ipv6_addr_v4mapped() 599 (__force unsigned long)(a->s6_addr32[2] ^ in ipv6_addr_v4mapped() 761 flowlabel = (__force __be32)hash & IPV6_FLOWLABEL_MASK; in ip6_make_flowlabel()
|
D | inet_sock.h | 272 return jhash_3words((__force __u32) laddr, in __inet_ehashfn() 273 (__force __u32) faddr, in __inet_ehashfn() 274 ((__u32) lport) << 16 | (__force __u32)fport, in __inet_ehashfn()
|
/linux-4.4.14/arch/ia64/lib/ |
D | checksum.c | 40 return (__force __sum16)~from64to16( in csum_tcpudp_magic() 41 (__force u64)saddr + (__force u64)daddr + in csum_tcpudp_magic() 42 (__force u64)sum + ((len + proto) << 8)); in csum_tcpudp_magic() 53 result = (__force u64)saddr + (__force u64)daddr + in csum_tcpudp_nofold() 54 (__force u64)sum + ((len + proto) << 8); in csum_tcpudp_nofold() 61 return (__force __wsum)result; in csum_tcpudp_nofold() 84 result += (__force u32)sum; in csum_partial() 87 return (__force __wsum)result; in csum_partial() 98 return (__force __sum16)~do_csum(buff,len); in ip_compute_csum()
|
D | csum_partial_copy.c | 125 result += (__force u32)psum; in csum_partial_copy_from_user() 128 return (__force __wsum)result; in csum_partial_copy_from_user() 136 return csum_partial_copy_from_user((__force const void __user *)src, in csum_partial_copy_nocheck()
|
/linux-4.4.14/include/asm-generic/ |
D | cputime_nsecs.h | 28 #define cputime_div(__ct, divisor) div_u64((__force u64)__ct, divisor) 30 div_u64_rem((__force u64)__ct, divisor, remainder); 39 (__force cputime_t)((__jif) * (NSEC_PER_SEC / HZ)) 43 (__force cputime64_t)((__jif) * (NSEC_PER_SEC / HZ)) 50 (__force u64)(__ct) 52 (__force cputime_t)(__nsecs) 61 (__force cputime_t)((__usecs) * NSEC_PER_USEC) 63 (__force cputime64_t)((__usecs) * NSEC_PER_USEC) 71 (__force cputime_t)((__secs) * NSEC_PER_SEC) 79 return (__force cputime_t) ret; in timespec_to_cputime() [all …]
|
D | uaccess.h | 85 *(u8 *)to = *(u8 __force *)from; in __copy_from_user() 88 *(u16 *)to = *(u16 __force *)from; in __copy_from_user() 91 *(u32 *)to = *(u32 __force *)from; in __copy_from_user() 95 *(u64 *)to = *(u64 __force *)from; in __copy_from_user() 103 memcpy(to, (const void __force *)from, n); in __copy_from_user() 115 *(u8 __force *)to = *(u8 *)from; in __copy_to_user() 118 *(u16 __force *)to = *(u16 *)from; in __copy_to_user() 121 *(u32 __force *)to = *(u32 *)from; in __copy_to_user() 125 *(u64 __force *)to = *(u64 *)from; in __copy_to_user() 133 memcpy((void __force *)to, from, n); in __copy_to_user() [all …]
|
D | cputime_jiffies.h | 9 #define cputime_to_jiffies(__ct) (__force unsigned long)(__ct) 11 #define jiffies_to_cputime(__hz) (__force cputime_t)(__hz) 15 #define cputime64_to_jiffies64(__ct) (__force u64)(__ct) 16 #define jiffies64_to_cputime64(__jif) (__force cputime64_t)(__jif)
|
D | io.h | 40 return *(const volatile u8 __force *)addr; in __raw_readb() 48 return *(const volatile u16 __force *)addr; in __raw_readw() 56 return *(const volatile u32 __force *)addr; in __raw_readl() 65 return *(const volatile u64 __force *)addr; in __raw_readq() 74 *(volatile u8 __force *)addr = value; in __raw_writeb() 82 *(volatile u16 __force *)addr = value; in __raw_writew() 90 *(volatile u32 __force *)addr = value; in __raw_writel() 99 *(volatile u64 __force *)addr = value; in __raw_writeq() 705 #define __io_virt(x) ((void __force *)(x))
|
D | checksum.h | 55 u32 sum = (__force u32)csum; in csum_fold() 58 return (__force __sum16)~sum; in csum_fold()
|
/linux-4.4.14/include/linux/unaligned/ |
D | generic.h | 10 #define __get_unaligned_le(ptr) ((__force typeof(*(ptr)))({ \ 18 #define __get_unaligned_be(ptr) ((__force typeof(*(ptr)))({ \ 30 *(u8 *)__gu_p = (__force u8)(val); \ 33 put_unaligned_le16((__force u16)(val), __gu_p); \ 36 put_unaligned_le32((__force u32)(val), __gu_p); \ 39 put_unaligned_le64((__force u64)(val), __gu_p); \ 51 *(u8 *)__gu_p = (__force u8)(val); \ 54 put_unaligned_be16((__force u16)(val), __gu_p); \ 57 put_unaligned_be32((__force u32)(val), __gu_p); \ 60 put_unaligned_be64((__force u64)(val), __gu_p); \
|
/linux-4.4.14/fs/ufs/ |
D | swab.h | 29 return le64_to_cpu((__force __le64)n); in fs64_to_cpu() 31 return be64_to_cpu((__force __be64)n); in fs64_to_cpu() 38 return (__force __fs64)cpu_to_le64(n); in cpu_to_fs64() 40 return (__force __fs64)cpu_to_be64(n); in cpu_to_fs64() 47 return le32_to_cpu((__force __le32)n); in fs32_to_cpu() 49 return be32_to_cpu((__force __be32)n); in fs32_to_cpu() 56 return (__force __fs32)cpu_to_le32(n); in cpu_to_fs32() 58 return (__force __fs32)cpu_to_be32(n); in cpu_to_fs32() 83 return le16_to_cpu((__force __le16)n); in fs16_to_cpu() 85 return be16_to_cpu((__force __be16)n); in fs16_to_cpu() [all …]
|
/linux-4.4.14/arch/alpha/include/asm/ |
D | io_trivial.h | 11 return __kernel_ldbu(*(volatile u8 __force *)a); in IO_CONCAT() 17 return __kernel_ldwu(*(volatile u16 __force *)a); in IO_CONCAT() 23 __kernel_stb(b, *(volatile u8 __force *)a); in IO_CONCAT() 29 __kernel_stw(b, *(volatile u16 __force *)a); in IO_CONCAT() 37 return *(volatile u32 __force *)a; in IO_CONCAT() 43 *(volatile u32 __force *)a = b; in IO_CONCAT() 51 return __kernel_ldbu(*(const volatile u8 __force *)a); in IO_CONCAT() 57 return __kernel_ldwu(*(const volatile u16 __force *)a); in IO_CONCAT() 63 __kernel_stb(b, *(volatile u8 __force *)a); in IO_CONCAT() 69 __kernel_stw(b, *(volatile u16 __force *)a); in IO_CONCAT() [all …]
|
D | uaccess.h | 99 (x) = (__force __typeof__(*(ptr))) __gu_val; \ 118 (x) = (__force __typeof__(*(ptr))) __gu_val; \ 385 __copy_tofrom_user_nocheck((__force void *)(to), (from), (n)); \ 390 __copy_tofrom_user_nocheck((to), (__force void *)(from), (n)); \ 400 return __copy_tofrom_user((__force void *)to, from, n, to); in copy_to_user() 406 return __copy_tofrom_user(to, (__force void *)from, n, from); in copy_from_user()
|
D | checksum.h | 64 u32 sum = (__force u32)csum; in csum_fold() 67 return (__force __sum16)~sum; in csum_fold()
|
D | core_lca.h | 218 #define vip volatile int __force * 219 #define vuip volatile unsigned int __force * 220 #define vulp volatile unsigned long __force *
|
/linux-4.4.14/arch/powerpc/include/asm/ |
D | cputime.h | 53 return mulhdu((__force u64) ct, __cputime_jiffies_factor); in cputime_to_jiffies() 62 return (__force u64) ct * in cputime_to_scaled() 82 return (__force cputime_t) ct; in jiffies_to_cputime() 104 return (__force cputime64_t) ct; in jiffies64_to_cputime64() 109 return mulhdu((__force u64) ct, __cputime_jiffies_factor); in cputime64_to_jiffies64() 119 return mulhdu((__force u64) ct, __cputime_usec_factor); in cputime_to_usecs() 136 return (__force cputime_t) ct; in usecs_to_cputime() 148 return mulhdu((__force u64) ct, __cputime_sec_factor); in cputime_to_secs() 153 return (__force cputime_t)((u64) sec * tb_ticks_per_sec); in secs_to_cputime() 161 u64 x = (__force u64) ct; in cputime_to_timespec() [all …]
|
D | checksum.h | 63 csum_partial_copy_generic((__force const void *)(src), (dst), (len), (sum), (errp), NULL) 83 return (__force __sum16)(~((__force u32)sum + tmp) >> 16); in csum_fold() 101 unsigned long s = (__force u32)sum; in csum_tcpudp_nofold() 103 s += (__force u32)saddr; in csum_tcpudp_nofold() 104 s += (__force u32)daddr; in csum_tcpudp_nofold() 107 return (__force __wsum) s; in csum_tcpudp_nofold() 137 u64 res = (__force u64)csum; in csum_add() 139 res += (__force u64)addend; in csum_add() 140 return (__force __wsum)((u32)res + (res >> 32)); in csum_add()
|
D | uaccess.h | 63 __access_ok((__force unsigned long)(addr), (size), get_fs())) 287 (x) = (__force __typeof__(*(ptr)))__gu_val; \ 300 (x) = (__force __typeof__(*(ptr)))__gu_val; \ 311 (x) = (__force __typeof__(*(ptr)))__gu_val; \ 329 return __copy_tofrom_user((__force void __user *)to, from, n); in copy_from_user() 332 return __copy_tofrom_user((__force void __user *)to, from, in copy_from_user() 344 return __copy_tofrom_user(to, (__force void __user *)from, n); in copy_to_user() 347 return __copy_tofrom_user(to, (__force void __user *)from, in copy_to_user() 390 return __copy_tofrom_user((__force void __user *)to, from, n); in __copy_from_user_inatomic() 416 return __copy_tofrom_user(to, (__force const void __user *)from, n); in __copy_to_user_inatomic()
|
D | io.h | 356 return *(volatile unsigned char __force *)PCI_FIX_ADDR(addr); in __raw_readb() 360 return *(volatile unsigned short __force *)PCI_FIX_ADDR(addr); in __raw_readw() 364 return *(volatile unsigned int __force *)PCI_FIX_ADDR(addr); in __raw_readl() 368 *(volatile unsigned char __force *)PCI_FIX_ADDR(addr) = v; in __raw_writeb() 372 *(volatile unsigned short __force *)PCI_FIX_ADDR(addr) = v; in __raw_writew() 376 *(volatile unsigned int __force *)PCI_FIX_ADDR(addr) = v; in __raw_writel() 382 return *(volatile unsigned long __force *)PCI_FIX_ADDR(addr); in __raw_readq() 386 *(volatile unsigned long __force *)PCI_FIX_ADDR(addr) = v; in __raw_writeq()
|
/linux-4.4.14/arch/arc/include/asm/ |
D | io.h | 37 #define ioread16be(p) ({ u16 __v = be16_to_cpu((__force __be16)__raw_readw(p)); __iormb(); __v; }) 38 #define ioread32be(p) ({ u32 __v = be32_to_cpu((__force __be32)__raw_readl(p)); __iormb(); __v; }) 40 #define iowrite16be(v,p) ({ __iowmb(); __raw_writew((__force u16)cpu_to_be16(v), p); }) 41 #define iowrite32be(v,p) ({ __iowmb(); __raw_writel((__force u32)cpu_to_be32(v), p); }) 54 : "m" (*(volatile u8 __force *)addr) in __raw_readb() 68 : "m" (*(volatile u16 __force *)addr) in __raw_readw() 82 : "m" (*(volatile u32 __force *)addr) in __raw_readl() 94 : "r" (b), "m" (*(volatile u8 __force *)addr) in __raw_writeb() 104 : "r" (s), "m" (*(volatile u16 __force *)addr) in __raw_writew() 115 : "r" (w), "m" (*(volatile u32 __force *)addr) in __raw_writel() [all …]
|
/linux-4.4.14/arch/alpha/lib/ |
D | checksum.c | 49 return (__force __sum16)~from64to16( in csum_tcpudp_magic() 50 (__force u64)saddr + (__force u64)daddr + in csum_tcpudp_magic() 51 (__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() 169 result += (__force u32)sum; in csum_partial() 172 return (__force __wsum)result; in csum_partial() 183 return (__force __sum16)~from64to16(do_csum(buff,len)); in ip_compute_csum()
|
/linux-4.4.14/fs/qnx6/ |
D | qnx6.h | 80 return le64_to_cpu((__force __le64)n); in fs64_to_cpu() 82 return be64_to_cpu((__force __be64)n); in fs64_to_cpu() 88 return (__force __fs64)cpu_to_le64(n); in cpu_to_fs64() 90 return (__force __fs64)cpu_to_be64(n); in cpu_to_fs64() 96 return le32_to_cpu((__force __le32)n); in fs32_to_cpu() 98 return be32_to_cpu((__force __be32)n); in fs32_to_cpu() 104 return (__force __fs32)cpu_to_le32(n); in cpu_to_fs32() 106 return (__force __fs32)cpu_to_be32(n); in cpu_to_fs32() 112 return le16_to_cpu((__force __le16)n); in fs16_to_cpu() 114 return be16_to_cpu((__force __be16)n); in fs16_to_cpu() [all …]
|
/linux-4.4.14/arch/x86/lib/ |
D | csum-wrappers_64.c | 48 isum = (__force __wsum)add32_with_carry( in csum_partial_copy_from_user() 49 (__force unsigned)isum, val16); in csum_partial_copy_from_user() 56 isum = csum_partial_copy_generic((__force const void *)src, in csum_partial_copy_from_user() 100 isum = (__force __wsum)add32_with_carry( in csum_partial_copy_to_user() 101 (__force unsigned)isum, val16); in csum_partial_copy_to_user() 113 ret = csum_partial_copy_generic(src, (void __force *)dst, in csum_partial_copy_to_user() 142 rest = (__force __u64)htonl(len) + (__force __u64)htons(proto) + in csum_ipv6_magic() 143 (__force __u64)sum; in csum_ipv6_magic() 155 (__force __wsum)add32_with_carry(sum64 & 0xffffffff, sum64>>32)); in csum_ipv6_magic()
|
D | usercopy_64.c | 60 return copy_user_generic((__force void *)to, (__force void *)from, len); in copy_in_user()
|
D | csum-partial_64.c | 135 return (__force __wsum)add32_with_carry(do_csum(buff, len), in csum_partial() 136 (__force u32)sum); in csum_partial()
|
/linux-4.4.14/arch/m68k/include/asm/ |
D | raw_io.h | 33 ({ u8 __v = (*(__force volatile u8 *) (addr)); __v; }) 35 ({ u16 __v = (*(__force volatile u16 *) (addr)); __v; }) 37 ({ u32 __v = (*(__force volatile u32 *) (addr)); __v; }) 39 ({ u16 __v = le16_to_cpu(*(__force volatile __le16 *) (addr)); __v; }) 41 ({ u32 __v = le32_to_cpu(*(__force volatile __le32 *) (addr)); __v; }) 43 #define out_8(addr,b) (void)((*(__force volatile u8 *) (addr)) = (b)) 44 #define out_be16(addr,w) (void)((*(__force volatile u16 *) (addr)) = (w)) 45 #define out_be32(addr,l) (void)((*(__force volatile u32 *) (addr)) = (l)) 46 #define out_le16(addr,w) (void)((*(__force volatile __le16 *) (addr)) = cpu_to_le16(w)) 47 #define out_le32(addr,l) (void)((*(__force volatile __le32 *) (addr)) = cpu_to_le32(l)) [all …]
|
D | checksum.h | 63 return (__force __sum16)~sum; in ip_fast_csum() 68 unsigned int tmp = (__force u32)sum; in csum_fold() 77 return (__force __sum16)~sum; in csum_fold()
|
/linux-4.4.14/arch/arm/include/asm/ |
D | io.h | 65 #define __raw_readw(a) (__chk_io_ptr(a), *(volatile unsigned short __force *)(a)) 66 #define __raw_writew(v,a) ((void)(__chk_io_ptr(a), *(volatile unsigned short __force *)(a) = (… 77 : : "Q" (*(volatile u16 __force *)addr), "r" (val)); in __raw_writew() 86 : "Q" (*(volatile u16 __force *)addr)); in __raw_readw() 95 : : "Qo" (*(volatile u8 __force *)addr), "r" (val)); in __raw_writeb() 102 : : "Qo" (*(volatile u32 __force *)addr), "r" (val)); in __raw_writel() 111 : "Qo" (*(volatile u8 __force *)addr)); in __raw_readb() 121 : "Qo" (*(volatile u32 __force *)addr)); in __raw_readl() 166 #define IOMEM(x) ((void __force __iomem *)(x)) 249 #define outw(v,p) ({ __iowmb(); __raw_writew((__force __u16) \ [all …]
|
D | checksum.h | 52 return (__force __sum16)(~(__force u32)sum >> 16); in csum_fold()
|
D | uaccess.h | 446 unsigned long __temp = (__force unsigned long)(x); \ 453 unsigned long __temp = (__force unsigned long)(x); \ 538 #define __copy_from_user(to, from, n) (memcpy(to, (void __force *)from, n), 0) 539 #define __copy_to_user(to, from, n) (memcpy((void __force *)to, from, n), 0) 540 #define __clear_user(addr, n) (memset((void __force *)addr, 0, n), 0)
|
/linux-4.4.14/scripts/dtc/libfdt/ |
D | libfdt_env.h | 60 #define __force __attribute__((force)) macro 63 #define __force macro 82 return (__force uint16_t)CPU_TO_FDT16(x); in fdt16_to_cpu() 86 return (__force fdt16_t)CPU_TO_FDT16(x); in cpu_to_fdt16() 91 return (__force uint32_t)CPU_TO_FDT32(x); in fdt32_to_cpu() 95 return (__force fdt32_t)CPU_TO_FDT32(x); in cpu_to_fdt32() 100 return (__force uint64_t)CPU_TO_FDT64(x); in fdt64_to_cpu() 104 return (__force fdt64_t)CPU_TO_FDT64(x); in cpu_to_fdt64()
|
/linux-4.4.14/drivers/md/ |
D | dm-cache-block-types.h | 26 return (__force dm_oblock_t) b; in to_oblock() 31 return (__force dm_block_t) b; in from_oblock() 36 return (__force dm_cblock_t) b; in to_cblock() 41 return (__force uint32_t) b; in from_cblock() 46 return (__force dm_dblock_t) b; in to_dblock() 51 return (__force dm_block_t) b; in from_dblock()
|
/linux-4.4.14/net/ieee802154/6lowpan/ |
D | 6lowpan_i.h | 11 #define RX_CONTINUE ((__force lowpan_rx_result) 0u) 12 #define RX_DROP_UNUSABLE ((__force lowpan_rx_result) 1u) 13 #define RX_DROP ((__force lowpan_rx_result) 2u) 14 #define RX_QUEUED ((__force lowpan_rx_result) 3u) 41 return (((__force u64)a->extended_addr) >> 32) ^ in ieee802154_addr_hash() 42 (((__force u64)a->extended_addr) & 0xffffffff); in ieee802154_addr_hash() 44 return (__force u32)(a->short_addr); in ieee802154_addr_hash()
|
/linux-4.4.14/arch/blackfin/include/asm/ |
D | uaccess.h | 92 _xl = ((__force long *)&_x)[0]; \ 93 _xh = ((__force long *)&_x)[1]; \ 94 __put_user_asm(_xl, ((__force long __user *)_p)+0, );\ 95 __put_user_asm(_xh, ((__force long __user *)_p)+1, );\ 122 #define __ptr(x) ((unsigned long __force *)(x)) 150 x = (__force typeof(*(ptr)))_val; \ 181 memcpy(to, (const void __force *)from, n); in copy_from_user() 191 memcpy((void __force *)to, from, n); in copy_to_user() 208 strncpy(dst, (const char __force *)src, count); in strncpy_from_user() 228 return strnlen((const char __force *)src, n) + 1; in strnlen_user() [all …]
|
/linux-4.4.14/arch/x86/include/asm/ |
D | checksum_64.h | 27 : "r" ((__force u32)sum << 16), in csum_fold() 28 "0" ((__force u32)sum & 0xffff0000)); in csum_fold() 29 return (__force __sum16)(~(__force u32)sum >> 16); in csum_fold() 72 return (__force __sum16)sum; in ip_fast_csum() 194 return (__force __wsum)add32_with_carry((__force unsigned)csum, in csum_add() 195 (__force unsigned)addend); in csum_add()
|
D | checksum_32.h | 56 ret = csum_partial_copy_generic((__force void *)src, dst, in csum_partial_copy_from_user() 97 return (__force __sum16)sum; in ip_fast_csum() 109 : "r" ((__force u32)sum << 16), in csum_fold() 110 "0" ((__force u32)sum & 0xffff0000)); in csum_fold() 111 return (__force __sum16)(~(__force u32)sum >> 16); in csum_fold() 190 ret = csum_partial_copy_generic(src, (__force void *)dst, in csum_and_copy_to_user() 199 return (__force __wsum)-1; /* invalid checksum */ in csum_and_copy_to_user()
|
D | uaccess_64.h | 57 return copy_user_generic(dst, (__force void *)src, size); in __copy_from_user_nocheck() 90 return copy_user_generic(dst, (__force void *)src, size); in __copy_from_user_nocheck() 107 return copy_user_generic((__force void *)dst, src, size); in __copy_to_user_nocheck() 140 return copy_user_generic((__force void *)dst, src, size); in __copy_to_user_nocheck() 158 return copy_user_generic((__force void *)dst, in __copy_in_user() 159 (__force void *)src, size); in __copy_in_user() 199 return copy_user_generic((__force void *)dst, in __copy_in_user() 200 (__force void *)src, size); in __copy_in_user()
|
D | pmem.h | 43 unwritten = __copy_from_user_inatomic_nocache((void __force *) dst, in arch_memcpy_to_pmem() 111 void *vaddr = (void __force *)addr; in arch_copy_from_iter_pmem() 133 void *vaddr = (void __force *)addr; in arch_clear_pmem()
|
D | io.h | 49 :"m" (*(volatile type __force *)addr) barrier); return ret; } 54 "m" (*(volatile type __force *)addr) barrier); } 213 memset((void __force *)addr, val, count); in memset_io() 219 memcpy(dst, (const void __force *)src, count); in memcpy_fromio() 225 memcpy((void __force *)dst, src, count); in memcpy_toio()
|
D | special_insns.h | 193 asm volatile("clflush %0" : "+m" (*(volatile char __force *)__p)); in clflush() 201 "+m" (*(volatile char __force *)__p)); in clflushopt()
|
D | uaccess.h | 38 ((unsigned long __force)(addr) < user_addr_max()) 66 __chk_range_not_ok((unsigned long __force)(addr), size, limit); \ 184 (x) = (__force __typeof__(*(ptr))) __val_gu; \ 412 (x) = (__force __typeof__(*(ptr)))__gu_val; \ 521 (x) = (__force __typeof__(*(ptr)))__gue_val; \
|
/linux-4.4.14/arch/mips/include/asm/ |
D | checksum.h | 54 return __csum_partial_copy_kernel((__force void *)src, dst, in csum_partial_copy_from_user() 57 return __csum_partial_copy_from_user((__force void *)src, dst, in csum_partial_copy_from_user() 87 (__force void *)dst, in csum_and_copy_to_user() 91 (__force void *)dst, in csum_and_copy_to_user() 97 return (__force __wsum)-1; /* invalid checksum */ in csum_and_copy_to_user() 113 u32 sum = (__force u32)csum;; in csum_fold() 120 return (__force __sum16)~sum; in csum_fold() 193 : "0" ((__force unsigned long)daddr), in csum_tcpudp_nofold() 194 "r" ((__force unsigned long)saddr), in csum_tcpudp_nofold() 200 "r" ((__force unsigned long)sum)); in csum_tcpudp_nofold()
|
D | io.h | 464 __raw_readb((__force unsigned *)(addr)) in BUILDIO_MEM() 466 be16_to_cpu(__raw_readw((__force unsigned *)(addr))) in BUILDIO_MEM() 468 be32_to_cpu(__raw_readl((__force unsigned *)(addr))) in BUILDIO_MEM() 470 be64_to_cpu(__raw_readq((__force unsigned *)(addr))) in BUILDIO_MEM() 473 __raw_writeb((val), (__force unsigned *)(addr)) in BUILDIO_MEM() 475 __raw_writew(cpu_to_be16((val)), (__force unsigned *)(addr)) in BUILDIO_MEM() 477 __raw_writel(cpu_to_be32((val)), (__force unsigned *)(addr)) in BUILDIO_MEM() 479 __raw_writeq(cpu_to_be64((val)), (__force unsigned *)(addr)) in BUILDIO_MEM() 557 memset((void __force *) addr, val, count); 561 memcpy(dst, (void __force *) src, count); in memcpy_fromio() [all …]
|
/linux-4.4.14/arch/c6x/include/asm/ |
D | unaligned.h | 120 #define __get_unaligned_be(ptr) (__force typeof(*(ptr)))({ \ 132 *(u8 *)__gu_p = (__force u8)(val); \ 135 put_unaligned_le16((__force u16)(val), __gu_p); \ 138 put_unaligned_le32((__force u32)(val), __gu_p); \ 141 put_unaligned_le64((__force u64)(val), __gu_p); \ 153 *(u8 *)__gu_p = (__force u8)(val); \ 156 put_unaligned_be16((__force u16)(val), __gu_p); \ 159 put_unaligned_be32((__force u32)(val), __gu_p); \ 162 put_unaligned_be64((__force u64)(val), __gu_p); \
|
D | uaccess.h | 34 *(u8 *)to = *(u8 __force *)from; in __copy_from_user() 57 memcpy(to, (const void __force *)from, n); in __copy_from_user() 70 *(u8 __force *)to = *(u8 *)from; in __copy_to_user() 93 memcpy((void __force *)to, from, n); in __copy_to_user()
|
/linux-4.4.14/lib/ |
D | checksum.c | 112 return (__force __sum16)~do_csum(iph, ihl*4); in ip_fast_csum() 131 unsigned int sum = (__force unsigned int)wsum; in csum_partial() 138 return (__force __wsum)result; in csum_partial() 148 return (__force __sum16)~do_csum(buff, len); in ip_compute_csum() 198 unsigned long long s = (__force u32)sum; in csum_tcpudp_nofold() 200 s += (__force u32)saddr; in csum_tcpudp_nofold() 201 s += (__force u32)daddr; in csum_tcpudp_nofold() 207 return (__force __wsum)from64to32(s); in csum_tcpudp_nofold()
|
D | crc32.c | 36 # define tole(x) ((__force u32) cpu_to_le32(x)) 42 # define tobe(x) ((__force u32) cpu_to_be32(x)) 177 crc = (__force u32) __cpu_to_le32(crc); 179 crc = __le32_to_cpu((__force __le32)crc); 323 crc = (__force u32) __cpu_to_be32(crc); 325 crc = __be32_to_cpu((__force __be32)crc);
|
D | bitmap.c | 364 const char __user __force *ubuf = (const char __user __force *)buf; in __bitmap_parse() 450 return __bitmap_parse((const char __force *)ubuf, in bitmap_parse_user() 510 const char __user __force *ubuf = (const char __user __force *)buf; in __bitmap_parselist() 614 return __bitmap_parselist((const char __force *)ubuf, in bitmap_parselist_user()
|
/linux-4.4.14/drivers/clk/ti/ |
D | clkt_iclk.c | 36 r = (__force void __iomem *) in omap2_clkt_iclk_allow_idle() 37 ((__force u32)clk->enable_reg ^ (CM_AUTOIDLE ^ CM_ICLKEN)); in omap2_clkt_iclk_allow_idle() 50 r = (__force void __iomem *) in omap2_clkt_iclk_deny_idle() 51 ((__force u32)clk->enable_reg ^ (CM_AUTOIDLE ^ CM_ICLKEN)); in omap2_clkt_iclk_deny_idle() 77 r = ((__force u32)clk->enable_reg ^ (OMAP24XX_CM_FCLKEN2 ^ CM_IDLEST)); in omap2430_clk_i2chs_find_idlest() 78 *idlest_reg = (__force void __iomem *)r; in omap2430_clk_i2chs_find_idlest()
|
D | clk-3xxx.c | 68 r = (((__force u32)clk->enable_reg & ~0xf0) | 0x20); in omap3430es2_clk_ssi_find_idlest() 69 *idlest_reg = (__force void __iomem *)r; in omap3430es2_clk_ssi_find_idlest() 102 r = (((__force u32)clk->enable_reg & ~0xf0) | 0x20); in omap3430es2_clk_dss_usbhost_find_idlest() 103 *idlest_reg = (__force void __iomem *)r; in omap3430es2_clk_dss_usbhost_find_idlest() 139 r = (((__force u32)clk->enable_reg & ~0xf0) | 0x20); in omap3430es2_clk_hsotgusb_find_idlest() 140 *idlest_reg = (__force void __iomem *)r; in omap3430es2_clk_hsotgusb_find_idlest() 168 *idlest_reg = (__force void __iomem *)(clk->enable_reg); in am35xx_clk_find_idlest() 191 *other_reg = (__force void __iomem *)(clk->enable_reg); in am35xx_clk_find_companion() 221 r = (((__force u32)clk->enable_reg & ~0xf0) | 0x20); in am35xx_clk_ipss_find_idlest() 222 *idlest_reg = (__force void __iomem *)r; in am35xx_clk_ipss_find_idlest()
|
D | clkt_dflt.c | 150 r = ((__force u32)clk->enable_reg ^ (CM_FCLKEN ^ CM_ICLKEN)); in omap2_clk_dflt_find_companion() 152 *other_reg = (__force void __iomem *)r; in omap2_clk_dflt_find_companion() 176 r = (((__force u32)clk->enable_reg & ~0xf0) | 0x20); in omap2_clk_dflt_find_idlest() 177 *idlest_reg = (__force void __iomem *)r; in omap2_clk_dflt_find_idlest()
|
/linux-4.4.14/arch/x86/um/asm/ |
D | checksum.h | 52 return (__force __wsum)-1; in csum_partial_copy_from_user() 72 : "r" ((__force u32)sum << 16), in csum_fold() 73 "0" ((__force u32)sum & 0xffff0000) in csum_fold() 75 return (__force __sum16)(~(__force u32)sum >> 16); in csum_fold() 146 return (__force __sum16)sum; in ip_fast_csum()
|
D | checksum_32.h | 49 return (__force __wsum)-1; in csum_and_copy_to_user() 58 return (__force __wsum)-1; /* invalid checksum */ in csum_and_copy_to_user()
|
/linux-4.4.14/drivers/infiniband/hw/mthca/ |
D | mthca_doorbell.h | 56 __raw_writeq((__force u64) val, dest); in mthca_write64_raw() 62 __raw_writeq((__force u64) cpu_to_be64((u64) hi << 32 | lo), dest); in mthca_write64() 84 __raw_writel(((__force u32 *) &val)[0], dest); in mthca_write64_raw() 85 __raw_writel(((__force u32 *) &val)[1], dest + 4); in mthca_write64_raw() 93 hi = (__force u32) cpu_to_be32(hi); in mthca_write64() 94 lo = (__force u32) cpu_to_be32(lo); in mthca_write64()
|
D | mthca_cmd.c | 209 __raw_writel((__force u32) cpu_to_be32(in_param >> 32), ptr + offs[0]); in mthca_cmd_post_dbell() 211 __raw_writel((__force u32) cpu_to_be32(in_param & 0xfffffffful), ptr + offs[1]); in mthca_cmd_post_dbell() 213 __raw_writel((__force u32) cpu_to_be32(in_modifier), ptr + offs[2]); in mthca_cmd_post_dbell() 215 __raw_writel((__force u32) cpu_to_be32(out_param >> 32), ptr + offs[3]); in mthca_cmd_post_dbell() 217 __raw_writel((__force u32) cpu_to_be32(out_param & 0xfffffffful), ptr + offs[4]); in mthca_cmd_post_dbell() 219 __raw_writel((__force u32) cpu_to_be32(token << 16), ptr + offs[5]); in mthca_cmd_post_dbell() 221 __raw_writel((__force u32) cpu_to_be32((1 << HCR_GO_BIT) | in mthca_cmd_post_dbell() 226 __raw_writel((__force u32) 0, ptr + offs[7]); in mthca_cmd_post_dbell() 257 __raw_writel((__force u32) cpu_to_be32(in_param >> 32), dev->hcr + 0 * 4); in mthca_cmd_post_hcr() 258 __raw_writel((__force u32) cpu_to_be32(in_param & 0xfffffffful), dev->hcr + 1 * 4); in mthca_cmd_post_hcr() [all …]
|
/linux-4.4.14/arch/ia64/include/asm/sn/ |
D | io.h | 145 val = *(volatile unsigned char __force *)addr; in ___sn_readb() 156 val = *(volatile unsigned short __force *)addr; in ___sn_readw() 167 val = *(volatile unsigned int __force *)addr; in ___sn_readl() 178 val = *(volatile unsigned long __force *)addr; in ___sn_readq() 229 return *(volatile unsigned char __force *)addr; in ___sn_readb_relaxed() 235 return *(volatile unsigned short __force *)addr; in ___sn_readw_relaxed() 241 return *(volatile unsigned int __force *) addr; in ___sn_readl_relaxed() 247 return *(volatile unsigned long __force *) addr; in ___sn_readq_relaxed()
|
/linux-4.4.14/arch/m32r/include/asm/ |
D | io.h | 102 return *(volatile unsigned char __force *)addr; in _readb() 107 return *(volatile unsigned short __force *)addr; in _readw() 112 return *(volatile unsigned long __force *)addr; in _readl() 117 *(volatile unsigned char __force *)addr = b; in _writeb() 122 *(volatile unsigned short __force *)addr = w; in _writew() 127 *(volatile unsigned long __force *)addr = l; in _writel() 198 memset((void __force *) addr, val, count); in memset_io() 204 memcpy(dst, (void __force *) src, count); in memcpy_fromio() 210 memcpy((void __force *) dst, src, count); in memcpy_toio()
|
/linux-4.4.14/fs/sysv/ |
D | sysv.h | 193 return PDP_swab((__force __u32)n); in fs32_to_cpu() 195 return le32_to_cpu((__force __le32)n); in fs32_to_cpu() 197 return be32_to_cpu((__force __be32)n); in fs32_to_cpu() 203 return (__force __fs32)PDP_swab(n); in cpu_to_fs32() 205 return (__force __fs32)cpu_to_le32(n); in cpu_to_fs32() 207 return (__force __fs32)cpu_to_be32(n); in cpu_to_fs32() 224 return le16_to_cpu((__force __le16)n); in fs16_to_cpu() 226 return be16_to_cpu((__force __be16)n); in fs16_to_cpu() 232 return (__force __fs16)cpu_to_le16(n); in cpu_to_fs16() 234 return (__force __fs16)cpu_to_be16(n); in cpu_to_fs16()
|
/linux-4.4.14/arch/arm64/include/asm/ |
D | io.h | 121 #define readw_relaxed(c) ({ u16 __r = le16_to_cpu((__force __le16)__raw_readw(c)); __r; }) 122 #define readl_relaxed(c) ({ u32 __r = le32_to_cpu((__force __le32)__raw_readl(c)); __r; }) 123 #define readq_relaxed(c) ({ u64 __r = le64_to_cpu((__force __le64)__raw_readq(c)); __r; }) 126 #define writew_relaxed(v,c) ((void)__raw_writew((__force u16)cpu_to_le16(v),(c))) 127 #define writel_relaxed(v,c) ((void)__raw_writel((__force u32)cpu_to_le32(v),(c))) 128 #define writeq_relaxed(v,c) ((void)__raw_writeq((__force u64)cpu_to_le64(v),(c))) 179 #define ioread16be(p) ({ __u16 __v = be16_to_cpu((__force __be16)__raw_readw(p)); __iormb(); __v; … 180 #define ioread32be(p) ({ __u32 __v = be32_to_cpu((__force __be32)__raw_readl(p)); __iormb(); __v; … 182 #define iowrite16be(v,p) ({ __iowmb(); __raw_writew((__force __u16)cpu_to_be16(v), p); }) 183 #define iowrite32be(v,p) ({ __iowmb(); __raw_writel((__force __u32)cpu_to_be32(v), p); })
|
/linux-4.4.14/arch/metag/mm/ |
D | ioremap.c | 44 return (__force void __iomem *) phys_addr; in __ioremap() 68 return (__force void __iomem *) (offset + (char *)addr); in __ioremap() 76 if ((__force unsigned long)addr >= LINSYSCUSTOM_BASE && in __iounmap() 77 (__force unsigned long)addr < (LINSYSCUSTOM_BASE + in __iounmap() 81 p = remove_vm_area((void *)(PAGE_MASK & (unsigned long __force)addr)); in __iounmap()
|
/linux-4.4.14/arch/powerpc/lib/ |
D | checksum_wrappers_64.c | 42 csum = (__force unsigned int)sum; in csum_and_copy_from_user() 46 csum = csum_partial_copy_generic((void __force *)src, dst, in csum_and_copy_from_user() 63 return (__force __wsum)csum; in csum_and_copy_from_user() 87 csum = csum_partial_copy_generic(src, (void __force *)dst, in csum_and_copy_to_user() 100 return (__force __wsum)csum; in csum_and_copy_to_user()
|
/linux-4.4.14/arch/hexagon/lib/ |
D | checksum.c | 67 return (__force __sum16)~from64to16( in csum_tcpudp_magic() 68 (__force u64)saddr + (__force u64)daddr + in csum_tcpudp_magic() 69 (__force u64)sum + ((len + proto) << 8)); in csum_tcpudp_magic() 78 result = (__force u64)saddr + (__force u64)daddr + in csum_tcpudp_nofold() 79 (__force u64)sum + ((len + proto) << 8); in csum_tcpudp_nofold() 87 return (__force __wsum)result; in csum_tcpudp_nofold()
|
/linux-4.4.14/fs/xfs/ |
D | kmem.h | 31 #define KM_SLEEP ((__force xfs_km_flags_t)0x0001u) 32 #define KM_NOSLEEP ((__force xfs_km_flags_t)0x0002u) 33 #define KM_NOFS ((__force xfs_km_flags_t)0x0004u) 34 #define KM_MAYFAIL ((__force xfs_km_flags_t)0x0008u) 35 #define KM_ZERO ((__force xfs_km_flags_t)0x0010u)
|
/linux-4.4.14/arch/sh/include/asm/ |
D | uaccess_64.h | 62 (__force long)ptr); \ 66 (__force long)ptr); \ 70 (__force long)ptr); \ 74 (__force long)ptr); \
|
D | io.h | 28 #define __raw_writeb(v,a) (__chk_io_ptr(a), *(volatile u8 __force *)(a) = (v)) 29 #define __raw_writew(v,a) (__chk_io_ptr(a), *(volatile u16 __force *)(a) = (v)) 30 #define __raw_writel(v,a) (__chk_io_ptr(a), *(volatile u32 __force *)(a) = (v)) 31 #define __raw_writeq(v,a) (__chk_io_ptr(a), *(volatile u64 __force *)(a) = (v)) 33 #define __raw_readb(a) (__chk_io_ptr(a), *(volatile u8 __force *)(a)) 34 #define __raw_readw(a) (__chk_io_ptr(a), *(volatile u16 __force *)(a)) 35 #define __raw_readl(a) (__chk_io_ptr(a), *(volatile u32 __force *)(a)) 36 #define __raw_readq(a) (__chk_io_ptr(a), *(volatile u64 __force *)(a)) 43 #define writeb_relaxed(v,c) ((void)__raw_writeb((__force u8)ioswabb(v),c)) 44 #define writew_relaxed(v,c) ((void)__raw_writew((__force u16)ioswabw(v),c)) [all …]
|
D | uaccess.h | 12 ((unsigned long __force)(addr) < current_thread_info()->addr_limit.seg) 26 __access_ok((unsigned long __force)(addr), (size))) 63 (x) = (__force __typeof__(*(ptr)))__gu_val; \ 74 (x) = (__force __typeof__(*(ptr)))__gu_val; \ 117 return __copy_user(to, (__force void *)from, n); in __copy_from_user() 123 return __copy_user((__force void *)to, from, n); in __copy_to_user()
|
D | checksum_32.h | 58 return csum_partial_copy_generic((__force const void *)src, dst, in csum_partial_copy_from_user() 79 return (__force __sum16)sum; in csum_fold() 207 return csum_partial_copy_generic((__force const void *)src, in csum_and_copy_to_user() 213 return (__force __wsum)-1; /* invalid checksum */ in csum_and_copy_to_user()
|
/linux-4.4.14/arch/arm/mach-ixp4xx/include/mach/ |
D | io.h | 129 u32 addr = (__force u32)p; in __indirect_writel() 194 u32 addr = (__force u32)p; in __indirect_readl() 355 unsigned long port = (unsigned long __force)addr; in ioread8() 369 unsigned long port = (unsigned long __force)addr; in ioread8_rep() 383 unsigned long port = (unsigned long __force)addr; in ioread16() 388 return le16_to_cpu((__force __le16)__raw_readw(addr)); in ioread16() 398 unsigned long port = (unsigned long __force)addr; in ioread16_rep() 412 unsigned long port = (unsigned long __force)addr; in ioread32() 417 return le32_to_cpu((__force __le32)__raw_readl(addr)); in ioread32() 428 unsigned long port = (unsigned long __force)addr; in ioread32_rep() [all …]
|
/linux-4.4.14/Documentation/zh_CN/ |
D | sparse.txt | 36 PM_SUSPEND = (__force pm_request_t) 1, 37 PM_RESUME = (__force pm_request_t) 2 40 这样会使 PM_SUSPEND 和 PM_RESUME 成为位方式(bitwise)整数(使用"__force" 45 而且使用 gcc 编译的时候,所有的 __bitwise/__force 都会消失,最后在 gcc 55 #define PM_SUSPEND ((__force pm_request_t) 1) 56 #define PM_RESUME ((__force pm_request_t) 2)
|
/linux-4.4.14/arch/sparc/include/asm/ |
D | io_32.h | 59 return *(__force volatile u8 *)addr; in sbus_readb() 64 return *(__force volatile u16 *)addr; in sbus_readw() 69 return *(__force volatile u32 *)addr; in sbus_readl() 74 *(__force volatile u8 *)addr = b; in sbus_writeb() 79 *(__force volatile u16 *)addr = w; in sbus_writew() 84 *(__force volatile u32 *)addr = l; in sbus_writel()
|
D | uaccess_32.h | 204 x = (__force type) __gu_val; \ 228 x = (__force type) __gu_val; \ 246 x = (__force type) __gu_val; \ 261 x = (__force type) __gu_val; \ 317 return __copy_user(to, (__force void __user *) from, n); in copy_to_user() 324 return __copy_user(to, (__force void __user *) from, n); in __copy_to_user() 330 return __copy_user((__force void __user *) to, from, n); in copy_from_user() 337 return __copy_user((__force void __user *) to, from, n); in __copy_from_user()
|
D | checksum_32.h | 58 return (__force __wsum)ret; in csum_partial_copy_nocheck() 82 return (__force __wsum)ret; in csum_partial_copy_from_user() 111 return (__force __wsum)ret; in csum_partial_copy_to_user() 167 : "0" (sum), "1" ((__force u32)sum<<16) in csum_fold() 169 return (__force __sum16)sum; in csum_fold()
|
D | checksum_64.h | 55 return (__force __wsum) ret; in csum_partial_copy_from_user() 74 return (__force __wsum) ret; in csum_and_copy_to_user() 93 : "0" (sum), "1" ((__force u32)sum<<16) in csum_fold() 95 return (__force __sum16)sum; in csum_fold()
|
D | io_64.h | 247 insb((unsigned long __force)port, buf, count); in ioread8_rep() 251 insw((unsigned long __force)port, buf, count); in ioread16_rep() 256 insl((unsigned long __force)port, buf, count); in ioread32_rep() 261 outsb((unsigned long __force)port, buf, count); in iowrite8_rep() 266 outsw((unsigned long __force)port, buf, count); in iowrite16_rep() 271 outsl((unsigned long __force)port, buf, count); in iowrite32_rep()
|
D | uaccess_64.h | 71 __chk_range_not_ok((unsigned long __force)(addr), size, limit); \ 178 data = (__force type) __gu_val; \ 193 data = (__force type) __gu_val; \
|
/linux-4.4.14/drivers/net/ethernet/sfc/ |
D | io.h | 85 __raw_writeq((__force u64)value, efx->membase + reg); in _efx_writeq() 89 return (__force __le64)__raw_readq(efx->membase + reg); in _efx_readq() 96 __raw_writel((__force u32)value, efx->membase + reg); in _efx_writed() 100 return (__force __le32)__raw_readl(efx->membase + reg); in _efx_readd() 140 __raw_writeq((__force u64)value->u64[0], membase + addr); in efx_sram_writeq() 142 __raw_writel((__force u32)value->u32[0], membase + addr); in efx_sram_writeq() 143 __raw_writel((__force u32)value->u32[1], membase + addr + 4); in efx_sram_writeq() 188 value->u64[0] = (__force __le64)__raw_readq(membase + addr); in efx_sram_readq() 190 value->u32[0] = (__force __le32)__raw_readl(membase + addr); in efx_sram_readq() 191 value->u32[1] = (__force __le32)__raw_readl(membase + addr + 4); in efx_sram_readq()
|
D | bitfield.h | 192 (((oword).u64[0] | (oword).u64[1]) == (__force __le64) 0) 195 (((qword).u64[0]) == (__force __le64) 0) 199 == (__force __le32) 0) 202 (((qword).u32[0] | (qword).u32[1]) == (__force __le32) 0) 205 (((dword).u32[0]) == (__force __le32) 0) 208 (((oword).u64[0] & (oword).u64[1]) == ~((__force __le64) 0)) 211 ((qword).u64[0] == ~((__force __le64) 0)) 215 == ~((__force __le32) 0)) 218 (((qword).u32[0] & (qword).u32[1]) == ~((__force __le32) 0)) 221 ((dword).u32[0] == ~((__force __le32) 0))
|
/linux-4.4.14/drivers/staging/rdma/amso1100/ |
D | c2.c | 131 __raw_writeq((__force u64) cpu_to_be64(0x1122334455667788ULL), in c2_tx_ring_alloc() 134 __raw_writew((__force u16) cpu_to_be16(TXP_HTXD_UNINIT), in c2_tx_ring_alloc() 180 __raw_writew((__force u16) cpu_to_be16(RXP_HRXD_OK), in c2_rx_ring_alloc() 184 __raw_writeq((__force u64) cpu_to_be64(0x99aabbccddeeffULL), in c2_rx_ring_alloc() 186 __raw_writew((__force u16) cpu_to_be16(RXP_HRXD_UNINIT), in c2_rx_ring_alloc() 240 __raw_writew((__force u16) cpu_to_be16((u16) maplen - sizeof(*rxp_hdr)), in c2_rx_alloc() 242 __raw_writeq((__force u64) cpu_to_be64(mapaddr), elem->hw_desc + C2_RXP_ADDR); in c2_rx_alloc() 243 __raw_writew((__force u16) cpu_to_be16(RXP_HRXD_READY), in c2_rx_alloc() 292 __raw_writeq((__force u64) cpu_to_be64(0x99aabbccddeeffULL), in c2_rx_clean() 294 __raw_writew((__force u16) cpu_to_be16(RXP_HRXD_UNINIT), in c2_rx_clean() [all …]
|
D | c2_rnic.c | 509 be32_to_cpu((__force __be32) readl(mmio_regs + C2_REGS_Q0_QSIZE)), in c2_rnic_init() 510 be32_to_cpu((__force __be32) readl(mmio_regs + C2_REGS_Q0_MSGSIZE)), in c2_rnic_init() 512 be32_to_cpu((__force __be32) readl(mmio_regs + C2_REGS_Q0_POOLSTART)), in c2_rnic_init() 514 be32_to_cpu((__force __be32) readl(mmio_regs + C2_REGS_Q0_SHARED)), in c2_rnic_init() 518 qsize = be32_to_cpu((__force __be32) readl(mmio_regs + C2_REGS_Q1_QSIZE)); in c2_rnic_init() 519 msgsize = be32_to_cpu((__force __be32) readl(mmio_regs + C2_REGS_Q1_MSGSIZE)); in c2_rnic_init() 535 be32_to_cpu((__force __be32) readl(mmio_regs + C2_REGS_Q1_SHARED)), in c2_rnic_init() 539 qsize = be32_to_cpu((__force __be32) readl(mmio_regs + C2_REGS_Q2_QSIZE)); in c2_rnic_init() 540 msgsize = be32_to_cpu((__force __be32) readl(mmio_regs + C2_REGS_Q2_MSGSIZE)); in c2_rnic_init() 556 be32_to_cpu((__force __be32) readl(mmio_regs + C2_REGS_Q2_SHARED)), in c2_rnic_init()
|
D | c2_alloc.c | 117 return (__force __be16 *) &(head->shared_ptr[mqsp]); in c2_alloc_mqsp() 131 *mqsp = (__force __be16) head->head; in c2_free_mqsp()
|
/linux-4.4.14/net/ipv4/ |
D | tcp_offload.c | 131 newcheck = ~csum_fold((__force __wsum)((__force u32)th->check + in tcp_gso_segment() 132 (__force u32)delta)); in tcp_gso_segment() 170 th->check = ~csum_fold((__force __wsum)((__force u32)th->check + in tcp_gso_segment() 171 (__force u32)delta)); in tcp_gso_segment() 237 flush |= (__force int)(flags & TCP_FLAG_CWR); in tcp_gro_receive() 238 flush |= (__force int)((flags ^ tcp_flag_word(th2)) & in tcp_gro_receive() 240 flush |= (__force int)(th->ack_seq ^ th2->ack_seq); in tcp_gro_receive() 261 flush |= (__force int)(flags & (TCP_FLAG_URG | TCP_FLAG_PSH | in tcp_gro_receive()
|
/linux-4.4.14/include/uapi/asm-generic/ |
D | signal-defs.h | 23 #define SIG_DFL ((__force __sighandler_t)0) /* default signal handling */ 24 #define SIG_IGN ((__force __sighandler_t)1) /* ignore signal */ 25 #define SIG_ERR ((__force __sighandler_t)-1) /* error return from signal */
|
/linux-4.4.14/drivers/usb/host/ |
D | ohci.h | 594 (__force __hc16)cpu_to_be16(x) : in cpu_to_hc16() 595 (__force __hc16)cpu_to_le16(x); in cpu_to_hc16() 608 (__force __hc32)cpu_to_be32(x) : in cpu_to_hc32() 609 (__force __hc32)cpu_to_le32(x); in cpu_to_hc32() 623 be16_to_cpu((__force __be16)x) : in hc16_to_cpu() 624 le16_to_cpu((__force __le16)x); in hc16_to_cpu() 630 be16_to_cpup((__force __be16 *)x) : in hc16_to_cpup() 631 le16_to_cpup((__force __le16 *)x); in hc16_to_cpup() 637 be32_to_cpu((__force __be32)x) : in hc32_to_cpu() 638 le32_to_cpu((__force __le32)x); in hc32_to_cpu() [all …]
|
D | ehci.h | 728 #define readl_be(addr) __raw_readl((__force unsigned *)addr) 729 #define writel_be(val, addr) __raw_writel(val, (__force unsigned *)addr) 811 ? (__force __hc32)cpu_to_be32(x) in cpu_to_hc32() 812 : (__force __hc32)cpu_to_le32(x); in cpu_to_hc32() 819 ? be32_to_cpu((__force __be32)x) in hc32_to_cpu() 820 : le32_to_cpu((__force __le32)x); in hc32_to_cpu() 826 ? be32_to_cpup((__force __be32 *)x) in hc32_to_cpup() 827 : le32_to_cpup((__force __le32 *)x); in hc32_to_cpup()
|
/linux-4.4.14/arch/parisc/include/asm/ |
D | io.h | 147 return (*(volatile unsigned char __force *) (addr)); in __raw_readb() 151 return *(volatile unsigned short __force *) addr; in __raw_readw() 155 return *(volatile unsigned int __force *) addr; in __raw_readl() 159 return *(volatile unsigned long long __force *) addr; in __raw_readq() 164 *(volatile unsigned char __force *) addr = b; in __raw_writeb() 168 *(volatile unsigned short __force *) addr = b; in __raw_writew() 172 *(volatile unsigned int __force *) addr = b; in __raw_writel() 176 *(volatile unsigned long long __force *) addr = b; in __raw_writeq()
|
D | checksum.h | 70 return (__force __sum16)sum; in ip_fast_csum() 78 u32 sum = (__force u32)csum; in csum_fold() 84 return (__force __sum16)(~sum >> 16); in csum_fold() 203 return (__force __wsum)-1; in csum_and_copy_to_user()
|
/linux-4.4.14/init/ |
D | noinitramfs.c | 32 err = sys_mkdir((const char __user __force *) "/dev", 0755); in default_rootfs() 36 err = sys_mknod((const char __user __force *) "/dev/console", in default_rootfs() 42 err = sys_mkdir((const char __user __force *) "/root", 0700); in default_rootfs()
|
/linux-4.4.14/net/xfrm/ |
D | xfrm_hash.h | 21 u32 sum = (__force u32)daddr->a4 + (__force u32)saddr->a4; in __xfrm4_daddr_saddr_hash() 22 return ntohl((__force __be32)sum); in __xfrm4_daddr_saddr_hash() 69 initval = (__force u32)(addr->a6[pdw] & mask); in __xfrm6_pref_hash() 72 return jhash2((__force u32 *)addr->a6, pdw, initval); in __xfrm6_pref_hash() 122 unsigned int h = (__force u32)spi ^ proto; in __xfrm_spi_hash()
|
/linux-4.4.14/drivers/misc/mic/scif/ |
D | scif_rb.c | 57 memcpy_toio((void __iomem __force *)header, msg, size1); in memcpy_torb() 58 memcpy_toio((void __iomem __force *)rb->rb_base, in memcpy_torb() 61 memcpy_toio((void __iomem __force *)header, msg, size); in memcpy_torb() 75 memcpy_fromio(msg, (void __iomem __force *)header, size1); in memcpy_fromrb() 77 (void __iomem __force *)rb->rb_base, size2); in memcpy_fromrb() 79 memcpy_fromio(msg, (void __iomem __force *)header, size); in memcpy_fromrb()
|
/linux-4.4.14/arch/avr32/include/asm/ |
D | io.h | 44 *(volatile u8 __force *)addr = v; in __raw_writeb() 48 *(volatile u16 __force *)addr = v; in __raw_writew() 52 *(volatile u32 __force *)addr = v; in __raw_writel() 57 return *(const volatile u8 __force *)addr; in __raw_readb() 61 return *(const volatile u16 __force *)addr; in __raw_readw() 65 return *(const volatile u32 __force *)addr; in __raw_readl() 256 memcpy(to, (const void __force *)from, count); 262 memcpy((void __force *)to, from, count); in memcpy_toio() 268 memset((void __force *)addr, val, count); in memset_io()
|
D | checksum.h | 54 return csum_partial_copy_generic((const void __force *)src, dst, len, in csum_partial_copy_from_user() 91 return (__force __sum16)sum; in ip_fast_csum() 110 return (__force __sum16)~sum; in csum_fold()
|
D | uaccess.h | 83 return __copy_user((void __force *)to, from, n); in __copy_to_user() 89 return __copy_user(to, (const void __force *)from, n); in __copy_from_user() 198 x = (__force typeof(*(ptr)))__gu_val; \ 229 x = (__force typeof(*(ptr)))__gu_val; \
|
/linux-4.4.14/arch/microblaze/include/asm/ |
D | io.h | 50 #define out_be32(a, v) __raw_writel((v), (void __iomem __force *)(a)) 53 #define in_be32(a) __raw_readl((const void __iomem __force *)(a)) 56 #define writel_be(v, a) out_be32((__force unsigned *)a, v) 57 #define readl_be(a) in_be32((__force unsigned *)a)
|
D | uaccess.h | 102 type ? "WRITE" : "READ ", (__force u32)addr, (u32)size, in access_ok() 108 type ? "WRITE" : "READ ", (__force u32)addr, (u32)size, in access_ok() 224 x = (__force typeof(*(ptr)))__gu_val; \ 246 x = (__force __typeof__(*(ptr))) __gu_val; \ 368 __copy_tofrom_user((__force void __user *)(to), \ 384 (__force const void __user *)(from), (n))
|
/linux-4.4.14/drivers/media/pci/saa7164/ |
D | saa7164-bus.c | 229 msg->size = (__force u16)cpu_to_le16(msg->size); in saa7164_bus_set() 230 msg->command = (__force u32)cpu_to_le32(msg->command); in saa7164_bus_set() 231 msg->controlselector = (__force u16)cpu_to_le16(msg->controlselector); in saa7164_bus_set() 297 msg->size = le16_to_cpu((__force __le16)msg->size); in saa7164_bus_set() 298 msg->command = le32_to_cpu((__force __le32)msg->command); in saa7164_bus_set() 299 msg->controlselector = le16_to_cpu((__force __le16)msg->controlselector); in saa7164_bus_set() 393 msg_tmp.size = le16_to_cpu((__force __le16)msg_tmp.size); in saa7164_bus_get() 394 msg_tmp.command = le32_to_cpu((__force __le32)msg_tmp.command); in saa7164_bus_get() 395 msg_tmp.controlselector = le16_to_cpu((__force __le16)msg_tmp.controlselector); in saa7164_bus_get() 478 msg->size = le16_to_cpu((__force __le16)msg->size); in saa7164_bus_get() [all …]
|
/linux-4.4.14/arch/s390/kernel/ |
D | compat_signal.c | 147 to->si_addr = (void __force __user *) in copy_siginfo_from_user32() 398 sc.sregs = (__u32)(unsigned long __force) &frame->sregs; in setup_frame32() 410 if (__put_user(regs->gprs[2], (int __force __user *) &frame->signo)) in setup_frame32() 420 restorer = (unsigned long __force) in setup_frame32() 427 restorer = (unsigned long __force) svc | PSW32_ADDR_AMODE; in setup_frame32() 432 regs->gprs[15] = (__force __u64) frame; in setup_frame32() 437 regs->psw.addr = (__force __u64) ksig->ka.sa.sa_handler; in setup_frame32() 440 regs->gprs[3] = (__force __u64) &frame->sc; in setup_frame32() 482 if (__put_user(regs->gprs[15], (unsigned int __force __user *) frame)) in setup_rt_frame32() 488 restorer = (unsigned long __force) in setup_rt_frame32() [all …]
|
/linux-4.4.14/drivers/block/rsxx/ |
D | config.c | 59 hdr->version = be32_to_cpu((__force __be32) hdr->version); in config_hdr_be_to_cpu() 60 hdr->crc = be32_to_cpu((__force __be32) hdr->crc); in config_hdr_be_to_cpu() 65 hdr->version = (__force u32) cpu_to_be32(hdr->version); in config_hdr_cpu_to_be() 66 hdr->crc = (__force u32) cpu_to_be32(hdr->crc); in config_hdr_cpu_to_be() 84 data[i] = le32_to_cpu((__force __le32) data[i]); in config_data_le_to_cpu() 93 data[i] = (__force u32) cpu_to_le32(data[i]); in config_data_cpu_to_le()
|
/linux-4.4.14/arch/frv/lib/ |
D | checksum.c | 112 result += (__force u32)sum; in csum_partial() 113 if ((__force u32)sum > result) in csum_partial() 115 return (__force __wsum)result; in csum_partial() 126 return (__force __sum16)~do_csum(buff, len); in ip_compute_csum()
|
/linux-4.4.14/kernel/sched/ |
D | cputime.c | 148 task_group_account_field(p, index, (__force u64) cputime); in account_user_time() 173 cpustat[CPUTIME_NICE] += (__force u64) cputime; in account_guest_time() 174 cpustat[CPUTIME_GUEST_NICE] += (__force u64) cputime; in account_guest_time() 176 cpustat[CPUTIME_USER] += (__force u64) cputime; in account_guest_time() 177 cpustat[CPUTIME_GUEST] += (__force u64) cputime; in account_guest_time() 198 task_group_account_field(p, index, (__force u64) cputime); in __account_system_time() 239 cpustat[CPUTIME_STEAL] += (__force u64) cputime; in account_steal_time() 252 cpustat[CPUTIME_IOWAIT] += (__force u64) cputime; in account_idle_time() 254 cpustat[CPUTIME_IDLE] += (__force u64) cputime; in account_idle_time() 343 u64 cputime = (__force u64) cputime_one_jiffy; in irqtime_account_process_tick() [all …]
|
/linux-4.4.14/arch/metag/include/asm/ |
D | uaccess.h | 115 retval = __put_user_asm_b((__force unsigned int)x, ptr);\ 118 retval = __put_user_asm_w((__force unsigned int)x, ptr);\ 121 retval = __put_user_asm_d((__force unsigned int)x, ptr);\ 124 retval = __put_user_asm_l((__force unsigned long long)x,\ 143 (x) = (__force __typeof__(*(ptr)))__gu_val; \ 153 (x) = (__force __typeof__(*(ptr)))__gu_val; \
|
D | checksum.h | 45 u32 sum = (__force u32)csum; in csum_fold() 48 return (__force __sum16)~sum; in csum_fold()
|
/linux-4.4.14/arch/frv/include/asm/ |
D | uaccess.h | 25 #define __ptr(x) ((unsigned long __force *)(x)) 184 (x) = *(__force __typeof__(*(ptr)) *) &__gu_val; \ 190 (x) = *(__force __typeof__(*(ptr)) *) &__gu_val; \ 196 (x) = *(__force __typeof__(*(ptr)) *) &__gu_val; \ 202 (x) = *(__force __typeof__(*(ptr)) *) &__gu_val; \ 261 #define ____force(x) (__force void *)(void __user *)(x)
|
D | cmpxchg.h | 132 case 4: __xg_orig = (__force __typeof__(*ptr)) \ 133 __cmpxchg_32((__force uint32_t *)__xg_ptr, \ 134 (__force uint32_t)__xg_test, \ 135 (__force uint32_t)__xg_new); break; \
|
D | checksum.h | 81 return (__force __sum16)~sum; in ip_fast_csum() 100 return (__force __sum16)~sum; in csum_fold() 177 return (__force __sum16)~sum; in csum_ipv6_magic()
|
D | io.h | 119 memset((void __force *) addr, val, count); in memset_io() 124 memcpy(dst, (void __force *) src, count); in memcpy_fromio() 129 memcpy((void __force *) dst, src, count); in memcpy_toio() 195 return __builtin_read8((__force void volatile __iomem *) addr); in readb() 200 uint16_t ret = __builtin_read16((__force void volatile __iomem *)addr); in readw() 209 uint32_t ret = __builtin_read32((__force void volatile __iomem *)addr); in readl()
|
/linux-4.4.14/arch/cris/include/asm/ |
D | io.h | 73 return *(volatile unsigned char __force *) addr; in readb() 80 return *(volatile unsigned short __force *) addr; in readw() 87 return *(volatile unsigned int __force *) addr; in readl() 101 *(volatile unsigned char __force *) addr = b; in writeb() 108 *(volatile unsigned short __force *) addr = b; in writew() 115 *(volatile unsigned int __force *) addr = b; in writel()
|
D | checksum.h | 39 u32 sum = (__force u32)csum; in csum_fold() 42 return (__force __sum16)~sum; in csum_fold()
|
/linux-4.4.14/arch/ia64/include/asm/ |
D | io.h | 322 return *(volatile unsigned char __force *)addr; in ___ia64_readb() 328 return *(volatile unsigned short __force *)addr; in ___ia64_readw() 334 return *(volatile unsigned int __force *) addr; in ___ia64_readl() 340 return *(volatile unsigned long __force *) addr; in ___ia64_readq() 346 *(volatile unsigned char __force *) addr = val; in __writeb() 352 *(volatile unsigned short __force *) addr = val; in __writew() 358 *(volatile unsigned int __force *) addr = val; in __writel() 364 *(volatile unsigned long __force *) addr = val; in __writeq()
|
D | uaccess.h | 175 (__force unsigned long) (val)); \ 201 (x) = (__force __typeof__(*(__gu_ptr))) __gu_val; \ 244 return __copy_user(to, (__force void __user *) from, count); in __copy_to_user() 250 return __copy_user((__force void __user *) to, from, count); in __copy_from_user() 262 __cu_len = __copy_user(__cu_to, (__force void __user *) __cu_from, __cu_len); \ 274 __cu_len = __copy_user((__force void __user *) __cu_to, __cu_from, __cu_len); \
|
D | checksum.h | 67 u32 sum = (__force u32)csum; in csum_fold() 70 return (__force __sum16)~sum; in csum_fold()
|
/linux-4.4.14/arch/arm/plat-samsung/include/plat/ |
D | gpio-cfg.h | 132 #define S3C_GPIO_PULL_NONE ((__force samsung_gpio_pull_t)0x00) 133 #define S3C_GPIO_PULL_DOWN ((__force samsung_gpio_pull_t)0x01) 134 #define S3C_GPIO_PULL_UP ((__force samsung_gpio_pull_t)0x02)
|
/linux-4.4.14/net/rds/ |
D | tcp_connect.c | 90 src.sin_addr.s_addr = (__force u32)conn->c_laddr; in rds_tcp_conn_connect() 91 src.sin_port = (__force u16)htons(0); in rds_tcp_conn_connect() 101 dest.sin_addr.s_addr = (__force u32)conn->c_faddr; in rds_tcp_conn_connect() 102 dest.sin_port = (__force u16)htons(RDS_TCP_PORT); in rds_tcp_conn_connect()
|
/linux-4.4.14/arch/arc/mm/ |
D | ioremap.c | 76 vunmap((void __force *)vaddr); in ioremap_prot() 86 if (addr >= (void __force __iomem *)ARC_UNCACHED_ADDR_SPACE) in iounmap() 89 vfree((void *)(PAGE_MASK & (unsigned long __force)addr)); in iounmap()
|
/linux-4.4.14/mm/ |
D | maccess.c | 34 (__force const void __user *)src, size); in __probe_kernel_read() 61 ret = __copy_to_user_inatomic((__force void __user *)dst, src, size); in __probe_kernel_write() 100 (const void __user __force *)src++, 1); in strncpy_from_unsafe()
|
D | early_ioremap.c | 218 return (__force void *)__early_ioremap(phys_addr, size, in early_memremap() 225 return (__force void *)__early_ioremap(phys_addr, size, FIXMAP_PAGE_RO); in early_memremap_ro() 255 return (__force void __iomem *)phys_addr; in early_ioremap() 279 early_iounmap((__force void __iomem *)addr, size); in early_memunmap()
|
/linux-4.4.14/sound/oss/ |
D | sound_config.h | 115 if (OPEN_READ == (__force int)FMODE_READ && in translate_mode() 116 OPEN_WRITE == (__force int)FMODE_WRITE) in translate_mode() 117 return (__force int)(file->f_mode & (FMODE_READ | FMODE_WRITE)); in translate_mode()
|
/linux-4.4.14/arch/powerpc/kvm/ |
D | book3s_pr_papr.c | 97 pte[0] = be64_to_cpu((__force __be64)pte[0]); in kvmppc_h_pr_remove() 98 pte[1] = be64_to_cpu((__force __be64)pte[1]); in kvmppc_h_pr_remove() 175 pte[0] = be64_to_cpu((__force __be64)pte[0]); in kvmppc_h_pr_bulk_remove() 176 pte[1] = be64_to_cpu((__force __be64)pte[1]); in kvmppc_h_pr_bulk_remove() 215 pte[0] = be64_to_cpu((__force __be64)pte[0]); in kvmppc_h_pr_protect() 216 pte[1] = be64_to_cpu((__force __be64)pte[1]); in kvmppc_h_pr_protect() 235 pte[0] = (__force u64)cpu_to_be64(pte[0]); in kvmppc_h_pr_protect() 236 pte[1] = (__force u64)cpu_to_be64(pte[1]); in kvmppc_h_pr_protect()
|
/linux-4.4.14/drivers/media/usb/as102/ |
D | as10x_cmd.c | 124 preq->body.set_tune.req.args.freq = (__force __u32)cpu_to_le32(ptune->freq); in as10x_cmd_set_tune() 202 le16_to_cpu((__force __le16)prsp->body.get_tune_status.rsp.sts.signal_strength); in as10x_cmd_get_tune_status() 203 pstatus->PER = le16_to_cpu((__force __le16)prsp->body.get_tune_status.rsp.sts.PER); in as10x_cmd_get_tune_status() 204 pstatus->BER = le16_to_cpu((__force __le16)prsp->body.get_tune_status.rsp.sts.BER); in as10x_cmd_get_tune_status() 262 ptps->cell_ID = le16_to_cpu((__force __le16)prsp->body.get_tps.rsp.tps.cell_ID); in as10x_cmd_get_tps() 313 le32_to_cpu((__force __le32)prsp->body.get_demod_stats.rsp.stats.frame_count); in as10x_cmd_get_demod_stats() 315 le32_to_cpu((__force __le32)prsp->body.get_demod_stats.rsp.stats.bad_frame_count); in as10x_cmd_get_demod_stats() 317 le32_to_cpu((__force __le32)prsp->body.get_demod_stats.rsp.stats.bytes_fixed_by_rs); in as10x_cmd_get_demod_stats() 319 le16_to_cpu((__force __le16)prsp->body.get_demod_stats.rsp.stats.mer); in as10x_cmd_get_demod_stats()
|
/linux-4.4.14/arch/x86/mm/ |
D | ioremap.c | 112 return (__force void __iomem *)phys_to_virt(phys_addr); in __ioremap_caller() 339 if ((void __force *)addr <= high_memory) in iounmap() 347 if ((void __force *)addr >= phys_to_virt(ISA_START_ADDRESS) && in iounmap() 348 (void __force *)addr < phys_to_virt(ISA_END_ADDRESS)) in iounmap() 352 (PAGE_MASK & (unsigned long __force)addr); in iounmap() 361 p = find_vm_area((void __force *)addr); in iounmap() 372 o = remove_vm_area((void __force *)addr); in iounmap()
|
/linux-4.4.14/arch/metag/kernel/ |
D | sys_metag.c | 59 if (!((__force unsigned int)addr >= LINCORE_BASE)) in sys_metag_setglobalbit() 64 metag_data_cache_flush((__force void *)addr, sizeof(mask)); in sys_metag_setglobalbit() 72 metag_data_cache_flush((__force void *)addr, sizeof(mask)); in sys_metag_setglobalbit() 104 return (__force void *)current->thread.tls_ptr; in sys_metag_get_tls()
|
/linux-4.4.14/tools/include/linux/ |
D | err.h | 39 static inline long __must_check PTR_ERR(__force const void *ptr) in PTR_ERR() 44 static inline bool __must_check IS_ERR(__force const void *ptr) in IS_ERR()
|
D | compiler.h | 26 #ifndef __force 27 # define __force macro
|
/linux-4.4.14/drivers/ssb/ |
D | host_soc.c | 65 *buf = (__force __le16)__raw_readw(addr); in ssb_host_soc_block_read() 76 *buf = (__force __le32)__raw_readl(addr); in ssb_host_soc_block_read() 138 __raw_writew((__force u16)(*buf), addr); in ssb_host_soc_block_write() 149 __raw_writel((__force u32)(*buf), addr); in ssb_host_soc_block_write()
|
/linux-4.4.14/arch/um/kernel/skas/ |
D | uaccess.c | 145 memcpy(to, (__force void*)from, n); in __copy_from_user() 165 memcpy((__force void *) to, from, n); in __copy_to_user() 193 strncpy(dst, (__force void *) src, count); in __strncpy_from_user() 214 memset((__force void*)mem, 0, len); in __clear_user() 239 return strnlen((__force char*)str, len) + 1; in __strnlen_user()
|
/linux-4.4.14/drivers/net/wireless/ath/wil6210/ |
D | wil_crash_dump.c | 77 data = (void * __force)wil->csr + HOSTADDR(map->host); in wil_fw_copy_crash_dump() 84 wil_memcpy_fromio_32((void * __force)(dest + offset), in wil_fw_copy_crash_dump() 85 (const void __iomem * __force)data, len); in wil_fw_copy_crash_dump()
|
/linux-4.4.14/arch/metag/lib/ |
D | checksum.c | 118 unsigned int sum = (__force unsigned int)wsum; in csum_partial() 125 return (__force __wsum)result; in csum_partial() 134 return (__force __sum16)~do_csum(buff, len); in ip_compute_csum()
|
/linux-4.4.14/drivers/pci/host/ |
D | pcie-hisi.c | 61 *val = *(u8 __force *) walker; in hisi_pcie_cfg_read() 63 *val = *(u16 __force *) walker; in hisi_pcie_cfg_read() 87 *(u16 __force *) walker = val; in hisi_pcie_cfg_write() 91 *(u8 __force *) walker = val; in hisi_pcie_cfg_write()
|
/linux-4.4.14/net/netfilter/ |
D | nft_byteorder.c | 46 d[i].u32 = ntohl((__force __be32)s[i].u32); in nft_byteorder_eval() 50 d[i].u32 = (__force __u32)htonl(s[i].u32); in nft_byteorder_eval() 58 d[i].u16 = ntohs((__force __be16)s[i].u16); in nft_byteorder_eval() 62 d[i].u16 = (__force __u16)htons(s[i].u16); in nft_byteorder_eval()
|
/linux-4.4.14/Documentation/ |
D | sparse.txt | 13 PM_SUSPEND = (__force pm_request_t) 1, 14 PM_RESUME = (__force pm_request_t) 2 17 which makes PM_SUSPEND and PM_RESUME "bitwise" integers (the "__force" is 23 And with gcc, all the __bitwise/__force stuff goes away, and it all ends 33 #define PM_SUSPEND ((__force pm_request_t) 1) 34 #define PM_RESUME ((__force pm_request_t) 2)
|
/linux-4.4.14/fs/logfs/ |
D | logfs.h | 97 #define LEVEL(level) ((__force level_t)(level)) 98 #define GC_LEVEL(gc_level) ((__force gc_level_t)(gc_level)) 101 (__force level_t)((__force u8)(level) - 1) ) 695 u8 level = (__force u8)__level; in shrink_level() 699 return (__force level_t)level; in shrink_level() 704 u8 level = (__force u8)__level; in expand_level() 710 return (__force gc_level_t)level; in expand_level() 715 level = shrink_level((__force gc_level_t)level); in logfs_block_shift() 716 return (__force int)level * (sb->s_blocksize_bits - 3); in logfs_block_shift() 727 return logfs_super(sb)->s_area[(__force u8)gc_level]; in get_area()
|
/linux-4.4.14/include/linux/mlx5/ |
D | doorbell.h | 72 __raw_writel((__force u32) val[0], dest); in mlx5_write64() 73 __raw_writel((__force u32) val[1], dest + 4); in mlx5_write64()
|
/linux-4.4.14/include/linux/mlx4/ |
D | doorbell.h | 79 __raw_writel((__force u32) val[0], dest); in mlx4_write64() 80 __raw_writel((__force u32) val[1], dest + 4); in mlx4_write64()
|
/linux-4.4.14/arch/xtensa/include/asm/ |
D | checksum.h | 61 return csum_partial_copy_generic((__force const void *)src, dst, in csum_partial_copy_from_user() 83 return (__force __sum16)sum; in csum_fold() 254 return (__force __wsum)-1; /* invalid checksum */ in csum_and_copy_to_user()
|
/linux-4.4.14/arch/tile/include/asm/ |
D | futex.h | 78 struct __get_user gu = FN((u32 __force *)uaddr, lock, oparg); \ 91 struct __get_user gu = __atomic_cmpxchg((u32 __force *)uaddr, \ 106 lock = __atomic_hashed_lock((int __force *)uaddr)
|
/linux-4.4.14/net/netfilter/ipset/ |
D | pfxlen.c | 150 {.ip6 = { (__force __be32)a, (__force __be32)b, \ 151 (__force __be32)c, (__force __be32)d, \
|
/linux-4.4.14/drivers/dma/ |
D | fsldma.h | 231 be##width##_to_cpu((__force __be##width)(v##width)d) : \ 232 le##width##_to_cpu((__force __le##width)(v##width)d)) 235 (__force v##width)cpu_to_be##width(c) : \ 236 (__force v##width)cpu_to_le##width(c))
|
/linux-4.4.14/drivers/staging/rdma/ehca/ |
D | hcp_phyp.h | 72 return *(volatile u64 __force *)addr; in hipz_galpa_load() 78 *(volatile u64 __force *)addr = value; in hipz_galpa_store()
|
/linux-4.4.14/drivers/bcma/ |
D | host_soc.c | 71 *buf = (__force __le16)__raw_readw(addr); in bcma_host_soc_block_read() 82 *buf = (__force __le32)__raw_readl(addr); in bcma_host_soc_block_read() 115 __raw_writew((__force u16)(*buf), addr); in bcma_host_soc_block_write() 126 __raw_writel((__force u32)(*buf), addr); in bcma_host_soc_block_write()
|
/linux-4.4.14/samples/hw_breakpoint/ |
D | data_breakpoint.c | 64 if (IS_ERR((void __force *)sample_hbp)) { in hw_break_module_init() 65 ret = PTR_ERR((void __force *)sample_hbp); in hw_break_module_init()
|
/linux-4.4.14/arch/tile/gxio/ |
D | usb_host.c | 54 (void __force *)iorpc_ioremap(fd, 0, HV_USB_HOST_MMIO_SIZE); in gxio_usb_host_init() 68 iounmap((void __force __iomem *)(context->mmio_base)); in gxio_usb_host_destroy()
|
D | uart.c | 45 context->mmio_base = (void __force *) in gxio_uart_init() 61 iounmap((void __force __iomem *)(context->mmio_base)); in gxio_uart_destroy()
|
D | mpipe.c | 56 context->mmio_cfg_base = (void __force *) in gxio_mpipe_init() 62 context->mmio_fast_base = (void __force *) in gxio_mpipe_init() 77 iounmap((void __force __iomem *)(context->mmio_cfg_base)); in gxio_mpipe_init() 88 iounmap((void __force __iomem *)(context->mmio_cfg_base)); in gxio_mpipe_destroy() 89 iounmap((void __force __iomem *)(context->mmio_fast_base)); in gxio_mpipe_destroy()
|
/linux-4.4.14/sound/core/ |
D | memory.c | 41 return copy_to_user(dst, (const void __force*)src, count) ? -EFAULT : 0; in copy_to_user_fromio() 74 return copy_from_user((void __force *)dst, src, count) ? -EFAULT : 0; in copy_from_user_toio()
|
/linux-4.4.14/arch/avr32/mach-at32ap/ |
D | sdramc.h | 74 __raw_readl((void __iomem __force *)SDRAMC_BASE + SDRAMC_##reg) 76 __raw_writel(value, (void __iomem __force *)SDRAMC_BASE + SDRAMC_##reg)
|
D | hmatrix.c | 18 __raw_writel(value, (void __iomem __force *)(HMATRIX_BASE + offset)); in __hmatrix_write_reg() 23 return __raw_readl((void __iomem __force *)(HMATRIX_BASE + offset)); in __hmatrix_read_reg()
|
D | pm.h | 108 __raw_readl((void __iomem __force *)PM_BASE + PM_##reg) 110 __raw_writel((value), (void __iomem __force *)PM_BASE + PM_##reg)
|
/linux-4.4.14/block/ |
D | t10-pi.c | 31 static const __be16 APP_ESCAPE = (__force __be16) 0xffff; 32 static const __be32 REF_ESCAPE = (__force __be32) 0xffffffff; 41 return (__force __be16)ip_compute_csum(data, len); in t10_pi_ip_fn()
|
/linux-4.4.14/drivers/video/fbdev/ |
D | hecubafb.c | 105 unsigned char *buf = (unsigned char __force *)par->info->screen_base; in hecubafb_dpy_update() 187 dst = (void __force *) (info->screen_base + p); in hecubafb_write() 242 info->screen_base = (char __force __iomem *)videomemory; in hecubafb_probe() 290 vfree((void __force *)info->screen_base); in hecubafb_remove()
|
/linux-4.4.14/arch/powerpc/kernel/ |
D | io.c | 129 void *p = (void __force *)addr; in _memset_io() 157 void *vsrc = (void __force *) src; in _memcpy_fromio() 187 void *vdest = (void __force *) dest; in _memcpy_toio()
|
/linux-4.4.14/net/ipv6/netfilter/ |
D | ip6t_NPT.c | 66 if ((__force __sum16)addr->s6_addr16[idx] != in ip6t_npt_map_pfx() 74 sum = ~csum_fold(csum_add(csum_unfold((__force __sum16)addr->s6_addr16[idx]), in ip6t_npt_map_pfx() 78 *(__force __sum16 *)&addr->s6_addr16[idx] = sum; in ip6t_npt_map_pfx()
|
/linux-4.4.14/sound/core/oss/ |
D | pcm_plugin.c | 281 snd_mask_set(&formats, (__force int)SNDRV_PCM_FORMAT_MU_LAW); in snd_pcm_plug_formats() 287 return snd_mask_test(&formats, (__force int)format); in snd_pcm_plug_formats() 316 if (snd_mask_test(format_mask, (__force int)format)) in snd_pcm_plug_slave_format() 319 return (__force snd_pcm_format_t)-EINVAL; in snd_pcm_plug_slave_format() 325 snd_pcm_format_t best_format = (__force snd_pcm_format_t)-1; in snd_pcm_plug_slave_format() 329 if (!snd_mask_test(format_mask, (__force int)f)) in snd_pcm_plug_slave_format() 343 if ((__force int)best_format >= 0) in snd_pcm_plug_slave_format() 346 return (__force snd_pcm_format_t)-EINVAL; in snd_pcm_plug_slave_format() 352 if (snd_mask_test(format_mask, (__force int)format1)) in snd_pcm_plug_slave_format() 356 return (__force snd_pcm_format_t)-EINVAL; in snd_pcm_plug_slave_format()
|
/linux-4.4.14/drivers/mmc/host/ |
D | dw_mmc.h | 219 (*(volatile u64 __force *)((dev)->regs + SDMMC_##reg)) 221 (*(volatile u64 __force *)((dev)->regs + SDMMC_##reg) = (value)) 224 (*(volatile u64 __force *)(__reg) = (__value)) 225 #define __raw_readq(__reg) (*(volatile u64 __force *)(__reg))
|
/linux-4.4.14/arch/arm/mach-zynq/ |
D | platsmp.c | 59 zero = (__force u8 __iomem *)PAGE_OFFSET; in zynq_cpun_start() 68 memcpy((__force void *)zero, &zynq_secondary_trampoline, in zynq_cpun_start()
|
/linux-4.4.14/drivers/media/pci/netup_unidvb/ |
D | netup_unidvb_ci.c | 150 u8 val = *((u8 __force *)state->membase8_io + addr); in netup_unidvb_ci_read_attribute_mem() 165 *((u8 __force *)state->membase8_io + addr) = data; in netup_unidvb_ci_write_attribute_mem() 174 u8 val = *((u8 __force *)state->membase8_io + addr); in netup_unidvb_ci_read_cam_ctl() 189 *((u8 __force *)state->membase8_io + addr) = data; in netup_unidvb_ci_write_cam_ctl()
|
/linux-4.4.14/drivers/net/ethernet/xilinx/ |
D | xilinx_emaclite.c | 337 addr = (void __iomem __force *)((u32 __force)addr ^ in xemaclite_send_data() 348 xemaclite_aligned_write(data, (u32 __force *) addr, byte_count); in xemaclite_send_data() 395 addr = (void __iomem __force *)((u32 __force)addr ^ in xemaclite_recv_data() 435 xemaclite_aligned_read((u32 __force *) (addr + XEL_RXBUFF_OFFSET), in xemaclite_recv_data() 466 xemaclite_aligned_write(address_ptr, (u32 __force *) addr, ETH_ALEN); in xemaclite_update_address() 1171 (unsigned int __force)ndev->mem_start, in xemaclite_of_probe() 1172 (unsigned int __force)lp->base_addr, ndev->irq); in xemaclite_of_probe()
|
/linux-4.4.14/drivers/net/wireless/p54/ |
D | p54pci.h | 89 #define P54P_READ(r) (__force __le32)__raw_readl(&priv->map->r) 90 #define P54P_WRITE(r, val) __raw_writel((__force u32)(__le32)(val), &priv->map->r)
|
/linux-4.4.14/drivers/video/fbdev/core/ |
D | fb_sys_fops.c | 41 src = (void __force *)(info->screen_base + p); in fb_sys_read() 87 dst = (void __force *) (info->screen_base + p); in fb_sys_write()
|
/linux-4.4.14/fs/gfs2/ |
D | export.c | 34 __be32 *fh = (__force __be32 *)p; in gfs2_encode_fh() 162 __be32 *fh = (__force __be32 *)fid->raw; in gfs2_fh_to_dentry() 184 __be32 *fh = (__force __be32 *)fid->raw; in gfs2_fh_to_parent()
|
/linux-4.4.14/include/sound/ |
D | pcm_params.h | 309 return (__force snd_pcm_access_t)snd_mask_min(hw_param_mask_c(p, in params_access() 319 return (__force snd_pcm_format_t)snd_mask_min(hw_param_mask_c(p, in params_format() 330 return (__force snd_pcm_subformat_t)snd_mask_min(hw_param_mask_c(p, in params_subformat() 373 (__force int)fmt); in params_set_format()
|
/linux-4.4.14/fs/nfsd/ |
D | nfsfh.h | 92 fsidv[0] = (__force __u32)htonl((MAJOR(dev)<<16) | in mk_fsid() 100 fsidv[0] = (__force __u32)htonl(MAJOR(dev)); in mk_fsid() 101 fsidv[1] = (__force __u32)htonl(MINOR(dev)); in mk_fsid()
|
/linux-4.4.14/drivers/vhost/ |
D | vringh.c | 554 int rc = get_user(v, (__force __virtio16 __user *)p); in getu16_user() 562 return put_user(v, (__force __virtio16 __user *)p); in putu16_user() 567 return copy_from_user(dst, (__force void __user *)src, len) ? in copydesc_user() 575 return copy_to_user((__force void __user *)dst, src, in putused_user() 581 return copy_from_user(dst, (__force void __user *)src, len) ? in xfer_from_user() 587 return copy_to_user((__force void __user *)dst, src, len) ? in xfer_to_user() 624 vrh->vring.desc = (__force struct vring_desc *)desc; in vringh_init_user() 625 vrh->vring.avail = (__force struct vring_avail *)avail; in vringh_init_user() 626 vrh->vring.used = (__force struct vring_used *)used; in vringh_init_user()
|
/linux-4.4.14/drivers/bus/ |
D | omap_l3_smx.h | 334 *(volatile u64 __force *)(a) = (v)) 336 *(volatile u64 __force *)(a))
|