/linux-3.4.99/drivers/md/ |
D | linear.c | 69 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()
|
D | raid0.c | 361 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()
|
D | dm-linear.c | 86 if (bio_sectors(bio)) in linear_map_bio()
|
D | dm-flakey.c | 245 if (bio_sectors(bio)) in flakey_map_bio()
|
D | dm-delay.c | 292 if (bio_sectors(bio)) in delay_map()
|
D | dm-verity.c | 474 if (((unsigned)bio->bi_sector | bio_sectors(bio)) & in verity_map() 480 if ((bio->bi_sector + bio_sectors(bio)) >> in verity_map()
|
D | dm-stripe.c | 251 stripe_map_range_sector(sc, bio->bi_sector + bio_sectors(bio), in stripe_map_discard()
|
D | dm-crypt.c | 1102 sector += bio_sectors(clone); in kcryptd_crypt_write_convert() 1714 if (bio_sectors(bio)) in crypt_map()
|
D | dm.c | 1339 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()
|
D | raid5.c | 3685 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()
|
D | raid10.c | 611 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/ |
D | blk-merge.c | 238 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()
|
D | blk-core.c | 1437 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()
|
D | deadline-iosched.c | 135 sector_t sector = bio->bi_sector + bio_sectors(bio); in deadline_merge()
|
D | cfq-iosched.c | 1575 sector_t sector = bio->bi_sector + bio_sectors(bio); in cfq_find_rq_fmerge()
|
/linux-3.4.99/drivers/ide/ |
D | ide-cd.c | 149 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/ |
D | bio.h | 69 #define bio_sectors(bio) ((bio)->bi_size >> 9) macro
|
/linux-3.4.99/drivers/block/ |
D | rbd.c | 1513 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()
|
D | ps3disk.c | 107 bio_sectors(iter.bio), iter.bio->bi_sector); in ps3disk_scatter_gather()
|
D | pktcdvd.c | 935 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/ |
D | bio-integrity.c | 413 sectors = bio_integrity_hw_sectors(bi, bio_sectors(bio)); in bio_integrity_prep()
|
/linux-3.4.99/drivers/scsi/ |
D | sr.c | 332 bio_sectors(SCpnt->request->bio); in sr_done()
|
D | sd.c | 589 unsigned int nr_sectors = bio_sectors(bio); in scsi_setup_discard_cmnd()
|
/linux-3.4.99/drivers/block/drbd/ |
D | drbd_req.c | 42 part_stat_add(cpu, &mdev->vdisk->part0, sectors[rw], bio_sectors(bio)); in _drbd_start_io_acct()
|
/linux-3.4.99/drivers/block/mtip32xx/ |
D | mtip32xx.c | 3534 bio_sectors(bio), in mtip_make_request()
|