Home
last modified time | relevance | path

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

/tools/testing/selftests/bpf/progs/
A 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()
126 ulen = (__force u32)bpf_htonl((__u32)len); in csum_ipv6_magic()
131 uproto = (__force u32)bpf_htonl(proto); in csum_ipv6_magic()
[all …]
/tools/perf/trace/beauty/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 …]
/tools/include/linux/
A 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()
A Dbuild_bug.h30 #define BUILD_BUG_ON_INVALID(e) ((void)(sizeof((__force long)(e))))
A Dcompiler.h137 #ifndef __force
138 # define __force macro
A Dtypes.h53 #define __force macro
/tools/perf/trace/beauty/include/uapi/linux/
A Dfs.h322 #define RWF_HIPRI ((__force __kernel_rwf_t)0x00000001)
325 #define RWF_DSYNC ((__force __kernel_rwf_t)0x00000002)
328 #define RWF_SYNC ((__force __kernel_rwf_t)0x00000004)
331 #define RWF_NOWAIT ((__force __kernel_rwf_t)0x00000008)
334 #define RWF_APPEND ((__force __kernel_rwf_t)0x00000010)
337 #define RWF_NOAPPEND ((__force __kernel_rwf_t)0x00000020)
340 #define RWF_ATOMIC ((__force __kernel_rwf_t)0x00000040)
343 #define RWF_DONTCACHE ((__force __kernel_rwf_t)0x00000080)
/tools/include/uapi/linux/
A Dfs.h324 #define RWF_HIPRI ((__force __kernel_rwf_t)0x00000001)
327 #define RWF_DSYNC ((__force __kernel_rwf_t)0x00000002)
330 #define RWF_SYNC ((__force __kernel_rwf_t)0x00000004)
333 #define RWF_NOWAIT ((__force __kernel_rwf_t)0x00000008)
336 #define RWF_APPEND ((__force __kernel_rwf_t)0x00000010)
339 #define RWF_NOAPPEND ((__force __kernel_rwf_t)0x00000020)
342 #define RWF_ATOMIC ((__force __kernel_rwf_t)0x00000040)
345 #define RWF_DONTCACHE ((__force __kernel_rwf_t)0x00000080)
/tools/testing/scatterlist/linux/
A 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()
/tools/testing/selftests/kvm/include/arm64/
A Dprocessor.h236 #define writel_relaxed(v,c) ((void)__raw_writel((__force u32)cpu_to_le32(v),(c)))
237 #define readl_relaxed(c) ({ u32 __r = le32_to_cpu((__force __le32)__raw_readl(c)); __r; })
238 #define writeq_relaxed(v,c) ((void)__raw_writeq((__force u64)cpu_to_le64(v),(c)))
239 #define readq_relaxed(c) ({ u64 __r = le64_to_cpu((__force __le64)__raw_readq(c)); __r; })

Completed in 27 milliseconds