Home
last modified time | relevance | path

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

12345678910>>...13

/Linux-v6.6/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.h39 static inline void * __must_check ERR_PTR(long error) in ERR_PTR()
49 static inline long __must_check PTR_ERR(__force const void *ptr) in PTR_ERR()
59 static inline bool __must_check IS_ERR(__force const void *ptr) in IS_ERR()
70 static inline bool __must_check IS_ERR_OR_NULL(__force const void *ptr) in IS_ERR_OR_NULL()
82 static inline void * __must_check ERR_CAST(__force const void *ptr) in ERR_CAST()
105 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 …]
Dclk.h291 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,
648 int __must_check clk_bulk_enable(int num_clks,
899 static inline int __must_check clk_bulk_get(struct device *dev, int num_clks, in clk_bulk_get()
[all …]
Duaccess.h80 static __always_inline __must_check unsigned long
92 static __always_inline __must_check unsigned long
120 static __always_inline __must_check unsigned long
130 static __always_inline __must_check unsigned long
142 static inline __must_check unsigned long
157 extern __must_check unsigned long
162 static inline __must_check unsigned long
175 extern __must_check unsigned long
179 static __always_inline unsigned long __must_check
187 static __always_inline unsigned long __must_check
[all …]
Drcuref.h43 extern __must_check bool rcuref_get_slowpath(rcuref_t *ref);
61 static inline __must_check bool rcuref_get(rcuref_t *ref) in rcuref_get()
74 extern __must_check bool rcuref_put_slowpath(rcuref_t *ref);
79 static __always_inline __must_check bool __rcuref_put(rcuref_t *ref) in __rcuref_put()
119 static inline __must_check bool rcuref_put_rcusafe(rcuref_t *ref) in rcuref_put_rcusafe()
145 static inline __must_check bool rcuref_put(rcuref_t *ref) in rcuref_put()
Dkobject.h93 __printf(3, 4) __must_check int kobject_add(struct kobject *kobj,
96 __printf(4, 5) __must_check int kobject_init_and_add(struct kobject *kobj,
103 struct kobject * __must_check kobject_create_and_add(const char *name, struct kobject *parent);
105 int __must_check kobject_rename(struct kobject *, const char *new_name);
106 int __must_check kobject_move(struct kobject *, struct kobject *);
109 struct kobject * __must_check kobject_get_unless_zero(struct kobject *kobj);
176 int __must_check kset_register(struct kset *kset);
178 struct kset * __must_check kset_create_and_add(const char *name, const struct kset_uevent_ops *u,
Dkmsan.h57 bool __init __must_check kmsan_memblock_free_pages(struct page *page,
141 int __must_check kmsan_vmap_pages_range_noflush(unsigned long start,
169 int __must_check kmsan_ioremap_page_range(unsigned long addr, unsigned long end,
243 static inline bool __must_check kmsan_memblock_free_pages(struct page *page, in kmsan_memblock_free_pages()
288 static inline int __must_check kmsan_vmap_pages_range_noflush( in kmsan_vmap_pages_range_noflush()
300 static inline int __must_check kmsan_ioremap_page_range(unsigned long start, in kmsan_ioremap_page_range()
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 …]
/Linux-v6.6/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.6/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.6/include/linux/gpio/
Dconsumer.h63 struct gpio_desc *__must_check gpiod_get(struct device *dev,
66 struct gpio_desc *__must_check gpiod_get_index(struct device *dev,
70 struct gpio_desc *__must_check gpiod_get_optional(struct device *dev,
73 struct gpio_desc *__must_check gpiod_get_index_optional(struct device *dev,
77 struct gpio_descs *__must_check gpiod_get_array(struct device *dev,
80 struct gpio_descs *__must_check gpiod_get_array_optional(struct device *dev,
86 struct gpio_desc *__must_check devm_gpiod_get(struct device *dev,
89 struct gpio_desc *__must_check devm_gpiod_get_index(struct device *dev,
93 struct gpio_desc *__must_check devm_gpiod_get_optional(struct device *dev,
96 struct gpio_desc *__must_check
[all …]
/Linux-v6.6/include/linux/pinctrl/
Dconsumer.h35 extern struct pinctrl * __must_check pinctrl_get(struct device *dev);
37 extern struct pinctrl_state * __must_check pinctrl_lookup_state(struct pinctrl *p,
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(struct pinctrl *p, in pinctrl_lookup_state()
116 static inline struct pinctrl * __must_check devm_pinctrl_get(struct device *dev) in devm_pinctrl_get()
147 static inline struct pinctrl * __must_check pinctrl_get_select(struct device *dev, in pinctrl_get_select()
173 static inline struct pinctrl * __must_check pinctrl_get_select_default(struct device *dev) in pinctrl_get_select_default()
178 static inline struct pinctrl * __must_check devm_pinctrl_get_select(struct device *dev, in devm_pinctrl_get_select()
204 static inline struct pinctrl * __must_check devm_pinctrl_get_select_default(struct device *dev) in devm_pinctrl_get_select_default()
/Linux-v6.6/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.6/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 of_regulator_bulk_get_all(struct device *dev, struct device_node *np,
249 int __must_check devm_regulator_bulk_get(struct device *dev, int num_consumers,
[all …]
/Linux-v6.6/arch/s390/kvm/
Dgaccess.h148 static inline __must_check
174 static inline __must_check
258 static inline __must_check
277 static inline __must_check
300 static inline __must_check
321 static inline __must_check
344 static inline __must_check
370 static inline __must_check
393 static inline __must_check
416 static inline __must_check
[all …]
/Linux-v6.6/arch/x86/include/asm/
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
36 unsigned long __must_check clear_user(void __user *mem, unsigned long len);
37 unsigned long __must_check __clear_user(void __user *mem, unsigned long len);
Duaccess_64.h101 __must_check unsigned long
104 static __always_inline __must_check unsigned long
124 static __always_inline __must_check unsigned long
130 static __always_inline __must_check unsigned long
162 __must_check unsigned long
165 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.6/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.6/include/drm/
Ddrm_atomic_uapi.h41 int __must_check
44 int __must_check
47 int __must_check
52 int __must_check
/Linux-v6.6/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);
/Linux-v6.6/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.6/include/linux/sched/
Didle.h56 static __always_inline bool __must_check current_set_polling_and_test(void) in current_set_polling_and_test()
69 static __always_inline bool __must_check current_clr_polling_and_test(void) in current_clr_polling_and_test()
86 static inline bool __must_check current_set_polling_and_test(void) in current_set_polling_and_test()
90 static inline bool __must_check current_clr_polling_and_test(void) in current_clr_polling_and_test()

12345678910>>...13