Home
last modified time | relevance | path

Searched refs:bi_sector (Results 1 – 25 of 136) sorted by relevance

123456

/linux/drivers/md/
A Ddm-ebs-target.c49 sector_t end_sector = __block_mod(bio->bi_iter.bi_sector, ec->u_bs) + bio_sectors(bio); in __nr_blocks()
70 unsigned int buf_off = to_bytes(__block_mod(iter->bi_sector, ec->u_bs)); in __ebs_rw_bvec()
71 sector_t block = __sector_to_block(ec, iter->bi_sector); in __ebs_rw_bvec()
143 sector_t block, blocks, sector = bio->bi_iter.bi_sector; in __ebs_discard_bio()
167 sector_t blocks, sector = bio->bi_iter.bi_sector; in __ebs_forget_bio()
193 block1 = __sector_to_block(ec, bio->bi_iter.bi_sector); in __ebs_process_bios()
198 if (__block_mod(bio->bi_iter.bi_sector, ec->u_bs)) in __ebs_process_bios()
364 bio->bi_iter.bi_sector = ec->start + dm_target_offset(ti, bio->bi_iter.bi_sector); in ebs_map()
373 if (likely(__block_mod(bio->bi_iter.bi_sector, ec->u_bs) || in ebs_map()
A Dmd-faulty.c69 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()
A Dmd-multipath.c94 (unsigned long long)bio->bi_iter.bi_sector); in multipath_end_request()
127 mp_bh->bio.bi_iter.bi_sector += multipath->rdev->data_offset; in multipath_make_request()
311 bio->bi_iter.bi_sector = mp_bh->master_bio->bi_iter.bi_sector; in multipathd()
316 (unsigned long long)bio->bi_iter.bi_sector); in multipathd()
321 (unsigned long long)bio->bi_iter.bi_sector); in multipathd()
323 bio->bi_iter.bi_sector += in multipathd()
A Ddm-zone.c396 if ((clone->bi_iter.bi_sector & (zsectors - 1)) != zwp_offset) in dm_zone_map_bio_begin()
407 clone->bi_iter.bi_sector = in dm_zone_map_bio_begin()
408 orig_bio->bi_iter.bi_sector + zwp_offset; in dm_zone_map_bio_begin()
620 orig_bio->bi_iter.bi_sector += in dm_zone_endio()
621 clone->bi_iter.bi_sector & mask; in dm_zone_endio()
655 orig_bio->bi_iter.bi_sector += in dm_zone_endio()
A Dmd-linear.c221 sector_t bio_sector = bio->bi_iter.bi_sector; in linear_make_request()
251 bio->bi_iter.bi_sector = bio->bi_iter.bi_sector - in linear_make_request()
271 (unsigned long long)bio->bi_iter.bi_sector, in linear_make_request()
A Ddm-linear.c81 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()
94 bio->bi_iter.bi_sector = in linear_map_bio()
95 linear_map_sector(ti, bio->bi_iter.bi_sector); in linear_map_bio()
A Ddm-flakey.c271 static sector_t flakey_map_sector(struct dm_target *ti, sector_t bi_sector) in flakey_map_sector() argument
275 return fc->start + dm_target_offset(ti, bi_sector); in flakey_map_sector()
284 bio->bi_iter.bi_sector = in flakey_map_bio()
285 flakey_map_sector(ti, bio->bi_iter.bi_sector); in flakey_map_bio()
311 (unsigned long long)bio->bi_iter.bi_sector, bio->bi_iter.bi_size); in corrupt_bio_data()
A Ddm-stripe.c256 stripe_map_range_sector(sc, bio->bi_iter.bi_sector, in stripe_map_range()
262 bio->bi_iter.bi_sector = begin + in stripe_map_range()
294 stripe_map_sector(sc, bio->bi_iter.bi_sector, in stripe_map()
295 &stripe, &bio->bi_iter.bi_sector); in stripe_map()
297 bio->bi_iter.bi_sector += sc->stripe[stripe].physical_start; in stripe_map()
A Ddm-stats.c585 sector_t bi_sector, sector_t end_sector, in __dm_stat_bio() argument
592 if (end_sector <= s->start || bi_sector >= s->end) in __dm_stat_bio()
594 if (unlikely(bi_sector < s->start)) { in __dm_stat_bio()
598 rel_sector = bi_sector - s->start; in __dm_stat_bio()
599 todo = end_sector - bi_sector; in __dm_stat_bio()
623 sector_t bi_sector, unsigned bi_sectors, bool end, in dm_stats_account_io() argument
635 end_sector = bi_sector + bi_sectors; in dm_stats_account_io()
644 (bi_sector == (READ_ONCE(last->last_sector) && in dm_stats_account_io()
663 __dm_stat_bio(s, bi_rw, bi_sector, end_sector, end, duration_jiffies, stats_aux); in dm_stats_account_io()
A Ddm-dust.c230 bio->bi_iter.bi_sector = dd->start + dm_target_offset(ti, bio->bi_iter.bi_sector); in dust_map()
233 r = dust_map_read(dd, bio->bi_iter.bi_sector, dd->fail_read_on_bb); in dust_map()
235 r = dust_map_write(dd, bio->bi_iter.bi_sector, dd->fail_read_on_bb); in dust_map()
A Ddm-unstripe.c119 sector_t sector = bio->bi_iter.bi_sector; in map_to_core()
139 bio->bi_iter.bi_sector = map_to_core(ti, bio) + uc->physical_start; in unstripe_map()
/linux/drivers/md/bcache/
A Drequest.c123 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()
835 s->iop.bio->bi_iter.bi_sector = in cached_dev_read_done()
836 s->cache_miss->bi_iter.bi_sector; in cached_dev_read_done()
922 cache_bio->bi_iter.bi_sector = miss->bi_iter.bi_sector; in cached_dev_cache_miss()
1200 bio->bi_iter.bi_sector += dc->sb.data_offset; in cached_dev_submit_bio()
[all …]
A Ddebug.c54 bio->bi_iter.bi_sector = PTR_OFFSET(&b->key, 0); in bch_btree_verify()
119 check->bi_iter.bi_sector = bio->bi_iter.bi_sector; in bch_data_verify()
140 (uint64_t) bio->bi_iter.bi_sector); in bch_data_verify()
/linux/block/
A Dblk-lib.c99 bio->bi_iter.bi_sector = sector; in __blkdev_issue_discard()
193 bio->bi_iter.bi_sector = sector; in __blkdev_issue_write_same()
269 bio->bi_iter.bi_sector = sector; in __blkdev_issue_write_zeroes()
321 bio->bi_iter.bi_sector = sector; in __blkdev_issue_zero_pages()
A Dblk-merge.c130 tmp = bio->bi_iter.bi_sector + split_sectors - alignment; in blk_bio_discard_split()
180 unsigned sectors = blk_max_size_offset(q, bio->bi_iter.bi_sector, 0); in get_max_io_size()
184 unsigned start_offset = bio->bi_iter.bi_sector & (pbs - 1); in get_max_io_size()
366 trace_block_split(split, (*bio)->bi_iter.bi_sector); in __blk_queue_split()
652 blk_rq_get_max_sectors(req, bio->bi_iter.bi_sector)) { in ll_front_merge_fn()
940 else if (blk_rq_pos(rq) + blk_rq_sectors(rq) == bio->bi_iter.bi_sector) in blk_try_merge()
942 else if (blk_rq_pos(rq) - bio_sectors(bio) == bio->bi_iter.bi_sector) in blk_try_merge()
1004 req->__sector = bio->bi_iter.bi_sector; in bio_attempt_front_merge()
A Dbio-integrity.c168 iter.seed = proc_iter->bi_sector; in bio_integrity_process()
257 bip_set_seed(bip, bio->bi_iter.bi_sector); in bio_integrity_prep()
376 bip->bip_iter.bi_sector += bytes_done >> 9; in bio_integrity_advance()
/linux/include/trace/events/
A Dbcache.h28 __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;
A Dblock.h249 __entry->sector = bio->bi_iter.bi_sector;
277 __entry->sector = bio->bi_iter.bi_sector;
434 __entry->sector = bio->bi_iter.bi_sector;
473 __entry->sector = bio->bi_iter.bi_sector;
/linux/fs/xfs/
A Dxfs_bio_io.c66 bio->bi_iter.bi_sector = sector; in xfs_rw_bdev()
79 bio->bi_iter.bi_sector = bio_end_sector(prev); in xfs_rw_bdev()
/linux/mm/
A Dpage_io.c46 (unsigned long long)bio->bi_iter.bi_sector); in end_swap_bio_write()
111 (unsigned long long)bio->bi_iter.bi_sector); in end_swap_bio_read()
342 bio->bi_iter.bi_sector = swap_page_sector(page); in __swap_writepage()
407 bio->bi_iter.bi_sector = swap_page_sector(page); in swap_readpage()
/linux/fs/ext4/
A Dpage-io.c325 sector_t bi_sector = bio->bi_iter.bi_sector; in ext4_end_bio() local
330 (long long) bio->bi_iter.bi_sector, in ext4_end_bio()
346 bi_sector >> (inode->i_blkbits - 9)); in ext4_end_bio()
403 bio->bi_iter.bi_sector = bh->b_blocknr * (bh->b_size >> 9); in io_submit_init_bio()
/linux/drivers/nvdimm/
A Dnd_virtio.c107 if (bio && bio->bi_iter.bi_sector != -1) { in async_pmem_flush()
114 child->bi_iter.bi_sector = -1; in async_pmem_flush()
/linux/include/linux/
A Dbio.h38 #define bvec_iter_end_sector(iter) ((iter).bi_sector + bvec_iter_sectors((iter)))
100 iter->bi_sector += bytes >> 9; in bio_advance_iter()
114 iter->bi_sector += bytes >> 9; in bio_advance_iter_single()
313 return bip->bip_iter.bi_sector; in bip_get_seed()
319 bip->bip_iter.bi_sector = seed; in bip_set_seed()
/linux/fs/crypto/
A Dbio.c66 bio->bi_iter.bi_sector = in fscrypt_zeroout_range_inline_crypt()
157 bio->bi_iter.bi_sector = pblk << (blockbits - 9); in fscrypt_zeroout_range()
/linux/drivers/block/
A Dpktcdvd.c655 if (s <= tmp->bio->bi_iter.bi_sector) in pkt_rbtree_find()
664 if (s > tmp->bio->bi_iter.bi_sector) { in pkt_rbtree_find()
669 BUG_ON(s > tmp->bio->bi_iter.bi_sector); in pkt_rbtree_find()
680 sector_t s = node->bio->bi_iter.bi_sector; in pkt_rbtree_insert()
686 if (s < tmp->bio->bi_iter.bi_sector) in pkt_rbtree_insert()
865 if (bio && (bio->bi_iter.bi_sector == in pkt_iosched_process_queue()
1172 get_zone(bio->bi_iter.bi_sector, pd)); in pkt_handle_queue()
1245 pkt->w_bio->bi_iter.bi_sector = pkt->sector; in pkt_start_write()
2327 zone = get_zone(bio->bi_iter.bi_sector, pd); in pkt_make_request_write()
2418 (unsigned long long)bio->bi_iter.bi_sector, in pkt_submit_bio()
[all …]

Completed in 44 milliseconds

123456