Home
last modified time | relevance | path

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

12345678910

/Linux-v5.4/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 …]
Duaccess.h58 static __always_inline __must_check unsigned long
66 static __always_inline __must_check unsigned long
88 static __always_inline __must_check unsigned long
96 static __always_inline __must_check unsigned long
106 static inline __must_check unsigned long
120 extern __must_check unsigned long
125 static inline __must_check unsigned long
136 extern __must_check unsigned long
140 static __always_inline unsigned long __must_check
148 static __always_inline unsigned long __must_check
[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()
Dclk.h233 int __must_check clk_bulk_prepare(int num_clks,
242 static inline int __must_check
312 int __must_check clk_bulk_get(struct device *dev, int num_clks,
332 int __must_check clk_bulk_get_all(struct device *dev,
345 int __must_check clk_bulk_get_optional(struct device *dev, int num_clks,
359 int __must_check devm_clk_bulk_get(struct device *dev, int num_clks,
382 int __must_check devm_clk_bulk_get_optional(struct device *dev, int num_clks,
398 int __must_check devm_clk_bulk_get_all(struct device *dev,
502 int __must_check clk_bulk_enable(int num_clks,
750 static inline int __must_check clk_bulk_get(struct device *dev, int num_clks, in clk_bulk_get()
[all …]
Dkernel.h339 int __must_check _kstrtoul(const char *s, unsigned int base, unsigned long *res);
340 int __must_check _kstrtol(const char *s, unsigned int base, long *res);
342 int __must_check kstrtoull(const char *s, unsigned int base, unsigned long long *res);
343 int __must_check kstrtoll(const char *s, unsigned int base, long long *res);
361 static inline int __must_check kstrtoul(const char *s, unsigned int base, unsigned long *res) in kstrtoul()
390 static inline int __must_check kstrtol(const char *s, unsigned int base, long *res) in kstrtol()
403 int __must_check kstrtouint(const char *s, unsigned int base, unsigned int *res);
404 int __must_check kstrtoint(const char *s, unsigned int base, int *res);
406 static inline int __must_check kstrtou64(const char *s, unsigned int base, u64 *res) in kstrtou64()
411 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(
201 extern int __must_check kset_register(struct kset *kset);
203 extern struct kset * __must_check kset_create_and_add(const char *name,
Dsysfs.h230 int __must_check sysfs_create_dir_ns(struct kobject *kobj, const void *ns);
232 int __must_check sysfs_rename_dir_ns(struct kobject *kobj, const char *new_name,
234 int __must_check sysfs_move_dir_ns(struct kobject *kobj,
237 int __must_check sysfs_create_mount_point(struct kobject *parent_kobj,
242 int __must_check sysfs_create_file_ns(struct kobject *kobj,
245 int __must_check sysfs_create_files(struct kobject *kobj,
247 int __must_check sysfs_chmod_file(struct kobject *kobj,
257 int __must_check sysfs_create_bin_file(struct kobject *kobj,
262 int __must_check sysfs_create_link(struct kobject *kobj, struct kobject *target,
264 int __must_check sysfs_create_link_nowarn(struct kobject *kobj,
[all …]
Dsemaphore.h39 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);
Dmutex.h147 extern int __must_check mutex_lock_interruptible_nested(struct mutex *lock,
149 extern int __must_check mutex_lock_killable_nested(struct mutex *lock,
166 extern int __must_check mutex_lock_interruptible(struct mutex *lock);
167 extern int __must_check mutex_lock_killable(struct mutex *lock);
210 extern /* __deprecated */ __must_check enum mutex_trylock_recursive_enum
Dinterrupt.h138 extern int __must_check
143 static inline int __must_check
150 extern int __must_check
154 extern int __must_check
159 extern int __must_check
163 static inline int __must_check
171 extern int __must_check
183 extern int __must_check
189 static inline int __must_check
197 extern int __must_check
/Linux-v5.4/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);
94 static inline struct pinctrl * __must_check pinctrl_get(struct device *dev) in pinctrl_get()
103 static inline struct pinctrl_state * __must_check pinctrl_lookup_state( in pinctrl_lookup_state()
116 static inline struct pinctrl * __must_check devm_pinctrl_get(struct device *dev) in devm_pinctrl_get()
142 static inline struct pinctrl * __must_check pinctrl_get_select( in pinctrl_get_select()
168 static inline struct pinctrl * __must_check pinctrl_get_select_default( in pinctrl_get_select_default()
174 static inline struct pinctrl * __must_check devm_pinctrl_get_select( in devm_pinctrl_get_select()
200 static inline struct pinctrl * __must_check devm_pinctrl_get_select_default( in devm_pinctrl_get_select_default()
/Linux-v5.4/drivers/net/wireless/ti/wlcore/
Dio.h44 static inline int __must_check wlcore_raw_write(struct wl1271 *wl, int addr, in wlcore_raw_write()
62 static inline int __must_check wlcore_raw_read(struct wl1271 *wl, int addr, in wlcore_raw_read()
80 static inline int __must_check wlcore_raw_read_data(struct wl1271 *wl, int reg, in wlcore_raw_read_data()
87 static inline int __must_check wlcore_raw_write_data(struct wl1271 *wl, int reg, in wlcore_raw_write_data()
94 static inline int __must_check wlcore_raw_read32(struct wl1271 *wl, int addr, in wlcore_raw_read32()
110 static inline int __must_check wlcore_raw_write32(struct wl1271 *wl, int addr, in wlcore_raw_write32()
118 static inline int __must_check wlcore_read(struct wl1271 *wl, int addr, in wlcore_read()
128 static inline int __must_check wlcore_write(struct wl1271 *wl, int addr, in wlcore_write()
138 static inline int __must_check wlcore_write_data(struct wl1271 *wl, int reg, in wlcore_write_data()
145 static inline int __must_check wlcore_read_data(struct wl1271 *wl, int reg, in wlcore_read_data()
[all …]
/Linux-v5.4/include/linux/gpio/
Dconsumer.h64 struct gpio_desc *__must_check gpiod_get(struct device *dev,
67 struct gpio_desc *__must_check gpiod_get_index(struct device *dev,
71 struct gpio_desc *__must_check gpiod_get_optional(struct device *dev,
74 struct gpio_desc *__must_check gpiod_get_index_optional(struct device *dev,
78 struct gpio_descs *__must_check gpiod_get_array(struct device *dev,
81 struct gpio_descs *__must_check gpiod_get_array_optional(struct device *dev,
87 struct gpio_desc *__must_check devm_gpiod_get(struct device *dev,
90 struct gpio_desc *__must_check devm_gpiod_get_index(struct device *dev,
94 struct gpio_desc *__must_check devm_gpiod_get_optional(struct device *dev,
97 struct gpio_desc *__must_check
[all …]
/Linux-v5.4/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()
55 static inline int __must_check PTR_ERR_OR_ZERO(__force const void *ptr) in PTR_ERR_OR_ZERO()
70 static inline void * __must_check ERR_CAST(__force const void *ptr) in ERR_CAST()
/Linux-v5.4/include/linux/regulator/
Dconsumer.h178 struct regulator *__must_check regulator_get(struct device *dev,
180 struct regulator *__must_check devm_regulator_get(struct device *dev,
182 struct regulator *__must_check regulator_get_exclusive(struct device *dev,
184 struct regulator *__must_check devm_regulator_get_exclusive(struct device *dev,
186 struct regulator *__must_check regulator_get_optional(struct device *dev,
188 struct regulator *__must_check devm_regulator_get_optional(struct device *dev,
222 int __must_check regulator_enable(struct regulator *regulator);
228 int __must_check regulator_bulk_get(struct device *dev, int num_consumers,
230 int __must_check devm_regulator_bulk_get(struct device *dev, int num_consumers,
232 int __must_check regulator_bulk_enable(int num_consumers,
[all …]
/Linux-v5.4/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-v5.4/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-v5.4/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-v5.4/include/drm/
Ddrm_atomic_uapi.h41 int __must_check
44 int __must_check
47 int __must_check
54 int __must_check
Ddrm_atomic.h400 struct drm_atomic_state * __must_check
431 int __must_check
436 struct drm_crtc_state * __must_check
439 struct drm_plane_state * __must_check
442 struct drm_connector_state * __must_check
452 struct drm_private_state * __must_check
663 int __must_check
666 int __must_check
670 int __must_check drm_atomic_check_only(struct drm_atomic_state *state);
671 int __must_check drm_atomic_commit(struct drm_atomic_state *state);
[all …]
/Linux-v5.4/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
82 static __always_inline __must_check bool refcount_dec_and_test(refcount_t *r) in refcount_dec_and_test()
96 static __always_inline __must_check
121 static __always_inline __must_check bool refcount_inc_not_zero(refcount_t *r) in refcount_inc_not_zero()
/Linux-v5.4/arch/unicore32/include/asm/
Duaccess.h23 extern unsigned long __must_check
25 extern unsigned long __must_check
27 extern unsigned long __must_check
29 extern unsigned long __must_check
/Linux-v5.4/drivers/clk/
Dclk-bulk.c15 static int __must_check of_clk_bulk_get(struct device_node *np, int num_clks, in of_clk_bulk_get()
46 static int __must_check of_clk_bulk_get_all(struct device_node *np, in of_clk_bulk_get_all()
114 int __must_check clk_bulk_get(struct device *dev, int num_clks, in clk_bulk_get()
121 int __must_check clk_bulk_get_optional(struct device *dev, int num_clks, in clk_bulk_get_optional()
139 int __must_check clk_bulk_get_all(struct device *dev, in clk_bulk_get_all()
176 int __must_check clk_bulk_prepare(int num_clks, in clk_bulk_prepare()
227 int __must_check clk_bulk_enable(int num_clks, const struct clk_bulk_data *clks) in clk_bulk_enable()
/Linux-v5.4/arch/s390/include/asm/
Duaccess.h52 unsigned long __must_check
55 unsigned long __must_check
243 unsigned long __must_check
252 static inline long __must_check
259 unsigned long __must_check __strnlen_user(const char __user *src, unsigned long count);
270 unsigned long __must_check __clear_user(void __user *to, unsigned long size);
272 static inline unsigned long __must_check clear_user(void __user *to, unsigned long n) in clear_user()

12345678910