Home
last modified time | relevance | path

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

123

/linux-6.1.9/arch/arm/include/asm/
Dcputype.h153 static inline unsigned int __attribute_const__ read_cpuid_ext(unsigned offset) in read_cpuid_ext()
180 static inline unsigned int __attribute_const__ read_cpuid_id(void) in read_cpuid_id()
185 static inline unsigned int __attribute_const__ read_cpuid_cachetype(void) in read_cpuid_cachetype()
190 static inline unsigned int __attribute_const__ read_cpuid_mputype(void) in read_cpuid_mputype()
197 static inline unsigned int __attribute_const__ read_cpuid_id(void) in read_cpuid_id()
202 static inline unsigned int __attribute_const__ read_cpuid_cachetype(void) in read_cpuid_cachetype()
207 static inline unsigned int __attribute_const__ read_cpuid_mputype(void) in read_cpuid_mputype()
214 static inline unsigned int __attribute_const__ read_cpuid_id(void) in read_cpuid_id()
221 static inline unsigned int __attribute_const__ read_cpuid_implementor(void) in read_cpuid_implementor()
226 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.1.9/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.h517 static inline int __attribute_const__
523 static inline int __attribute_const__
529 static __always_inline unsigned int __attribute_const__
535 static __always_inline unsigned int __attribute_const__
546 static inline u64 __attribute_const__
574 static inline int __attribute_const__
584 static inline int __attribute_const__
Dcputype.h246 static inline u32 __attribute_const__ read_cpuid_id(void) in read_cpuid_id()
251 static inline u64 __attribute_const__ read_cpuid_mpidr(void) in read_cpuid_mpidr()
256 static inline unsigned int __attribute_const__ read_cpuid_implementor(void) in read_cpuid_implementor()
261 static inline unsigned int __attribute_const__ read_cpuid_part_number(void) in read_cpuid_part_number()
266 static inline u32 __attribute_const__ read_cpuid_cachetype(void) in read_cpuid_cachetype()
/linux-6.1.9/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.1.9/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.1.9/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.1.9/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.1.9/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.1.9/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.1.9/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.h20 unsigned _bcd2bin(unsigned char val) __attribute_const__;
21 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.1.9/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.1.9/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.1.9/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.1.9/tools/arch/arm64/include/asm/
Dcputype.h246 static inline u32 __attribute_const__ read_cpuid_id(void) in read_cpuid_id()
251 static inline u64 __attribute_const__ read_cpuid_mpidr(void) in read_cpuid_mpidr()
256 static inline unsigned int __attribute_const__ read_cpuid_implementor(void) in read_cpuid_implementor()
261 static inline unsigned int __attribute_const__ read_cpuid_part_number(void) in read_cpuid_part_number()
266 static inline u32 __attribute_const__ read_cpuid_cachetype(void) in read_cpuid_cachetype()
/linux-6.1.9/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.1.9/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.1.9/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.1.9/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.1.9/tools/include/linux/
Dcompiler.h69 #ifndef __attribute_const__
70 # define __attribute_const__ macro

123