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);
Dcompiler_attributes.h103 #define __attribute_const__ __attribute__((__const__)) macro
Dlog2.h197 static inline __attribute_const__
/include/uapi/linux/
Dswab.h47 static inline __attribute_const__ __u16 __fswab16(__u16 val) in __fswab16()
56 static inline __attribute_const__ __u32 __fswab32(__u32 val) in __fswab32()
65 static inline __attribute_const__ __u64 __fswab64(__u64 val) in __fswab64()
78 static inline __attribute_const__ __u32 __fswahw32(__u32 val) in __fswahw32()
87 static inline __attribute_const__ __u32 __fswahb32(__u32 val) in __fswahb32()
/include/rdma/
Duverbs_ioctl.h185 static inline __attribute_const__ u32 uapi_key_obj(u32 id) in uapi_key_obj()
200 static inline __attribute_const__ bool uapi_key_is_object(u32 key) in uapi_key_is_object()
205 static inline __attribute_const__ u32 uapi_key_ioctl_method(u32 id) in uapi_key_ioctl_method()
221 static inline __attribute_const__ u32 uapi_key_write_method(u32 id) in uapi_key_write_method()
228 static inline __attribute_const__ u32 uapi_key_write_ex_method(u32 id) in uapi_key_write_ex_method()
235 static inline __attribute_const__ u32
242 static inline __attribute_const__ bool uapi_key_is_ioctl_method(u32 key) in uapi_key_is_ioctl_method()
250 static inline __attribute_const__ bool uapi_key_is_write_method(u32 key) in uapi_key_is_write_method()
255 static inline __attribute_const__ bool uapi_key_is_write_ex_method(u32 key) in uapi_key_is_write_ex_method()
261 static inline __attribute_const__ u32 uapi_key_attrs_start(u32 ioctl_method_key) in uapi_key_attrs_start()
[all …]
Drdma_cm.h66 const char *__attribute_const__ rdma_event_msg(enum rdma_cm_event_type event);
390 const char *__attribute_const__ rdma_reject_msg(struct rdma_cm_id *id,
Diw_cm.h249 const char *__attribute_const__ iwcm_reject_msg(int reason);
Dib_cm.h626 const char *__attribute_const__ ibcm_reject_msg(int reason);
Dib_verbs.h197 __attribute_const__ enum rdma_transport_type
716 const char *__attribute_const__ ib_event_msg(enum ib_event_type event);
816 __attribute_const__ int ib_rate_to_mult(enum ib_rate rate);
823 __attribute_const__ int ib_rate_to_mbps(enum ib_rate rate);
874 __attribute_const__ enum ib_rate mult_to_ib_rate(int mult);
937 const char *__attribute_const__ ib_wc_status_msg(enum ib_wc_status status);
/include/asm-generic/
Dgetorder.h29 static inline __attribute_const__ int get_order(unsigned long size) in get_order()
/include/linux/raid/
Dpq.h51 #ifndef __attribute_const__
52 # define __attribute_const__ __attribute__((const)) macro
/include/net/
Dcfg80211.h5161 unsigned int __attribute_const__ ieee80211_hdrlen(__le16 fc);