Home
last modified time | relevance | path

Searched refs:bi_disk (Results 1 – 25 of 53) sorted by relevance

123

/kernel/linux/linux-5.10/drivers/md/
Ddm-bio-record.h21 struct gendisk *bi_disk; member
34 bd->bi_disk = bio->bi_disk; in dm_bio_record()
47 bio->bi_disk = bd->bi_disk; in dm_bio_restore()
Dmd-linear.c256 !blk_queue_discard(bio->bi_disk->queue))) { in linear_make_request()
261 trace_block_bio_remap(bio->bi_disk->queue, in linear_make_request()
Dmd.h558 atomic_add(nr_sectors, &bio->bi_disk->sync_io); in md_sync_acct_bio()
795 !bio->bi_disk->queue->limits.max_write_same_sectors) in mddev_check_writesame()
802 !bio->bi_disk->queue->limits.max_write_zeroes_sectors) in mddev_check_write_zeroes()
Ddm-raid1.c1193 bio_record->details.bi_disk = NULL; in mirror_map()
1260 if (!bio_record->details.bi_disk) { in mirror_end_io()
1285 bio_record->details.bi_disk = NULL; in mirror_end_io()
1295 bio_record->details.bi_disk = NULL; in mirror_end_io()
Ddm.c999 !bio->bi_disk->queue->limits.max_discard_sectors) in clone_endio()
1002 !bio->bi_disk->queue->limits.max_write_same_sectors) in clone_endio()
1005 !bio->bi_disk->queue->limits.max_write_zeroes_sectors) in clone_endio()
1015 struct request_queue *q = orig_bio->bi_disk->queue; in clone_endio()
1329 trace_block_bio_remap(clone->bi_disk->queue, clone, in __map_bio()
1693 struct mapped_device *md = bio->bi_disk->private_data; in dm_submit_bio()
/kernel/linux/linux-5.10/block/
Dbio-integrity.c143 bvec_gap_to_prev(bio->bi_disk->queue, in bio_integrity_add_page()
165 struct blk_integrity *bi = blk_get_integrity(bio->bi_disk); in bio_integrity_process()
174 iter.disk_name = bio->bi_disk->disk_name; in bio_integrity_process()
211 struct blk_integrity *bi = blk_get_integrity(bio->bi_disk); in bio_integrity_prep()
212 struct request_queue *q = bio->bi_disk->queue; in bio_integrity_prep()
332 struct blk_integrity *bi = blk_get_integrity(bio->bi_disk); in bio_integrity_verify_fn()
358 struct blk_integrity *bi = blk_get_integrity(bio->bi_disk); in __bio_integrity_endio()
384 struct blk_integrity *bi = blk_get_integrity(bio->bi_disk); in bio_integrity_advance()
400 struct blk_integrity *bi = blk_get_integrity(bio->bi_disk); in bio_integrity_trim()
Dblk-core.c478 struct request_queue *q = bio->bi_disk->queue; in bio_queue_enter()
714 if (should_fail_request(&bio->bi_disk->part0, bio->bi_iter.bi_size)) in should_fail_bio()
747 p = __disk_get_part(bio->bi_disk, bio->bi_partno); in blk_partition_remap()
759 trace_block_bio_remap(bio->bi_disk->queue, bio, part_devt(p), in blk_partition_remap()
806 struct request_queue *q = bio->bi_disk->queue; in submit_bio_checks()
830 if (unlikely(bio_check_ro(bio, &bio->bi_disk->part0))) in submit_bio_checks()
832 if (unlikely(bio_check_eod(bio, get_capacity(bio->bi_disk)))) in submit_bio_checks()
923 struct gendisk *disk = bio->bi_disk; in __submit_bio()
965 struct request_queue *q = bio->bi_disk->queue; in __submit_bio_noacct()
986 if (q == bio->bi_disk->queue) in __submit_bio_noacct()
[all …]
Dbio.c615 part = __disk_get_part(bio->bi_disk, bio->bi_partno); in guard_bio_eod()
619 maxsector = get_capacity(bio->bi_disk); in guard_bio_eod()
683 bio->bi_disk = bio_src->bi_disk; in __bio_clone_fast()
734 return disk_name(bio->bi_disk, bio->bi_partno, buf); in bio_devname()
1051 struct request_queue *q = bio->bi_disk->queue; in __bio_iov_append_get_pages()
1157 DECLARE_COMPLETION_ONSTACK_MAP(done, bio->bi_disk->lockdep_map); in submit_bio_wait()
1434 if (bio->bi_disk && bio_flagged(bio, BIO_TRACKED)) in bio_endio()
1435 rq_qos_done_bio(bio->bi_disk->queue, bio); in bio_endio()
1450 if (bio->bi_disk && bio_flagged(bio, BIO_TRACE_COMPLETION)) { in bio_endio()
1451 trace_block_bio_complete(bio->bi_disk->queue, bio); in bio_endio()
Dbounce.c249 bio->bi_disk = bio_src->bi_disk; in bounce_clone_bio()
Dblk.h97 if (bio->bi_disk) in blk_rq_bio_prep()
98 rq->rq_disk = bio->bi_disk; in blk_rq_bio_prep()
Dblk-crypto-fallback.c170 bio->bi_disk = bio_src->bi_disk; in blk_crypto_clone_bio()
Dblk-crypto.c284 if (blk_ksm_crypto_cfg_supported(bio->bi_disk->queue->ksm, in __blk_crypto_bio_prep()
Dblk-merge.c301 struct request_queue *q = (*bio)->bi_disk->queue; in __blk_queue_split()
867 if (rq->rq_disk != bio->bi_disk) in blk_rq_merge_ok()
/kernel/linux/linux-5.10/include/linux/
Dbio.h471 if ((bio)->bi_disk != (bdev)->bd_disk) \
473 (bio)->bi_disk = (bdev)->bd_disk; \
480 (dst)->bi_disk = (src)->bi_disk; \
486 disk_devt((bio)->bi_disk)
Dblk_types.h205 struct gendisk *bi_disk; member
/kernel/linux/linux-5.10/drivers/md/bcache/
Ddebug.c117 check->bi_disk = bio->bi_disk; in bch_data_verify()
/kernel/linux/linux-5.10/drivers/nvdimm/
Dblk.c168 struct nd_namespace_blk *nsblk = bio->bi_disk->private_data; in nd_blk_submit_bio()
180 do_acct = blk_queue_io_stat(bio->bi_disk->queue); in nd_blk_submit_bio()
Dpmem.c200 struct pmem_device *pmem = bio->bi_disk->private_data; in pmem_submit_bio()
206 do_acct = blk_queue_io_stat(bio->bi_disk->queue); in pmem_submit_bio()
/kernel/linux/linux-5.10/drivers/nvme/host/
Dmultipath.c296 struct nvme_ns_head *head = bio->bi_disk->private_data; in nvme_ns_head_submit_bio()
312 bio->bi_disk = ns->disk; in nvme_ns_head_submit_bio()
314 trace_block_bio_remap(bio->bi_disk->queue, bio, in nvme_ns_head_submit_bio()
353 bio->bi_disk = head->disk; in nvme_requeue_work()
/kernel/linux/linux-5.10/drivers/block/
Dbrd.c285 struct brd_device *brd = bio->bi_disk->private_data; in brd_submit_bio()
291 if (bio_end_sector(bio) > get_capacity(bio->bi_disk)) in brd_submit_bio()
/kernel/linux/linux-5.10/arch/m68k/emu/
Dnfblock.c64 struct nfhd_device *dev = bio->bi_disk->private_data; in nfhd_submit_bio()
/kernel/linux/linux-5.10/drivers/block/rsxx/
Ddev.c125 struct rsxx_cardinfo *card = bio->bi_disk->private_data; in rsxx_submit_bio()
/kernel/linux/linux-5.10/drivers/s390/block/
Dxpram.c187 xpram_device_t *xdev = bio->bi_disk->private_data; in xpram_submit_bio()
/kernel/linux/linux-5.10/mm/
Dpage_io.c375 disk = bio->bi_disk; in swap_readpage()
/kernel/linux/linux-5.10/arch/xtensa/platforms/iss/
Dsimdisk.c106 struct simdisk *dev = bio->bi_disk->private_data; in simdisk_submit_bio()

123