Lines Matching defs:bio

327 static int bio_detain(struct pool *pool, struct dm_cell_key *key, struct bio *bio,  in bio_detain()
475 struct bio *bio; in error_bio_list() local
550 static dm_block_t get_bio_block(struct thin_c *tc, struct bio *bio) in get_bio_block()
563 static void remap(struct thin_c *tc, struct bio *bio, dm_block_t block) in remap()
578 static void remap_to_origin(struct thin_c *tc, struct bio *bio) in remap_to_origin()
583 static int bio_triggers_commit(struct thin_c *tc, struct bio *bio) in bio_triggers_commit()
589 static void inc_all_io_entry(struct pool *pool, struct bio *bio) in inc_all_io_entry()
600 static void issue(struct thin_c *tc, struct bio *bio) in issue()
629 static void remap_to_origin_and_issue(struct thin_c *tc, struct bio *bio) in remap_to_origin_and_issue()
635 static void remap_and_issue(struct thin_c *tc, struct bio *bio, in remap_and_issue()
672 struct bio *bio; member
704 static void overwrite_endio(struct bio *bio, int err) in overwrite_endio()
751 struct bio *bio; in __inc_remap_and_issue_cell() local
773 struct bio *bio; in inc_remap_and_issue_cell() local
810 struct bio *bio; in process_prepared_mapping() local
921 static int io_overlaps_block(struct pool *pool, struct bio *bio) in io_overlaps_block()
927 static int io_overwrites_block(struct pool *pool, struct bio *bio) in io_overwrites_block()
933 static void save_and_set_endio(struct bio *bio, bio_end_io_t **save, in save_and_set_endio()
982 static void remap_and_issue_overwrite(struct thin_c *tc, struct bio *bio, in remap_and_issue_overwrite()
1002 struct dm_bio_prison_cell *cell, struct bio *bio, in schedule_copy()
1073 struct dm_bio_prison_cell *cell, struct bio *bio) in schedule_internal_copy()
1082 struct bio *bio) in schedule_zero()
1112 struct dm_bio_prison_cell *cell, struct bio *bio) in schedule_external_copy()
1235 static void retry_on_resume(struct bio *bio) in retry_on_resume()
1269 static void handle_unserviceable_bio(struct pool *pool, struct bio *bio) in handle_unserviceable_bio()
1281 struct bio *bio; in retry_bios_on_resume() local
1301 struct bio *bio = cell->holder; in process_discard_cell() local
1380 static void process_discard_bio(struct thin_c *tc, struct bio *bio) in process_discard_bio()
1393 static void break_sharing(struct thin_c *tc, struct bio *bio, dm_block_t block, in break_sharing()
1425 struct bio *bio; in __remap_and_issue_shared_cell() local
1445 struct bio *bio; in remap_and_issue_shared_cell() local
1462 static void process_shared_bio(struct thin_c *tc, struct bio *bio, in process_shared_bio()
1496 static void provision_block(struct thin_c *tc, struct bio *bio, dm_block_t block, in provision_block()
1549 struct bio *bio = cell->holder; in process_cell() local
1600 static void process_bio(struct thin_c *tc, struct bio *bio) in process_bio()
1618 static void __process_bio_read_only(struct thin_c *tc, struct bio *bio, in __process_bio_read_only()
1669 static void process_bio_read_only(struct thin_c *tc, struct bio *bio) in process_bio_read_only()
1679 static void process_bio_success(struct thin_c *tc, struct bio *bio) in process_bio_success()
1684 static void process_bio_fail(struct thin_c *tc, struct bio *bio) in process_bio_fail()
1712 static void __thin_bio_rb_add(struct thin_c *tc, struct bio *bio) in __thin_bio_rb_add()
1739 struct bio *bio; in __extract_sorted_bios() local
1754 struct bio *bio; in __sort_thin_deferred_bios() local
1777 struct bio *bio; in process_thin_deferred_bios() local
1955 struct bio *bio; in process_deferred_bios() local
2239 static void thin_defer_bio(struct thin_c *tc, struct bio *bio) in thin_defer_bio()
2251 static void thin_defer_bio_with_throttle(struct thin_c *tc, struct bio *bio) in thin_defer_bio_with_throttle()
2274 static void thin_hook_bio(struct thin_c *tc, struct bio *bio) in thin_hook_bio()
2287 static int thin_bio_map(struct dm_target *ti, struct bio *bio) in thin_bio_map()
2985 static int pool_map(struct dm_target *ti, struct bio *bio) in pool_map()
3877 static int thin_map(struct dm_target *ti, struct bio *bio) in thin_map()
3884 static int thin_endio(struct dm_target *ti, struct bio *bio, int err) in thin_endio()