/drivers/md/bcache/ |
D | io.c | 12 static void bch_bi_idx_hack_endio(struct bio *bio, int error) in bch_bi_idx_hack_endio() 20 static void bch_generic_make_request_hack(struct bio *bio) in bch_generic_make_request_hack() 77 struct bio *bch_bio_split(struct bio *bio, int sectors, in bch_bio_split() 157 static unsigned bch_bio_max_sectors(struct bio *bio) in bch_bio_max_sectors() 209 static void bch_bio_submit_split_endio(struct bio *bio, int error) in bch_bio_submit_split_endio() 224 struct bio *bio = s->bio, *n; in __bch_bio_submit_split() local 242 void bch_generic_make_request(struct bio *bio, struct bio_split_pool *p) in bch_generic_make_request() 268 void bch_bbio_free(struct bio *bio, struct cache_set *c) in bch_bbio_free() 277 struct bio *bio = &b->bio; in bch_bbio_alloc() local 287 void __bch_submit_bbio(struct bio *bio, struct cache_set *c) in __bch_submit_bbio() [all …]
|
D | request.c | 45 struct bch_cgroup *bch_bio_to_cgroup(struct bio *bio) in bch_bio_to_cgroup() 181 static unsigned cache_mode(struct cached_dev *dc, struct bio *bio) in cache_mode() 191 static bool verify(struct cached_dev *dc, struct bio *bio) in verify() 200 static void bio_csum(struct bio *bio, struct bkey *k) in bio_csum() 220 struct bio *bio = op->cache_bio; in bio_invalidate() local 459 static void bch_insert_data_endio(struct bio *bio, int error) in bch_insert_data_endio() 482 struct bio *bio = op->cache_bio, *n; in bch_insert_data_loop() local 624 static void request_endio(struct bio *bio, int error) in request_endio() 639 void bch_cache_read_endio(struct bio *bio, int error) in bch_cache_read_endio() 681 struct bio *bio = &s->bio.bio; in do_bio_hook() local [all …]
|
D | movinggc.c | 15 struct bbio bio; member 46 struct bio *bio = &io->bio.bio; in write_moving_finish() local 64 static void read_moving_endio(struct bio *bio, int error) in read_moving_endio() 77 struct bio *bio = &io->bio.bio; in moving_init() local 123 struct bio *bio = &io->bio.bio; in read_moving_submit() local 136 struct bio *bio; in read_moving() local
|
D | journal.c | 25 static void journal_read_endio(struct bio *bio, int error) in journal_read_endio() 35 struct bio *bio = &ja->bio; in journal_read_bucket() local 393 static void journal_discard_endio(struct bio *bio, int error) in journal_discard_endio() 416 struct bio *bio = &ja->discard_bio; in do_journal_discard() local 538 static void journal_write_endio(struct bio *bio, int error) in journal_write_endio() 574 struct bio *bio; in journal_write_unlocked() local
|
D | writeback.c | 20 struct bio bio; member 111 struct bio *bio = &io->bio; in dirty_init() local 256 static void dirty_endio(struct bio *bio, int error) in dirty_endio() 284 static void read_dirty_endio(struct bio *bio, int error) in read_dirty_endio()
|
D | super.c | 227 static void write_bdev_super_endio(struct bio *bio, int error) in write_bdev_super_endio() 235 static void __write_super(struct cache_sb *sb, struct bio *bio) in __write_super() 273 struct bio *bio = &dc->sb_bio; in bch_write_bdev_super() local 288 static void write_super_endio(struct bio *bio, int error) in write_super_endio() 307 struct bio *bio = &ca->sb_bio; in bcache_write_super() local 329 static void uuid_endio(struct bio *bio, int error) in uuid_endio() 350 struct bio *bio = bch_bbio_alloc(c); in uuid_io() local 493 static void prio_endio(struct bio *bio, int error) in prio_endio() 505 struct bio *bio = bch_bbio_alloc(ca->set); in prio_io() local
|
/drivers/md/ |
D | dm-raid1.c | 119 static void queue_bio(struct mirror_set *ms, struct bio *bio, int rw) in queue_bio() 138 struct bio *bio; in dispatch_bios() local 161 static struct mirror *bio_get_m(struct bio *bio) in bio_get_m() 166 static void bio_set_m(struct bio *bio, struct mirror *m) in bio_set_m() 429 static int mirror_available(struct mirror_set *ms, struct bio *bio) in mirror_available() 443 static sector_t map_sector(struct mirror *m, struct bio *bio) in map_sector() 450 static void map_bio(struct mirror *m, struct bio *bio) in map_bio() 457 struct bio *bio) in map_region() 464 static void hold_bio(struct mirror_set *ms, struct bio *bio) in hold_bio() 497 struct bio *bio = context; in read_callback() local [all …]
|
D | dm-thin.c | 243 static int bio_detain(struct pool *pool, struct dm_cell_key *key, struct bio *bio, in bio_detain() 373 struct bio *bio; in __requeue_bio_list() local 413 static dm_block_t get_bio_block(struct thin_c *tc, struct bio *bio) in get_bio_block() 426 static void remap(struct thin_c *tc, struct bio *bio, dm_block_t block) in remap() 440 static void remap_to_origin(struct thin_c *tc, struct bio *bio) in remap_to_origin() 445 static int bio_triggers_commit(struct thin_c *tc, struct bio *bio) in bio_triggers_commit() 451 static void inc_all_io_entry(struct pool *pool, struct bio *bio) in inc_all_io_entry() 462 static void issue(struct thin_c *tc, struct bio *bio) in issue() 491 static void remap_to_origin_and_issue(struct thin_c *tc, struct bio *bio) in remap_to_origin_and_issue() 497 static void remap_and_issue(struct thin_c *tc, struct bio *bio, in remap_and_issue() [all …]
|
D | raid1.c | 61 #define BIO_SPECIAL(bio) ((unsigned long)bio <= 2) argument 96 struct bio *bio; in r1buf_pool_alloc() local 172 struct bio **bio = r1_bio->bios + i; in put_all_bios() local 193 struct bio *bio = r1_bio->bios[i]; in put_buf() local 225 struct bio *bio = r1_bio->master_bio; in call_bio_endio() local 252 struct bio *bio = r1_bio->master_bio; in raid_end_bio_io() local 281 static int find_bio_disk(struct r1bio *r1_bio, struct bio *bio) in find_bio_disk() 297 static void raid1_end_read_request(struct bio *bio, int error) in raid1_end_read_request() 382 static void raid1_end_write_request(struct bio *bio, int error) in raid1_end_write_request() 772 struct bio *bio; in flush_pending_writes() local [all …]
|
D | dm-cache-target.c | 362 struct bio *bio, struct dm_bio_prison_cell *cell_prealloc, in bio_detain() 535 static struct per_bio_data *get_per_bio_data(struct bio *bio, size_t data_size) in get_per_bio_data() 542 static struct per_bio_data *init_per_bio_data(struct bio *bio, size_t data_size) in init_per_bio_data() 556 static void remap_to_origin(struct cache *cache, struct bio *bio) in remap_to_origin() 561 static void remap_to_cache(struct cache *cache, struct bio *bio, in remap_to_cache() 575 static void check_if_tick_bio_needed(struct cache *cache, struct bio *bio) in check_if_tick_bio_needed() 590 static void remap_to_origin_clear_discard(struct cache *cache, struct bio *bio, in remap_to_origin_clear_discard() 599 static void remap_to_cache_dirty(struct cache *cache, struct bio *bio, in remap_to_cache_dirty() 609 static dm_oblock_t get_bio_block(struct cache *cache, struct bio *bio) in get_bio_block() 621 static int bio_triggers_commit(struct cache *cache, struct bio *bio) in bio_triggers_commit() [all …]
|
D | dm-flakey.c | 18 #define all_corrupt_bio_flags_match(bio, fc) \ argument 245 static void flakey_map_bio(struct dm_target *ti, struct bio *bio) in flakey_map_bio() 254 static void corrupt_bio_data(struct bio *bio, struct flakey_c *fc) in corrupt_bio_data() 273 static int flakey_map(struct dm_target *ti, struct bio *bio) in flakey_map() 323 static int flakey_end_io(struct dm_target *ti, struct bio *bio, int error) in flakey_end_io()
|
D | dm-snap.c | 196 static void init_tracked_chunk(struct bio *bio) in init_tracked_chunk() 202 static bool is_bio_tracked(struct bio *bio) in is_bio_tracked() 208 static void track_chunk(struct dm_snapshot *s, struct bio *bio, chunk_t chunk) in track_chunk() 220 static void stop_tracking_chunk(struct dm_snapshot *s, struct bio *bio) in stop_tracking_chunk() 1304 static void flush_bios(struct bio *bio) in flush_bios() 1321 static void retry_origin_bios(struct dm_snapshot *s, struct bio *bio) in retry_origin_bios() 1339 static void error_bios(struct bio *bio) in error_bios() 1489 static void full_bio_end_io(struct bio *bio, int error) in full_bio_end_io() 1497 struct bio *bio) in start_full_bio() 1563 struct bio *bio, chunk_t chunk) in remap_exception() [all …]
|
D | dm.c | 60 struct bio *bio; member 91 union map_info *dm_get_mapinfo(struct bio *bio) in dm_get_mapinfo() 466 struct bio *bio = io->bio; in end_io_acct() local 492 static void queue_io(struct mapped_device *md, struct bio *bio) in queue_io() 570 struct bio *bio; in dec_pending() local 618 static void clone_endio(struct bio *bio, int error) in clone_endio() 657 struct bio *bio = info->orig; in end_clone_bio() local 1012 struct bio *bio; member 1019 static void bio_setup_sector(struct bio *bio, sector_t sector, sector_t len) in bio_setup_sector() 1025 static void bio_setup_bv(struct bio *bio, unsigned short idx, unsigned short bv_count) in bio_setup_bv() [all …]
|
D | raid10.c | 90 #define BIO_SPECIAL(bio) ((unsigned long)bio <= 2) argument 142 struct bio *bio; in r10buf_pool_alloc() local 225 struct bio *bio = r10bio->devs[j].bio; in r10buf_pool_free() local 245 struct bio **bio = & r10_bio->devs[i].bio; in put_all_bios() local 297 struct bio *bio = r10_bio->master_bio; in raid_end_bio_io() local 337 struct bio *bio, int *slotp, int *replp) in find_bio_disk() 361 static void raid10_end_read_request(struct bio *bio, int error) in raid10_end_read_request() 444 static void raid10_end_write_request(struct bio *bio, int error) in raid10_end_write_request() 958 struct bio *bio; in flush_pending_writes() local 1125 struct bio *bio; in raid10_unplug() local [all …]
|
D | multipath.c | 79 struct bio *bio = mp_bh->master_bio; in multipath_end_bh_io() local 86 static void multipath_end_request(struct bio *bio, int error) in multipath_end_request() 110 static void multipath_make_request(struct mddev *mddev, struct bio * bio) in multipath_make_request() 342 struct bio *bio; in multipathd() local
|
D | dm-delay.c | 42 struct bio *bio; member 68 static void flush_bios(struct bio *bio) in flush_bios() 231 static int delay_bio(struct delay_c *dc, int delay, struct bio *bio) in delay_bio() 277 static int delay_map(struct dm_target *ti, struct bio *bio) in delay_map()
|
D | dm-bio-record.h | 39 static inline void dm_bio_record(struct dm_bio_details *bd, struct bio *bio) in dm_bio_record() 55 static inline void dm_bio_restore(struct dm_bio_details *bd, struct bio *bio) in dm_bio_restore()
|
D | dm-linear.c | 82 static void linear_map_bio(struct dm_target *ti, struct bio *bio) in linear_map_bio() 91 int dm_linear_map(struct dm_target *ti, struct bio *bio) in dm_linear_map()
|
/drivers/target/ |
D | target_core_iblock.c | 274 static void iblock_bio_done(struct bio *bio, int err) in iblock_bio_done() 304 struct bio *bio; in iblock_get_bio() local 330 struct bio *bio; in iblock_submit_bios() local 338 static void iblock_end_io_flush(struct bio *bio, int err) in iblock_end_io_flush() 364 struct bio *bio; in iblock_execute_sync_cache() local 427 struct bio *bio; in iblock_execute_write_same() local 597 struct bio *bio; in iblock_execute_rw() local
|
/drivers/block/rsxx/ |
D | dev.c | 59 struct bio *bio; member 113 static void disk_stats_start(struct rsxx_cardinfo *card, struct bio *bio) in disk_stats_start() 128 struct bio *bio, in disk_stats_complete() 165 static void rsxx_make_request(struct request_queue *q, struct bio *bio) in rsxx_make_request()
|
/drivers/block/drbd/ |
D | drbd_wrappers.h | 20 #define drbd_bio_uptodate(bio) bio_flagged(bio, BIO_UPTODATE) argument 31 int fault_type, struct bio *bio) in drbd_generic_make_request()
|
D | drbd_req.c | 1000 struct bio *bio = req->private_bio; in drbd_submit_req_private_bio() local 1037 drbd_request_prepare(struct drbd_conf *mdev, struct bio *bio, unsigned long start_time) in drbd_request_prepare() 1163 void __drbd_make_request(struct drbd_conf *mdev, struct bio *bio, unsigned long start_time) in __drbd_make_request() 1273 void drbd_make_request(struct request_queue *q, struct bio *bio) in drbd_make_request()
|
/drivers/block/ |
D | pktcdvd.c | 553 struct bio *bio = bio_kmalloc(GFP_KERNEL, 1); in pkt_alloc_packet_data() local 564 struct bio *bio = pkt->r_bios[i]; in pkt_alloc_packet_data() local 588 struct bio *bio = pkt->r_bios[i]; in pkt_free_packet_data() local 818 static void pkt_queue_bio(struct pktcdvd_device *pd, struct bio *bio) in pkt_queue_bio() 855 struct bio *bio; in pkt_iosched_process_queue() local 984 static void pkt_end_io_read(struct bio *bio, int err) in pkt_end_io_read() 1002 static void pkt_end_io_packet_write(struct bio *bio, int err) in pkt_end_io_packet_write() 1024 struct bio *bio; in pkt_gather_data() local 1199 struct bio *bio = NULL; in pkt_handle_queue() local 1348 struct bio *bio; in pkt_finish_packet() local [all …]
|
D | umem.c | 110 struct bio *bio, *currentbio, **biotail; member 120 struct bio *bio, **biotail; member 346 struct bio *bio; in add_bio() local 438 struct bio *bio = page->bio; in process_page() local 508 struct bio *bio = return_bio; in process_page() local 531 static void mm_make_request(struct request_queue *q, struct bio *bio) in mm_make_request()
|
/drivers/scsi/osd/ |
D | osd_initiator.c | 718 struct bio *bio; in _osd_req_list_objects() local 826 struct bio *bio, u64 len) in osd_req_write() 840 struct bio *bio = bio_map_kern(req_q, buff, len, GFP_KERNEL); in osd_req_write_kern() local 877 struct bio *bio, u64 len) in osd_req_read() 891 struct bio *bio = bio_map_kern(req_q, buff, len, GFP_KERNEL); in osd_req_read_kern() local 945 struct bio *bio; in _osd_req_finalize_cdb_cont() local 991 const struct osd_obj_id *obj, struct bio *bio, in osd_req_write_sg() 1009 const struct osd_obj_id *obj, struct bio *bio, in osd_req_read_sg() 1047 struct bio *bio; in _create_sg_bios() local 1079 struct bio *bio = _create_sg_bios(or, buff, sglist, numentries); in osd_req_write_sg_kern() local [all …]
|