nsectors         1504 arch/um/drivers/ubd_kern.c 	int n, nsectors, start, end, bit;
nsectors         1515 arch/um/drivers/ubd_kern.c 	nsectors = req->length / req->sectorsize;
nsectors         1520 arch/um/drivers/ubd_kern.c 		while((end < nsectors) &&
nsectors         1567 arch/um/drivers/ubd_kern.c 	} while(start < nsectors);
nsectors          880 drivers/ide/ide-cd.c 	unsigned int nsectors;
nsectors          932 drivers/ide/ide-cd.c 	nsectors = blk_rq_sectors(rq);
nsectors          934 drivers/ide/ide-cd.c 	if (nsectors == 0)
nsectors          935 drivers/ide/ide-cd.c 		nsectors = 1;
nsectors          937 drivers/ide/ide-cd.c 	ide_complete_rq(drive, uptodate ? BLK_STS_OK : BLK_STS_IOERR, nsectors << 9);
nsectors           86 drivers/ide/ide-disk.c 	u16 nsectors		= (u16)blk_rq_sectors(rq);
nsectors          109 drivers/ide/ide-disk.c 			tf->nsect  = nsectors & 0xff;
nsectors          116 drivers/ide/ide-disk.c 			tf->nsect = (nsectors >> 8) & 0xff;
nsectors          127 drivers/ide/ide-disk.c 			tf->nsect  = nsectors & 0xff;
nsectors          143 drivers/ide/ide-disk.c 		tf->nsect  = nsectors & 0xff;
nsectors          159 drivers/ide/ide-disk.c 		ide_init_sg_cmd(&cmd, nsectors << 9);
nsectors          169 drivers/ide/ide-disk.c 		ide_init_sg_cmd(&cmd, nsectors << 9);
nsectors          117 drivers/ide/tc86c001.c 	unsigned long nsectors	= blk_rq_sectors(hwif->rq);
nsectors          124 drivers/ide/tc86c001.c 	outw(nsectors, sc_base + 0x0a);	/* Sector Count */
nsectors         1104 drivers/mtd/nand/raw/atmel/nand-controller.c 	chip->ecc.bytes = req.ecc.bytes / req.ecc.nsectors;
nsectors          305 drivers/mtd/nand/raw/atmel/pmecc.c 	req->ecc.nsectors = req->pagesize / req->ecc.sectorsize;
nsectors          318 drivers/mtd/nand/raw/atmel/pmecc.c 		nbytes *= req->ecc.nsectors;
nsectors          390 drivers/mtd/nand/raw/atmel/pmecc.c 	user->eccbytes = req->ecc.bytes / req->ecc.nsectors;
nsectors          398 drivers/mtd/nand/raw/atmel/pmecc.c 			  PMECC_CFG_NSECTORS(req->ecc.nsectors);
nsectors           48 drivers/mtd/nand/raw/atmel/pmecc.h 		int nsectors;
nsectors         1076 drivers/mtd/nand/raw/meson_nand.c 	u32 page_bytes, info_bytes, nsectors;
nsectors         1078 drivers/mtd/nand/raw/meson_nand.c 	nsectors = mtd->writesize / nand->ecc.size;
nsectors         1081 drivers/mtd/nand/raw/meson_nand.c 	info_bytes = nsectors * PER_INFO_BYTE;
nsectors         1167 drivers/mtd/nand/raw/meson_nand.c 	int nsectors = mtd->writesize / 1024;
nsectors         1185 drivers/mtd/nand/raw/meson_nand.c 				   mtd->oobsize - 2 * nsectors);
nsectors         1038 drivers/mtd/nand/raw/omap2.c 	unsigned int dev_width, nsectors;
nsectors         1048 drivers/mtd/nand/raw/omap2.c 		nsectors = 1;
nsectors         1055 drivers/mtd/nand/raw/omap2.c 		nsectors = chip->ecc.steps;
nsectors         1068 drivers/mtd/nand/raw/omap2.c 		nsectors = 1;
nsectors         1075 drivers/mtd/nand/raw/omap2.c 		nsectors = chip->ecc.steps;
nsectors         1088 drivers/mtd/nand/raw/omap2.c 		nsectors = chip->ecc.steps;
nsectors         1116 drivers/mtd/nand/raw/omap2.c 	       (((nsectors-1) & 0x7)     <<  4) | /* number of sectors */
nsectors         1287 drivers/mtd/nand/raw/omap2.c 	unsigned long nsectors;
nsectors         1290 drivers/mtd/nand/raw/omap2.c 	nsectors = ((readl(info->reg.gpmc_ecc_config) >> 4) & 0x7) + 1;
nsectors         1291 drivers/mtd/nand/raw/omap2.c 	for (i = 0; i < nsectors; i++) {
nsectors         1613 drivers/mtd/nand/raw/sunxi_nand.c 	int nsectors;
nsectors         1621 drivers/mtd/nand/raw/sunxi_nand.c 		nsectors = mtd->writesize / ecc->size;
nsectors         1624 drivers/mtd/nand/raw/sunxi_nand.c 		bytes = (mtd->oobsize - 2) / nsectors;
nsectors         1685 drivers/mtd/nand/raw/sunxi_nand.c 	nsectors = mtd->writesize / ecc->size;
nsectors         1687 drivers/mtd/nand/raw/sunxi_nand.c 	if (mtd->oobsize < ((ecc->bytes + 4) * nsectors)) {
nsectors          742 drivers/scsi/cxlflash/vlun.c 	u64 nsectors;
nsectors          754 drivers/scsi/cxlflash/vlun.c 	nsectors = (resize->req_size * CXLFLASH_BLOCK_SIZE) / gli->blk_len;
nsectors          755 drivers/scsi/cxlflash/vlun.c 	new_size = DIV_ROUND_UP(nsectors, MC_CHUNK_SIZE);
nsectors          131 fs/btrfs/scrub.c 	int			nsectors;
nsectors         2370 fs/btrfs/scrub.c 	u32 nsectors;
nsectors         2374 fs/btrfs/scrub.c 		bitmap_set(bitmap, 0, sparity->nsectors);
nsectors         2384 fs/btrfs/scrub.c 	nsectors = (u32)nsectors64;
nsectors         2386 fs/btrfs/scrub.c 	if (offset + nsectors <= sparity->nsectors) {
nsectors         2387 fs/btrfs/scrub.c 		bitmap_set(bitmap, offset, nsectors);
nsectors         2391 fs/btrfs/scrub.c 	bitmap_set(bitmap, offset, sparity->nsectors - offset);
nsectors         2392 fs/btrfs/scrub.c 	bitmap_set(bitmap, 0, nsectors - (sparity->nsectors - offset));
nsectors         2706 fs/btrfs/scrub.c 	nbits = bitmap_weight(sparity->ebitmap, sparity->nsectors);
nsectors         2739 fs/btrfs/scrub.c 			  sparity->nsectors);
nsectors         2759 fs/btrfs/scrub.c 			   sparity->nsectors))
nsectors         2778 fs/btrfs/scrub.c 					      sparity->nsectors);
nsectors         2792 fs/btrfs/scrub.c 		  sparity->nsectors);
nsectors         2800 fs/btrfs/scrub.c static inline int scrub_calc_parity_bitmap_len(int nsectors)
nsectors         2802 fs/btrfs/scrub.c 	return DIV_ROUND_UP(nsectors, BITS_PER_LONG) * sizeof(long);
nsectors         2842 fs/btrfs/scrub.c 	int nsectors;
nsectors         2847 fs/btrfs/scrub.c 	nsectors = div_u64(map->stripe_len, fs_info->sectorsize);
nsectors         2848 fs/btrfs/scrub.c 	bitmap_len = scrub_calc_parity_bitmap_len(nsectors);
nsectors         2859 fs/btrfs/scrub.c 	sparity->nsectors = nsectors;