/linux-4.1.27/include/uapi/linux/byteorder/ |
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 …]
|
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 …]
|
/linux-4.1.27/include/uapi/sound/ |
D | asound.h | 174 #define SNDRV_PCM_ACCESS_MMAP_INTERLEAVED ((__force snd_pcm_access_t) 0) /* interleaved mmap */ 175 #define SNDRV_PCM_ACCESS_MMAP_NONINTERLEAVED ((__force snd_pcm_access_t) 1) /* noninterleaved mmap … 176 #define SNDRV_PCM_ACCESS_MMAP_COMPLEX ((__force snd_pcm_access_t) 2) /* complex mmap */ 177 #define SNDRV_PCM_ACCESS_RW_INTERLEAVED ((__force snd_pcm_access_t) 3) /* readi/writei */ 178 #define SNDRV_PCM_ACCESS_RW_NONINTERLEAVED ((__force snd_pcm_access_t) 4) /* readn/writen */ 182 #define SNDRV_PCM_FORMAT_S8 ((__force snd_pcm_format_t) 0) 183 #define SNDRV_PCM_FORMAT_U8 ((__force snd_pcm_format_t) 1) 184 #define SNDRV_PCM_FORMAT_S16_LE ((__force snd_pcm_format_t) 2) 185 #define SNDRV_PCM_FORMAT_S16_BE ((__force snd_pcm_format_t) 3) 186 #define SNDRV_PCM_FORMAT_U16_LE ((__force snd_pcm_format_t) 4) [all …]
|
D | asequencer.h | 341 #define NO_CLIENT ((__force snd_seq_client_type_t) 0) 342 #define USER_CLIENT ((__force snd_seq_client_type_t) 1) 343 #define KERNEL_CLIENT ((__force snd_seq_client_type_t) 2)
|
/linux-4.1.27/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 …]
|
D | inet6_connection_sock.c | 105 c = jhash_3words((__force u32)raddr->s6_addr32[0], in inet6_synq_hash() 106 (__force u32)raddr->s6_addr32[1], in inet6_synq_hash() 107 (__force u32)raddr->s6_addr32[2], in inet6_synq_hash() 110 c = jhash_2words((__force u32)raddr->s6_addr32[3], in inet6_synq_hash() 111 (__force u32)rport, in inet6_synq_hash()
|
/linux-4.1.27/include/linux/ |
D | virtio_byteorder.h | 14 return le16_to_cpu((__force __le16)val); in __virtio16_to_cpu() 16 return (__force u16)val; in __virtio16_to_cpu() 22 return (__force __virtio16)cpu_to_le16(val); in __cpu_to_virtio16() 24 return (__force __virtio16)val; in __cpu_to_virtio16() 30 return le32_to_cpu((__force __le32)val); in __virtio32_to_cpu() 32 return (__force u32)val; in __virtio32_to_cpu() 38 return (__force __virtio32)cpu_to_le32(val); in __cpu_to_virtio32() 40 return (__force __virtio32)val; in __cpu_to_virtio32() 46 return le64_to_cpu((__force __le64)val); in __virtio64_to_cpu() 48 return (__force u64)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 | 49 #define __GFP_DMA ((__force gfp_t)___GFP_DMA) 50 #define __GFP_HIGHMEM ((__force gfp_t)___GFP_HIGHMEM) 51 #define __GFP_DMA32 ((__force gfp_t)___GFP_DMA32) 52 #define __GFP_MOVABLE ((__force gfp_t)___GFP_MOVABLE) /* Page is movable */ 71 #define __GFP_WAIT ((__force gfp_t)___GFP_WAIT) /* Can wait and reschedule? */ 72 #define __GFP_HIGH ((__force gfp_t)___GFP_HIGH) /* Should access emergency pools? */ 73 #define __GFP_IO ((__force gfp_t)___GFP_IO) /* Can start physical IO? */ 74 #define __GFP_FS ((__force gfp_t)___GFP_FS) /* Can call down to low-level FS? */ 75 #define __GFP_COLD ((__force gfp_t)___GFP_COLD) /* Cache-cold page required */ 76 #define __GFP_NOWARN ((__force gfp_t)___GFP_NOWARN) /* Suppress page allocation failure warning */ [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 | 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() 145 return ((char __force __iomem *) mapping) + offset; in io_mapping_map_atomic_wc() 158 return ((char __force __iomem *) mapping) + offset; in io_mapping_map_wc()
|
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 | 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 | 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 | 347 return virtio16_to_cpu(vdev, (__force __virtio16)ret); in virtio_cread16() 353 val = (__force u16)cpu_to_virtio16(vdev, val); in virtio_cwrite16() 362 return virtio32_to_cpu(vdev, (__force __virtio32)ret); in virtio_cread32() 368 val = (__force u32)cpu_to_virtio32(vdev, val); in virtio_cwrite32() 377 return virtio64_to_cpu(vdev, (__force __virtio64)ret); in virtio_cread64() 383 val = (__force u64)cpu_to_virtio64(vdev, val); in virtio_cwrite64()
|
D | rcupdate.h | 612 typeof(*p) *_________p1 = (typeof(*p) *__force)ACCESS_ONCE(p); \ 614 ((typeof(*p) __force __kernel *)(_________p1)); \ 619 typeof(*p) *________p1 = (typeof(*p) *__force)lockless_dereference(p); \ 622 ((typeof(*p) __force __kernel *)(________p1)); \ 628 ((typeof(*p) __force __kernel *)(p)); \ 650 #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 | fs.h | 91 #define FMODE_READ ((__force fmode_t)0x1) 93 #define FMODE_WRITE ((__force fmode_t)0x2) 95 #define FMODE_LSEEK ((__force fmode_t)0x4) 97 #define FMODE_PREAD ((__force fmode_t)0x8) 99 #define FMODE_PWRITE ((__force fmode_t)0x10) 101 #define FMODE_EXEC ((__force fmode_t)0x20) 103 #define FMODE_NDELAY ((__force fmode_t)0x40) 105 #define FMODE_EXCL ((__force fmode_t)0x80) 108 #define FMODE_WRITE_IOCTL ((__force fmode_t)0x100) 110 #define FMODE_32BITHASH ((__force fmode_t)0x200) [all …]
|
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.1.27/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.1.27/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.1.27/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 | 219 (x) = *(__force __typeof__(*(ptr)) *) &__x; \ 226 (x) = *(__force __typeof__(*(ptr)) *) &__x; \ 233 (x) = *(__force __typeof__(*(ptr)) *) &__x; \ 240 (x) = *(__force __typeof__(*(ptr)) *) &__x; \
|
/linux-4.1.27/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.1.27/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.1.27/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 | 283 ((__force __portpair)(((__force __u32)(__be16)(__sport) << 16) | (__u32)(__dport))) 286 ((__force __portpair)(((__u32)(__dport) << 16) | (__force __u32)(__be16)(__sport))) 292 const __addrpair __name = (__force __addrpair) ( \ 293 (((__force __u64)(__be32)(__saddr)) << 32) | \ 294 ((__force __u64)(__be32)(__daddr))) 297 const __addrpair __name = (__force __addrpair) ( \ 298 (((__force __u64)(__be32)(__daddr)) << 32) | \ 299 ((__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 | ipv6.h | 408 *(__force u64 *)addr = ((__force u64)(wh) << 32 | (__force u64)(wl)); in __ipv6_addr_set_half() 413 *(__force u64 *)addr = ((__force u64)(wl) << 32 | (__force u64)(wh)); in __ipv6_addr_set_half() 557 return (__force u32)(a->s6_addr32[0] ^ a->s6_addr32[1] ^ in ipv6_addr_hash() 565 u32 v = (__force u32)a->s6_addr32[0] ^ (__force u32)a->s6_addr32[1]; in __ipv6_addr_jhash() 568 (__force u32)a->s6_addr32[2], in __ipv6_addr_jhash() 569 (__force u32)a->s6_addr32[3], in __ipv6_addr_jhash() 595 (__force unsigned long)(a->s6_addr32[0] | a->s6_addr32[1]) | in ipv6_addr_v4mapped() 597 (__force unsigned long)(a->s6_addr32[2] ^ in ipv6_addr_v4mapped() 719 keys.src = (__force __be32)ipv6_addr_hash(&np->saddr); in ip6_set_txhash() 720 keys.dst = (__force __be32)ipv6_addr_hash(&sk->sk_v6_daddr); in ip6_set_txhash() [all …]
|
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 | inet_sock.h | 240 return jhash_3words((__force __u32) laddr, in __inet_ehashfn() 241 (__force __u32) faddr, in __inet_ehashfn() 242 ((__u32) lport) << 16 | (__force __u32)fport, in __inet_ehashfn()
|
/linux-4.1.27/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 | flow_dissector.c | 129 flow->src = (__force __be32)ipv6_addr_hash(&iph->saddr); in __skb_flow_dissect() 130 flow->dst = (__force __be32)ipv6_addr_hash(&iph->daddr); in __skb_flow_dissect() 288 if (((__force u32)keys->dst < (__force u32)keys->src) || in __flow_hash_from_keys() 289 (((__force u32)keys->dst == (__force u32)keys->src) && in __flow_hash_from_keys() 290 ((__force u16)keys->port16[1] < (__force u16)keys->port16[0]))) { in __flow_hash_from_keys() 295 hash = __flow_hash_3words((__force u32)keys->dst, in __flow_hash_from_keys() 296 (__force u32)keys->src, in __flow_hash_from_keys() 297 (__force u32)keys->ports); in __flow_hash_from_keys()
|
/linux-4.1.27/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.1.27/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.1.27/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.1.27/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.1.27/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 | 72 csum_partial_copy_generic((__force const void *)(src), (dst), (len), (sum), (errp), NULL) 92 return (__force __sum16)(~((__force u32)sum + tmp) >> 16); in csum_fold() 110 unsigned long s = (__force u32)sum; in csum_tcpudp_nofold() 112 s += (__force u32)saddr; in csum_tcpudp_nofold() 113 s += (__force u32)daddr; in csum_tcpudp_nofold() 116 return (__force __wsum) s; in csum_tcpudp_nofold()
|
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.1.27/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.1.27/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.1.27/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.1.27/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.1.27/arch/arm/include/asm/ |
D | io.h | 64 #define __raw_readw(a) (__chk_io_ptr(a), *(volatile unsigned short __force *)(a)) 65 #define __raw_writew(v,a) ((void)(__chk_io_ptr(a), *(volatile unsigned short __force *)(a) = (… 76 : "+Q" (*(volatile u16 __force *)addr) in __raw_writew() 85 : "+Q" (*(volatile u16 __force *)addr), in __raw_readw() 95 : "+Qo" (*(volatile u8 __force *)addr) in __raw_writeb() 103 : "+Qo" (*(volatile u32 __force *)addr) in __raw_writel() 112 : "+Qo" (*(volatile u8 __force *)addr), in __raw_readb() 122 : "+Qo" (*(volatile u32 __force *)addr), in __raw_readl() 173 #define IOMEM(x) ((void __force __iomem *)(x)) 256 #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 | 416 unsigned long __temp = (__force unsigned long)(x); \ 423 unsigned long __temp = (__force unsigned long)(x); \ 483 #define __copy_from_user(to, from, n) (memcpy(to, (void __force *)from, n), 0) 484 #define __copy_to_user(to, from, n) (memcpy((void __force *)to, from, n), 0) 485 #define __clear_user(addr, n) (memset((void __force *)addr, 0, n), 0)
|
/linux-4.1.27/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.1.27/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.1.27/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 | io.h | 47 :"m" (*(volatile type __force *)addr) barrier); return ret; } 52 "m" (*(volatile type __force *)addr) barrier); } 210 memset((void __force *)addr, val, count); in memset_io() 216 memcpy(dst, (const void __force *)src, count); in memcpy_fromio() 222 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); \ 182 (x) = (__force __typeof__(*(ptr))) __val_gu; \ 409 (x) = (__force __typeof__(*(ptr)))__gu_val; \ 516 (x) = (__force __typeof__(*(ptr)))__gue_val; \
|
/linux-4.1.27/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 | 463 __raw_readb((__force unsigned *)(addr)) in BUILDIO_MEM() 465 be16_to_cpu(__raw_readw((__force unsigned *)(addr))) in BUILDIO_MEM() 467 be32_to_cpu(__raw_readl((__force unsigned *)(addr))) in BUILDIO_MEM() 469 be64_to_cpu(__raw_readq((__force unsigned *)(addr))) in BUILDIO_MEM() 472 __raw_writeb((val), (__force unsigned *)(addr)) in BUILDIO_MEM() 474 __raw_writew(cpu_to_be16((val)), (__force unsigned *)(addr)) in BUILDIO_MEM() 476 __raw_writel(cpu_to_be32((val)), (__force unsigned *)(addr)) in BUILDIO_MEM() 478 __raw_writeq(cpu_to_be64((val)), (__force unsigned *)(addr)) in BUILDIO_MEM() 556 memset((void __force *) addr, val, count); 560 memcpy(dst, (void __force *) src, count); in memcpy_fromio() [all …]
|
/linux-4.1.27/arch/m32r/include/asm/ |
D | io.h | 100 return *(volatile unsigned char __force *)addr; in _readb() 105 return *(volatile unsigned short __force *)addr; in _readw() 110 return *(volatile unsigned long __force *)addr; in _readl() 115 *(volatile unsigned char __force *)addr = b; in _writeb() 120 *(volatile unsigned short __force *)addr = w; in _writew() 125 *(volatile unsigned long __force *)addr = l; in _writel() 183 memset((void __force *) addr, val, count); in memset_io() 189 memcpy(dst, (void __force *) src, count); in memcpy_fromio() 195 memcpy((void __force *) dst, src, count); in memcpy_toio()
|
/linux-4.1.27/net/openvswitch/ |
D | vport-geneve.c | 58 vni[0] = (__force __u8)(tun_id >> 16); in tunnel_id_to_vni() 59 vni[1] = (__force __u8)(tun_id >> 8); in tunnel_id_to_vni() 60 vni[2] = (__force __u8)tun_id; in tunnel_id_to_vni() 62 vni[0] = (__force __u8)((__force u64)tun_id >> 40); in tunnel_id_to_vni() 63 vni[1] = (__force __u8)((__force u64)tun_id >> 48); in tunnel_id_to_vni() 64 vni[2] = (__force __u8)((__force u64)tun_id >> 56); in tunnel_id_to_vni() 74 return (__force __be64)(((__force u64)vni[0] << 40) | in vni_to_tunnel_id() 75 ((__force u64)vni[1] << 48) | in vni_to_tunnel_id() 76 ((__force u64)vni[2] << 56)); in vni_to_tunnel_id()
|
D | vport-gre.c | 55 return (__force __be32)x; in be64_get_low32() 57 return (__force __be32)((__force u64)x >> 32); in be64_get_low32() 90 return (__force __be64)((__force u64)seq << 32 | (__force u32)key); in key_to_tunnel_id() 92 return (__force __be64)((__force u64)key << 32 | (__force u32)seq); in key_to_tunnel_id()
|
/linux-4.1.27/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.1.27/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() 449 return __bitmap_parse((const char __force *)ubuf, in bitmap_parse_user() 508 const char __user __force *ubuf = (const char __user __force *)buf; in __bitmap_parselist() 604 return __bitmap_parselist((const char __force *)ubuf, in bitmap_parselist_user()
|
/linux-4.1.27/arch/x86/um/asm/ |
D | checksum.h | 51 return (__force __wsum)-1; in csum_partial_copy_from_user() 71 : "r" ((__force u32)sum << 16), in csum_fold() 72 "0" ((__force u32)sum & 0xffff0000) in csum_fold() 74 return (__force __sum16)(~(__force u32)sum >> 16); in csum_fold() 145 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.1.27/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.1.27/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.1.27/arch/arc/include/asm/ |
D | io.h | 35 : "m" (*(volatile u8 __force *)addr) in __raw_readb() 49 : "m" (*(volatile u16 __force *)addr) in __raw_readw() 63 : "m" (*(volatile u32 __force *)addr) in __raw_readl() 75 : "r" (b), "m" (*(volatile u8 __force *)addr) in __raw_writeb() 85 : "r" (s), "m" (*(volatile u16 __force *)addr) in __raw_writew() 96 : "r" (w), "m" (*(volatile u32 __force *)addr) in __raw_writel()
|
/linux-4.1.27/arch/arm/mach-omap2/ |
D | clock34xx.c | 47 r = (((__force u32)clk->enable_reg & ~0xf0) | 0x20); in omap3430es2_clk_ssi_find_idlest() 48 *idlest_reg = (__force void __iomem *)r; in omap3430es2_clk_ssi_find_idlest() 85 r = (((__force u32)clk->enable_reg & ~0xf0) | 0x20); in omap3430es2_clk_dss_usbhost_find_idlest() 86 *idlest_reg = (__force void __iomem *)r; in omap3430es2_clk_dss_usbhost_find_idlest() 122 r = (((__force u32)clk->enable_reg & ~0xf0) | 0x20); in omap3430es2_clk_hsotgusb_find_idlest() 123 *idlest_reg = (__force void __iomem *)r; in omap3430es2_clk_hsotgusb_find_idlest()
|
D | clkt_iclk.c | 31 r = (__force void __iomem *) in omap2_clkt_iclk_allow_idle() 32 ((__force u32)clk->enable_reg ^ (CM_AUTOIDLE ^ CM_ICLKEN)); in omap2_clkt_iclk_allow_idle() 45 r = (__force void __iomem *) in omap2_clkt_iclk_deny_idle() 46 ((__force u32)clk->enable_reg ^ (CM_AUTOIDLE ^ CM_ICLKEN)); in omap2_clkt_iclk_deny_idle()
|
D | clock3517.c | 55 *idlest_reg = (__force void __iomem *)(clk->enable_reg); in am35xx_clk_find_idlest() 78 *other_reg = (__force void __iomem *)(clk->enable_reg); in am35xx_clk_find_companion() 107 r = (((__force u32)clk->enable_reg & ~0xf0) | 0x20); in am35xx_clk_ipss_find_idlest() 108 *idlest_reg = (__force void __iomem *)r; in am35xx_clk_ipss_find_idlest()
|
/linux-4.1.27/fs/sysv/ |
D | sysv.h | 194 return PDP_swab((__force __u32)n); in fs32_to_cpu() 196 return le32_to_cpu((__force __le32)n); in fs32_to_cpu() 198 return be32_to_cpu((__force __be32)n); in fs32_to_cpu() 204 return (__force __fs32)PDP_swab(n); in cpu_to_fs32() 206 return (__force __fs32)cpu_to_le32(n); in cpu_to_fs32() 208 return (__force __fs32)cpu_to_be32(n); in cpu_to_fs32() 225 return le16_to_cpu((__force __le16)n); in fs16_to_cpu() 227 return be16_to_cpu((__force __be16)n); in fs16_to_cpu() 233 return (__force __fs16)cpu_to_le16(n); in cpu_to_fs16() 235 return (__force __fs16)cpu_to_be16(n); in cpu_to_fs16()
|
/linux-4.1.27/arch/arm64/include/asm/ |
D | io.h | 121 #define readw_relaxed(c) ({ u16 __v = le16_to_cpu((__force __le16)__raw_readw(c)); __v; }) 122 #define readl_relaxed(c) ({ u32 __v = le32_to_cpu((__force __le32)__raw_readl(c)); __v; }) 123 #define readq_relaxed(c) ({ u64 __v = le64_to_cpu((__force __le64)__raw_readq(c)); __v; }) 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))) 178 #define ioread16be(p) ({ __u16 __v = be16_to_cpu((__force __be16)__raw_readw(p)); __iormb(); __v; … 179 #define ioread32be(p) ({ __u32 __v = be32_to_cpu((__force __be32)__raw_readl(p)); __iormb(); __v; … 181 #define iowrite16be(v,p) ({ __iowmb(); __raw_writew((__force __u16)cpu_to_be16(v), p); }) 182 #define iowrite32be(v,p) ({ __iowmb(); __raw_writel((__force __u32)cpu_to_be32(v), p); })
|
/linux-4.1.27/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.1.27/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.1.27/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.1.27/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.1.27/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.1.27/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.1.27/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.1.27/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()
|
/linux-4.1.27/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.1.27/drivers/infiniband/hw/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.1.27/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()
|
D | syncookies.c | 65 tmp[0] = (__force u32)saddr; in cookie_hash() 66 tmp[1] = (__force u32)daddr; in cookie_hash() 67 tmp[2] = ((__force u32)sport << 16) + (__force u32)dport; in cookie_hash()
|
/linux-4.1.27/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.1.27/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 | 716 #define readl_be(addr) __raw_readl((__force unsigned *)addr) 717 #define writel_be(val, addr) __raw_writel(val, (__force unsigned *)addr) 799 ? (__force __hc32)cpu_to_be32(x) in cpu_to_hc32() 800 : (__force __hc32)cpu_to_le32(x); in cpu_to_hc32() 807 ? be32_to_cpu((__force __be32)x) in hc32_to_cpu() 808 : le32_to_cpu((__force __le32)x); in hc32_to_cpu() 814 ? be32_to_cpup((__force __be32 *)x) in hc32_to_cpup() 815 : le32_to_cpup((__force __le32 *)x); in hc32_to_cpup()
|
D | uhci-hcd.h | 634 ? (__force __hc32)cpu_to_be32(x) in cpu_to_hc32() 635 : (__force __hc32)cpu_to_le32(x); in cpu_to_hc32() 642 ? be32_to_cpu((__force __be32)x) in hc32_to_cpu() 643 : le32_to_cpu((__force __le32)x); in hc32_to_cpu()
|
/linux-4.1.27/arch/parisc/include/asm/ |
D | io.h | 145 return (*(volatile unsigned char __force *) (addr)); in __raw_readb() 149 return *(volatile unsigned short __force *) addr; in __raw_readw() 153 return *(volatile unsigned int __force *) addr; in __raw_readl() 157 return *(volatile unsigned long long __force *) addr; in __raw_readq() 162 *(volatile unsigned char __force *) addr = b; in __raw_writeb() 166 *(volatile unsigned short __force *) addr = b; in __raw_writew() 170 *(volatile unsigned int __force *) addr = b; in __raw_writel() 174 *(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.1.27/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.1.27/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.1.27/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() 223 x = (__force typeof(*(ptr)))__gu_val; \ 245 x = (__force __typeof__(*(ptr))) __gu_val; \ 366 __copy_tofrom_user((__force void __user *)(to), \ 382 (__force const void __user *)(from), (n))
|
/linux-4.1.27/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() 194 x = (__force typeof(*(ptr)))__gu_val; \ 225 x = (__force typeof(*(ptr)))__gu_val; \
|
/linux-4.1.27/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.1.27/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.1.27/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.1.27/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.1.27/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.1.27/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 | 117 memset((void __force *) addr, val, count); in memset_io() 122 memcpy(dst, (void __force *) src, count); in memcpy_fromio() 127 memcpy((void __force *) dst, src, count); in memcpy_toio() 193 return __builtin_read8((__force void volatile __iomem *) addr); in readb() 198 uint16_t ret = __builtin_read16((__force void volatile __iomem *)addr); in readw() 207 uint32_t ret = __builtin_read32((__force void volatile __iomem *)addr); in readl()
|
/linux-4.1.27/arch/cris/include/asm/ |
D | io.h | 71 return *(volatile unsigned char __force *) addr; in readb() 78 return *(volatile unsigned short __force *) addr; in readw() 85 return *(volatile unsigned int __force *) addr; in readl() 99 *(volatile unsigned char __force *) addr = b; in writeb() 106 *(volatile unsigned short __force *) addr = b; in writew() 113 *(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.1.27/arch/s390/kernel/ |
D | compat_signal.c | 147 to->si_addr = (void __force __user *) in copy_siginfo_from_user32() 418 sc.sregs = (__u32)(unsigned long __force) &frame->sregs; in setup_frame32() 430 if (__put_user(regs->gprs[2], (int __force __user *) &frame->signo)) in setup_frame32() 440 restorer = (unsigned long __force) in setup_frame32() 447 restorer = (unsigned long __force) svc | PSW32_ADDR_AMODE; in setup_frame32() 452 regs->gprs[15] = (__force __u64) frame; in setup_frame32() 457 regs->psw.addr = (__force __u64) ksig->ka.sa.sa_handler; in setup_frame32() 460 regs->gprs[3] = (__force __u64) &frame->sc; in setup_frame32() 503 if (__put_user(regs->gprs[15], (unsigned int __force __user *) frame)) in setup_rt_frame32() 509 restorer = (unsigned long __force) in setup_rt_frame32() [all …]
|
D | uprobes.c | 169 else if ((u64 __force)ptr & mask) \ 186 else if ((u64 __force)__ptr & mask) \ 192 (void __force *)__ptr, \ 205 else if ((u64 __force)ptr & mask) \
|
/linux-4.1.27/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.1.27/net/ieee802154/6lowpan/ |
D | 6lowpan_i.h | 31 return (((__force u64)a->extended_addr) >> 32) ^ in ieee802154_addr_hash() 32 (((__force u64)a->extended_addr) & 0xffffffff); in ieee802154_addr_hash() 34 return (__force u32)(a->short_addr); in ieee802154_addr_hash()
|
/linux-4.1.27/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.1.27/net/rds/ |
D | tcp_connect.c | 89 src.sin_addr.s_addr = (__force u32)conn->c_laddr; in rds_tcp_conn_connect() 90 src.sin_port = (__force u16)htons(0); in rds_tcp_conn_connect() 100 dest.sin_addr.s_addr = (__force u32)conn->c_faddr; in rds_tcp_conn_connect() 101 dest.sin_port = (__force u16)htons(RDS_TCP_PORT); in rds_tcp_conn_connect()
|
/linux-4.1.27/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.1.27/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.1.27/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.1.27/arch/x86/mm/ |
D | ioremap.c | 112 return (__force void __iomem *)phys_to_virt(phys_addr); in __ioremap_caller() 295 if ((void __force *)addr <= high_memory) in iounmap() 303 if ((void __force *)addr >= phys_to_virt(ISA_START_ADDRESS) && in iounmap() 304 (void __force *)addr < phys_to_virt(ISA_END_ADDRESS)) in iounmap() 308 (PAGE_MASK & (unsigned long __force)addr); in iounmap() 317 p = find_vm_area((void __force *)addr); in iounmap() 328 o = remove_vm_area((void __force *)addr); in iounmap()
|
/linux-4.1.27/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.1.27/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.1.27/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.1.27/tools/include/linux/ |
D | compiler.h | 22 #ifndef __force 23 # define __force macro
|
/linux-4.1.27/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()
|
D | xt_cluster.c | 21 return (__force u32)ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple.src.u3.ip; in nf_ct_orig_ipv4_src() 26 return (__force u32 *)ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple.src.u3.ip6; in nf_ct_orig_ipv6_src()
|
D | xt_DSCP.c | 41 (__force __u8)(~XT_DSCP_MASK), in dscp_tg() 59 (__force __u8)(~XT_DSCP_MASK), in dscp_tg6()
|
/linux-4.1.27/arch/um/kernel/skas/ |
D | uaccess.c | 145 memcpy(to, (__force void*)from, n); in copy_from_user() 167 memcpy((__force void *) to, from, n); in copy_to_user() 197 strncpy(dst, (__force void *) src, count); in strncpy_from_user() 226 memset((__force void*)mem, 0, len); in clear_user() 252 return strnlen((__force char*)str, len) + 1; in strnlen_user()
|
/linux-4.1.27/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.1.27/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.1.27/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.1.27/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.1.27/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.1.27/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.1.27/net/netfilter/ipset/ |
D | pfxlen.c | 153 {.ip6 = { (__force __be32) a, (__force __be32) b, \ 154 (__force __be32) c, (__force __be32) d, \
|
D | ip_set_getport.c | 73 *port = (__force __be16)htons((ic->type << 8) | ic->code); in get_port() 84 *port = (__force __be16) in get_port()
|
/linux-4.1.27/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.1.27/drivers/infiniband/hw/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.1.27/mm/ |
D | maccess.c | 29 (__force const void __user *)src, size); in __probe_kernel_read() 56 ret = __copy_to_user_inatomic((__force void __user *)dst, src, size); in __probe_kernel_write()
|
D | early_ioremap.c | 217 return (__force void *)__early_ioremap(phys_addr, size, in early_memremap() 225 return (__force void __iomem *)phys_addr; in early_ioremap() 244 early_iounmap((__force void __iomem *)addr, size); in early_memunmap()
|
/linux-4.1.27/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.1.27/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 | 81 context->mmio_cfg_base = (void __force *) in gxio_mpipe_init() 87 context->mmio_fast_base = (void __force *) in gxio_mpipe_init() 102 iounmap((void __force __iomem *)(context->mmio_cfg_base)); in gxio_mpipe_init() 113 iounmap((void __force __iomem *)(context->mmio_cfg_base)); in gxio_mpipe_destroy() 114 iounmap((void __force __iomem *)(context->mmio_fast_base)); in gxio_mpipe_destroy()
|
/linux-4.1.27/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.1.27/arch/cris/arch-v10/lib/ |
D | old_checksum.c | 51 u32 sum = (__force u32)__sum; in csum_partial() 83 return (__force __wsum)sum; in csum_partial()
|
/linux-4.1.27/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.1.27/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.1.27/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.1.27/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.1.27/drivers/mmc/host/ |
D | dw_mmc.h | 210 (*(volatile u64 __force *)((dev)->regs + SDMMC_##reg)) 212 (*(volatile u64 __force *)((dev)->regs + SDMMC_##reg) = (value)) 215 (*(volatile u64 __force *)(__reg) = (__value)) 216 #define __raw_readq(__reg) (*(volatile u64 __force *)(__reg))
|
/linux-4.1.27/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.1.27/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.1.27/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.1.27/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.1.27/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.1.27/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.1.27/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() 1169 (unsigned int __force)ndev->mem_start, in xemaclite_of_probe() 1170 (unsigned int __force)lp->base_addr, ndev->irq); in xemaclite_of_probe()
|
/linux-4.1.27/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.1.27/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.1.27/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.1.27/drivers/crypto/caam/ |
D | ctrl.c | 430 ctrlpriv->ctrl = (struct caam_ctrl __force *)ctrl; in caam_probe() 431 ctrlpriv->assure = (struct caam_assurance __force *) in caam_probe() 435 ctrlpriv->deco = (struct caam_deco __force *) in caam_probe() 515 ctrlpriv->jr[ring] = (struct caam_job_ring __force *) in caam_probe() 529 ctrlpriv->qi = (struct caam_queue_if __force *) in caam_probe() 628 perfmon = (struct caam_perfmon __force *)&ctrl->perfmon; in caam_probe()
|
/linux-4.1.27/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.1.27/drivers/media/pci/solo6x10/ |
D | solo6x10-eeprom.c | 120 return (__force __be16)retval; in solo_eeprom_read() 133 unsigned int dataval = ((__force unsigned)data >> i) & 1; in solo_eeprom_write()
|
/linux-4.1.27/drivers/bus/ |
D | omap_l3_smx.h | 334 *(volatile u64 __force *)(a) = (v)) 336 *(volatile u64 __force *)(a))
|
/linux-4.1.27/arch/arm/mach-versatile/include/mach/ |
D | hardware.h | 36 #define __io_address(n) ((void __iomem __force *)IO_ADDRESS(n))
|