Home
last modified time | relevance | path

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

12345

/include/scsi/
A Dscsi_devinfo.h9 #define BLIST_NOLUN ((__force blist_flags_t)(1ULL << 0))
12 #define BLIST_FORCELUN ((__force blist_flags_t)(1ULL << 1))
14 #define BLIST_BORKEN ((__force blist_flags_t)(1ULL << 2))
16 #define BLIST_KEY ((__force blist_flags_t)(1ULL << 3))
18 #define BLIST_SINGLELUN ((__force blist_flags_t)(1ULL << 4))
20 #define BLIST_NOTQ ((__force blist_flags_t)(1ULL << 5))
24 #define BLIST_MAX5LUN ((__force blist_flags_t)(1ULL << 7))
26 #define BLIST_ISROM ((__force blist_flags_t)(1ULL << 8))
28 #define BLIST_LARGELUN ((__force blist_flags_t)(1ULL << 9))
78 (__force blist_flags_t) \
[all …]
/include/uapi/linux/
A Deventpoll.h31 #define EPOLLIN (__force __poll_t)0x00000001
32 #define EPOLLPRI (__force __poll_t)0x00000002
33 #define EPOLLOUT (__force __poll_t)0x00000004
34 #define EPOLLERR (__force __poll_t)0x00000008
35 #define EPOLLHUP (__force __poll_t)0x00000010
36 #define EPOLLNVAL (__force __poll_t)0x00000020
37 #define EPOLLRDNORM (__force __poll_t)0x00000040
38 #define EPOLLRDBAND (__force __poll_t)0x00000080
39 #define EPOLLWRNORM (__force __poll_t)0x00000100
41 #define EPOLLMSG (__force __poll_t)0x00000400
[all …]
A Dfs.h410 #define RWF_HIPRI ((__force __kernel_rwf_t)0x00000001)
413 #define RWF_DSYNC ((__force __kernel_rwf_t)0x00000002)
416 #define RWF_SYNC ((__force __kernel_rwf_t)0x00000004)
419 #define RWF_NOWAIT ((__force __kernel_rwf_t)0x00000008)
422 #define RWF_APPEND ((__force __kernel_rwf_t)0x00000010)
425 #define RWF_NOAPPEND ((__force __kernel_rwf_t)0x00000020)
428 #define RWF_ATOMIC ((__force __kernel_rwf_t)0x00000040)
431 #define RWF_DONTCACHE ((__force __kernel_rwf_t)0x00000080)
/include/linux/
A Dblk_types.h335 REQ_OP_READ = (__force blk_opf_t)0,
337 REQ_OP_WRITE = (__force blk_opf_t)1,
339 REQ_OP_FLUSH = (__force blk_opf_t)2,
341 REQ_OP_DISCARD = (__force blk_opf_t)3,
345 REQ_OP_ZONE_APPEND = (__force blk_opf_t)7,
349 REQ_OP_ZONE_OPEN = (__force blk_opf_t)10,
351 REQ_OP_ZONE_CLOSE = (__force blk_opf_t)11,
360 REQ_OP_DRV_IN = (__force blk_opf_t)34,
361 REQ_OP_DRV_OUT = (__force blk_opf_t)35,
363 REQ_OP_LAST = (__force blk_opf_t)36,
[all …]
A Dgfp_types.h114 #define __GFP_DMA ((__force gfp_t)___GFP_DMA)
115 #define __GFP_HIGHMEM ((__force gfp_t)___GFP_HIGHMEM)
116 #define __GFP_DMA32 ((__force gfp_t)___GFP_DMA32)
150 #define __GFP_WRITE ((__force gfp_t)___GFP_WRITE)
180 #define __GFP_HIGH ((__force gfp_t)___GFP_HIGH)
259 #define __GFP_IO ((__force gfp_t)___GFP_IO)
260 #define __GFP_FS ((__force gfp_t)___GFP_FS)
265 #define __GFP_NOFAIL ((__force gfp_t)___GFP_NOFAIL)
292 #define __GFP_NOWARN ((__force gfp_t)___GFP_NOWARN)
293 #define __GFP_COMP ((__force gfp_t)___GFP_COMP)
[all …]
A Dvirtio_byteorder.h19 return le16_to_cpu((__force __le16)val); in __virtio16_to_cpu()
21 return be16_to_cpu((__force __be16)val); in __virtio16_to_cpu()
27 return (__force __virtio16)cpu_to_le16(val); in __cpu_to_virtio16()
29 return (__force __virtio16)cpu_to_be16(val); in __cpu_to_virtio16()
35 return le32_to_cpu((__force __le32)val); in __virtio32_to_cpu()
37 return be32_to_cpu((__force __be32)val); in __virtio32_to_cpu()
43 return (__force __virtio32)cpu_to_le32(val); in __cpu_to_virtio32()
45 return (__force __virtio32)cpu_to_be32(val); in __cpu_to_virtio32()
51 return le64_to_cpu((__force __le64)val); in __virtio64_to_cpu()
53 return be64_to_cpu((__force __be64)val); in __virtio64_to_cpu()
[all …]
A Derr.h48 #define IOMEM_ERR_PTR(error) (__force void __iomem *)ERR_PTR(error)
55 static inline long __must_check PTR_ERR(__force const void *ptr) in PTR_ERR()
61 #define PTR_ERR_PCPU(ptr) (PTR_ERR((const void *)(__force const unsigned long)(ptr)))
68 static inline bool __must_check IS_ERR(__force const void *ptr) in IS_ERR()
74 #define IS_ERR_PCPU(ptr) (IS_ERR((const void *)(__force const unsigned long)(ptr)))
82 static inline bool __must_check IS_ERR_OR_NULL(__force const void *ptr) in IS_ERR_OR_NULL()
94 static inline void * __must_check ERR_CAST(__force const void *ptr) in ERR_CAST()
117 static inline int __must_check PTR_ERR_OR_ZERO(__force const void *ptr) in PTR_ERR_OR_ZERO()
A Dserial_core.h531 #define UPF_AUTO_CTS ((__force upf_t) BIT_ULL(20))
532 #define UPF_AUTO_RTS ((__force upf_t) BIT_ULL(21))
535 #define UPF_SOFT_FLOW ((__force upf_t) BIT_ULL(22))
536 #define UPF_CONS_FLOW ((__force upf_t) BIT_ULL(23))
537 #define UPF_SHARE_IRQ ((__force upf_t) BIT_ULL(24))
538 #define UPF_EXAR_EFR ((__force upf_t) BIT_ULL(25))
539 #define UPF_BUG_THRE ((__force upf_t) BIT_ULL(26))
541 #define UPF_FIXED_TYPE ((__force upf_t) BIT_ULL(27))
543 #define UPF_FIXED_PORT ((__force upf_t) BIT_ULL(29))
544 #define UPF_DEAD ((__force upf_t) BIT_ULL(30))
[all …]
A Dblk-mq.h68 #define RQF_STARTED ((__force req_flags_t)(1 << __RQF_STARTED))
74 #define RQF_FAILED ((__force req_flags_t)(1 << __RQF_FAILED))
75 #define RQF_QUIET ((__force req_flags_t)(1 << __RQF_QUIET))
77 #define RQF_PM ((__force req_flags_t)(1 << __RQF_PM))
78 #define RQF_HASHED ((__force req_flags_t)(1 << __RQF_HASHED))
79 #define RQF_STATS ((__force req_flags_t)(1 << __RQF_STATS))
81 ((__force req_flags_t)(1 << __RQF_SPECIAL_PAYLOAD))
83 ((__force req_flags_t)(1 << __RQF_ZONE_WRITE_PLUGGING))
85 #define RQF_RESV ((__force req_flags_t)(1 << __RQF_RESV))
737 BLK_MQ_REQ_NOWAIT = (__force blk_mq_req_flags_t)(1 << 0),
[all …]
/include/uapi/linux/byteorder/
A Dbig_endian.h16 #define __constant_htonl(x) ((__force __be32)(__u32)(x))
17 #define __constant_ntohl(x) ((__force __u32)(__be32)(x))
47 return (__force __le64)__swab64p(p); in __cpu_to_le64p()
55 return (__force __le32)__swab32p(p); in __cpu_to_le32p()
63 return (__force __le16)__swab16p(p); in __cpu_to_le16p()
71 return (__force __be64)*p; in __cpu_to_be64p()
75 return (__force __u64)*p; in __be64_to_cpup()
79 return (__force __be32)*p; in __cpu_to_be32p()
83 return (__force __u32)*p; in __be32_to_cpup()
87 return (__force __be16)*p; in __cpu_to_be16p()
[all …]
A Dlittle_endian.h32 #define __cpu_to_le64(x) ((__force __le64)(__u64)(x))
33 #define __le64_to_cpu(x) ((__force __u64)(__le64)(x))
47 return (__force __le64)*p; in __cpu_to_le64p()
51 return (__force __u64)*p; in __le64_to_cpup()
55 return (__force __le32)*p; in __cpu_to_le32p()
59 return (__force __u32)*p; in __le32_to_cpup()
63 return (__force __le16)*p; in __cpu_to_le16p()
67 return (__force __u16)*p; in __le16_to_cpup()
71 return (__force __be64)__swab64p(p); in __cpu_to_be64p()
79 return (__force __be32)__swab32p(p); in __cpu_to_be32p()
[all …]
/include/linux/rpmsg/
A Dbyteorder.h22 return le16_to_cpu((__force __le16)val); in __rpmsg16_to_cpu()
24 return be16_to_cpu((__force __be16)val); in __rpmsg16_to_cpu()
30 return (__force __rpmsg16)cpu_to_le16(val); in __cpu_to_rpmsg16()
32 return (__force __rpmsg16)cpu_to_be16(val); in __cpu_to_rpmsg16()
38 return le32_to_cpu((__force __le32)val); in __rpmsg32_to_cpu()
40 return be32_to_cpu((__force __be32)val); in __rpmsg32_to_cpu()
46 return (__force __rpmsg32)cpu_to_le32(val); in __cpu_to_rpmsg32()
48 return (__force __rpmsg32)cpu_to_be32(val); in __cpu_to_rpmsg32()
54 return le64_to_cpu((__force __le64)val); in __rpmsg64_to_cpu()
56 return be64_to_cpu((__force __be64)val); in __rpmsg64_to_cpu()
[all …]
/include/uapi/sound/
A Dasound.h181 #define SNDRV_PCM_FORMAT_S8 ((__force snd_pcm_format_t) 0)
182 #define SNDRV_PCM_FORMAT_U8 ((__force snd_pcm_format_t) 1)
183 #define SNDRV_PCM_FORMAT_S16_LE ((__force snd_pcm_format_t) 2)
184 #define SNDRV_PCM_FORMAT_S16_BE ((__force snd_pcm_format_t) 3)
185 #define SNDRV_PCM_FORMAT_U16_LE ((__force snd_pcm_format_t) 4)
186 #define SNDRV_PCM_FORMAT_U16_BE ((__force snd_pcm_format_t) 5)
196 #define SNDRV_PCM_FORMAT_S32_LE ((__force snd_pcm_format_t) 10)
197 #define SNDRV_PCM_FORMAT_S32_BE ((__force snd_pcm_format_t) 11)
198 #define SNDRV_PCM_FORMAT_U32_LE ((__force snd_pcm_format_t) 12)
209 #define SNDRV_PCM_FORMAT_MPEG ((__force snd_pcm_format_t) 23)
[all …]
/include/net/netfilter/
A Dnf_queue.h51 if ((__force u32)iph->saddr < (__force u32)iph->daddr) in hash_v4()
55 return jhash_3words((__force u32)iph->daddr, in hash_v4()
63 if ((__force u32)ip6h->saddr.s6_addr32[3] < in hash_v6()
64 (__force u32)ip6h->daddr.s6_addr32[3]) { in hash_v6()
65 a = (__force u32) ip6h->saddr.s6_addr32[3]; in hash_v6()
66 b = (__force u32) ip6h->daddr.s6_addr32[3]; in hash_v6()
68 b = (__force u32) ip6h->saddr.s6_addr32[3]; in hash_v6()
69 a = (__force u32) ip6h->daddr.s6_addr32[3]; in hash_v6()
72 if ((__force u32)ip6h->saddr.s6_addr32[1] < in hash_v6()
73 (__force u32)ip6h->daddr.s6_addr32[1]) in hash_v6()
[all …]
/include/net/
A Dchecksum.h61 u32 res = (__force u32)csum; in csum_add()
62 res += (__force u32)addend; in csum_add()
63 return (__force __wsum)(res + (res < (__force u32)addend)); in csum_add()
74 u16 res = (__force u16)csum; in csum16_add()
76 res += (__force u16)addend; in csum16_add()
77 return (__force __sum16)(res + (res < (__force u16)addend)); in csum16_add()
90 return (__force __wsum)ror32((__force u32)sum, 8); in csum_shift()
109 return (__force __wsum)n; in csum_unfold()
162 (__force __be32)to, pseudohdr); in inet_proto_csum_replace2()
176 (__force __wsum)*psum); in remcsum_adjust()
[all …]
A Ddsfield.h24 return ntohs(*(__force const __be16 *)ipv6h) >> 4; in ipv6_get_dsfield()
31 __u32 check = ntohs((__force __be16)iph->check); in ipv4_change_dsfield()
39 iph->check = (__force __sum16)htons(check); in ipv4_change_dsfield()
47 __be16 *p = (__force __be16 *)ipv6h; in ipv6_change_dsfield()
A Dnetmem.h174 return (__force unsigned long)netmem & NET_IOV; in netmem_is_net_iov()
190 return (__force struct page *)netmem; in __netmem_to_page()
204 return (struct net_iov *)((__force unsigned long)netmem & in netmem_to_net_iov()
213 return (__force netmem_ref)((unsigned long)niov | NET_IOV); in net_iov_to_netmem()
217 const struct page * : (__force const netmem_ref)(p), \
218 struct page * : (__force netmem_ref)(p)))
265 return (__force struct netmem_desc *)netmem; in __netmem_to_nmdesc()
285 return (struct net_iov *)((__force unsigned long)netmem & ~NET_IOV); in __netmem_clear_lsb()
A Dinet_dscp.h44 return (__force dscp_t)(dsfield & INET_DSCP_MASK); in inet_dsfield_to_dscp()
49 return (__force __u8)dscp; in inet_dscp_to_dsfield()
A Dinet_ecn.h97 check_add = (__force __be16)((__force u16)htons(0xFFFB) + in IP_ECN_set_ce()
98 (__force u16)htons(ecn)); in IP_ECN_set_ce()
145 skb->csum = csum_add(csum_sub(skb->csum, (__force __wsum)from), in IP6_ECN_set_ce()
146 (__force __wsum)to); in IP6_ECN_set_ce()
161 skb->csum = csum_add(csum_sub(skb->csum, (__force __wsum)from), in IP6_ECN_set_ect1()
162 (__force __wsum)to); in IP6_ECN_set_ect1()
/include/asm-generic/
A Duaccess.h23 *(u8 *)to = *((u8 __force *)from); in __get_user_fn()
26 *(u16 *)to = get_unaligned((u16 __force *)from); in __get_user_fn()
29 *(u32 *)to = get_unaligned((u32 __force *)from); in __get_user_fn()
32 *(u64 *)to = get_unaligned((u64 __force *)from); in __get_user_fn()
49 *(u8 __force *)to = *(u8 *)from; in __put_user_fn()
52 put_unaligned(*(u16 *)from, (u16 __force *)to); in __put_user_fn()
55 put_unaligned(*(u32 *)from, (u32 __force *)to); in __put_user_fn()
58 put_unaligned(*(u64 *)from, (u64 __force *)to); in __put_user_fn()
84 memcpy(to, (const void __force *)from, n); in raw_copy_from_user()
91 memcpy((void __force *)to, from, n); in raw_copy_to_user()
[all …]
A Dio.h117 return *(const volatile u8 __force *)addr; in __raw_readb()
125 return *(const volatile u16 __force *)addr; in __raw_readw()
133 return *(const volatile u32 __force *)addr; in __raw_readl()
142 return *(const volatile u64 __force *)addr; in __raw_readq()
151 *(volatile u8 __force *)addr = value; in __raw_writeb()
159 *(volatile u16 __force *)addr = value; in __raw_writew()
167 *(volatile u32 __force *)addr = value; in __raw_writel()
176 *(volatile u64 __force *)addr = value; in __raw_writeq()
266 __raw_writew((u16 __force)cpu_to_le16(value), addr); in writew()
370 __raw_writew((u16 __force)cpu_to_le16(value), addr); in writew_relaxed()
[all …]
/include/uapi/asm-generic/
A Dsignal-defs.h88 #define SIG_DFL ((__force __sighandler_t)0) /* default signal handling */
89 #define SIG_IGN ((__force __sighandler_t)1) /* ignore signal */
90 #define SIG_ERR ((__force __sighandler_t)-1) /* error return from signal */
A Dpoll.h32 #define POLLFREE (__force __poll_t)0x4000
34 #define POLL_BUSY_LOOP (__force __poll_t)0x8000
/include/linux/mlx5/
A Ddoorbell.h55 __raw_writel((__force u32) val[0], dest); in mlx5_write64()
56 __raw_writel((__force u32) val[1], dest + 4); in mlx5_write64()
/include/linux/mlx4/
A Ddoorbell.h79 __raw_writel((__force u32) val[0], dest); in mlx4_write64()
80 __raw_writel((__force u32) val[1], dest + 4); in mlx4_write64()

Completed in 37 milliseconds

12345