Home
last modified time | relevance | path

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

123456

/kernel/linux/linux-5.10/drivers/md/
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()
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()
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()
Dmd-linear.c222 sector_t bio_sector = bio->bi_iter.bi_sector; in linear_make_request()
252 bio->bi_iter.bi_sector = bio->bi_iter.bi_sector - in linear_make_request()
273 (unsigned long long)bio->bi_iter.bi_sector, in linear_make_request()
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()
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()
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()
Ddm-stats.c590 sector_t bi_sector, sector_t end_sector, in __dm_stat_bio() argument
597 if (end_sector <= s->start || bi_sector >= s->end) in __dm_stat_bio()
599 if (unlikely(bi_sector < s->start)) { in __dm_stat_bio()
603 rel_sector = bi_sector - s->start; in __dm_stat_bio()
604 todo = end_sector - bi_sector; in __dm_stat_bio()
628 sector_t bi_sector, unsigned bi_sectors, bool end, in dm_stats_account_io() argument
640 end_sector = bi_sector + bi_sectors; in dm_stats_account_io()
649 (bi_sector == (READ_ONCE(last->last_sector) && in dm_stats_account_io()
668 __dm_stat_bio(s, bi_rw, bi_sector, end_sector, end, duration_jiffies, stats_aux); in dm_stats_account_io()
Ddm-stats.h34 sector_t bi_sector, unsigned bi_sectors, bool end,
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()
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()
/kernel/linux/linux-5.10/drivers/md/bcache/
Drequest.c114 bio_sectors(bio), (uint64_t) bio->bi_iter.bi_sector); in bch_data_invalidate()
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()
397 if (bio->bi_iter.bi_sector & (c->cache->sb.block_size - 1) || in check_should_bypass()
416 hlist_for_each_entry(i, iohash(dc, bio->bi_iter.bi_sector), hash) in check_should_bypass()
417 if (i->last == bio->bi_iter.bi_sector && in check_should_bypass()
520 if (bkey_cmp(k, &KEY(s->iop.inode, bio->bi_iter.bi_sector, 0)) <= 0) in cache_lookup_fn()
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()
[all …]
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()
142 (uint64_t) bio->bi_iter.bi_sector); in bch_data_verify()
/kernel/linux/linux-5.10/fs/xfs/
Dxfs_bio_io.c31 bio->bi_iter.bi_sector = sector; in xfs_rw_bdev()
44 bio->bi_iter.bi_sector = bio_end_sector(prev); in xfs_rw_bdev()
/kernel/linux/linux-5.10/include/trace/events/
Dblock.h252 __entry->sector = bio->bi_iter.bi_sector;
288 __entry->sector = bio->bi_iter.bi_sector;
316 __entry->sector = bio->bi_iter.bi_sector;
383 __entry->sector = bio->bi_iter.bi_sector;
411 __entry->sector = bio ? bio->bi_iter.bi_sector : 0;
546 __entry->sector = bio->bi_iter.bi_sector;
587 __entry->sector = bio->bi_iter.bi_sector;
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;
/kernel/linux/linux-5.10/mm/
Dpage_io.c38 bio->bi_iter.bi_sector = map_swap_page(page, &bdev); in get_swap_bio()
40 bio->bi_iter.bi_sector <<= PAGE_SHIFT - 9; in get_swap_bio()
65 (unsigned long long)bio->bi_iter.bi_sector); in end_swap_bio_write()
82 (unsigned long long)bio->bi_iter.bi_sector); in end_swap_bio_read()
/kernel/linux/linux-5.10/block/
Dblk-lib.c98 bio->bi_iter.bi_sector = sector; in __blkdev_issue_discard()
192 bio->bi_iter.bi_sector = sector; in __blkdev_issue_write_same()
268 bio->bi_iter.bi_sector = sector; in __blkdev_issue_write_zeroes()
320 bio->bi_iter.bi_sector = sector; in __blkdev_issue_zero_pages()
Dblk-merge.c98 tmp = bio->bi_iter.bi_sector + split_sectors - alignment; in blk_bio_discard_split()
148 unsigned sectors = blk_max_size_offset(q, bio->bi_iter.bi_sector, 0); in get_max_io_size()
152 unsigned start_offset = bio->bi_iter.bi_sector & (pbs - 1); in get_max_io_size()
342 trace_block_split(q, split, (*bio)->bi_iter.bi_sector); in __blk_queue_split()
612 blk_rq_get_max_sectors(req, bio->bi_iter.bi_sector)) { in ll_front_merge_fn()
902 else if (blk_rq_pos(rq) + blk_rq_sectors(rq) == bio->bi_iter.bi_sector) in blk_try_merge()
904 else if (blk_rq_pos(rq) - bio_sectors(bio) == bio->bi_iter.bi_sector) in blk_try_merge()
966 req->__sector = bio->bi_iter.bi_sector; in bio_attempt_front_merge()
/kernel/linux/linux-5.10/drivers/nvdimm/
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()
/kernel/linux/linux-5.10/fs/ext4/
Dpage-io.c330 sector_t bi_sector = bio->bi_iter.bi_sector; in ext4_end_bio() local
335 (long long) bio->bi_iter.bi_sector, in ext4_end_bio()
351 bi_sector >> (inode->i_blkbits - 9)); in ext4_end_bio()
408 bio->bi_iter.bi_sector = bh->b_blocknr * (bh->b_size >> 9); in io_submit_init_bio()
/kernel/linux/linux-5.10/drivers/s390/block/
Dxpram.c196 if ((bio->bi_iter.bi_sector & 7) != 0 || in xpram_submit_bio()
203 if ((bio->bi_iter.bi_sector >> 3) > 0xffffffffU - xdev->offset) in xpram_submit_bio()
205 index = (bio->bi_iter.bi_sector >> 3) + xdev->offset; in xpram_submit_bio()
/kernel/linux/linux-5.10/fs/crypto/
Dbio.c64 bio->bi_iter.bi_sector = in fscrypt_zeroout_range_inline_crypt()
155 bio->bi_iter.bi_sector = pblk << (blockbits - 9); in fscrypt_zeroout_range()
/kernel/linux/linux-5.10/include/linux/
Dbvec.h38 sector_t bi_sector; /* device address in 512 byte member
140 .bi_sector = 0, \
/kernel/linux/linux-5.10/drivers/block/
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()
955 (unsigned long long)bio->bi_iter.bi_sector, bio->bi_status); in pkt_end_io_read()
1003 int first_frame = (bio->bi_iter.bi_sector - pkt->sector) / in pkt_gather_data()
1031 bio->bi_iter.bi_sector = pkt->sector + f * (CD_FRAMESIZE >> 9); in pkt_gather_data()
1132 zone = get_zone(bio->bi_iter.bi_sector, pd); in pkt_handle_queue()
[all …]

123456