Home
last modified time | relevance | path

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

123456

/include/linux/
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 …]
A Drefcount.h173 static inline __must_check __signed_wrap
210 static inline __must_check bool refcount_add_not_zero(int i, refcount_t *r) in refcount_add_not_zero()
215 static inline __must_check __signed_wrap
241 static inline __must_check bool
247 static inline __must_check __signed_wrap
333 static inline __must_check bool refcount_inc_not_zero(refcount_t *r) in refcount_inc_not_zero()
386 static inline __must_check __signed_wrap
448 static inline __must_check bool refcount_dec_and_test(refcount_t *r) in refcount_dec_and_test()
479 extern __must_check bool refcount_dec_if_one(refcount_t *r);
480 extern __must_check bool refcount_dec_not_one(refcount_t *r);
[all …]
A Derr.h39 static inline void * __must_check ERR_PTR(long error) in ERR_PTR()
55 static inline long __must_check PTR_ERR(__force const void *ptr) in PTR_ERR()
68 static inline bool __must_check IS_ERR(__force const void *ptr) in IS_ERR()
82 static inline bool __must_check IS_ERR_OR_NULL(__force const void *ptr) in IS_ERR_OR_NULL()
94 static inline void * __must_check ERR_CAST(__force const void *ptr) in ERR_CAST()
117 static inline int __must_check PTR_ERR_OR_ZERO(__force const void *ptr) in PTR_ERR_OR_ZERO()
A Drcuref.h63 extern __must_check bool rcuref_get_slowpath(rcuref_t *ref);
81 static inline __must_check bool rcuref_get(rcuref_t *ref) in rcuref_get()
94 extern __must_check bool rcuref_put_slowpath(rcuref_t *ref, unsigned int cnt);
99 static __always_inline __must_check bool __rcuref_put(rcuref_t *ref) in __rcuref_put()
142 static inline __must_check bool rcuref_put_rcusafe(rcuref_t *ref) in rcuref_put_rcusafe()
168 static inline __must_check bool rcuref_put(rcuref_t *ref) in rcuref_put()
A Dset_memory.h11 static inline int __must_check set_memory_ro(unsigned long addr, int numpages) { return 0; } in set_memory_ro()
12 static inline int __must_check set_memory_rw(unsigned long addr, int numpages) { return 0; } in set_memory_rw()
13 static inline int __must_check set_memory_x(unsigned long addr, int numpages) { return 0; } in set_memory_x()
14 static inline int __must_check set_memory_nx(unsigned long addr, int numpages) { return 0; } in set_memory_nx()
A Dclk.h308 int __must_check clk_bulk_prepare(int num_clks,
334 static inline int __must_check
409 int __must_check clk_bulk_get(struct device *dev, int num_clks,
429 int __must_check clk_bulk_get_all(struct device *dev,
456 int __must_check devm_clk_bulk_get(struct device *dev, int num_clks,
495 int __must_check devm_clk_bulk_get_all(struct device *dev,
513 int __must_check devm_clk_bulk_get_all_enabled(struct device *dev,
709 int __must_check clk_bulk_enable(int num_clks,
972 static inline int __must_check clk_bulk_get_all(struct device *dev, in clk_bulk_get_all()
1064 static inline int __must_check clk_bulk_enable(int num_clks, in clk_bulk_enable()
[all …]
A Dsemaphore.h57 extern int __must_check down_interruptible(struct semaphore *sem);
58 extern int __must_check down_killable(struct semaphore *sem);
59 extern int __must_check down_trylock(struct semaphore *sem);
60 extern int __must_check down_timeout(struct semaphore *sem, long jiffies);
A Duaccess.h89 static __always_inline __must_check unsigned long
101 static __always_inline __must_check unsigned long
129 static __always_inline __must_check unsigned long
158 static inline __must_check unsigned long
186 extern __must_check unsigned long
189 static inline __must_check unsigned long
201 extern __must_check unsigned long
234 static inline unsigned long __must_check
325 static inline __must_check unsigned long
383 static __always_inline __must_check int
[all …]
A Dreset.h299 static inline int __must_check
341 static inline int __must_check
362 static inline int __must_check
408 static inline int __must_check
445 static inline int __must_check
482 static inline int __must_check
646 static inline int __must_check
686 static inline int __must_check
726 static inline int __must_check
781 static inline int __must_check
[all …]
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,
A Dkfence.h183 static __always_inline __must_check bool kfence_free(void *addr) in kfence_free()
206 bool __must_check kfence_handle_page_fault(unsigned long addr, bool is_write, struct pt_regs *regs);
236 static inline bool __must_check kfence_free(void *addr) { return false; } in kfence_free()
237 static inline bool __must_check kfence_handle_page_fault(unsigned long addr, bool is_write, in kfence_handle_page_fault()
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,
304 static inline bool __must_check kmsan_memblock_free_pages(struct page *page, in kmsan_memblock_free_pages()
349 static inline int __must_check kmsan_vmap_pages_range_noflush( in kmsan_vmap_pages_range_noflush()
361 static inline int __must_check kmsan_ioremap_page_range(unsigned long start, in kmsan_ioremap_page_range()
A Dfile_ref.h78 static __always_inline __must_check bool file_ref_get(file_ref_t *ref) in file_ref_get()
139 static __always_inline __must_check bool file_ref_put(file_ref_t *ref) in file_ref_put()
178 static __always_inline __must_check bool file_ref_put_close(file_ref_t *ref) in file_ref_put_close()
A Drfkill.h79 struct rfkill * __must_check rfkill_alloc(const char *name,
100 int __must_check rfkill_register(struct rfkill *rfkill);
249 static inline struct rfkill * __must_check
259 static inline int __must_check rfkill_register(struct rfkill *rfkill) in rfkill_register()
A Dmutex.h129 int __must_check __devm_mutex_init(struct device *dev, struct mutex *lock);
133 static inline int __must_check __devm_mutex_init(struct device *dev, struct mutex *lock) in __devm_mutex_init()
162 extern int __must_check mutex_lock_interruptible_nested(struct mutex *lock,
164 extern int __must_check _mutex_lock_killable(struct mutex *lock,
190 extern int __must_check mutex_lock_interruptible(struct mutex *lock);
191 extern int __must_check mutex_lock_killable(struct mutex *lock);
/include/linux/mux/
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()
/include/drm/
A Ddrm_atomic_uapi.h41 int __must_check
44 int __must_check
47 int __must_check
52 int __must_check
/include/linux/pinctrl/
A Dconsumer.h39 struct pinctrl * __must_check pinctrl_get(struct device *dev);
41 struct pinctrl_state * __must_check pinctrl_lookup_state(struct pinctrl *p,
45 struct pinctrl * __must_check devm_pinctrl_get(struct device *dev);
106 static inline struct pinctrl * __must_check pinctrl_get(struct device *dev) in pinctrl_get()
115 static inline struct pinctrl_state * __must_check pinctrl_lookup_state(struct pinctrl *p, in pinctrl_lookup_state()
127 static inline struct pinctrl * __must_check devm_pinctrl_get(struct device *dev) in devm_pinctrl_get()
158 static inline struct pinctrl * __must_check pinctrl_get_select(struct device *dev, in pinctrl_get_select()
184 static inline struct pinctrl * __must_check pinctrl_get_select_default(struct device *dev) in pinctrl_get_select_default()
189 static inline struct pinctrl * __must_check devm_pinctrl_get_select(struct device *dev, in devm_pinctrl_get_select()
215 static inline struct pinctrl * __must_check devm_pinctrl_get_select_default(struct device *dev) in devm_pinctrl_get_select_default()
/include/linux/pwrseq/
A Dconsumer.h16 struct pwrseq_desc * __must_check
20 struct pwrseq_desc * __must_check
28 static inline struct pwrseq_desc * __must_check
38 static inline struct pwrseq_desc * __must_check
/include/linux/regulator/
A Dconsumer.h153 struct regulator *__must_check regulator_get(struct device *dev,
155 struct regulator *__must_check devm_regulator_get(struct device *dev,
195 int __must_check regulator_enable(struct regulator *regulator);
208 int __must_check devm_regulator_bulk_get_const(
212 int __must_check regulator_bulk_enable(int num_consumers,
308 static inline struct regulator *__must_check
314 static inline struct regulator *__must_check
320 static inline struct regulator *__must_check
343 static inline struct regulator *__must_check
350 static inline struct regulator *__must_check
[all …]
/include/linux/sched/
A Didle.h52 static __always_inline bool __must_check current_set_polling_and_test(void) in current_set_polling_and_test()
65 static __always_inline bool __must_check current_clr_polling_and_test(void) in current_clr_polling_and_test()
97 static inline bool __must_check current_set_polling_and_test(void) in current_set_polling_and_test()
101 static inline bool __must_check current_clr_polling_and_test(void) in current_clr_polling_and_test()
/include/linux/gpio/
A Dconsumer.h98 struct gpio_desc *__must_check
104 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 …]
/include/asm-generic/
A Darchrandom.h5 static inline size_t __must_check arch_get_random_longs(unsigned long *v, size_t max_longs) in arch_get_random_longs()
10 static inline size_t __must_check arch_get_random_seed_longs(unsigned long *v, size_t max_longs) in arch_get_random_seed_longs()
A Duaccess.h81 static inline __must_check unsigned long
88 static inline __must_check unsigned long
211 static inline __must_check unsigned long
219 static inline __must_check unsigned long
231 __must_check long strncpy_from_user(char *dst, const char __user *src,
233 __must_check long strnlen_user(const char __user *src, long n);
/include/media/
A Dv4l2-dev.h364 int __must_check __video_register_device(struct video_device *vdev,
386 static inline int __must_check video_register_device(struct video_device *vdev, in video_register_device()
413 static inline int __must_check
434 struct video_device * __must_check video_device_alloc(void);
584 __must_check int video_device_pipeline_start(struct video_device *vdev,
598 __must_check int __video_device_pipeline_start(struct video_device *vdev,
643 __must_check int video_device_pipeline_alloc_start(struct video_device *vdev);

Completed in 46 milliseconds

123456