/include/linux/ |
D | kstrtox.h | 9 int __must_check _kstrtoul(const char *s, unsigned int base, unsigned long *res); 10 int __must_check _kstrtol(const char *s, unsigned int base, long *res); 12 int __must_check kstrtoull(const char *s, unsigned int base, unsigned long long *res); 13 int __must_check kstrtoll(const char *s, unsigned int base, long long *res); 30 static inline int __must_check kstrtoul(const char *s, unsigned int base, unsigned long *res) in kstrtoul() 58 static inline int __must_check kstrtol(const char *s, unsigned int base, long *res) in kstrtol() 71 int __must_check kstrtouint(const char *s, unsigned int base, unsigned int *res); 72 int __must_check kstrtoint(const char *s, unsigned int base, int *res); 74 static inline int __must_check kstrtou64(const char *s, unsigned int base, u64 *res) in kstrtou64() 79 static inline int __must_check kstrtos64(const char *s, unsigned int base, s64 *res) in kstrtos64() [all …]
|
D | err.h | 24 static inline void * __must_check ERR_PTR(long error) in ERR_PTR() 29 static inline long __must_check PTR_ERR(__force const void *ptr) in PTR_ERR() 34 static inline bool __must_check IS_ERR(__force const void *ptr) in IS_ERR() 39 static inline bool __must_check IS_ERR_OR_NULL(__force const void *ptr) in IS_ERR_OR_NULL() 51 static inline void * __must_check ERR_CAST(__force const void *ptr) in ERR_CAST() 57 static inline int __must_check PTR_ERR_OR_ZERO(__force const void *ptr) in PTR_ERR_OR_ZERO()
|
D | refcount.h | 150 static inline __must_check bool __refcount_add_not_zero(int i, refcount_t *r, int *oldp) in __refcount_add_not_zero() 186 static inline __must_check bool refcount_add_not_zero(int i, refcount_t *r) in refcount_add_not_zero() 225 static inline __must_check bool __refcount_inc_not_zero(refcount_t *r, int *oldp) in __refcount_inc_not_zero() 243 static inline __must_check bool refcount_inc_not_zero(refcount_t *r) in refcount_inc_not_zero() 270 static inline __must_check bool __refcount_sub_and_test(int i, refcount_t *r, int *oldp) in __refcount_sub_and_test() 308 static inline __must_check bool refcount_sub_and_test(int i, refcount_t *r) in refcount_sub_and_test() 313 static inline __must_check bool __refcount_dec_and_test(refcount_t *r, int *oldp) in __refcount_dec_and_test() 331 static inline __must_check bool refcount_dec_and_test(refcount_t *r) in refcount_dec_and_test() 362 extern __must_check bool refcount_dec_if_one(refcount_t *r); 363 extern __must_check bool refcount_dec_not_one(refcount_t *r); [all …]
|
D | semaphore.h | 39 extern int __must_check down_interruptible(struct semaphore *sem); 40 extern int __must_check down_killable(struct semaphore *sem); 41 extern int __must_check down_trylock(struct semaphore *sem); 42 extern int __must_check down_timeout(struct semaphore *sem, long jiffies);
|
D | uaccess.h | 98 static __always_inline __must_check unsigned long 106 static __always_inline __must_check unsigned long 130 static __always_inline __must_check unsigned long 140 static __always_inline __must_check unsigned long 152 static inline __must_check unsigned long 166 extern __must_check unsigned long 171 static inline __must_check unsigned long 184 extern __must_check unsigned long 188 static __always_inline unsigned long __must_check 196 static __always_inline unsigned long __must_check [all …]
|
D | reset.h | 211 static inline int __must_check device_reset(struct device *dev) in device_reset() 237 __must_check reset_control_get_exclusive(struct device *dev, const char *id) in reset_control_get_exclusive() 252 static inline int __must_check 274 __must_check reset_control_get_exclusive_released(struct device *dev, in reset_control_get_exclusive_released() 294 static inline int __must_check 315 static inline int __must_check 360 static inline int __must_check 397 static inline int __must_check 434 static inline int __must_check 540 __must_check devm_reset_control_get_exclusive(struct device *dev, in devm_reset_control_get_exclusive() [all …]
|
D | clk.h | 291 int __must_check clk_bulk_prepare(int num_clks, 317 static inline int __must_check 392 int __must_check clk_bulk_get(struct device *dev, int num_clks, 412 int __must_check clk_bulk_get_all(struct device *dev, 425 int __must_check clk_bulk_get_optional(struct device *dev, int num_clks, 439 int __must_check devm_clk_bulk_get(struct device *dev, int num_clks, 462 int __must_check devm_clk_bulk_get_optional(struct device *dev, int num_clks, 478 int __must_check devm_clk_bulk_get_all(struct device *dev, 635 int __must_check clk_bulk_enable(int num_clks, 886 static inline int __must_check clk_bulk_get(struct device *dev, int num_clks, in clk_bulk_get() [all …]
|
D | random.h | 32 size_t __must_check get_random_bytes_arch(void *buf, size_t len); 106 static inline bool __must_check arch_get_random_long(unsigned long *v) { return false; } in declare_get_random_var_wait() 107 static inline bool __must_check arch_get_random_int(unsigned int *v) { return false; } 108 static inline bool __must_check arch_get_random_seed_long(unsigned long *v) { return false; } 109 static inline bool __must_check arch_get_random_seed_int(unsigned int *v) { return false; }
|
D | kobject.h | 100 extern __printf(3, 4) __must_check 103 extern __printf(4, 5) __must_check 110 extern struct kobject * __must_check kobject_create(void); 111 extern struct kobject * __must_check kobject_create_and_add(const char *name, 114 extern int __must_check kobject_rename(struct kobject *, const char *new_name); 115 extern int __must_check kobject_move(struct kobject *, struct kobject *); 118 extern struct kobject * __must_check kobject_get_unless_zero( 216 extern int __must_check kset_register(struct kset *kset); 218 extern struct kset * __must_check kset_create_and_add(const char *name,
|
D | kfence.h | 180 static __always_inline __must_check bool kfence_free(void *addr) in kfence_free() 203 bool __must_check kfence_handle_page_fault(unsigned long addr, bool is_write, struct pt_regs *regs); 231 static inline bool __must_check kfence_free(void *addr) { return false; } in kfence_free() 232 static inline bool __must_check kfence_handle_page_fault(unsigned long addr, bool is_write, in kfence_handle_page_fault()
|
D | sysfs.h | 245 int __must_check sysfs_create_dir_ns(struct kobject *kobj, const void *ns); 247 int __must_check sysfs_rename_dir_ns(struct kobject *kobj, const char *new_name, 249 int __must_check sysfs_move_dir_ns(struct kobject *kobj, 252 int __must_check sysfs_create_mount_point(struct kobject *parent_kobj, 257 int __must_check sysfs_create_file_ns(struct kobject *kobj, 260 int __must_check sysfs_create_files(struct kobject *kobj, 262 int __must_check sysfs_chmod_file(struct kobject *kobj, 272 int __must_check sysfs_create_bin_file(struct kobject *kobj, 277 int __must_check sysfs_create_link(struct kobject *kobj, struct kobject *target, 279 int __must_check sysfs_create_link_nowarn(struct kobject *kobj, [all …]
|
D | rfkill.h | 79 struct rfkill * __must_check rfkill_alloc(const char *name, 100 int __must_check rfkill_register(struct rfkill *rfkill); 241 static inline struct rfkill * __must_check 251 static inline int __must_check rfkill_register(struct rfkill *rfkill) in rfkill_register()
|
D | kasan.h | 155 void * __must_check __kasan_init_slab_obj(struct kmem_cache *cache, 157 static __always_inline void * __must_check kasan_init_slab_obj( in kasan_init_slab_obj() 189 void * __must_check __kasan_slab_alloc(struct kmem_cache *s, 191 static __always_inline void * __must_check kasan_slab_alloc( in kasan_slab_alloc() 199 void * __must_check __kasan_kmalloc(struct kmem_cache *s, const void *object, 201 static __always_inline void * __must_check kasan_kmalloc(struct kmem_cache *s, in kasan_kmalloc() 209 void * __must_check __kasan_kmalloc_large(const void *ptr, 211 static __always_inline void * __must_check kasan_kmalloc_large(const void *ptr, in kasan_kmalloc_large() 219 void * __must_check __kasan_krealloc(const void *object, 221 static __always_inline void * __must_check kasan_krealloc(const void *object, in kasan_krealloc()
|
D | overflow.h | 49 static inline bool __must_check __must_check_overflow(bool overflow) in __must_check_overflow() 140 static inline size_t __must_check size_mul(size_t factor1, size_t factor2) in size_mul() 160 static inline size_t __must_check size_add(size_t addend1, size_t addend2) in size_add() 182 static inline size_t __must_check size_sub(size_t minuend, size_t subtrahend) in size_sub()
|
D | interrupt.h | 146 extern int __must_check 164 static inline int __must_check 171 extern int __must_check 175 extern int __must_check 180 extern int __must_check 184 static inline int __must_check 192 extern int __must_check 204 extern int __must_check 210 static inline int __must_check 218 extern int __must_check
|
D | mutex.h | 183 extern int __must_check mutex_lock_interruptible_nested(struct mutex *lock, 185 extern int __must_check mutex_lock_killable_nested(struct mutex *lock, 202 extern int __must_check mutex_lock_interruptible(struct mutex *lock); 203 extern int __must_check mutex_lock_killable(struct mutex *lock);
|
/include/linux/pinctrl/ |
D | consumer.h | 34 extern struct pinctrl * __must_check pinctrl_get(struct device *dev); 36 extern struct pinctrl_state * __must_check pinctrl_lookup_state( 41 extern struct pinctrl * __must_check devm_pinctrl_get(struct device *dev); 95 static inline struct pinctrl * __must_check pinctrl_get(struct device *dev) in pinctrl_get() 104 static inline struct pinctrl_state * __must_check pinctrl_lookup_state( in pinctrl_lookup_state() 117 static inline struct pinctrl * __must_check devm_pinctrl_get(struct device *dev) in devm_pinctrl_get() 148 static inline struct pinctrl * __must_check pinctrl_get_select( in pinctrl_get_select() 174 static inline struct pinctrl * __must_check pinctrl_get_select_default( in pinctrl_get_select_default() 180 static inline struct pinctrl * __must_check devm_pinctrl_get_select( in devm_pinctrl_get_select() 206 static inline struct pinctrl * __must_check devm_pinctrl_get_select_default( in devm_pinctrl_get_select_default()
|
/include/linux/sched/ |
D | idle.h | 27 static inline bool __must_check current_set_polling_and_test(void) in current_set_polling_and_test() 45 static inline bool __must_check current_clr_polling_and_test(void) in current_clr_polling_and_test() 62 static inline bool __must_check current_set_polling_and_test(void) in current_set_polling_and_test() 66 static inline bool __must_check current_clr_polling_and_test(void) in current_clr_polling_and_test()
|
/include/drm/ |
D | drm_atomic_uapi.h | 41 int __must_check 44 int __must_check 47 int __must_check 54 int __must_check
|
/include/linux/gpio/ |
D | consumer.h | 62 struct gpio_desc *__must_check gpiod_get(struct device *dev, 65 struct gpio_desc *__must_check gpiod_get_index(struct device *dev, 69 struct gpio_desc *__must_check gpiod_get_optional(struct device *dev, 72 struct gpio_desc *__must_check gpiod_get_index_optional(struct device *dev, 76 struct gpio_descs *__must_check gpiod_get_array(struct device *dev, 79 struct gpio_descs *__must_check gpiod_get_array_optional(struct device *dev, 85 struct gpio_desc *__must_check devm_gpiod_get(struct device *dev, 88 struct gpio_desc *__must_check devm_gpiod_get_index(struct device *dev, 92 struct gpio_desc *__must_check devm_gpiod_get_optional(struct device *dev, 95 struct gpio_desc *__must_check [all …]
|
/include/linux/regulator/ |
D | consumer.h | 194 struct regulator *__must_check regulator_get(struct device *dev, 196 struct regulator *__must_check devm_regulator_get(struct device *dev, 198 struct regulator *__must_check regulator_get_exclusive(struct device *dev, 200 struct regulator *__must_check devm_regulator_get_exclusive(struct device *dev, 202 struct regulator *__must_check regulator_get_optional(struct device *dev, 204 struct regulator *__must_check devm_regulator_get_optional(struct device *dev, 233 int __must_check regulator_enable(struct regulator *regulator); 239 int __must_check regulator_bulk_get(struct device *dev, int num_consumers, 241 int __must_check devm_regulator_bulk_get(struct device *dev, int num_consumers, 243 int __must_check regulator_bulk_enable(int num_consumers, [all …]
|
/include/linux/mux/ |
D | consumer.h | 19 int __must_check mux_control_select(struct mux_control *mux, 21 int __must_check mux_control_try_select(struct mux_control *mux,
|
/include/asm-generic/ |
D | uaccess.h | 82 static inline __must_check unsigned long 89 static inline __must_check unsigned long 255 static inline __must_check unsigned long 263 static inline __must_check unsigned long 275 __must_check long strncpy_from_user(char *dst, const char __user *src, 277 __must_check long strnlen_user(const char __user *src, long n);
|
D | simd.h | 12 static __must_check inline bool may_use_simd(void) in may_use_simd()
|
/include/media/ |
D | media-device.h | 202 static inline __must_check int media_entity_enum_init( in media_entity_enum_init() 279 int __must_check __media_device_register(struct media_device *mdev, 339 int __must_check media_device_register_entity(struct media_device *mdev, 376 int __must_check media_device_register_entity_notify(struct media_device *mdev,
|