/openbmc/linux/drivers/md/ |
H A D | dm-ebs-target.c | 50 sector_t end_sector = __block_mod(bio->bi_iter.bi_sector, ec->u_bs) + bio_sectors(bio); in __nr_blocks() 72 unsigned int buf_off = to_bytes(__block_mod(iter->bi_sector, ec->u_bs)); in __ebs_rw_bvec() 73 sector_t block = __sector_to_block(ec, iter->bi_sector); in __ebs_rw_bvec() 145 sector_t block, blocks, sector = bio->bi_iter.bi_sector; in __ebs_discard_bio() 169 sector_t blocks, sector = bio->bi_iter.bi_sector; in __ebs_forget_bio() 195 block1 = __sector_to_block(ec, bio->bi_iter.bi_sector); in __ebs_process_bios() 200 if (__block_mod(bio->bi_iter.bi_sector, ec->u_bs)) in __ebs_process_bios() 366 bio->bi_iter.bi_sector = ec->start + dm_target_offset(ti, bio->bi_iter.bi_sector); in ebs_map() 375 if (likely(__block_mod(bio->bi_iter.bi_sector, ec->u_bs) || in ebs_map()
|
H A D | md-faulty.c | 69 b->bi_iter.bi_sector = bio->bi_iter.bi_sector; in faulty_fail() 179 if (check_sector(conf, bio->bi_iter.bi_sector, in faulty_make_request() 183 add_sector(conf, bio->bi_iter.bi_sector, in faulty_make_request() 191 if (check_sector(conf, bio->bi_iter.bi_sector, in faulty_make_request() 197 add_sector(conf, bio->bi_iter.bi_sector, in faulty_make_request() 202 add_sector(conf, bio->bi_iter.bi_sector, in faulty_make_request()
|
H A D | md-multipath.c | 93 (unsigned long long)bio->bi_iter.bi_sector); in multipath_end_request() 126 mp_bh->bio.bi_iter.bi_sector += multipath->rdev->data_offset; in multipath_make_request() 305 bio->bi_iter.bi_sector = mp_bh->master_bio->bi_iter.bi_sector; in multipathd() 310 (unsigned long long)bio->bi_iter.bi_sector); in multipathd() 315 (unsigned long long)bio->bi_iter.bi_sector); in multipathd() 317 bio->bi_iter.bi_sector += in multipathd()
|
H A D | dm-linear.c | 81 static sector_t linear_map_sector(struct dm_target *ti, sector_t bi_sector) in linear_map_sector() argument 85 return lc->start + dm_target_offset(ti, bi_sector); in linear_map_sector() 93 bio->bi_iter.bi_sector = linear_map_sector(ti, bio->bi_iter.bi_sector); in linear_map()
|
H A D | md-linear.c | 211 sector_t bio_sector = bio->bi_iter.bi_sector; in linear_make_request() 243 bio->bi_iter.bi_sector = bio->bi_iter.bi_sector - in linear_make_request() 262 (unsigned long long)bio->bi_iter.bi_sector, in linear_make_request()
|
H A D | dm-flakey.c | 326 static sector_t flakey_map_sector(struct dm_target *ti, sector_t bi_sector) in flakey_map_sector() argument 330 return fc->start + dm_target_offset(ti, bi_sector); in flakey_map_sector() 338 bio->bi_iter.bi_sector = flakey_map_sector(ti, bio->bi_iter.bi_sector); in flakey_map_bio() 360 (unsigned long long)bio->bi_iter.bi_sector, in corrupt_bio_common() 431 clone->bi_iter.bi_sector = flakey_map_sector(ti, bio->bi_iter.bi_sector); in clone_bio()
|
H A D | dm-io-rewind.c | 62 bip->bip_iter.bi_sector -= bio_integrity_intervals(bi, bytes_done >> 9); in dm_bio_integrity_rewind() 113 iter->bi_sector -= bytes >> 9; in dm_bio_rewind_iter()
|
H A D | dm-zone.c | 392 if ((clone->bi_iter.bi_sector & (zsectors - 1)) != zwp_offset) in dm_zone_map_bio_begin() 403 clone->bi_iter.bi_sector += zwp_offset; in dm_zone_map_bio_begin() 607 orig_bio->bi_iter.bi_sector += in dm_zone_endio() 608 clone->bi_iter.bi_sector & mask; in dm_zone_endio() 642 orig_bio->bi_iter.bi_sector += in dm_zone_endio()
|
H A D | dm-stripe.c | 254 stripe_map_range_sector(sc, bio->bi_iter.bi_sector, in stripe_map_range() 260 bio->bi_iter.bi_sector = begin + in stripe_map_range() 291 stripe_map_sector(sc, bio->bi_iter.bi_sector, in stripe_map() 292 &stripe, &bio->bi_iter.bi_sector); in stripe_map() 294 bio->bi_iter.bi_sector += sc->stripe[stripe].physical_start; in stripe_map()
|
H A D | dm-stats.h | 33 sector_t bi_sector, unsigned int bi_sectors, bool end,
|
H A D | dm-stats.c | 626 sector_t bi_sector, sector_t end_sector, in __dm_stat_bio() argument 633 if (end_sector <= s->start || bi_sector >= s->end) in __dm_stat_bio() 635 if (unlikely(bi_sector < s->start)) { in __dm_stat_bio() 639 rel_sector = bi_sector - s->start; in __dm_stat_bio() 640 todo = end_sector - bi_sector; in __dm_stat_bio() 664 sector_t bi_sector, unsigned int bi_sectors, bool end, in dm_stats_account_io() argument 677 end_sector = bi_sector + bi_sectors; in dm_stats_account_io() 686 (bi_sector == (READ_ONCE(last->last_sector) && in dm_stats_account_io() 705 __dm_stat_bio(s, bi_rw, bi_sector, end_sector, end, duration_jiffies, stats_aux); in dm_stats_account_io()
|
H A D | dm-unstripe.c | 120 sector_t sector = bio->bi_iter.bi_sector; in map_to_core() 140 bio->bi_iter.bi_sector = map_to_core(ti, bio) + uc->physical_start; in unstripe_map()
|
/openbmc/linux/drivers/md/bcache/ |
H A D | request.c | 123 bio->bi_iter.bi_sector += sectors; in bch_data_invalidate() 128 bio->bi_iter.bi_sector, in bch_data_invalidate() 220 SET_KEY_OFFSET(k, bio->bi_iter.bi_sector); in bch_data_insert_start() 417 if (i->last == bio->bi_iter.bi_sector && in check_should_bypass() 524 KEY_START(k) > bio->bi_iter.bi_sector) { in cache_lookup_fn() 528 KEY_START(k) - bio->bi_iter.bi_sector) in cache_lookup_fn() 834 s->iop.bio->bi_iter.bi_sector = in cached_dev_read_done() 835 s->cache_miss->bi_iter.bi_sector; in cached_dev_read_done() 921 cache_bio->bi_iter.bi_sector = miss->bi_iter.bi_sector; in cached_dev_cache_miss() 1204 bio->bi_iter.bi_sector += dc->sb.data_offset; in cached_dev_submit_bio() [all …]
|
H A D | debug.c | 54 bio->bi_iter.bi_sector = PTR_OFFSET(&b->key, 0); in bch_btree_verify() 120 check->bi_iter.bi_sector = bio->bi_iter.bi_sector; in bch_data_verify() 141 (uint64_t) bio->bi_iter.bi_sector); in bch_data_verify()
|
/openbmc/linux/fs/btrfs/ |
H A D | bio.c | 217 repair_bbio->saved_iter.bi_sector << SECTOR_SHIFT, in btrfs_end_repair_bio() 241 const u64 logical = (failed_bbio->saved_iter.bi_sector << SECTOR_SHIFT); in repair_one_sector() 268 repair_bio->bi_iter.bi_sector = failed_bbio->saved_iter.bi_sector; in repair_one_sector() 454 u64 physical = bio->bi_iter.bi_sector << SECTOR_SHIFT; in btrfs_submit_dev_bio() 458 bio->bi_iter.bi_sector = zone_start >> SECTOR_SHIFT; in btrfs_submit_dev_bio() 462 __func__, bio_op(bio), bio->bi_opf, bio->bi_iter.bi_sector, in btrfs_submit_dev_bio() 491 bio->bi_iter.bi_sector = bioc->stripes[dev_nr].physical >> SECTOR_SHIFT; in btrfs_submit_mirrored_bio() 502 bio->bi_iter.bi_sector = smap->physical >> SECTOR_SHIFT; in __btrfs_submit_bio() 650 u64 logical = bio->bi_iter.bi_sector << SECTOR_SHIFT; in btrfs_submit_chunk() 792 bio.bi_iter.bi_sector = smap.physical >> SECTOR_SHIFT; in btrfs_repair_io_failure() [all …]
|
/openbmc/linux/fs/xfs/ |
H A D | xfs_bio_io.c | 31 bio->bi_iter.bi_sector = sector; in xfs_rw_bdev() 43 bio->bi_iter.bi_sector = bio_end_sector(prev); in xfs_rw_bdev()
|
/openbmc/linux/block/ |
H A D | blk-lib.c | 68 bio->bi_iter.bi_sector = sector; in __blkdev_issue_discard() 136 bio->bi_iter.bi_sector = sector; in __blkdev_issue_write_zeroes() 182 bio->bi_iter.bi_sector = sector; in __blkdev_issue_zero_pages() 329 bio->bi_iter.bi_sector = sector; in blkdev_issue_secure_erase()
|
H A D | blk-merge.c | 139 tmp = bio->bi_iter.bi_sector + split_sectors - in bio_split_discard() 178 blk_chunk_sectors_left(bio->bi_iter.bi_sector, in get_max_io_size() 182 start = bio->bi_iter.bi_sector & (pbs - 1); in get_max_io_size() 383 trace_block_split(split, bio->bi_iter.bi_sector); in __bio_split_to_limits() 665 blk_rq_get_max_sectors(req, bio->bi_iter.bi_sector)) { in ll_front_merge_fn() 956 else if (blk_rq_pos(rq) + blk_rq_sectors(rq) == bio->bi_iter.bi_sector) in blk_try_merge() 958 else if (blk_rq_pos(rq) - bio_sectors(bio) == bio->bi_iter.bi_sector) in blk_try_merge() 1024 req->__sector = bio->bi_iter.bi_sector; in bio_attempt_front_merge()
|
H A D | bounce.c | 172 bio->bi_iter.bi_sector = bio_src->bi_iter.bi_sector; in bounce_clone_bio()
|
/openbmc/linux/mm/ |
H A D | page_io.c | 46 (unsigned long long)bio->bi_iter.bi_sector); in __end_swap_bio_write() 65 (unsigned long long)bio->bi_iter.bi_sector); in __end_swap_bio_read() 338 bio.bi_iter.bi_sector = swap_page_sector(page); in swap_writepage_bdev_sync() 360 bio->bi_iter.bi_sector = swap_page_sector(page); in swap_writepage_bdev_async() 467 bio.bi_iter.bi_sector = swap_page_sector(page); in swap_readpage_bdev_sync() 486 bio->bi_iter.bi_sector = swap_page_sector(page); in swap_readpage_bdev_async()
|
/openbmc/linux/include/trace/events/ |
H A D | bcache.h | 28 __entry->sector = bio->bi_iter.bi_sector; 29 __entry->orig_sector = bio->bi_iter.bi_sector - 16; 103 __entry->sector = bio->bi_iter.bi_sector; 138 __entry->sector = bio->bi_iter.bi_sector; 169 __entry->sector = bio->bi_iter.bi_sector; 238 __entry->sector = bio->bi_iter.bi_sector;
|
H A D | block.h | 300 __entry->sector = bio->bi_iter.bi_sector; 328 __entry->sector = bio->bi_iter.bi_sector; 485 __entry->sector = bio->bi_iter.bi_sector; 524 __entry->sector = bio->bi_iter.bi_sector;
|
/openbmc/linux/drivers/nvdimm/ |
H A D | nd_virtio.c | 116 if (bio && bio->bi_iter.bi_sector != -1) { in async_pmem_flush() 124 child->bi_iter.bi_sector = -1; in async_pmem_flush()
|
/openbmc/linux/fs/ext4/ |
H A D | page-io.c | 327 sector_t bi_sector = bio->bi_iter.bi_sector; in ext4_end_bio() local 331 (long long) bio->bi_iter.bi_sector, in ext4_end_bio() 347 bi_sector >> (inode->i_blkbits - 9)); in ext4_end_bio() 402 bio->bi_iter.bi_sector = bh->b_blocknr * (bh->b_size >> 9); in io_submit_init_bio()
|
/openbmc/linux/fs/crypto/ |
H A D | bio.c | 68 bio->bi_iter.bi_sector = in fscrypt_zeroout_range_inline_crypt() 157 bio->bi_iter.bi_sector = pblk << (blockbits - 9); in fscrypt_zeroout_range()
|