Home
last modified time | relevance | path

Searched refs:bio_sectors (Results 1 – 25 of 26) sorted by relevance

12

/linux-3.4.99/drivers/md/
Dlinear.c69 unsigned long maxsectors, bio_sectors = bvm->bi_size >> 9; in linear_mergeable_bvec() local
86 if (maxsectors < bio_sectors) in linear_mergeable_bvec()
89 maxsectors -= bio_sectors; in linear_mergeable_bvec()
91 if (maxsectors <= (PAGE_SIZE >> 9 ) && bio_sectors == 0) in linear_mergeable_bvec()
Draid0.c361 unsigned int bio_sectors = bvm->bi_size >> 9; in raid0_mergeable_bvec() local
368 + bio_sectors)) << 9; in raid0_mergeable_bvec()
371 + bio_sectors)) << 9; in raid0_mergeable_bvec()
374 if (max <= biovec->bv_len && bio_sectors == 0) in raid0_mergeable_bvec()
Ddm-linear.c86 if (bio_sectors(bio)) in linear_map_bio()
Ddm-flakey.c245 if (bio_sectors(bio)) in flakey_map_bio()
Ddm-delay.c292 if (bio_sectors(bio)) in delay_map()
Ddm-verity.c474 if (((unsigned)bio->bi_sector | bio_sectors(bio)) & in verity_map()
480 if ((bio->bi_sector + bio_sectors(bio)) >> in verity_map()
Ddm-stripe.c251 stripe_map_range_sector(sc, bio->bi_sector + bio_sectors(bio), in stripe_map_discard()
Ddm-crypt.c1102 sector += bio_sectors(clone); in kcryptd_crypt_write_convert()
1714 if (bio_sectors(bio)) in crypt_map()
Ddm.c1339 ci.sector_count = bio_sectors(bio); in __split_and_process_bio()
1423 part_stat_add(cpu, &dm_disk(md)->part0, sectors[rw], bio_sectors(bio)); in _dm_request()
Draid5.c3685 unsigned int bio_sectors = bvm->bi_size >> 9; in raid5_mergeable_bvec() local
3692 max = (chunk_sectors - ((sector & (chunk_sectors - 1)) + bio_sectors)) << 9; in raid5_mergeable_bvec()
3694 if (max <= biovec->bv_len && bio_sectors == 0) in raid5_mergeable_bvec()
3705 unsigned int bio_sectors = bio->bi_size >> 9; in in_chunk_boundary() local
3710 ((sector & (chunk_sectors - 1)) + bio_sectors); in in_chunk_boundary()
Draid10.c611 unsigned int bio_sectors = bvm->bi_size >> 9; in raid10_mergeable_bvec() local
615 + bio_sectors)) << 9; in raid10_mergeable_bvec()
619 if (max <= biovec->bv_len && bio_sectors == 0) in raid10_mergeable_bvec()
/linux-3.4.99/block/
Dblk-merge.c238 if (blk_rq_sectors(req) + bio_sectors(bio) > max_sectors) { in ll_back_merge_fn()
263 if (blk_rq_sectors(req) + bio_sectors(bio) > max_sectors) { in ll_front_merge_fn()
507 else if (blk_rq_pos(rq) - bio_sectors(bio) == bio->bi_sector) in blk_try_merge()
Dblk-core.c1437 if (bio_sectors(bio) && bdev != bdev->bd_contains) { in blk_partition_remap()
1457 (unsigned long long)bio->bi_sector + bio_sectors(bio), in handle_bad_sector()
1531 int nr_sectors = bio_sectors(bio); in generic_make_request_checks()
1555 bio_sectors(bio), in generic_make_request_checks()
1696 int count = bio_sectors(bio); in submit_bio()
Ddeadline-iosched.c135 sector_t sector = bio->bi_sector + bio_sectors(bio); in deadline_merge()
Dcfq-iosched.c1575 sector_t sector = bio->bi_sector + bio_sectors(bio); in cfq_find_rq_fmerge()
/linux-3.4.99/drivers/ide/
Dide-cd.c149 unsigned long bio_sectors; in cdrom_analyze_sense_data() local
190 bio_sectors = max(bio_sectors(failed_command->bio), 4U); in cdrom_analyze_sense_data()
191 sector &= ~(bio_sectors - 1); in cdrom_analyze_sense_data()
/linux-3.4.99/include/linux/
Dbio.h69 #define bio_sectors(bio) ((bio)->bi_size >> 9) macro
/linux-3.4.99/drivers/block/
Drbd.c1513 unsigned int bio_sectors; in rbd_merge_bvec() local
1518 bio_sectors = bmd->bi_size >> SECTOR_SHIFT; in rbd_merge_bvec()
1521 + bio_sectors)) << SECTOR_SHIFT; in rbd_merge_bvec()
1524 if (max <= bvec->bv_len && bio_sectors == 0) in rbd_merge_bvec()
Dps3disk.c107 bio_sectors(iter.bio), iter.bio->bi_sector); in ps3disk_scatter_gather()
Dpktcdvd.c935 pd->iosched.last_write = bio->bi_sector + bio_sectors(bio); in pkt_iosched_process_queue()
2495 (unsigned long long)(bio->bi_sector + bio_sectors(bio))); in pkt_make_request()
2503 last_zone = ZONE(bio->bi_sector + bio_sectors(bio) - 1, pd); in pkt_make_request()
/linux-3.4.99/fs/
Dbio-integrity.c413 sectors = bio_integrity_hw_sectors(bi, bio_sectors(bio)); in bio_integrity_prep()
/linux-3.4.99/drivers/scsi/
Dsr.c332 bio_sectors(SCpnt->request->bio); in sr_done()
Dsd.c589 unsigned int nr_sectors = bio_sectors(bio); in scsi_setup_discard_cmnd()
/linux-3.4.99/drivers/block/drbd/
Ddrbd_req.c42 part_stat_add(cpu, &mdev->vdisk->part0, sectors[rw], bio_sectors(bio)); in _drbd_start_io_acct()
/linux-3.4.99/drivers/block/mtip32xx/
Dmtip32xx.c3534 bio_sectors(bio), in mtip_make_request()

12