Home
last modified time | relevance | path

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

1234567

/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,
H A Dsparse-cache.h29 int __must_check uds_make_sparse_cache(const struct index_geometry *geometry,
38 int __must_check uds_update_sparse_cache(struct index_zone *zone, u64 virtual_chapter);
42 int __must_check uds_search_sparse_cache(struct index_zone *zone,
/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 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 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 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);
H A Dpriority-table.h31 int __must_check vdo_make_priority_table(unsigned int max_priority,
41 struct list_head * __must_check vdo_priority_table_dequeue(struct priority_table *table);
45 bool __must_check vdo_is_priority_table_empty(struct priority_table *table);
H A Dvio.h56 static inline thread_id_t __must_check get_vio_bio_zone_thread_id(struct vio *vio) in get_vio_bio_zone_thread_id()
61 physical_block_number_t __must_check pbn_from_vio_bio(struct bio *bio);
83 int __must_check create_multi_block_metadata_vio(struct vdo *vdo, enum vio_type vio_type,
88 static inline int __must_check create_metadata_vio(struct vdo *vdo, enum vio_type vio_type, in create_metadata_vio()
197 int __must_check make_vio_pool(struct vdo *vdo, size_t pool_size, size_t block_count,
202 bool __must_check is_vio_pool_busy(struct vio_pool *pool);
/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/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/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.h9 static inline void * __must_check ERR_PTR(long error) in ERR_PTR()
14 static inline long __must_check PTR_ERR(const void *ptr) in PTR_ERR()
19 static inline long __must_check IS_ERR(const void *ptr) in IS_ERR()
24 static inline long __must_check IS_ERR_OR_NULL(const void *ptr) in IS_ERR_OR_NULL()
/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/include/linux/
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 Dkmsan.h57 bool __init __must_check kmsan_memblock_free_pages(struct page *page,
142 int __must_check kmsan_vmap_pages_range_noflush(unsigned long start,
171 int __must_check kmsan_ioremap_page_range(unsigned long addr, unsigned long end,
305 static inline bool __must_check kmsan_memblock_free_pages(struct page *page, in kmsan_memblock_free_pages()
350 static inline int __must_check kmsan_vmap_pages_range_noflush( in kmsan_vmap_pages_range_noflush()
362 static inline int __must_check kmsan_ioremap_page_range(unsigned long start, in kmsan_ioremap_page_range()
/linux/include/linux/sched/
H 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()
/linux/fs/ceph/
H A Dio.h7 int __must_check ceph_start_io_read(struct inode *inode);
9 int __must_check ceph_start_io_write(struct inode *inode);
11 int __must_check ceph_start_io_direct(struct inode *inode);

1234567