Home
last modified time | relevance | path

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

1234567891011

/Linux-v5.10/include/linux/
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 …]
Dkernel.h330 int __must_check _kstrtoul(const char *s, unsigned int base, unsigned long *res);
331 int __must_check _kstrtol(const char *s, unsigned int base, long *res);
333 int __must_check kstrtoull(const char *s, unsigned int base, unsigned long long *res);
334 int __must_check kstrtoll(const char *s, unsigned int base, long long *res);
351 static inline int __must_check kstrtoul(const char *s, unsigned int base, unsigned long *res) in kstrtoul()
379 static inline int __must_check kstrtol(const char *s, unsigned int base, long *res) in kstrtol()
392 int __must_check kstrtouint(const char *s, unsigned int base, unsigned int *res);
393 int __must_check kstrtoint(const char *s, unsigned int base, int *res);
395 static inline int __must_check kstrtou64(const char *s, unsigned int base, u64 *res) in kstrtou64()
400 static inline int __must_check kstrtos64(const char *s, unsigned int base, s64 *res) in kstrtos64()
[all …]
Duaccess.h98 static __always_inline __must_check unsigned long
106 static __always_inline __must_check unsigned long
130 static __always_inline __must_check unsigned long
140 static __always_inline __must_check unsigned long
152 static inline __must_check unsigned long
166 extern __must_check unsigned long
171 static inline __must_check unsigned long
184 extern __must_check unsigned long
188 static __always_inline unsigned long __must_check
196 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,
753 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(void);
105 extern struct kobject * __must_check kobject_create_and_add(const char *name,
108 extern int __must_check kobject_rename(struct kobject *, const char *new_name);
109 extern int __must_check kobject_move(struct kobject *, struct kobject *);
112 extern struct kobject * __must_check kobject_get_unless_zero(
200 extern int __must_check kset_register(struct kset *kset);
202 extern struct kset * __must_check kset_create_and_add(const char *name,
Dsysfs.h237 int __must_check sysfs_create_dir_ns(struct kobject *kobj, const void *ns);
239 int __must_check sysfs_rename_dir_ns(struct kobject *kobj, const char *new_name,
241 int __must_check sysfs_move_dir_ns(struct kobject *kobj,
244 int __must_check sysfs_create_mount_point(struct kobject *parent_kobj,
249 int __must_check sysfs_create_file_ns(struct kobject *kobj,
252 int __must_check sysfs_create_files(struct kobject *kobj,
254 int __must_check sysfs_chmod_file(struct kobject *kobj,
264 int __must_check sysfs_create_bin_file(struct kobject *kobj,
269 int __must_check sysfs_create_link(struct kobject *kobj, struct kobject *target,
271 int __must_check sysfs_create_link_nowarn(struct kobject *kobj,
[all …]
Drandom.h46 extern int __must_check get_random_bytes_arch(void *buf, int nbytes);
123 static inline bool __must_check arch_get_random_long(unsigned long *v) in arch_get_random_long()
127 static inline bool __must_check arch_get_random_int(unsigned int *v) in arch_get_random_int()
131 static inline bool __must_check arch_get_random_seed_long(unsigned long *v) in arch_get_random_seed_long()
135 static inline bool __must_check arch_get_random_seed_int(unsigned int *v) in arch_get_random_seed_int()
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);
Dinterrupt.h138 extern int __must_check
156 static inline int __must_check
163 extern int __must_check
167 extern int __must_check
172 extern int __must_check
176 static inline int __must_check
184 extern int __must_check
196 extern int __must_check
202 static inline int __must_check
210 extern int __must_check
/Linux-v5.10/arch/x86/include/asm/
Darchrandom.h20 static inline bool __must_check rdrand_long(unsigned long *v) in rdrand_long()
34 static inline bool __must_check rdrand_int(unsigned int *v) in rdrand_int()
48 static inline bool __must_check rdseed_long(unsigned long *v) in rdseed_long()
57 static inline bool __must_check rdseed_int(unsigned int *v) in rdseed_int()
73 static inline bool __must_check arch_get_random_long(unsigned long *v) in arch_get_random_long()
78 static inline bool __must_check arch_get_random_int(unsigned int *v) in arch_get_random_int()
83 static inline bool __must_check arch_get_random_seed_long(unsigned long *v) in arch_get_random_seed_long()
88 static inline bool __must_check arch_get_random_seed_int(unsigned int *v) in arch_get_random_seed_int()
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
61 static __always_inline __must_check
/Linux-v5.10/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-v5.10/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.10/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.10/include/linux/gpio/
Dconsumer.h65 struct gpio_desc *__must_check gpiod_get(struct device *dev,
68 struct gpio_desc *__must_check gpiod_get_index(struct device *dev,
72 struct gpio_desc *__must_check gpiod_get_optional(struct device *dev,
75 struct gpio_desc *__must_check gpiod_get_index_optional(struct device *dev,
79 struct gpio_descs *__must_check gpiod_get_array(struct device *dev,
82 struct gpio_descs *__must_check gpiod_get_array_optional(struct device *dev,
88 struct gpio_desc *__must_check devm_gpiod_get(struct device *dev,
91 struct gpio_desc *__must_check devm_gpiod_get_index(struct device *dev,
95 struct gpio_desc *__must_check devm_gpiod_get_optional(struct device *dev,
98 struct gpio_desc *__must_check
[all …]
/Linux-v5.10/include/linux/regulator/
Dconsumer.h180 struct regulator *__must_check regulator_get(struct device *dev,
182 struct regulator *__must_check devm_regulator_get(struct device *dev,
184 struct regulator *__must_check regulator_get_exclusive(struct device *dev,
186 struct regulator *__must_check devm_regulator_get_exclusive(struct device *dev,
188 struct regulator *__must_check regulator_get_optional(struct device *dev,
190 struct regulator *__must_check devm_regulator_get_optional(struct device *dev,
224 int __must_check regulator_enable(struct regulator *regulator);
230 int __must_check regulator_bulk_get(struct device *dev, int num_consumers,
232 int __must_check devm_regulator_bulk_get(struct device *dev, int num_consumers,
234 int __must_check regulator_bulk_enable(int num_consumers,
[all …]
/Linux-v5.10/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.10/arch/arm64/include/asm/
Darchrandom.h29 static inline bool __must_check arch_get_random_long(unsigned long *v) in arch_get_random_long()
34 static inline bool __must_check arch_get_random_int(unsigned int *v) in arch_get_random_int()
39 static inline bool __must_check arch_get_random_seed_long(unsigned long *v) in arch_get_random_seed_long()
54 static inline bool __must_check arch_get_random_seed_int(unsigned int *v) in arch_get_random_seed_int()
70 static inline bool __init __must_check
/Linux-v5.10/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.10/arch/s390/include/asm/
Darchrandom.h24 static inline bool __must_check arch_get_random_long(unsigned long *v) in arch_get_random_long()
29 static inline bool __must_check arch_get_random_int(unsigned int *v) in arch_get_random_int()
34 static inline bool __must_check arch_get_random_seed_long(unsigned long *v) in arch_get_random_seed_long()
42 static inline bool __must_check arch_get_random_seed_int(unsigned int *v) in arch_get_random_seed_int()
/Linux-v5.10/arch/powerpc/include/asm/
Darchrandom.h9 static inline bool __must_check arch_get_random_long(unsigned long *v) in arch_get_random_long()
14 static inline bool __must_check arch_get_random_int(unsigned int *v) in arch_get_random_int()
19 static inline bool __must_check arch_get_random_seed_long(unsigned long *v) in arch_get_random_seed_long()
27 static inline bool __must_check arch_get_random_seed_int(unsigned int *v) in arch_get_random_seed_int()
/Linux-v5.10/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.10/include/drm/
Ddrm_atomic_uapi.h41 int __must_check
44 int __must_check
47 int __must_check
54 int __must_check
/Linux-v5.10/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()

1234567891011