sector_div 97 block/blk-merge.c tmp = sector_div(tmp, granularity); sector_div 496 drivers/ata/libata-scsi.c sector_div(capacity, 255*63); sector_div 1536 drivers/block/drbd/drbd_receiver.c if (sector_div(tmp, granularity) != alignment) { sector_div 1541 drivers/block/drbd/drbd_receiver.c tmp = start + granularity - sector_div(tmp, granularity); sector_div 3338 drivers/block/mtip32xx/mtip32xx.c sector_div(capacity, (geo->heads * geo->sectors)); sector_div 359 drivers/block/paride/pf.c geo->cylinders = sector_div(capacity, PF_FD_HDS * PF_FD_SPT); sector_div 363 drivers/block/paride/pf.c geo->cylinders = sector_div(capacity, PF_HD_HDS * PF_HD_SPT); sector_div 131 drivers/block/sunvdc.c sector_div(cylinders, geo->heads * geo->sectors); sector_div 485 drivers/block/xen-blkfront.c sector_div(cylinders, hg->heads * hg->sectors); sector_div 1093 drivers/infiniband/ulp/iser/iser_verbs.c sector_div(sector_off, sector_size + 8); sector_div 666 drivers/lightnvm/pblk-init.c sector_div(provisioned, 100); sector_div 1444 drivers/md/dm-bufio.c sector_div(s, c->block_size >> SECTOR_SHIFT); sector_div 1295 drivers/md/dm-cache-policy-smq.c (void) sector_div(r, mq->cache_blocks_per_hotspot_block); sector_div 821 drivers/md/dm-cache-target.c sector_div(bi_sector, cache->sectors_per_block); sector_div 876 drivers/md/dm-cache-target.c (void) sector_div(block_nr, cache->sectors_per_block); sector_div 2417 drivers/md/dm-cache-target.c (void) sector_div(origin_size, discard_block_size); sector_div 2944 drivers/md/dm-cache-target.c sector_div(e, li->cache->discard_block_size); sector_div 2990 drivers/md/dm-cache-target.c (void) sector_div(size, cache->sectors_per_block); sector_div 187 drivers/md/dm-dust.c sector_div(thisblock, dd->sect_per_block); sector_div 418 drivers/md/dm-dust.c sector_div(size, dd->sect_per_block); sector_div 1187 drivers/md/dm-era-target.c (void) sector_div(block_nr, era->sectors_per_block); sector_div 1645 drivers/md/dm-raid.c if (sector_div(dev_sectors, data_stripes)) sector_div 1649 drivers/md/dm-raid.c if (sector_div(array_sectors, rs->raid10_copies)) sector_div 1652 drivers/md/dm-raid.c } else if (sector_div(dev_sectors, data_stripes)) sector_div 277 drivers/md/dm-snap-persistent.c if (sector_div(next_free, stride) == NUM_SNAPSHOT_HDR_CHUNKS) sector_div 123 drivers/md/dm-stripe.c if (sector_div(width, stripes)) { sector_div 130 drivers/md/dm-stripe.c if (sector_div(tmp_len, chunk_size)) { sector_div 223 drivers/md/dm-stripe.c chunk_offset = sector_div(chunk, sc->chunk_size); sector_div 230 drivers/md/dm-stripe.c *stripe = sector_div(chunk, sc->stripes); sector_div 256 drivers/md/dm-stripe.c *result -= sector_div(sector, sc->chunk_size); sector_div 98 drivers/md/dm-switch.c if (sector_div(nr_regions, sctx->region_size)) sector_div 108 drivers/md/dm-switch.c if (sector_div(nr_slots, sctx->region_entries_per_slot)) sector_div 163 drivers/md/dm-switch.c sector_div(p, sctx->region_size); sector_div 688 drivers/md/dm-thin.c (void) sector_div(block_nr, pool->sectors_per_block); sector_div 709 drivers/md/dm-thin.c (void) sector_div(b, pool->sectors_per_block); sector_div 710 drivers/md/dm-thin.c (void) sector_div(e, pool->sectors_per_block); sector_div 733 drivers/md/dm-thin.c sector_div(bi_sector, pool->sectors_per_block); sector_div 2848 drivers/md/dm-thin.c return !sector_div(block_size, n); sector_div 3265 drivers/md/dm-thin.c sector_div(metadata_dev_size, THIN_METADATA_BLOCK_SIZE); sector_div 3480 drivers/md/dm-thin.c (void) sector_div(data_size, pool->sectors_per_block); sector_div 4483 drivers/md/dm-thin.c (void) sector_div(blocks, pool->sectors_per_block); sector_div 92 drivers/md/dm-unstripe.c if (sector_div(tmp_len, uc->chunk_size)) { sector_div 126 drivers/md/dm-unstripe.c sector_div(tmp_sector, uc->chunk_size); sector_div 723 drivers/md/dm-verity-fec.c if (sector_div(f->rounds, f->rsn)) sector_div 1036 drivers/md/dm.c max_len = sector_div(offset, ti->max_io_len); sector_div 612 drivers/md/md-bitmap.c sector_div(bm_blocks, sector_div 113 drivers/md/md-linear.c sector_div(sectors, mddev->chunk_sectors); sector_div 4973 drivers/md/md.c if (sector_div(temp, chunk)) sector_div 7876 drivers/md/md.c sector_div(res, (u32)((max_sectors>>scale)+1)); sector_div 103 drivers/md/raid0.c sector_div(sectors, mddev->chunk_sectors); sector_div 343 drivers/md/raid0.c sector_div(chunk, zone->nb_dev << chunksect_bits); sector_div 345 drivers/md/raid0.c sect_in_chunk = sector_div(sector, chunk_sects); sector_div 347 drivers/md/raid0.c sector_div(chunk, chunk_sects * zone->nb_dev); sector_div 356 drivers/md/raid0.c + sector_div(sector, zone->nb_dev)]; sector_div 472 drivers/md/raid0.c return chunk_sects >= (sector_div(sector, chunk_sects) sector_div 511 drivers/md/raid0.c sector_div(first_stripe_index, stripe_size); sector_div 513 drivers/md/raid0.c sector_div(last_stripe_index, stripe_size); sector_div 594 drivers/md/raid0.c : sector_div(sector, chunk_sects)); sector_div 583 drivers/md/raid10.c dev = sector_div(stripe, geo->raid_disks); sector_div 665 drivers/md/raid10.c fc = sector_div(chunk, geo->far_copies); sector_div 680 drivers/md/raid10.c sector_div(vchunk, geo->near_copies); sector_div 3537 drivers/md/raid10.c sector_div(size, conf->geo.far_copies); sector_div 3539 drivers/md/raid10.c sector_div(size, conf->geo.near_copies); sector_div 3552 drivers/md/raid10.c sector_div(size, conf->geo.far_copies); sector_div 3554 drivers/md/raid10.c sector_div(size, conf->geo.near_copies); sector_div 3569 drivers/md/raid10.c sector_div(size, conf->geo.far_copies); sector_div 4020 drivers/md/raid10.c sector_div(size, devs); sector_div 4387 drivers/md/raid10.c sector_div(s, geo->raid_disks); sector_div 200 drivers/md/raid5-cache.c offset = sector_div(sect, conf->chunk_sectors); sector_div 749 drivers/md/raid5.c if (!sector_div(tmp_sec, conf->chunk_sectors)) sector_div 2736 drivers/md/raid5.c chunk_offset = sector_div(r_sector, sectors_per_chunk); sector_div 2743 drivers/md/raid5.c *dd_idx = sector_div(stripe, data_disks); sector_div 2756 drivers/md/raid5.c pd_idx = data_disks - sector_div(stripe2, raid_disks); sector_div 2761 drivers/md/raid5.c pd_idx = sector_div(stripe2, raid_disks); sector_div 2766 drivers/md/raid5.c pd_idx = data_disks - sector_div(stripe2, raid_disks); sector_div 2770 drivers/md/raid5.c pd_idx = sector_div(stripe2, raid_disks); sector_div 2788 drivers/md/raid5.c pd_idx = raid_disks - 1 - sector_div(stripe2, raid_disks); sector_div 2797 drivers/md/raid5.c pd_idx = sector_div(stripe2, raid_disks); sector_div 2806 drivers/md/raid5.c pd_idx = raid_disks - 1 - sector_div(stripe2, raid_disks); sector_div 2811 drivers/md/raid5.c pd_idx = sector_div(stripe2, raid_disks); sector_div 2830 drivers/md/raid5.c pd_idx = sector_div(stripe2, raid_disks); sector_div 2846 drivers/md/raid5.c pd_idx = raid_disks - 1 - sector_div(stripe2, raid_disks); sector_div 2858 drivers/md/raid5.c pd_idx = raid_disks - 1 - sector_div(stripe2, raid_disks); sector_div 2866 drivers/md/raid5.c pd_idx = data_disks - sector_div(stripe2, raid_disks-1); sector_div 2873 drivers/md/raid5.c pd_idx = sector_div(stripe2, raid_disks-1); sector_div 2880 drivers/md/raid5.c pd_idx = data_disks - sector_div(stripe2, raid_disks-1); sector_div 2886 drivers/md/raid5.c pd_idx = sector_div(stripe2, raid_disks-1); sector_div 2932 drivers/md/raid5.c chunk_offset = sector_div(new_sector, sectors_per_chunk); sector_div 3338 drivers/md/raid5.c int chunk_offset = sector_div(stripe, sectors_per_chunk); sector_div 5510 drivers/md/raid5.c sector_div(last_sector, stripe_sectors); sector_div 5792 drivers/md/raid5.c sector_div(sector_nr, new_data_disks); sector_div 5816 drivers/md/raid5.c sector_div(writepos, new_data_disks); sector_div 5818 drivers/md/raid5.c sector_div(readpos, data_disks); sector_div 5820 drivers/md/raid5.c sector_div(safepos, data_disks); sector_div 7237 drivers/md/raid5.c if (sector_div(here_new, chunk_sectors * new_data_disks)) { sector_div 7245 drivers/md/raid5.c sector_div(here_old, chunk_sectors * (old_disks-max_degraded)); sector_div 8114 drivers/md/raid5.c sector_div(sectors, raid0_conf->strip_zone[0].nb_dev); sector_div 1902 drivers/memstick/core/ms_block.c sector_div(lba, msb->page_size / 512); sector_div 1903 drivers/memstick/core/ms_block.c page = sector_div(lba, msb->pages_in_block); sector_div 2098 drivers/message/fusion/mptscsih.c sector_div(cylinders,dummy); sector_div 2109 drivers/message/fusion/mptscsih.c sector_div(cylinders,dummy); sector_div 3100 drivers/s390/block/dasd_eckd.c sector_div(first_trk, recs_per_trk); sector_div 3103 drivers/s390/block/dasd_eckd.c sector_div(last_trk, recs_per_trk); sector_div 3183 drivers/s390/block/dasd_eckd.c sector_div(first_trk, recs_per_trk); sector_div 3186 drivers/s390/block/dasd_eckd.c sector_div(last_trk, recs_per_trk); sector_div 3953 drivers/s390/block/dasd_eckd.c unsigned int recoffs = sector_div(trkid, blk_per_trk); sector_div 4114 drivers/s390/block/dasd_eckd.c recoffs = sector_div(trkid, blk_per_trk); sector_div 4457 drivers/s390/block/dasd_eckd.c offs = sector_div(trkid, blk_per_trk); sector_div 4551 drivers/s390/block/dasd_eckd.c first_offs = sector_div(first_trk, blk_per_trk); sector_div 4554 drivers/s390/block/dasd_eckd.c last_offs = sector_div(last_trk, blk_per_trk); sector_div 1708 drivers/scsi/3w-9xxx.c cylinders = sector_div(capacity, heads * sectors); sector_div 1712 drivers/scsi/3w-9xxx.c cylinders = sector_div(capacity, heads * sectors); sector_div 1425 drivers/scsi/3w-sas.c geom[2] = sector_div(capacity, heads * sectors); /* cylinders */ sector_div 1354 drivers/scsi/3w-xxxx.c cylinders = sector_div(capacity, heads * sectors); sector_div 1359 drivers/scsi/3w-xxxx.c cylinders = sector_div(capacity, heads * sectors); sector_div 2625 drivers/scsi/aacraid/aacraid.h sector_div(capacity, divisor); sector_div 995 drivers/scsi/aha1542.c geom[2] = sector_div(capacity, geom[0] * geom[1]); /* cylinders */ sector_div 140 drivers/scsi/aic7xxx/aiclib.h sector_div(capacity, (heads * sectors)); sector_div 515 drivers/scsi/dpt_i2o.c cylinders = sector_div(capacity, heads * sectors); sector_div 484 drivers/scsi/fdomain.c geom[2] = sector_div(capacity, geom[0] * geom[1]); sector_div 4755 drivers/scsi/ipr.c sector_div(cylinders, (128 * 32)); sector_div 882 drivers/scsi/libsas/sas_scsi_host.c sector_div(capacity, 255*63); sector_div 3088 drivers/scsi/megaraid/megaraid_sas_base.c sector_div(cylinders, tmp); sector_div 3099 drivers/scsi/megaraid/megaraid_sas_base.c sector_div(cylinders, tmp); sector_div 2495 drivers/scsi/mpt3sas/mpt3sas_scsih.c sector_div(cylinders, dummy); sector_div 2506 drivers/scsi/mpt3sas/mpt3sas_scsih.c sector_div(cylinders, dummy); sector_div 288 drivers/scsi/mpt3sas/mpt3sas_warpdrive.c column = sector_div(p_lba, num_pds); sector_div 2158 drivers/scsi/mvumi.c sector_div(cylinders, tmp); sector_div 2165 drivers/scsi/mvumi.c sector_div(cylinders, tmp); sector_div 1784 drivers/scsi/myrb.c geom[2] = sector_div(capacity, geom[0] * geom[1]); sector_div 739 drivers/scsi/scsi_debug.c sector = sector_div(sector, sdebug_store_sectors); sector_div 2891 drivers/scsi/scsi_debug.c sector_div(lba, sdebug_unmap_granularity); sector_div 1468 drivers/scsi/stex.c sector_div(capacity, heads * sectors); sector_div 1460 drivers/scsi/storvsc_drv.c sector_div(cylinders, heads * sectors_pt); sector_div 555 drivers/scsi/wd719x.c geom[2] = sector_div(capacity, geom[0] * geom[1]); /* cylinders */ sector_div 329 fs/nilfs2/the_nilfs.h sector_div(segnum, nilfs->ns_blocks_per_segment); sector_div 1353 include/linux/blkdev.h unsigned int alignment = sector_div(sector, granularity >> SECTOR_SHIFT) sector_div 1394 include/linux/blkdev.h offset = sector_div(sector, granularity); sector_div 587 include/linux/device-mapper.h sector_div(_r, (sz)); \