Home
last modified time | relevance | path

Searched refs:__attribute_const__ (Results 1 – 25 of 70) sorted by relevance

123

/linux-6.6.21/arch/arm/include/asm/
Dcputype.h157 static inline unsigned int __attribute_const__ read_cpuid_ext(unsigned offset) in read_cpuid_ext()
184 static inline unsigned int __attribute_const__ read_cpuid_id(void) in read_cpuid_id()
189 static inline unsigned int __attribute_const__ read_cpuid_cachetype(void) in read_cpuid_cachetype()
194 static inline unsigned int __attribute_const__ read_cpuid_mputype(void) in read_cpuid_mputype()
201 static inline unsigned int __attribute_const__ read_cpuid_id(void) in read_cpuid_id()
206 static inline unsigned int __attribute_const__ read_cpuid_cachetype(void) in read_cpuid_cachetype()
211 static inline unsigned int __attribute_const__ read_cpuid_mputype(void) in read_cpuid_mputype()
218 static inline unsigned int __attribute_const__ read_cpuid_id(void) in read_cpuid_id()
225 static inline unsigned int __attribute_const__ read_cpuid_implementor(void) in read_cpuid_implementor()
230 static inline unsigned int __attribute_const__ read_cpuid_revision(void) in read_cpuid_revision()
[all …]
Dbitrev.h5 static __always_inline __attribute_const__ u32 __arch_bitrev32(u32 x) in __arch_bitrev32()
11 static __always_inline __attribute_const__ u16 __arch_bitrev16(u16 x) in __arch_bitrev16()
16 static __always_inline __attribute_const__ u8 __arch_bitrev8(u8 x) in __arch_bitrev8()
Dswab.h23 static inline __attribute_const__ __u32 __arch_swahb32(__u32 x) in __arch_swahb32()
31 static inline __attribute_const__ __u32 __arch_swab32(__u32 x) in __arch_swab32()
/linux-6.6.21/arch/arm64/include/asm/
Dbitrev.h4 static __always_inline __attribute_const__ u32 __arch_bitrev32(u32 x) in __arch_bitrev32()
10 static __always_inline __attribute_const__ u16 __arch_bitrev16(u16 x) in __arch_bitrev16()
15 static __always_inline __attribute_const__ u8 __arch_bitrev8(u8 x) in __arch_bitrev8()
Dcpufeature.h510 static inline int __attribute_const__
516 static inline int __attribute_const__
522 static __always_inline unsigned int __attribute_const__
528 static __always_inline unsigned int __attribute_const__
539 static inline u64 __attribute_const__
567 static inline int __attribute_const__
577 static inline int __attribute_const__
Dcputype.h267 static inline u32 __attribute_const__ read_cpuid_id(void) in read_cpuid_id()
272 static inline u64 __attribute_const__ read_cpuid_mpidr(void) in read_cpuid_mpidr()
277 static inline unsigned int __attribute_const__ read_cpuid_implementor(void) in read_cpuid_implementor()
282 static inline unsigned int __attribute_const__ read_cpuid_part_number(void) in read_cpuid_part_number()
287 static inline u32 __attribute_const__ read_cpuid_cachetype(void) in read_cpuid_cachetype()
/linux-6.6.21/arch/ia64/include/uapi/asm/
Dswab.h14 static __inline__ __attribute_const__ __u64 __arch_swab64(__u64 x) in __arch_swab64()
23 static __inline__ __attribute_const__ __u32 __arch_swab32(__u32 x) in __arch_swab32()
29 static __inline__ __attribute_const__ __u16 __arch_swab16(__u16 x) in __arch_swab16()
/linux-6.6.21/arch/mips/include/asm/
Dbitrev.h7 static __always_inline __attribute_const__ u32 __arch_bitrev32(u32 x) in __arch_bitrev32()
15 static __always_inline __attribute_const__ u16 __arch_bitrev16(u16 x) in __arch_bitrev16()
23 static __always_inline __attribute_const__ u8 __arch_bitrev8(u8 x) in __arch_bitrev8()
/linux-6.6.21/arch/loongarch/include/asm/
Dbitrev.h10 static __always_inline __attribute_const__ u32 __arch_bitrev32(u32 x) in __arch_bitrev32()
18 static __always_inline __attribute_const__ u16 __arch_bitrev16(u16 x) in __arch_bitrev16()
26 static __always_inline __attribute_const__ u8 __arch_bitrev8(u8 x) in __arch_bitrev8()
/linux-6.6.21/arch/mips/include/uapi/asm/
Dswab.h21 static inline __attribute_const__ __u16 __arch_swab16(__u16 x) in __arch_swab16()
35 static inline __attribute_const__ __u32 __arch_swab32(__u32 x) in __arch_swab32()
55 static inline __attribute_const__ __u64 __arch_swab64(__u64 x) in __arch_swab64()
/linux-6.6.21/include/uapi/linux/
Dswab.h48 static inline __attribute_const__ __u16 __fswab16(__u16 val) in __fswab16()
57 static inline __attribute_const__ __u32 __fswab32(__u32 val) in __fswab32()
66 static inline __attribute_const__ __u64 __fswab64(__u64 val) in __fswab64()
79 static inline __attribute_const__ __u32 __fswahw32(__u32 val) in __fswahw32()
88 static inline __attribute_const__ __u32 __fswahb32(__u32 val) in __fswahb32()
/linux-6.6.21/include/rdma/
Duverbs_ioctl.h159 static inline __attribute_const__ u32 uapi_key_obj(u32 id) in uapi_key_obj()
174 static inline __attribute_const__ bool uapi_key_is_object(u32 key) in uapi_key_is_object()
179 static inline __attribute_const__ u32 uapi_key_ioctl_method(u32 id) in uapi_key_ioctl_method()
195 static inline __attribute_const__ u32 uapi_key_write_method(u32 id) in uapi_key_write_method()
202 static inline __attribute_const__ u32 uapi_key_write_ex_method(u32 id) in uapi_key_write_ex_method()
209 static inline __attribute_const__ u32
216 static inline __attribute_const__ bool uapi_key_is_ioctl_method(u32 key) in uapi_key_is_ioctl_method()
224 static inline __attribute_const__ bool uapi_key_is_write_method(u32 key) in uapi_key_is_write_method()
229 static inline __attribute_const__ bool uapi_key_is_write_ex_method(u32 key) in uapi_key_is_write_ex_method()
235 static inline __attribute_const__ u32 uapi_key_attrs_start(u32 ioctl_method_key) in uapi_key_attrs_start()
[all …]
/linux-6.6.21/include/linux/
Dlcm.h7 unsigned long lcm(unsigned long a, unsigned long b) __attribute_const__;
8 unsigned long lcm_not_zero(unsigned long a, unsigned long b) __attribute_const__;
Dbcd.h24 unsigned _bcd2bin(unsigned char val) __attribute_const__;
25 unsigned char _bin2bcd(unsigned val) __attribute_const__;
Dcrc32.h32 u32 __attribute_const__ crc32_le_shift(u32 crc, size_t len);
59 u32 __attribute_const__ __crc32c_le_shift(u32 crc, size_t len);
Dgcd.h7 unsigned long gcd(unsigned long a, unsigned long b) __attribute_const__;
/linux-6.6.21/arch/m68k/include/uapi/asm/
Dswab.h11 static inline __attribute_const__ __u32 __arch_swab32(__u32 val) in __arch_swab32()
20 static inline __attribute_const__ __u32 __arch_swab32(__u32 val) in __arch_swab32()
/linux-6.6.21/arch/xtensa/include/uapi/asm/
Dswab.h20 static inline __attribute_const__ __u32 __arch_swab32(__u32 x) in __arch_swab32()
36 static inline __attribute_const__ __u16 __arch_swab16(__u16 x) in __arch_swab16()
/linux-6.6.21/arch/x86/include/uapi/asm/
Dswab.h8 static inline __attribute_const__ __u32 __arch_swab32(__u32 val) in __arch_swab32()
15 static inline __attribute_const__ __u64 __arch_swab64(__u64 val) in __arch_swab64()
/linux-6.6.21/arch/sh/include/uapi/asm/
Dswab.h13 static inline __attribute_const__ __u32 __arch_swab32(__u32 x) in __arch_swab32()
26 static inline __attribute_const__ __u16 __arch_swab16(__u16 x) in __arch_swab16()
/linux-6.6.21/arch/x86/include/asm/
Dibt.h44 static inline __attribute_const__ u32 gen_endbr(void) in gen_endbr()
59 static inline __attribute_const__ u32 gen_endbr_poison(void) in gen_endbr_poison()
/linux-6.6.21/tools/arch/arm64/include/asm/
Dcputype.h260 static inline u32 __attribute_const__ read_cpuid_id(void) in read_cpuid_id()
265 static inline u64 __attribute_const__ read_cpuid_mpidr(void) in read_cpuid_mpidr()
270 static inline unsigned int __attribute_const__ read_cpuid_implementor(void) in read_cpuid_implementor()
275 static inline unsigned int __attribute_const__ read_cpuid_part_number(void) in read_cpuid_part_number()
280 static inline u32 __attribute_const__ read_cpuid_cachetype(void) in read_cpuid_cachetype()
/linux-6.6.21/arch/parisc/include/asm/
Dhash.h31 static inline u32 __attribute_const__ __hash_32(u32 x) in __hash_32()
117 static __always_inline u32 __attribute_const__
/linux-6.6.21/lib/
Dcrc32.c216 static u32 __attribute_const__ gf2_multiply(u32 x, u32 y, u32 modulus)
242 static u32 __attribute_const__ crc32_generic_shift(u32 crc, size_t len,
272 u32 __attribute_const__ crc32_le_shift(u32 crc, size_t len)
277 u32 __attribute_const__ __crc32c_le_shift(u32 crc, size_t len)
/linux-6.6.21/tools/include/linux/
Dcompiler.h81 #ifndef __attribute_const__
82 # define __attribute_const__ macro

123