Home
last modified time | relevance | path

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

12345678910>>...12

/Linux-v6.1/include/linux/
Dkstrtox.h9 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 …]
Drefcount.h150 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 …]
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()
Dreset.h211 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
560 __must_check devm_reset_control_get_exclusive(struct device *dev, in devm_reset_control_get_exclusive()
[all …]
Duaccess.h58 static __always_inline __must_check unsigned long
70 static __always_inline __must_check unsigned long
98 static __always_inline __must_check unsigned long
108 static __always_inline __must_check unsigned long
120 static inline __must_check unsigned long
135 extern __must_check unsigned long
140 static inline __must_check unsigned long
153 extern __must_check unsigned long
157 static __always_inline unsigned long __must_check
165 static __always_inline unsigned long __must_check
[all …]
Dclk.h251 int __must_check clk_bulk_prepare(int num_clks,
277 static inline int __must_check
352 int __must_check clk_bulk_get(struct device *dev, int num_clks,
372 int __must_check clk_bulk_get_all(struct device *dev,
385 int __must_check clk_bulk_get_optional(struct device *dev, int num_clks,
399 int __must_check devm_clk_bulk_get(struct device *dev, int num_clks,
422 int __must_check devm_clk_bulk_get_optional(struct device *dev, int num_clks,
438 int __must_check devm_clk_bulk_get_all(struct device *dev,
640 int __must_check clk_bulk_enable(int num_clks,
891 static inline int __must_check clk_bulk_get(struct device *dev, int num_clks, in clk_bulk_get()
[all …]
Dkobject.h94 extern __printf(3, 4) __must_check
97 extern __printf(4, 5) __must_check
104 extern struct kobject * __must_check kobject_create_and_add(const char *name,
107 extern int __must_check kobject_rename(struct kobject *, const char *new_name);
108 extern int __must_check kobject_move(struct kobject *, struct kobject *);
111 extern struct kobject * __must_check kobject_get_unless_zero(
180 extern int __must_check kset_register(struct kset *kset);
182 extern struct kset * __must_check kset_create_and_add(const char *name,
Dsysfs.h261 int __must_check sysfs_create_dir_ns(struct kobject *kobj, const void *ns);
263 int __must_check sysfs_rename_dir_ns(struct kobject *kobj, const char *new_name,
265 int __must_check sysfs_move_dir_ns(struct kobject *kobj,
268 int __must_check sysfs_create_mount_point(struct kobject *parent_kobj,
273 int __must_check sysfs_create_file_ns(struct kobject *kobj,
276 int __must_check sysfs_create_files(struct kobject *kobj,
278 int __must_check sysfs_chmod_file(struct kobject *kobj,
288 int __must_check sysfs_create_bin_file(struct kobject *kobj,
293 int __must_check sysfs_create_link(struct kobject *kobj, struct kobject *target,
295 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);
Dkasan.h161 void * __must_check __kasan_init_slab_obj(struct kmem_cache *cache,
163 static __always_inline void * __must_check kasan_init_slab_obj( in kasan_init_slab_obj()
195 void * __must_check __kasan_slab_alloc(struct kmem_cache *s,
197 static __always_inline void * __must_check kasan_slab_alloc( in kasan_slab_alloc()
205 void * __must_check __kasan_kmalloc(struct kmem_cache *s, const void *object,
207 static __always_inline void * __must_check kasan_kmalloc(struct kmem_cache *s, in kasan_kmalloc()
215 void * __must_check __kasan_kmalloc_large(const void *ptr,
217 static __always_inline void * __must_check kasan_kmalloc_large(const void *ptr, in kasan_kmalloc_large()
225 void * __must_check __kasan_krealloc(const void *object,
227 static __always_inline void * __must_check kasan_krealloc(const void *object, in kasan_krealloc()
/Linux-v6.1/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
55 static __always_inline __must_check unsigned long
87 __must_check unsigned long
89 __must_check unsigned long
91 __must_check unsigned long
94 static __always_inline __must_check unsigned long __clear_user(void __user *addr, unsigned long siz… in __clear_user()
Darchrandom.h20 static inline bool __must_check rdrand_long(unsigned long *v) in rdrand_long()
34 static inline bool __must_check rdseed_long(unsigned long *v) in rdseed_long()
48 static inline size_t __must_check arch_get_random_longs(unsigned long *v, size_t max_longs) in arch_get_random_longs()
53 static inline size_t __must_check arch_get_random_seed_longs(unsigned long *v, size_t max_longs) in arch_get_random_seed_longs()
/Linux-v6.1/include/linux/mux/
Dconsumer.h20 int __must_check mux_control_select_delay(struct mux_control *mux,
23 int __must_check mux_state_select_delay(struct mux_state *mstate,
25 int __must_check mux_control_try_select_delay(struct mux_control *mux,
28 int __must_check mux_state_try_select_delay(struct mux_state *mstate,
31 static inline int __must_check mux_control_select(struct mux_control *mux, in mux_control_select()
37 static inline int __must_check mux_state_select(struct mux_state *mstate) in mux_state_select()
42 static inline int __must_check mux_control_try_select(struct mux_control *mux, in mux_control_try_select()
48 static inline int __must_check mux_state_try_select(struct mux_state *mstate) in mux_state_try_select()
/Linux-v6.1/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-v6.1/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);
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()
/Linux-v6.1/include/linux/gpio/
Dconsumer.h62 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 …]
/Linux-v6.1/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-v6.1/arch/s390/kvm/
Dgaccess.h148 static inline __must_check
174 static inline __must_check
255 static inline __must_check
274 static inline __must_check
297 static inline __must_check
318 static inline __must_check
341 static inline __must_check
367 static inline __must_check
390 static inline __must_check
413 static inline __must_check
[all …]
/Linux-v6.1/include/linux/regulator/
Dconsumer.h198 struct regulator *__must_check regulator_get(struct device *dev,
200 struct regulator *__must_check devm_regulator_get(struct device *dev,
202 struct regulator *__must_check regulator_get_exclusive(struct device *dev,
204 struct regulator *__must_check devm_regulator_get_exclusive(struct device *dev,
206 struct regulator *__must_check regulator_get_optional(struct device *dev,
208 struct regulator *__must_check devm_regulator_get_optional(struct device *dev,
239 int __must_check regulator_enable(struct regulator *regulator);
245 int __must_check regulator_bulk_get(struct device *dev, int num_consumers,
247 int __must_check devm_regulator_bulk_get(struct device *dev, int num_consumers,
250 int __must_check devm_regulator_bulk_get_const(
[all …]
/Linux-v6.1/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-v6.1/include/drm/
Ddrm_atomic_uapi.h41 int __must_check
44 int __must_check
47 int __must_check
52 int __must_check
/Linux-v6.1/include/linux/sched/
Didle.h31 static inline bool __must_check current_set_polling_and_test(void) in current_set_polling_and_test()
49 static inline bool __must_check current_clr_polling_and_test(void) in current_clr_polling_and_test()
66 static inline bool __must_check current_set_polling_and_test(void) in current_set_polling_and_test()
70 static inline bool __must_check current_clr_polling_and_test(void) in current_clr_polling_and_test()
/Linux-v6.1/arch/s390/include/asm/
Duaccess.h25 unsigned long __must_check
28 unsigned long __must_check
36 unsigned long __must_check
39 static __always_inline unsigned long __must_check
47 unsigned long __must_check
50 static __always_inline unsigned long __must_check
273 long __must_check strncpy_from_user(char *dst, const char __user *src, long count);
275 long __must_check strnlen_user(const char __user *src, long count);
280 unsigned long __must_check __clear_user(void __user *to, unsigned long size);
282 static inline unsigned long __must_check clear_user(void __user *to, unsigned long n) in clear_user()
/Linux-v6.1/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-v6.1/include/media/
Dv4l2-dev.h357 int __must_check __video_register_device(struct video_device *vdev,
379 static inline int __must_check video_register_device(struct video_device *vdev, in video_register_device()
406 static inline int __must_check
427 struct video_device * __must_check video_device_alloc(void);
563 __must_check int video_device_pipeline_start(struct video_device *vdev,
577 __must_check int __video_device_pipeline_start(struct video_device *vdev,
622 __must_check int video_device_pipeline_alloc_start(struct video_device *vdev);

12345678910>>...12