Home
last modified time | relevance | path

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

12345678910>>...13

/linux/drivers/md/dm-vdo/indexer/
H A 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 …]
H A 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);
H A 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 …]
H A 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,
H A 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,
H A 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,
H A 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,
H A Dindexer.h286 int __must_check uds_create_index_session(struct uds_index_session **session);
295 int __must_check uds_open_index(enum uds_open_index_type open_type,
304 int __must_check uds_suspend_index_session(struct uds_index_session *session, bool save);
311 int __must_check uds_resume_index_session(struct uds_index_session *session,
315 int __must_check uds_flush_index_session(struct uds_index_session *session);
318 int __must_check uds_close_index(struct uds_index_session *session);
321 int __must_check uds_get_index_session_stats(struct uds_index_session *session,
325 int __must_check uds_launch_request(struct uds_request *request);
H A Dopen-chapter.h46 int __must_check uds_make_open_chapter(const struct index_geometry *geometry,
56 int __must_check uds_put_open_chapter(struct open_chapter_zone *open_chapter,
65 int __must_check uds_close_open_chapter(struct open_chapter_zone **chapter_zones,
71 int __must_check uds_save_open_chapter(struct uds_index *index,
74 int __must_check uds_load_open_chapter(struct uds_index *index,
/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()
/linux/drivers/md/dm-vdo/
H A 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 …]
H A Dvdo.h290 struct vdo * __must_check vdo_find_matching(vdo_filter_fn filter, const void *context);
292 int __must_check vdo_make_thread(struct vdo *vdo, thread_id_t thread_id,
296 static inline int __must_check vdo_make_default_thread(struct vdo *vdo, in vdo_make_default_thread()
302 int __must_check vdo_make(unsigned int instance, struct device_config *config,
309 struct block_device * __must_check vdo_get_backing_device(const struct vdo *vdo);
311 const char * __must_check vdo_get_device_name(const struct dm_target *target);
313 int __must_check vdo_synchronous_flush(struct vdo *vdo);
315 const struct admin_state_code * __must_check vdo_get_admin_state(const struct vdo *vdo);
325 enum vdo_state __must_check vdo_get_state(const struct vdo *vdo);
343 bool __must_check vdo_is_read_only(struct vdo *vdo);
[all …]
H A Dslab-depot.h517 bool __must_check vdo_attempt_replay_into_slab(struct vdo_slab *slab,
524 int __must_check vdo_adjust_reference_count_for_rebuild(struct slab_depot *depot,
534 int __must_check vdo_acquire_provisional_reference(struct vdo_slab *slab,
538 int __must_check vdo_allocate_block(struct block_allocator *allocator,
547 int __must_check vdo_release_block_reference(struct block_allocator *allocator,
554 int __must_check vdo_decode_slab_depot(struct slab_depot_state_2_0 state,
561 struct slab_depot_state_2_0 __must_check vdo_record_slab_depot(const struct slab_depot *depot);
563 int __must_check vdo_allocate_reference_counters(struct slab_depot *depot);
565 struct vdo_slab * __must_check vdo_get_slab(const struct slab_depot *depot,
568 u8 __must_check vdo_get_increment_limit(struct slab_depot *depot,
[all …]
H A Drecovery-journal.h228 static inline physical_block_number_t __must_check
246 static inline u8 __must_check
254 int __must_check vdo_decode_recovery_journal(struct recovery_journal_state_7_0 state,
269 block_count_t __must_check
272 thread_id_t __must_check vdo_get_recovery_journal_thread_id(struct recovery_journal *journal);
280 block_count_t __must_check vdo_get_recovery_journal_length(block_count_t journal_size);
282 struct recovery_journal_state_7_0 __must_check
308 block_count_t __must_check
311 struct recovery_journal_statistics __must_check
H A Dphysical-zone.h78 bool __must_check vdo_is_pbn_read_lock(const struct pbn_lock *lock);
80 bool __must_check vdo_claim_pbn_lock_increment(struct pbn_lock *lock);
94 int __must_check vdo_make_physical_zones(struct vdo *vdo,
99 struct pbn_lock * __must_check vdo_get_physical_zone_pbn_lock(struct physical_zone *zone,
102 int __must_check vdo_attempt_physical_zone_pbn_lock(struct physical_zone *zone,
107 bool __must_check vdo_allocate_block_in_zone(struct data_vio *data_vio);
/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()
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/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()
/linux/include/linux/pinctrl/
H 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);
111 static inline struct pinctrl * __must_check pinctrl_get(struct device *dev) in pinctrl_get()
120 static inline struct pinctrl_state * __must_check pinctrl_lookup_state(struct pinctrl *p, in pinctrl_lookup_state()
132 static inline struct pinctrl * __must_check devm_pinctrl_get(struct device *dev) in devm_pinctrl_get()
168 static inline struct pinctrl * __must_check pinctrl_get_select(struct device *dev, in pinctrl_get_select()
194 static inline struct pinctrl * __must_check pinctrl_get_select_default(struct device *dev) in pinctrl_get_select_default()
199 static inline struct pinctrl * __must_check devm_pinctrl_get_select(struct device *dev, in devm_pinctrl_get_select()
225 static inline struct pinctrl * __must_check devm_pinctrl_get_select_default(struct device *dev) in devm_pinctrl_get_select_default()
/linux/include/linux/
H A Derr.h39 static inline void * __must_check ERR_PTR(long error) in ERR_PTR()
63 static inline long __must_check PTR_ERR(__force const void *ptr) in PTR_ERR()
76 static inline bool __must_check IS_ERR(__force const void *ptr) in IS_ERR()
90 static inline bool __must_check IS_ERR_OR_NULL(__force const void *ptr) in IS_ERR_OR_NULL()
102 static inline void * __must_check ERR_CAST(__force const void *ptr) in ERR_CAST()
125 static inline int __must_check PTR_ERR_OR_ZERO(__force const void *ptr) in PTR_ERR_OR_ZERO()
H A Dreset.h259 static inline int __must_check device_reset(struct device *dev) in device_reset()
285 __must_check reset_control_get_exclusive(struct device *dev, const char *id) in reset_control_get_exclusive()
300 static inline int __must_check
322 __must_check reset_control_get_exclusive_released(struct device *dev, in reset_control_get_exclusive_released()
342 static inline int __must_check
363 static inline int __must_check
409 static inline int __must_check
446 static inline int __must_check
483 static inline int __must_check
609 __must_check devm_reset_control_get_exclusive(struct device *dev, in devm_reset_control_get_exclusive()
[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,
/linux/arch/x86/include/asm/amd/
H A Dnode.h33 int __must_check amd_smn_read(u16 node, u32 address, u32 *value);
34 int __must_check amd_smn_write(u16 node, u32 address, u32 value);
37 int __must_check amd_smn_hsmp_rdwr(u16 node, u32 address, u32 *value, bool write);
39 static inline int __must_check amd_smn_read(u16 node, u32 address, u32 *value) { return -ENODEV; } in amd_smn_read()
40 static inline int __must_check amd_smn_write(u16 node, u32 address, u32 value) { return -ENODEV; } in amd_smn_write()
42 static inline int __must_check amd_smn_hsmp_rdwr(u16 node, u32 address, u32 *value, bool write) in amd_smn_hsmp_rdwr()
/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 …]
/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);
/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()

12345678910>>...13