Home
last modified time | relevance | path

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

123456789

/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 Dindex-page-map.h25 int __must_check uds_make_index_page_map(const struct index_geometry *geometry,
30 int __must_check uds_read_index_page_map(struct index_page_map *map,
33 int __must_check uds_write_index_page_map(struct index_page_map *map,
40 u32 __must_check uds_find_index_page_number(const struct index_page_map *map,
/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 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);
H A Dfunnel-queue.h70 int __must_check vdo_make_funnel_queue(struct funnel_queue **queue_ptr);
104 struct funnel_queue_entry *__must_check vdo_funnel_queue_poll(struct funnel_queue *queue);
106 bool __must_check vdo_is_funnel_queue_empty(struct funnel_queue *queue);
108 bool __must_check vdo_is_funnel_queue_idle(struct funnel_queue *queue);
/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/
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 Duaccess.h98 static __always_inline __must_check unsigned long
110 static __always_inline __must_check unsigned long
138 static __always_inline __must_check unsigned long
148 static __always_inline __must_check unsigned long
165 static inline __must_check unsigned long
194 extern __must_check unsigned long
198 static inline __must_check unsigned long
211 extern __must_check unsigned long
215 static __always_inline unsigned long __must_check
227 static __always_inline unsigned long __must_check
[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 Dns_common.h14 struct ns_common *__must_check ns_owner(struct ns_common *ns);
60 static __always_inline __must_check int __ns_ref_active_read(const struct ns_common *ns) in __ns_ref_active_read()
65 static __always_inline __must_check int __ns_ref_read(const struct ns_common *ns) in __ns_ref_read()
70 static __always_inline __must_check bool __ns_ref_put(struct ns_common *ns) in __ns_ref_put()
84 static __always_inline __must_check bool __ns_ref_get(struct ns_common *ns) in __ns_ref_get()
107 static __always_inline __must_check bool __ns_ref_dec_and_lock(struct ns_common *ns, in __ns_ref_dec_and_lock()
136 static __always_inline struct ns_common *__must_check ns_get_unless_inactive(struct ns_common *ns) in ns_get_unless_inactive()
H A Dsysfs.h399 int __must_check sysfs_create_dir_ns(struct kobject *kobj, const struct ns_common *ns);
401 int __must_check sysfs_rename_dir_ns(struct kobject *kobj, const char *new_name,
403 int __must_check sysfs_move_dir_ns(struct kobject *kobj,
406 int __must_check sysfs_create_mount_point(struct kobject *parent_kobj,
411 int __must_check sysfs_create_file_ns(struct kobject *kobj,
414 int __must_check sysfs_create_files(struct kobject *kobj,
416 int __must_check sysfs_chmod_file(struct kobject *kobj,
426 int __must_check sysfs_create_bin_file(struct kobject *kobj,
431 int __must_check sysfs_create_link(struct kobject *kobj, struct kobject *target,
433 int __must_check sysfs_create_link_nowarn(struct kobject *kobj,
[all …]
/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/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()
/linux/include/drm/
H A Ddrm_atomic_uapi.h42 int __must_check
45 int __must_check
48 int __must_check
55 int __must_check
/linux/arch/x86/include/asm/
H A Darchrandom.h20 static inline bool __must_check rdrand_long(unsigned long *v) in rdrand_long()
33 static inline bool __must_check rdseed_long(unsigned long *v) in rdseed_long()
46 static inline size_t __must_check arch_get_random_longs(unsigned long *v, size_t max_longs) in arch_get_random_longs()
51 static inline size_t __must_check arch_get_random_seed_longs(unsigned long *v, size_t max_longs) in arch_get_random_seed_longs()
/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()
/linux/include/linux/pwrseq/
H 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

123456789