Home
last modified time | relevance | path

Searched refs:__must_check (Results 1 – 25 of 222) sorted by relevance

123456789

/Linux-v4.19/include/linux/
Drefcount.h46 extern __must_check bool refcount_add_not_zero_checked(unsigned int i, refcount_t *r);
49 extern __must_check bool refcount_inc_not_zero_checked(refcount_t *r);
52 extern __must_check bool refcount_sub_and_test_checked(unsigned int i, refcount_t *r);
54 extern __must_check bool refcount_dec_and_test_checked(refcount_t *r);
74 static inline __must_check bool refcount_add_not_zero(unsigned int i, refcount_t *r) in refcount_add_not_zero()
84 static inline __must_check bool refcount_inc_not_zero(refcount_t *r) in refcount_inc_not_zero()
94 static inline __must_check bool refcount_sub_and_test(unsigned int i, refcount_t *r) in refcount_sub_and_test()
99 static inline __must_check bool refcount_dec_and_test(refcount_t *r) in refcount_dec_and_test()
111 extern __must_check bool refcount_dec_if_one(refcount_t *r);
112 extern __must_check bool refcount_dec_not_one(refcount_t *r);
[all …]
Derr.h24 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()
Dkernel.h344 int __must_check _kstrtoul(const char *s, unsigned int base, unsigned long *res);
345 int __must_check _kstrtol(const char *s, unsigned int base, long *res);
347 int __must_check kstrtoull(const char *s, unsigned int base, unsigned long long *res);
348 int __must_check kstrtoll(const char *s, unsigned int base, long long *res);
366 static inline int __must_check kstrtoul(const char *s, unsigned int base, unsigned long *res) in kstrtoul()
395 static inline int __must_check kstrtol(const char *s, unsigned int base, long *res) in kstrtol()
408 int __must_check kstrtouint(const char *s, unsigned int base, unsigned int *res);
409 int __must_check kstrtoint(const char *s, unsigned int base, int *res);
411 static inline int __must_check kstrtou64(const char *s, unsigned int base, u64 *res) in kstrtou64()
416 static inline int __must_check kstrtos64(const char *s, unsigned int base, s64 *res) in kstrtos64()
[all …]
Dkobject.h95 extern __printf(3, 4) __must_check
98 extern __printf(4, 5) __must_check
105 extern struct kobject * __must_check kobject_create(void);
106 extern struct kobject * __must_check kobject_create_and_add(const char *name,
109 extern int __must_check kobject_rename(struct kobject *, const char *new_name);
110 extern int __must_check kobject_move(struct kobject *, struct kobject *);
113 extern struct kobject * __must_check kobject_get_unless_zero(
200 extern int __must_check kset_register(struct kset *kset);
202 extern struct kset * __must_check kset_create_and_add(const char *name,
Dsysfs.h221 int __must_check sysfs_create_dir_ns(struct kobject *kobj, const void *ns);
223 int __must_check sysfs_rename_dir_ns(struct kobject *kobj, const char *new_name,
225 int __must_check sysfs_move_dir_ns(struct kobject *kobj,
228 int __must_check sysfs_create_mount_point(struct kobject *parent_kobj,
233 int __must_check sysfs_create_file_ns(struct kobject *kobj,
236 int __must_check sysfs_create_files(struct kobject *kobj,
238 int __must_check sysfs_chmod_file(struct kobject *kobj,
248 int __must_check sysfs_create_bin_file(struct kobject *kobj,
253 int __must_check sysfs_create_link(struct kobject *kobj, struct kobject *target,
255 int __must_check sysfs_create_link_nowarn(struct kobject *kobj,
[all …]
Dsemaphore.h40 extern int __must_check down_interruptible(struct semaphore *sem);
41 extern int __must_check down_killable(struct semaphore *sem);
42 extern int __must_check down_trylock(struct semaphore *sem);
43 extern int __must_check down_timeout(struct semaphore *sem, long jiffies);
Dclk.h236 int __must_check clk_bulk_prepare(int num_clks,
245 static inline int __must_check clk_bulk_prepare(int num_clks, struct clk_bulk_data *clks) in clk_bulk_prepare()
313 int __must_check clk_bulk_get(struct device *dev, int num_clks,
328 int __must_check devm_clk_bulk_get(struct device *dev, int num_clks,
421 int __must_check clk_bulk_enable(int num_clks,
639 static inline int __must_check clk_bulk_get(struct device *dev, int num_clks, in clk_bulk_get()
650 static inline int __must_check devm_clk_bulk_get(struct device *dev, int num_clks, in devm_clk_bulk_get()
681 static inline int __must_check clk_bulk_enable(int num_clks, struct clk_bulk_data *clks) in clk_bulk_enable()
755 static inline int __must_check clk_bulk_prepare_enable(int num_clks, in clk_bulk_prepare_enable()
Dmutex.h160 extern int __must_check mutex_lock_interruptible_nested(struct mutex *lock,
162 extern int __must_check mutex_lock_killable_nested(struct mutex *lock,
179 extern int __must_check mutex_lock_interruptible(struct mutex *lock);
180 extern int __must_check mutex_lock_killable(struct mutex *lock);
223 static inline /* __deprecated */ __must_check enum mutex_trylock_recursive_enum
Drfkill.h79 struct rfkill * __must_check rfkill_alloc(const char *name,
100 int __must_check rfkill_register(struct rfkill *rfkill);
226 static inline struct rfkill * __must_check
236 static inline int __must_check rfkill_register(struct rfkill *rfkill) in rfkill_register()
/Linux-v4.19/include/linux/gpio/
Dconsumer.h54 struct gpio_desc *__must_check gpiod_get(struct device *dev,
57 struct gpio_desc *__must_check gpiod_get_index(struct device *dev,
61 struct gpio_desc *__must_check gpiod_get_optional(struct device *dev,
64 struct gpio_desc *__must_check gpiod_get_index_optional(struct device *dev,
68 struct gpio_descs *__must_check gpiod_get_array(struct device *dev,
71 struct gpio_descs *__must_check gpiod_get_array_optional(struct device *dev,
77 struct gpio_desc *__must_check devm_gpiod_get(struct device *dev,
80 struct gpio_desc *__must_check devm_gpiod_get_index(struct device *dev,
84 struct gpio_desc *__must_check devm_gpiod_get_optional(struct device *dev,
87 struct gpio_desc *__must_check
[all …]
/Linux-v4.19/include/linux/pinctrl/
Dconsumer.h34 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);
89 static inline struct pinctrl * __must_check pinctrl_get(struct device *dev) in pinctrl_get()
98 static inline struct pinctrl_state * __must_check pinctrl_lookup_state( in pinctrl_lookup_state()
111 static inline struct pinctrl * __must_check devm_pinctrl_get(struct device *dev) in devm_pinctrl_get()
137 static inline struct pinctrl * __must_check pinctrl_get_select( in pinctrl_get_select()
163 static inline struct pinctrl * __must_check pinctrl_get_select_default( in pinctrl_get_select_default()
169 static inline struct pinctrl * __must_check devm_pinctrl_get_select( in devm_pinctrl_get_select()
195 static inline struct pinctrl * __must_check devm_pinctrl_get_select_default( in devm_pinctrl_get_select_default()
/Linux-v4.19/drivers/net/wireless/ti/wlcore/
Dio.h58 static inline int __must_check wlcore_raw_write(struct wl1271 *wl, int addr, in wlcore_raw_write()
76 static inline int __must_check wlcore_raw_read(struct wl1271 *wl, int addr, in wlcore_raw_read()
94 static inline int __must_check wlcore_raw_read_data(struct wl1271 *wl, int reg, in wlcore_raw_read_data()
101 static inline int __must_check wlcore_raw_write_data(struct wl1271 *wl, int reg, in wlcore_raw_write_data()
108 static inline int __must_check wlcore_raw_read32(struct wl1271 *wl, int addr, in wlcore_raw_read32()
124 static inline int __must_check wlcore_raw_write32(struct wl1271 *wl, int addr, in wlcore_raw_write32()
132 static inline int __must_check wlcore_read(struct wl1271 *wl, int addr, in wlcore_read()
142 static inline int __must_check wlcore_write(struct wl1271 *wl, int addr, in wlcore_write()
152 static inline int __must_check wlcore_write_data(struct wl1271 *wl, int reg, in wlcore_write_data()
159 static inline int __must_check wlcore_read_data(struct wl1271 *wl, int reg, in wlcore_read_data()
[all …]
/Linux-v4.19/include/linux/regulator/
Dconsumer.h182 struct regulator *__must_check regulator_get(struct device *dev,
184 struct regulator *__must_check devm_regulator_get(struct device *dev,
186 struct regulator *__must_check regulator_get_exclusive(struct device *dev,
188 struct regulator *__must_check devm_regulator_get_exclusive(struct device *dev,
190 struct regulator *__must_check regulator_get_optional(struct device *dev,
192 struct regulator *__must_check devm_regulator_get_optional(struct device *dev,
226 int __must_check regulator_enable(struct regulator *regulator);
232 int __must_check regulator_bulk_get(struct device *dev, int num_consumers,
234 int __must_check devm_regulator_bulk_get(struct device *dev, int num_consumers,
236 int __must_check regulator_bulk_enable(int num_consumers,
[all …]
/Linux-v4.19/arch/s390/kvm/
Dgaccess.h120 static inline __must_check
146 static inline __must_check
217 static inline __must_check
237 static inline __must_check
258 static inline __must_check
281 static inline __must_check
304 static inline __must_check
327 static inline __must_check
350 static inline __must_check
/Linux-v4.19/tools/virtio/linux/
Derr.h8 static inline void * __must_check ERR_PTR(long error) in ERR_PTR()
13 static inline long __must_check PTR_ERR(const void *ptr) in PTR_ERR()
18 static inline long __must_check IS_ERR(const void *ptr) in IS_ERR()
23 static inline long __must_check IS_ERR_OR_NULL(const void *ptr) in IS_ERR_OR_NULL()
/Linux-v4.19/tools/include/linux/
Derr.h35 static inline void * __must_check ERR_PTR(long error_) in ERR_PTR()
40 static inline long __must_check PTR_ERR(__force const void *ptr) in PTR_ERR()
45 static inline bool __must_check IS_ERR(__force const void *ptr) in IS_ERR()
50 static inline bool __must_check IS_ERR_OR_NULL(__force const void *ptr) in IS_ERR_OR_NULL()
/Linux-v4.19/include/drm/
Ddrm_atomic.h348 struct drm_atomic_state * __must_check
379 int __must_check
384 struct drm_crtc_state * __must_check
390 struct drm_plane_state * __must_check
393 struct drm_connector_state * __must_check
402 struct drm_private_state * __must_check
600 int __must_check
603 int __must_check
606 int __must_check
613 int __must_check
[all …]
/Linux-v4.19/include/linux/sched/
Didle.h27 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()
/Linux-v4.19/arch/x86/include/asm/
Duaccess_64.h20 __must_check unsigned long
22 __must_check unsigned long
24 __must_check unsigned long
27 static __always_inline __must_check unsigned long
49 static __always_inline __must_check unsigned long
65 static __always_inline __must_check unsigned long
122 static __always_inline __must_check unsigned long
181 static __always_inline __must_check
Drefcount.h67 static __always_inline __must_check
74 static __always_inline __must_check bool refcount_dec_and_test(refcount_t *r) in refcount_dec_and_test()
80 static __always_inline __must_check
105 static __always_inline __must_check bool refcount_inc_not_zero(refcount_t *r) in refcount_inc_not_zero()
Duaccess_32.h12 unsigned long __must_check __copy_user_ll
14 unsigned long __must_check __copy_from_user_ll_nocache_nozero
17 static __always_inline unsigned long __must_check
/Linux-v4.19/arch/unicore32/include/asm/
Duaccess.h26 extern unsigned long __must_check
28 extern unsigned long __must_check
30 extern unsigned long __must_check
32 extern unsigned long __must_check
/Linux-v4.19/arch/s390/include/asm/
Duaccess.h53 unsigned long __must_check
56 unsigned long __must_check
242 unsigned long __must_check
251 static inline long __must_check
258 unsigned long __must_check __strnlen_user(const char __user *src, unsigned long count);
269 unsigned long __must_check __clear_user(void __user *to, unsigned long size);
271 static inline unsigned long __must_check clear_user(void __user *to, unsigned long n) in clear_user()
/Linux-v4.19/arch/arm/include/asm/
Duaccess.h459 extern unsigned long __must_check
462 static inline unsigned long __must_check
473 extern unsigned long __must_check
475 extern unsigned long __must_check
478 static inline unsigned long __must_check
492 extern unsigned long __must_check
494 extern unsigned long __must_check
497 static inline unsigned long __must_check
524 static inline unsigned long __must_check clear_user(void __user *to, unsigned long n) in clear_user()
534 extern __must_check long strnlen_user(const char __user *str, long n);
/Linux-v4.19/arch/sparc/include/asm/
Duaccess_64.h179 unsigned long __must_check raw_copy_from_user(void *to,
183 unsigned long __must_check raw_copy_to_user(void __user *to,
189 unsigned long __must_check raw_copy_in_user(void __user *to,
193 unsigned long __must_check __clear_user(void __user *, unsigned long);
197 __must_check long strnlen_user(const char __user *str, long n);

123456789