Home
last modified time | relevance | path

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

/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__;
Dgcd.h7 unsigned long gcd(unsigned long a, unsigned long b) __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);
Dlog2.h198 static inline __attribute_const__
Dcompiler_attributes.h88 #define __attribute_const__ __attribute__((__const__)) macro
/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()
/include/rdma/
Duverbs_ioctl.h158 static inline __attribute_const__ u32 uapi_key_obj(u32 id) in uapi_key_obj()
173 static inline __attribute_const__ bool uapi_key_is_object(u32 key) in uapi_key_is_object()
178 static inline __attribute_const__ u32 uapi_key_ioctl_method(u32 id) in uapi_key_ioctl_method()
194 static inline __attribute_const__ u32 uapi_key_write_method(u32 id) in uapi_key_write_method()
201 static inline __attribute_const__ u32 uapi_key_write_ex_method(u32 id) in uapi_key_write_ex_method()
208 static inline __attribute_const__ u32
215 static inline __attribute_const__ bool uapi_key_is_ioctl_method(u32 key) in uapi_key_is_ioctl_method()
223 static inline __attribute_const__ bool uapi_key_is_write_method(u32 key) in uapi_key_is_write_method()
228 static inline __attribute_const__ bool uapi_key_is_write_ex_method(u32 key) in uapi_key_is_write_ex_method()
234 static inline __attribute_const__ u32 uapi_key_attrs_start(u32 ioctl_method_key) in uapi_key_attrs_start()
[all …]
Drdma_cm.h39 const char *__attribute_const__ rdma_event_msg(enum rdma_cm_event_type event);
348 const char *__attribute_const__ rdma_reject_msg(struct rdma_cm_id *id,
Diw_cm.h224 const char *__attribute_const__ iwcm_reject_msg(int reason);
Dib_cm.h570 const char *__attribute_const__ ibcm_reject_msg(int reason);
Dib_verbs.h180 __attribute_const__ enum rdma_transport_type
732 const char *__attribute_const__ ib_event_msg(enum ib_event_type event);
832 __attribute_const__ int ib_rate_to_mult(enum ib_rate rate);
839 __attribute_const__ int ib_rate_to_mbps(enum ib_rate rate);
890 __attribute_const__ enum ib_rate mult_to_ib_rate(int mult);
959 const char *__attribute_const__ ib_wc_status_msg(enum ib_wc_status status);
/include/asm-generic/
Dgetorder.h29 static __always_inline __attribute_const__ int get_order(unsigned long size) in get_order()
/include/linux/raid/
Dpq.h54 #ifndef __attribute_const__
55 # define __attribute_const__ __attribute__((const)) macro
/include/net/
Dcfg80211.h6200 unsigned int __attribute_const__ ieee80211_hdrlen(__le16 fc);