Home
last modified time | relevance | path

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

/tools/testing/selftests/bpf/progs/
Dtest_tcp_custom_syncookie.h8 #define __force macro
56 unsigned long long s = (__force u32)sum; in csum_tcpudp_nofold()
58 s += (__force u32)saddr; in csum_tcpudp_nofold()
59 s += (__force u32)daddr; in csum_tcpudp_nofold()
65 return (__force __wsum)from64to32(s); in csum_tcpudp_nofold()
71 u32 sum = (__force u32)csum; in csum_fold()
75 return (__force __sum16)~sum; in csum_fold()
92 __u32 sum = (__force u32)csum; in csum_ipv6_magic()
94 sum += (__force u32)saddr->in6_u.u6_addr32[0]; in csum_ipv6_magic()
95 carry = (sum < (__force u32)saddr->in6_u.u6_addr32[0]); in csum_ipv6_magic()
[all …]
/tools/perf/trace/beauty/include/uapi/sound/
Dasound.h173 #define SNDRV_PCM_ACCESS_MMAP_INTERLEAVED ((__force snd_pcm_access_t) 0) /* interleaved mmap */
174 #define SNDRV_PCM_ACCESS_MMAP_NONINTERLEAVED ((__force snd_pcm_access_t) 1) /* noninterleaved mmap …
175 #define SNDRV_PCM_ACCESS_MMAP_COMPLEX ((__force snd_pcm_access_t) 2) /* complex mmap */
176 #define SNDRV_PCM_ACCESS_RW_INTERLEAVED ((__force snd_pcm_access_t) 3) /* readi/writei */
177 #define SNDRV_PCM_ACCESS_RW_NONINTERLEAVED ((__force snd_pcm_access_t) 4) /* readn/writen */
181 #define SNDRV_PCM_FORMAT_S8 ((__force snd_pcm_format_t) 0)
182 #define SNDRV_PCM_FORMAT_U8 ((__force snd_pcm_format_t) 1)
183 #define SNDRV_PCM_FORMAT_S16_LE ((__force snd_pcm_format_t) 2)
184 #define SNDRV_PCM_FORMAT_S16_BE ((__force snd_pcm_format_t) 3)
185 #define SNDRV_PCM_FORMAT_U16_LE ((__force snd_pcm_format_t) 4)
[all …]
/tools/include/linux/
Derr.h40 static inline long __must_check PTR_ERR(__force const void *ptr) in PTR_ERR()
45 static inline bool __must_check IS_ERR(__force const void *ptr) in IS_ERR()
50 static inline bool __must_check IS_ERR_OR_NULL(__force const void *ptr) in IS_ERR_OR_NULL()
55 static inline int __must_check PTR_ERR_OR_ZERO(__force const void *ptr) in PTR_ERR_OR_ZERO()
70 static inline void * __must_check ERR_CAST(__force const void *ptr) in ERR_CAST()
Dbuild_bug.h30 #define BUILD_BUG_ON_INVALID(e) ((void)(sizeof((__force long)(e))))
Dcompiler.h115 #ifndef __force
116 # define __force macro
Dtypes.h51 #define __force macro
/tools/perf/trace/beauty/include/uapi/linux/
Dfs.h315 #define RWF_HIPRI ((__force __kernel_rwf_t)0x00000001)
318 #define RWF_DSYNC ((__force __kernel_rwf_t)0x00000002)
321 #define RWF_SYNC ((__force __kernel_rwf_t)0x00000004)
324 #define RWF_NOWAIT ((__force __kernel_rwf_t)0x00000008)
327 #define RWF_APPEND ((__force __kernel_rwf_t)0x00000010)
330 #define RWF_NOAPPEND ((__force __kernel_rwf_t)0x00000020)
333 #define RWF_ATOMIC ((__force __kernel_rwf_t)0x00000040)
/tools/include/uapi/linux/
Dfs.h315 #define RWF_HIPRI ((__force __kernel_rwf_t)0x00000001)
318 #define RWF_DSYNC ((__force __kernel_rwf_t)0x00000002)
321 #define RWF_SYNC ((__force __kernel_rwf_t)0x00000004)
324 #define RWF_NOWAIT ((__force __kernel_rwf_t)0x00000008)
327 #define RWF_APPEND ((__force __kernel_rwf_t)0x00000010)
330 #define RWF_NOAPPEND ((__force __kernel_rwf_t)0x00000020)
/tools/testing/selftests/kvm/include/aarch64/
Dprocessor.h192 #define writel_relaxed(v,c) ((void)__raw_writel((__force u32)cpu_to_le32(v),(c)))
193 #define readl_relaxed(c) ({ u32 __r = le32_to_cpu((__force __le32)__raw_readl(c)); __r; })
194 #define writeq_relaxed(v,c) ((void)__raw_writeq((__force u64)cpu_to_le64(v),(c)))
195 #define readq_relaxed(c) ({ u64 __r = le64_to_cpu((__force __le64)__raw_readq(c)); __r; })
/tools/testing/scatterlist/linux/
Dmm.h141 static inline long __must_check PTR_ERR(__force const void *ptr) in PTR_ERR()
146 static inline bool __must_check IS_ERR(__force const void *ptr) in IS_ERR()
151 static inline int __must_check PTR_ERR_OR_ZERO(__force const void *ptr) in PTR_ERR_OR_ZERO()