Home
last modified time | relevance | path

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

12345678910>>...13

/openbmc/linux/include/linux/
H A 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);
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);
94 int __must_check kstrtou16(const char *s, unsigned int base, u16 *res);
95 int __must_check kstrtos16(const char *s, unsigned int base, s16 *res);
96 int __must_check kstrtou8(const char *s, unsigned int base, u8 *res);
97 int __must_check kstrtos8(const char *s, unsigned int base, s8 *res);
[all …]
H A 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 …]
H A 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()
H A Dreset.h252 static inline int __must_check
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
579 static inline int __must_check
618 static inline int __must_check
657 static inline int __must_check
692 static inline int __must_check
[all …]
H A 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()
H A 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,
478 int __must_check devm_clk_bulk_get_all(struct device *dev,
648 int __must_check clk_bulk_enable(int num_clks,
911 static inline int __must_check clk_bulk_get_all(struct device *dev, in clk_bulk_get_all()
990 static inline int __must_check clk_bulk_enable(int num_clks, in clk_bulk_enable()
[all …]
H A 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
200 static inline unsigned long __must_check
289 static inline __must_check unsigned long
[all …]
H A 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,
H A 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()
H A Dsemaphore.h45 extern int __must_check down_interruptible(struct semaphore *sem);
46 extern int __must_check down_killable(struct semaphore *sem);
47 extern int __must_check down_trylock(struct semaphore *sem);
48 extern int __must_check down_timeout(struct semaphore *sem, long jiffies);
/openbmc/linux/include/linux/mux/
H A 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()
/openbmc/linux/include/linux/pinctrl/
H A 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()
/openbmc/linux/tools/include/linux/
H A 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()
/openbmc/linux/drivers/net/wireless/ti/wlcore/
H A 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()
94 static inline int __must_check wlcore_raw_read32(struct wl1271 *wl, int addr, in wlcore_raw_read32()
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()
167 static inline int __must_check wlcore_read32(struct wl1271 *wl, int addr, in wlcore_read32()
173 static inline int __must_check wlcore_write32(struct wl1271 *wl, int addr, in wlcore_write32()
179 static inline int __must_check wlcore_read_reg(struct wl1271 *wl, int reg, in wlcore_read_reg()
[all …]
/openbmc/linux/include/linux/gpio/
H A Dconsumer.h96 struct gpio_desc *__must_check
102 struct gpio_descs *__must_check
203 static inline struct gpio_desc *__must_check
212 static inline struct gpio_desc *__must_check
219 static inline struct gpio_desc *__must_check
226 static inline struct gpio_descs *__must_check
233 static inline struct gpio_descs *__must_check
265 static inline struct gpio_desc *__must_check
273 struct gpio_desc *__must_check
282 static inline struct gpio_desc *__must_check
[all …]
/openbmc/linux/include/linux/regulator/
H A Dconsumer.h198 struct regulator *__must_check regulator_get(struct device *dev,
200 struct regulator *__must_check devm_regulator_get(struct device *dev,
206 struct regulator *__must_check regulator_get_optional(struct device *dev,
239 int __must_check regulator_enable(struct regulator *regulator);
254 int __must_check devm_regulator_bulk_get_const(
258 int __must_check regulator_bulk_enable(int num_consumers,
348 static inline struct regulator *__must_check
354 static inline struct regulator *__must_check
360 static inline struct regulator *__must_check
377 static inline struct regulator *__must_check
[all …]
/openbmc/linux/arch/s390/kvm/
H A 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
417 static inline __must_check
[all …]
/openbmc/linux/arch/x86/include/asm/
H A 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);
H A 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()
H A 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()
/openbmc/linux/tools/virtio/linux/
H A 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()
/openbmc/linux/include/drm/
H A Ddrm_atomic_uapi.h41 int __must_check
44 int __must_check
47 int __must_check
52 int __must_check
/openbmc/linux/include/linux/sched/
H A 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()
/openbmc/linux/drivers/clk/
H A 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()
/openbmc/linux/include/media/
H A 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>>...13