Home
last modified time | relevance | path

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

12345678910>>...16

/linux-6.12.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.h139 static inline __must_check __signed_wrap
176 static inline __must_check bool refcount_add_not_zero(int i, refcount_t *r) in refcount_add_not_zero()
216 static inline __must_check bool __refcount_inc_not_zero(refcount_t *r, int *oldp) in __refcount_inc_not_zero()
234 static inline __must_check bool refcount_inc_not_zero(refcount_t *r) in refcount_inc_not_zero()
261 static inline __must_check __signed_wrap
300 static inline __must_check bool refcount_sub_and_test(int i, refcount_t *r) in refcount_sub_and_test()
305 static inline __must_check bool __refcount_dec_and_test(refcount_t *r, int *oldp) in __refcount_dec_and_test()
323 static inline __must_check bool refcount_dec_and_test(refcount_t *r) in refcount_dec_and_test()
354 extern __must_check bool refcount_dec_if_one(refcount_t *r);
355 extern __must_check bool refcount_dec_not_one(refcount_t *r);
[all …]
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,
442 int __must_check clk_bulk_get_optional(struct device *dev, int num_clks,
456 int __must_check devm_clk_bulk_get(struct device *dev, int num_clks,
479 int __must_check devm_clk_bulk_get_optional(struct device *dev, int num_clks,
495 int __must_check devm_clk_bulk_get_all(struct device *dev,
511 int __must_check devm_clk_bulk_get_all_enable(struct device *dev,
707 int __must_check clk_bulk_enable(int num_clks,
[all …]
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 …]
Derr.h39 static inline void * __must_check ERR_PTR(long error) in ERR_PTR()
52 static inline long __must_check PTR_ERR(__force const void *ptr) in PTR_ERR()
65 static inline bool __must_check IS_ERR(__force const void *ptr) in IS_ERR()
79 static inline bool __must_check IS_ERR_OR_NULL(__force const void *ptr) in IS_ERR_OR_NULL()
91 static inline void * __must_check ERR_CAST(__force const void *ptr) in ERR_CAST()
114 static inline int __must_check PTR_ERR_OR_ZERO(__force const void *ptr) in PTR_ERR_OR_ZERO()
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
139 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
204 static __always_inline unsigned long __must_check
216 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()
/linux-6.12.1/drivers/md/dm-vdo/indexer/
Ddelta-index.h201 int __must_check uds_initialize_delta_index(struct delta_index *delta_index,
206 int __must_check uds_initialize_delta_index_page(struct delta_index_page *delta_index_page,
215 int __must_check uds_pack_delta_index_page(const struct delta_index *delta_index,
221 int __must_check uds_start_restoring_delta_index(struct delta_index *delta_index,
225 int __must_check uds_finish_restoring_delta_index(struct delta_index *delta_index,
229 int __must_check uds_check_guard_delta_lists(struct buffered_reader **buffered_readers,
232 int __must_check uds_start_saving_delta_index(const struct delta_index *delta_index,
236 int __must_check uds_finish_saving_delta_index(const struct delta_index *delta_index,
239 int __must_check uds_write_guard_delta_list(struct buffered_writer *buffered_writer);
241 size_t __must_check uds_compute_delta_index_save_bytes(u32 list_count,
[all …]
Dio-factory.h27 int __must_check uds_make_io_factory(struct block_device *bdev,
30 int __must_check uds_replace_storage(struct io_factory *factory,
35 size_t __must_check uds_get_writable_size(struct io_factory *factory);
37 int __must_check uds_make_bufio(struct io_factory *factory, off_t block_offset,
41 int __must_check uds_make_buffered_reader(struct io_factory *factory, off_t offset,
47 int __must_check uds_read_from_buffered_reader(struct buffered_reader *reader, u8 *data,
50 int __must_check uds_verify_buffered_data(struct buffered_reader *reader, const u8 *value,
53 int __must_check uds_make_buffered_writer(struct io_factory *factory, off_t offset,
59 int __must_check uds_write_to_buffered_writer(struct buffered_writer *writer,
62 int __must_check uds_flush_buffered_writer(struct buffered_writer *writer);
Dvolume-index.h140 int __must_check uds_make_volume_index(const struct uds_configuration *config,
146 int __must_check uds_compute_volume_index_save_blocks(const struct uds_configuration *config,
150 unsigned int __must_check uds_get_volume_index_zone(const struct volume_index *volume_index,
153 bool __must_check uds_is_volume_index_sample(const struct volume_index *volume_index,
160 u64 __must_check uds_lookup_volume_index_name(const struct volume_index *volume_index,
163 int __must_check uds_get_volume_index_record(struct volume_index *volume_index,
167 int __must_check uds_put_volume_index_record(struct volume_index_record *record,
170 int __must_check uds_remove_volume_index_record(struct volume_index_record *record);
172 int __must_check uds_set_volume_index_record_chapter(struct volume_index_record *record,
182 int __must_check uds_load_volume_index(struct volume_index *volume_index,
[all …]
Dindex-layout.h21 int __must_check uds_make_index_layout(struct uds_configuration *config, bool new_layout,
26 int __must_check uds_replace_index_layout_storage(struct index_layout *layout,
29 int __must_check uds_load_index_state(struct index_layout *layout,
32 int __must_check uds_save_index_state(struct index_layout *layout,
35 int __must_check uds_discard_open_chapter(struct index_layout *layout);
37 u64 __must_check uds_get_volume_nonce(struct index_layout *layout);
39 int __must_check uds_open_volume_bufio(struct index_layout *layout, size_t block_size,
Dvolume.h125 int __must_check uds_make_volume(const struct uds_configuration *config,
131 int __must_check uds_replace_volume_storage(struct volume *volume,
135 int __must_check uds_find_volume_chapter_boundaries(struct volume *volume,
139 int __must_check uds_search_volume_page_cache(struct volume *volume,
143 int __must_check uds_search_volume_page_cache_for_rebuild(struct volume *volume,
148 int __must_check uds_search_cached_record_page(struct volume *volume,
154 int __must_check uds_write_chapter(struct volume *volume,
160 int __must_check uds_read_chapter_index_from_volume(const struct volume *volume,
165 int __must_check uds_get_volume_record_page(struct volume *volume, u32 chapter,
168 int __must_check uds_get_volume_index_page(struct volume *volume, u32 chapter,
Dgeometry.h98 int __must_check uds_make_index_geometry(size_t bytes_per_page, u32 record_pages_per_chapter,
104 int __must_check uds_copy_index_geometry(struct index_geometry *source,
109 u32 __must_check uds_map_to_physical_chapter(const struct index_geometry *geometry,
116 static inline bool __must_check
122 static inline bool __must_check
128 bool __must_check uds_has_sparse_chapters(const struct index_geometry *geometry,
132 bool __must_check uds_is_chapter_sparse(const struct index_geometry *geometry,
137 u32 __must_check uds_chapters_to_expire(const struct index_geometry *geometry,
Dindexer.h287 int __must_check uds_compute_index_size(const struct uds_parameters *parameters,
291 int __must_check uds_create_index_session(struct uds_index_session **session);
300 int __must_check uds_open_index(enum uds_open_index_type open_type,
309 int __must_check uds_suspend_index_session(struct uds_index_session *session, bool save);
316 int __must_check uds_resume_index_session(struct uds_index_session *session,
320 int __must_check uds_flush_index_session(struct uds_index_session *session);
323 int __must_check uds_close_index(struct uds_index_session *session);
326 int __must_check uds_get_index_session_stats(struct uds_index_session *session,
330 int __must_check uds_launch_request(struct uds_request *request);
Dchapter-index.h32 int __must_check uds_make_open_chapter_index(struct open_chapter_index **chapter_index,
41 int __must_check uds_put_open_chapter_index_record(struct open_chapter_index *chapter_index,
45 int __must_check uds_pack_open_chapter_index_page(struct open_chapter_index *chapter_index,
49 int __must_check uds_initialize_chapter_index_page(struct delta_index_page *index_page,
53 int __must_check uds_validate_chapter_index_page(const struct delta_index_page *index_page,
56 int __must_check uds_search_chapter_index_page(struct delta_index_page *index_page,
/linux-6.12.1/drivers/md/dm-vdo/
Dadmin-state.h69 static inline const struct admin_state_code * __must_check
87 static inline bool __must_check vdo_is_state_normal(const struct admin_state *state) in vdo_is_state_normal()
92 static inline bool __must_check vdo_is_state_suspending(const struct admin_state *state) in vdo_is_state_suspending()
97 static inline bool __must_check vdo_is_state_saving(const struct admin_state *state) in vdo_is_state_saving()
102 static inline bool __must_check vdo_is_state_saved(const struct admin_state *state) in vdo_is_state_saved()
107 static inline bool __must_check vdo_is_state_draining(const struct admin_state *state) in vdo_is_state_draining()
112 static inline bool __must_check vdo_is_state_loading(const struct admin_state *state) in vdo_is_state_loading()
117 static inline bool __must_check vdo_is_state_resuming(const struct admin_state *state) in vdo_is_state_resuming()
122 static inline bool __must_check vdo_is_state_clean_load(const struct admin_state *state) in vdo_is_state_clean_load()
129 static inline bool __must_check vdo_is_state_quiescing(const struct admin_state *state) in vdo_is_state_quiescing()
[all …]
Dvdo.h288 struct vdo * __must_check vdo_find_matching(vdo_filter_fn filter, const void *context);
290 int __must_check vdo_make_thread(struct vdo *vdo, thread_id_t thread_id,
294 static inline int __must_check vdo_make_default_thread(struct vdo *vdo, in vdo_make_default_thread()
300 int __must_check vdo_make(unsigned int instance, struct device_config *config,
307 struct block_device * __must_check vdo_get_backing_device(const struct vdo *vdo);
309 const char * __must_check vdo_get_device_name(const struct dm_target *target);
311 int __must_check vdo_synchronous_flush(struct vdo *vdo);
313 const struct admin_state_code * __must_check vdo_get_admin_state(const struct vdo *vdo);
323 enum vdo_state __must_check vdo_get_state(const struct vdo *vdo);
341 bool __must_check vdo_is_read_only(struct vdo *vdo);
[all …]
Dslab-depot.h506 bool __must_check vdo_attempt_replay_into_slab(struct vdo_slab *slab,
513 int __must_check vdo_adjust_reference_count_for_rebuild(struct slab_depot *depot,
523 int __must_check vdo_acquire_provisional_reference(struct vdo_slab *slab,
527 int __must_check vdo_allocate_block(struct block_allocator *allocator,
536 int __must_check vdo_release_block_reference(struct block_allocator *allocator,
543 int __must_check vdo_decode_slab_depot(struct slab_depot_state_2_0 state,
550 struct slab_depot_state_2_0 __must_check vdo_record_slab_depot(const struct slab_depot *depot);
552 int __must_check vdo_allocate_reference_counters(struct slab_depot *depot);
554 struct vdo_slab * __must_check vdo_get_slab(const struct slab_depot *depot,
557 u8 __must_check vdo_get_increment_limit(struct slab_depot *depot,
[all …]
/linux-6.12.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-6.12.1/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-6.12.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-6.12.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-6.12.1/include/linux/pinctrl/
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()
/linux-6.12.1/include/linux/regulator/
Dconsumer.h153 struct regulator *__must_check regulator_get(struct device *dev,
155 struct regulator *__must_check devm_regulator_get(struct device *dev,
157 struct regulator *__must_check regulator_get_exclusive(struct device *dev,
159 struct regulator *__must_check devm_regulator_get_exclusive(struct device *dev,
161 struct regulator *__must_check regulator_get_optional(struct device *dev,
163 struct regulator *__must_check devm_regulator_get_optional(struct device *dev,
195 int __must_check regulator_enable(struct regulator *regulator);
201 int __must_check regulator_bulk_get(struct device *dev, int num_consumers,
203 int __must_check of_regulator_bulk_get_all(struct device *dev, struct device_node *np,
205 int __must_check devm_regulator_bulk_get(struct device *dev, int num_consumers,
[all …]
/linux-6.12.1/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
417 static inline __must_check
[all …]

12345678910>>...16