sector_size 173 arch/sparc/include/asm/vio.h u16 sector_size; sector_size 566 arch/um/drivers/ubd_kern.c int sector_size; sector_size 580 arch/um/drivers/ubd_kern.c &mtime, &size, §or_size, &align, &bitmap_offset); sector_size 40 arch/x86/boot/edd.c int sector_size; sector_size 46 arch/x86/boot/edd.c sector_size = ei->params.bytes_per_sector; sector_size 47 arch/x86/boot/edd.c if (!sector_size) sector_size 48 arch/x86/boot/edd.c sector_size = 512; /* Best available guess */ sector_size 52 arch/x86/boot/edd.c mbr_base = (buf_base+sector_size-1) & ~(sector_size-1); sector_size 54 arch/x86/boot/edd.c mbrbuf_end = mbrbuf_ptr + sector_size; sector_size 62 arch/x86/boot/edd.c memset(mbrbuf_ptr, 0, sector_size); sector_size 129 block/partitions/msdos.c sector_t sector_size = bdev_logical_block_size(state->bdev) / 512; sector_size 171 block/partitions/msdos.c offs = start_sect(p)*sector_size; sector_size 172 block/partitions/msdos.c size = nr_sects(p)*sector_size; sector_size 205 block/partitions/msdos.c this_sector = first_sector + start_sect(p) * sector_size; sector_size 206 block/partitions/msdos.c this_size = nr_sects(p) * sector_size; sector_size 454 block/partitions/msdos.c sector_t sector_size = bdev_logical_block_size(state->bdev) / 512; sector_size 534 block/partitions/msdos.c sector_t start = start_sect(p)*sector_size; sector_size 535 block/partitions/msdos.c sector_t size = nr_sects(p)*sector_size; sector_size 548 block/partitions/msdos.c n = min(size, max(sector_size, n)); sector_size 582 block/partitions/msdos.c subtypes[n].parse(state, start_sect(p) * sector_size, sector_size 583 block/partitions/msdos.c nr_sects(p) * sector_size, slot); sector_size 1263 drivers/ata/libata-scsi.c sdev->sector_size = ATA_SECT_SIZE; sector_size 1277 drivers/ata/libata-scsi.c sdev->sector_size = ata_id_logical_sector_size(dev->id); sector_size 1288 drivers/ata/libata-scsi.c if (sdev->sector_size > PAGE_SIZE) sector_size 1291 drivers/ata/libata-scsi.c sdev->sector_size); sector_size 1293 drivers/ata/libata-scsi.c blk_queue_update_dma_alignment(q, sdev->sector_size - 1); sector_size 1797 drivers/ata/libata-scsi.c req_blocks = blk_rq_bytes(rq) / scmd->device->sector_size; sector_size 1897 drivers/ata/libata-scsi.c qc->nbytes = n_block * scmd->device->sector_size; sector_size 2707 drivers/ata/libata-scsi.c u32 sector_size; /* physical sector size in bytes */ sector_size 2711 drivers/ata/libata-scsi.c sector_size = ata_id_logical_sector_size(dev->id); sector_size 2728 drivers/ata/libata-scsi.c rbuf[4] = sector_size >> (8 * 3); sector_size 2729 drivers/ata/libata-scsi.c rbuf[5] = sector_size >> (8 * 2); sector_size 2730 drivers/ata/libata-scsi.c rbuf[6] = sector_size >> (8 * 1); sector_size 2731 drivers/ata/libata-scsi.c rbuf[7] = sector_size; sector_size 2744 drivers/ata/libata-scsi.c rbuf[ 8] = sector_size >> (8 * 3); sector_size 2745 drivers/ata/libata-scsi.c rbuf[ 9] = sector_size >> (8 * 2); sector_size 2746 drivers/ata/libata-scsi.c rbuf[10] = sector_size >> (8 * 1); sector_size 2747 drivers/ata/libata-scsi.c rbuf[11] = sector_size; sector_size 3288 drivers/ata/libata-scsi.c qc->sect_size = scmd->device->sector_size; sector_size 3409 drivers/ata/libata-scsi.c size_t len = sdp->sector_size; sector_size 3454 drivers/ata/libata-scsi.c size_t len = sdp->sector_size; sector_size 199 drivers/block/xen-blkfront.c u16 sector_size; sector_size 946 drivers/block/xen-blkfront.c blk_queue_logical_block_size(rq, info->sector_size); sector_size 961 drivers/block/xen-blkfront.c static int xlvbd_init_blk_queue(struct gendisk *gd, u16 sector_size, sector_size 996 drivers/block/xen-blkfront.c info->sector_size = sector_size; sector_size 1094 drivers/block/xen-blkfront.c u16 vdisk_info, u16 sector_size, sector_size 1161 drivers/block/xen-blkfront.c if (xlvbd_init_blk_queue(gd, sector_size, physical_sector_size)) { sector_size 2344 drivers/block/xen-blkfront.c unsigned long sector_size; sector_size 2388 drivers/block/xen-blkfront.c "sector-size", "%lu", §or_size, sector_size 2404 drivers/block/xen-blkfront.c sector_size); sector_size 2416 drivers/block/xen-blkfront.c err = xlvbd_alloc_gendisk(sectors, info, binfo, sector_size, sector_size 1533 drivers/crypto/caam/caamalg_desc.c __be64 sector_size = cpu_to_be64(BIT(15)); sector_size 1546 drivers/crypto/caam/caamalg_desc.c append_load_as_imm(desc, (void *)§or_size, 8, LDST_CLASS_1_CCB | sector_size 1592 drivers/crypto/caam/caamalg_desc.c __be64 sector_size = cpu_to_be64(BIT(15)); sector_size 1605 drivers/crypto/caam/caamalg_desc.c append_load_as_imm(desc, (void *)§or_size, 8, LDST_CLASS_1_CCB | sector_size 322 drivers/ide/ide-floppy.c u16 transfer_rate, sector_size, cyls, rpm; sector_size 342 drivers/ide/ide-floppy.c sector_size = be16_to_cpup((__be16 *)&buf[8 + 6]); sector_size 348 drivers/ide/ide-floppy.c capacity = cyls * heads * sectors * sector_size; sector_size 354 drivers/ide/ide-floppy.c sectors, transfer_rate / 8, sector_size, rpm); sector_size 400 drivers/infiniband/ulp/iser/iser_initiator.c ilog2(sc->device->sector_size)) * 8; sector_size 1075 drivers/infiniband/ulp/iser/iser_verbs.c unsigned long sector_size = iser_task->sc->device->sector_size; sector_size 1093 drivers/infiniband/ulp/iser/iser_verbs.c sector_div(sector_off, sector_size + 8); sector_size 158 drivers/md/dm-crypt.c unsigned short int sector_size; sector_size 403 drivers/md/dm-crypt.c if (cc->sector_size != (1 << SECTOR_SHIFT)) { sector_size 560 drivers/md/dm-crypt.c if (cc->sector_size != (1 << SECTOR_SHIFT)) { sector_size 731 drivers/md/dm-crypt.c *(__le64 *)buf = cpu_to_le64(dmreq->iv_sector * cc->sector_size); sector_size 862 drivers/md/dm-crypt.c if (1 << bi->interval_exp != cc->sector_size) { sector_size 981 drivers/md/dm-crypt.c if (unlikely(bv_in.bv_len & (cc->sector_size - 1))) sector_size 1008 drivers/md/dm-crypt.c sg_set_page(&dmreq->sg_in[2], bv_in.bv_page, cc->sector_size, bv_in.bv_offset); sector_size 1014 drivers/md/dm-crypt.c sg_set_page(&dmreq->sg_out[2], bv_out.bv_page, cc->sector_size, bv_out.bv_offset); sector_size 1036 drivers/md/dm-crypt.c cc->sector_size, iv); sector_size 1043 drivers/md/dm-crypt.c cc->sector_size + cc->integrity_tag_size, iv); sector_size 1056 drivers/md/dm-crypt.c bio_advance_iter(ctx->bio_in, &ctx->iter_in, cc->sector_size); sector_size 1057 drivers/md/dm-crypt.c bio_advance_iter(ctx->bio_out, &ctx->iter_out, cc->sector_size); sector_size 1076 drivers/md/dm-crypt.c if (unlikely(bv_in.bv_len & (cc->sector_size - 1))) sector_size 1099 drivers/md/dm-crypt.c sg_set_page(sg_in, bv_in.bv_page, cc->sector_size, bv_in.bv_offset); sector_size 1102 drivers/md/dm-crypt.c sg_set_page(sg_out, bv_out.bv_page, cc->sector_size, bv_out.bv_offset); sector_size 1120 drivers/md/dm-crypt.c skcipher_request_set_crypt(req, sg_in, sg_out, cc->sector_size, iv); sector_size 1130 drivers/md/dm-crypt.c bio_advance_iter(ctx->bio_in, &ctx->iter_in, cc->sector_size); sector_size 1131 drivers/md/dm-crypt.c bio_advance_iter(ctx->bio_out, &ctx->iter_out, cc->sector_size); sector_size 1217 drivers/md/dm-crypt.c unsigned int sector_step = cc->sector_size >> SECTOR_SHIFT; sector_size 2533 drivers/md/dm-crypt.c } else if (sscanf(opt_string, "sector_size:%hu%c", &cc->sector_size, &dummy) == 1) { sector_size 2534 drivers/md/dm-crypt.c if (cc->sector_size < (1 << SECTOR_SHIFT) || sector_size 2535 drivers/md/dm-crypt.c cc->sector_size > 4096 || sector_size 2536 drivers/md/dm-crypt.c (cc->sector_size & (cc->sector_size - 1))) { sector_size 2540 drivers/md/dm-crypt.c if (ti->len & ((cc->sector_size >> SECTOR_SHIFT) - 1)) { sector_size 2544 drivers/md/dm-crypt.c cc->sector_shift = __ffs(cc->sector_size) - SECTOR_SHIFT; sector_size 2588 drivers/md/dm-crypt.c cc->sector_size = (1 << SECTOR_SHIFT); sector_size 2670 drivers/md/dm-crypt.c (tmpll & ((cc->sector_size >> SECTOR_SHIFT) - 1))) { sector_size 2778 drivers/md/dm-crypt.c if (unlikely((bio->bi_iter.bi_sector & ((cc->sector_size >> SECTOR_SHIFT) - 1)) != 0)) sector_size 2781 drivers/md/dm-crypt.c if (unlikely(bio->bi_iter.bi_size & (cc->sector_size - 1))) sector_size 2844 drivers/md/dm-crypt.c num_feature_args += cc->sector_size != (1 << SECTOR_SHIFT); sector_size 2858 drivers/md/dm-crypt.c if (cc->sector_size != (1 << SECTOR_SHIFT)) sector_size 2859 drivers/md/dm-crypt.c DMEMIT(" sector_size:%d", cc->sector_size); sector_size 2960 drivers/md/dm-crypt.c max_t(unsigned short, limits->logical_block_size, cc->sector_size); sector_size 2962 drivers/md/dm-crypt.c max_t(unsigned, limits->physical_block_size, cc->sector_size); sector_size 2963 drivers/md/dm-crypt.c limits->io_min = max_t(unsigned, limits->io_min, cc->sector_size); sector_size 301 drivers/mtd/devices/st_spi_fsm.c unsigned sector_size; sector_size 1429 drivers/mtd/devices/st_spi_fsm.c for (offs = 0; offs < info->sector_size * info->n_sectors;) { sector_size 1435 drivers/mtd/devices/st_spi_fsm.c if ((offs < info->sector_size * 2) || sector_size 1436 drivers/mtd/devices/st_spi_fsm.c (offs >= (info->sector_size - info->n_sectors * 4))) sector_size 2081 drivers/mtd/devices/st_spi_fsm.c if (info->sector_size * info->n_sectors > 0x1000000) sector_size 2105 drivers/mtd/devices/st_spi_fsm.c fsm->mtd.size = info->sector_size * info->n_sectors; sector_size 2106 drivers/mtd/devices/st_spi_fsm.c fsm->mtd.erasesize = info->sector_size; sector_size 643 drivers/mtd/nand/raw/atmel/pmecc.c int sector_size = get_sectorsize(user); sector_size 644 drivers/mtd/nand/raw/atmel/pmecc.c int degree = sector_size == 512 ? 13 : 14; sector_size 661 drivers/mtd/nand/raw/atmel/pmecc.c if (sector_size == 1024) sector_size 665 drivers/mtd/nand/raw/atmel/pmecc.c writel((sector_size * 8) + (degree * strength), sector_size 193 drivers/mtd/spi-nor/spi-nor.c unsigned sector_size; sector_size 2044 drivers/mtd/spi-nor/spi-nor.c .sector_size = (_sector_size), \ sector_size 2059 drivers/mtd/spi-nor/spi-nor.c .sector_size = (_sector_size), \ sector_size 2065 drivers/mtd/spi-nor/spi-nor.c .sector_size = (_sector_size), \ sector_size 2078 drivers/mtd/spi-nor/spi-nor.c .sector_size = (8*_page_size), \ sector_size 2772 drivers/mtd/spi-nor/spi-nor.c nor->mtd.erasesize = nor->info->sector_size; sector_size 4272 drivers/mtd/spi-nor/spi-nor.c u32 wanted_size = nor->info->sector_size; sector_size 4474 drivers/mtd/spi-nor/spi-nor.c params->size = (u64)info->sector_size * info->n_sectors; sector_size 4541 drivers/mtd/spi-nor/spi-nor.c spi_nor_set_erase_type(&map->erase_type[i], info->sector_size, sector_size 4554 drivers/mtd/spi-nor/spi-nor.c nor->mtd.erasesize = nor->info->sector_size; sector_size 7680 drivers/net/ethernet/broadcom/bnxt/bnxt_hsi.h __le32 sector_size; sector_size 4415 drivers/net/ethernet/intel/e1000e/ich8lan.c s32 j, iteration, sector_size; sector_size 4434 drivers/net/ethernet/intel/e1000e/ich8lan.c sector_size = ICH_FLASH_SEG_SIZE_256; sector_size 4438 drivers/net/ethernet/intel/e1000e/ich8lan.c sector_size = ICH_FLASH_SEG_SIZE_4K; sector_size 4442 drivers/net/ethernet/intel/e1000e/ich8lan.c sector_size = ICH_FLASH_SEG_SIZE_8K; sector_size 4446 drivers/net/ethernet/intel/e1000e/ich8lan.c sector_size = ICH_FLASH_SEG_SIZE_64K; sector_size 4486 drivers/net/ethernet/intel/e1000e/ich8lan.c flash_linear_addr += (j * sector_size); sector_size 388 drivers/nfc/s3fwrn5/firmware.c fw_info->sector_size = bootinfo.sector_size; sector_size 425 drivers/nfc/s3fwrn5/firmware.c image_size = fw_info->sector_size * fw->image_sectors; sector_size 467 drivers/nfc/s3fwrn5/firmware.c for (off = 0; off < image_size; off += fw_info->sector_size) { sector_size 43 drivers/nfc/s3fwrn5/firmware.h __u16 sector_size; sector_size 84 drivers/nfc/s3fwrn5/firmware.h u32 sector_size; sector_size 187 drivers/nvdimm/badrange.c const unsigned int sector_size = 512; sector_size 192 drivers/nvdimm/badrange.c start_sector = div_u64(ns_offset, sector_size); sector_size 193 drivers/nvdimm/badrange.c end_sector = div_u64_rem(ns_offset + len, sector_size, &rem); sector_size 69 drivers/nvdimm/blk.c u32 internal_lbasize, sector_size; sector_size 73 drivers/nvdimm/blk.c sector_size = nsblk_sector_size(nsblk); sector_size 74 drivers/nvdimm/blk.c ns_offset = lba * internal_lbasize + sector_size; sector_size 122 drivers/nvdimm/blk.c u32 internal_lbasize, sector_size; sector_size 128 drivers/nvdimm/blk.c sector_size = nsblk_sector_size(nsblk); sector_size 138 drivers/nvdimm/blk.c cur_len = bip ? min(len, sector_size) : len; sector_size 140 drivers/nvdimm/blk.c lba = div_u64(sector << SECTOR_SHIFT, sector_size); sector_size 159 drivers/nvdimm/blk.c sector += sector_size >> SECTOR_SHIFT; sector_size 513 drivers/nvdimm/btt.c unsigned long len = arena->sector_size; sector_size 756 drivers/nvdimm/btt.c arena->sector_size = btt->sector_size; sector_size 1058 drivers/nvdimm/btt.c return btt->lbasize - btt->sector_size; sector_size 1072 drivers/nvdimm/btt.c __u64 lba = div_u64(sector << SECTOR_SHIFT, btt->sector_size); sector_size 1151 drivers/nvdimm/btt.c meta_nsoff = to_namespace_offset(arena, postmap) + btt->sector_size; sector_size 1215 drivers/nvdimm/btt.c cur_len = min(btt->sector_size, len); sector_size 1283 drivers/nvdimm/btt.c sector += btt->sector_size >> SECTOR_SHIFT; sector_size 1330 drivers/nvdimm/btt.c cur_len = min(btt->sector_size, len); sector_size 1413 drivers/nvdimm/btt.c sector += btt->sector_size >> SECTOR_SHIFT; sector_size 1459 drivers/nvdimm/btt.c if (len > PAGE_SIZE || len < btt->sector_size || sector_size 1460 drivers/nvdimm/btt.c len % btt->sector_size) { sector_size 1544 drivers/nvdimm/btt.c blk_queue_logical_block_size(btt->btt_queue, btt->sector_size); sector_size 1559 drivers/nvdimm/btt.c set_capacity(btt->btt_disk, btt->nlba * btt->sector_size >> 9); sector_size 1561 drivers/nvdimm/btt.c btt->nd_btt->size = btt->nlba * (u64)btt->sector_size; sector_size 1606 drivers/nvdimm/btt.c btt->sector_size = ((lbasize >= 4096) ? 4096 : 512); sector_size 179 drivers/nvdimm/btt.h u32 sector_size; sector_size 228 drivers/nvdimm/btt.h u32 sector_size; sector_size 76 drivers/nvdimm/btt_devs.c static DEVICE_ATTR_RW(sector_size); sector_size 1394 drivers/nvdimm/namespace_devs.c static DEVICE_ATTR_RW(sector_size); sector_size 246 drivers/s390/scsi/zfcp_fc.h datalen += datalen / scsi->device->sector_size * 8; sector_size 2315 drivers/s390/scsi/zfcp_fsf.c io->data_block_length = scsi_cmnd->device->sector_size; sector_size 43 drivers/scsi/be2iscsi/be_mgmt.c unsigned short region, sector_size, sector, offset; sector_size 48 drivers/scsi/be2iscsi/be_mgmt.c sector_size = bsg_req->rqst_data.h_vendor.vendor_cmd[2]; sector_size 59 drivers/scsi/be2iscsi/be_mgmt.c offset = sector * sector_size + offset; sector_size 431 drivers/scsi/cxlflash/vlun.c const u32 s = ilog2(sdev->sector_size) - 9; sector_size 280 drivers/scsi/isci/request.c switch (sdp->sector_size) { sector_size 292 drivers/scsi/isci/request.c static u32 scu_dif_bytes(u32 len, u32 sector_size) sector_size 294 drivers/scsi/isci/request.c return (len >> ilog2(sector_size)) * 8; sector_size 310 drivers/scsi/isci/request.c scmd->device->sector_size); sector_size 321 drivers/scsi/isci/request.c tc->UD_bytes_immed_val = scmd->device->sector_size; sector_size 329 drivers/scsi/isci/request.c tc->bgc_blk_sz = scmd->device->sector_size; sector_size 365 drivers/scsi/isci/request.c scmd->device->sector_size); sector_size 380 drivers/scsi/isci/request.c tc->UD_bytes_immed_val = scmd->device->sector_size; sector_size 388 drivers/scsi/isci/request.c tc->bgc_blk_sz = scmd->device->sector_size; sector_size 93 drivers/scsi/lpfc/lpfc_scsi.c return sc->device->sector_size; sector_size 2996 drivers/scsi/lpfc/lpfc_scsi.c bghm /= cmd->device->sector_size; sector_size 3002 drivers/scsi/lpfc/lpfc_scsi.c bghm /= (cmd->device->sector_size + sector_size 710 drivers/scsi/megaraid/megaraid_sas.h u32 sector_size; sector_size 2440 drivers/scsi/megaraid/megaraid_sas_fusion.c io_request->EEDPBlockSize = cpu_to_le32(scp->device->sector_size); sector_size 4591 drivers/scsi/mpt3sas/mpt3sas_scsih.c cpu_to_le16(scmd->device->sector_size); sector_size 907 drivers/scsi/qla2xxx/qla_iocb.c prot_int = cmd->device->sector_size; sector_size 1494 drivers/scsi/qla2xxx/qla_iocb.c blk_size = cmd->device->sector_size; sector_size 1793 drivers/scsi/qla2xxx/qla_iocb.c cmd->device->sector_size, &sgx, &partial)) sector_size 1813 drivers/scsi/qla2xxx/qla_iocb.c nseg = scsi_bufflen(cmd) / cmd->device->sector_size; sector_size 2128 drivers/scsi/qla2xxx/qla_iocb.c cmd->device->sector_size, &sgx, &partial)) sector_size 2148 drivers/scsi/qla2xxx/qla_iocb.c nseg = scsi_bufflen(cmd) / cmd->device->sector_size; sector_size 2178 drivers/scsi/qla2xxx/qla_isr.c cmd->device->sector_size); sector_size 4509 drivers/scsi/qla2xxx/qla_mbx.c qla81xx_fac_get_sector_size(scsi_qla_host_t *vha, uint32_t *sector_size) sector_size 4537 drivers/scsi/qla2xxx/qla_mbx.c *sector_size = mcp->mb[1]; sector_size 6078 drivers/scsi/qla2xxx/qla_mbx.c uint32_t start_addr, uint32_t end_addr, uint16_t *sector_size) sector_size 6116 drivers/scsi/qla2xxx/qla_mbx.c *sector_size = mcp->mb[1]; sector_size 4456 drivers/scsi/scsi_debug.c module_param_named(sector_size, sdebug_sector_size, int, S_IRUGO); sector_size 4516 drivers/scsi/scsi_debug.c MODULE_PARM_DESC(sector_size, "logical block size in bytes (def=512)"); sector_size 5055 drivers/scsi/scsi_debug.c static DRIVER_ATTR_RO(sector_size); sector_size 773 drivers/scsi/sd.c unsigned int logical_block_size = sdkp->device->sector_size; sector_size 865 drivers/scsi/sd.c u32 data_len = sdp->sector_size; sector_size 896 drivers/scsi/sd.c u32 data_len = sdp->sector_size; sector_size 949 drivers/scsi/sd.c unsigned int logical_block_size = sdkp->device->sector_size; sector_size 1028 drivers/scsi/sd.c BUG_ON(bio_offset(bio) || bio_iovec(bio).bv_len != sdp->sector_size); sector_size 1044 drivers/scsi/sd.c cmd->transfersize = sdp->sector_size; sector_size 1057 drivers/scsi/sd.c rq->__data_len = sdp->sector_size; sector_size 1243 drivers/scsi/sd.c cmd->transfersize = sdp->sector_size; sector_size 1246 drivers/scsi/sd.c cmd->sdb.length = nr_blocks * sdp->sector_size; sector_size 1917 drivers/scsi/sd.c if (scsi_bufflen(scmd) <= sdev->sector_size) sector_size 1960 drivers/scsi/sd.c unsigned int sector_size = SCpnt->device->sector_size; sector_size 1989 drivers/scsi/sd.c if (resid & (sector_size - 1)) { sector_size 1992 drivers/scsi/sd.c resid, sector_size); sector_size 1995 drivers/scsi/sd.c round_up(resid, sector_size)); sector_size 2281 drivers/scsi/sd.c unsigned sector_size; sector_size 2328 drivers/scsi/sd.c sector_size = get_unaligned_be32(&buffer[8]); sector_size 2337 drivers/scsi/sd.c sdkp->physical_block_size = (1 << (buffer[13] & 0xf)) * sector_size; sector_size 2343 drivers/scsi/sd.c alignment = ((buffer[14] & 0x3f) << 8 | buffer[15]) * sector_size; sector_size 2359 drivers/scsi/sd.c return sector_size; sector_size 2371 drivers/scsi/sd.c unsigned sector_size; sector_size 2405 drivers/scsi/sd.c sector_size = get_unaligned_be32(&buffer[4]); sector_size 2413 drivers/scsi/sd.c sdkp->physical_block_size = sector_size; sector_size 2414 drivers/scsi/sd.c return sector_size; sector_size 2418 drivers/scsi/sd.c sdkp->physical_block_size = sector_size; sector_size 2419 drivers/scsi/sd.c return sector_size; sector_size 2441 drivers/scsi/sd.c int sector_size; sector_size 2445 drivers/scsi/sd.c sector_size = read_capacity_16(sdkp, sdp, buffer); sector_size 2446 drivers/scsi/sd.c if (sector_size == -EOVERFLOW) sector_size 2448 drivers/scsi/sd.c if (sector_size == -ENODEV) sector_size 2450 drivers/scsi/sd.c if (sector_size < 0) sector_size 2451 drivers/scsi/sd.c sector_size = read_capacity_10(sdkp, sdp, buffer); sector_size 2452 drivers/scsi/sd.c if (sector_size < 0) sector_size 2455 drivers/scsi/sd.c sector_size = read_capacity_10(sdkp, sdp, buffer); sector_size 2456 drivers/scsi/sd.c if (sector_size == -EOVERFLOW) sector_size 2458 drivers/scsi/sd.c if (sector_size < 0) sector_size 2462 drivers/scsi/sd.c int old_sector_size = sector_size; sector_size 2465 drivers/scsi/sd.c sector_size = read_capacity_16(sdkp, sdp, buffer); sector_size 2466 drivers/scsi/sd.c if (sector_size < 0) { sector_size 2470 drivers/scsi/sd.c sector_size = old_sector_size; sector_size 2497 drivers/scsi/sd.c if (sector_size == 0) { sector_size 2498 drivers/scsi/sd.c sector_size = 512; sector_size 2503 drivers/scsi/sd.c if (sector_size != 512 && sector_size 2504 drivers/scsi/sd.c sector_size != 1024 && sector_size 2505 drivers/scsi/sd.c sector_size != 2048 && sector_size 2506 drivers/scsi/sd.c sector_size != 4096) { sector_size 2508 drivers/scsi/sd.c sector_size); sector_size 2522 drivers/scsi/sd.c sector_size = 512; sector_size 2524 drivers/scsi/sd.c blk_queue_logical_block_size(sdp->request_queue, sector_size); sector_size 2527 drivers/scsi/sd.c sdkp->device->sector_size = sector_size; sector_size 2541 drivers/scsi/sd.c int sector_size = sdkp->device->sector_size; sector_size 2547 drivers/scsi/sd.c string_get_size(sdkp->capacity, sector_size, sector_size 2549 drivers/scsi/sd.c string_get_size(sdkp->capacity, sector_size, sector_size 2555 drivers/scsi/sd.c sector_size, cap_str_10, cap_str_2); sector_size 2557 drivers/scsi/sd.c if (sdkp->physical_block_size != sector_size) sector_size 2864 drivers/scsi/sd.c unsigned int sector_sz = sdkp->device->sector_size; sector_size 3365 drivers/scsi/sd.c sdp->sector_size = 512; sector_size 173 drivers/scsi/sd.h return blocks << (ilog2(sdev->sector_size) - 9); sector_size 178 drivers/scsi/sd.h return blocks * sdev->sector_size; sector_size 183 drivers/scsi/sd.h return bytes >> ilog2(sdev->sector_size); sector_size 188 drivers/scsi/sd.h return sector >> (ilog2(sdev->sector_size) - 9); sector_size 356 drivers/scsi/sr.c if (cd->device->sector_size == 2048) sector_size 427 drivers/scsi/sr.c s_size = cd->device->sector_size; sector_size 511 drivers/scsi/sr.c SCpnt->transfersize = cd->device->sector_size; sector_size 676 drivers/scsi/sr.c if (cd->device->sector_size > 2048) sector_size 741 drivers/scsi/sr.c sdev->sector_size = 2048; /* A guess, just in case */ sector_size 786 drivers/scsi/sr.c int sector_size; sector_size 806 drivers/scsi/sr.c sector_size = 2048; /* A guess, just in case */ sector_size 822 drivers/scsi/sr.c sector_size = (buffer[4] << 24) | sector_size 824 drivers/scsi/sr.c switch (sector_size) { sector_size 834 drivers/scsi/sr.c sector_size = 2048; sector_size 843 drivers/scsi/sr.c "unsupported sector size %d.", sector_size); sector_size 847 drivers/scsi/sr.c cd->device->sector_size = sector_size; sector_size 857 drivers/scsi/sr.c blk_queue_logical_block_size(queue, sector_size); sector_size 530 drivers/scsi/sr_ioctl.c if (blksize != cd->device->sector_size) { sector_size 144 drivers/scsi/sr_vendor.c cd->device->sector_size = blocklength; sector_size 317 drivers/scsi/sr_vendor.c if (2048 != cd->device->sector_size) { sector_size 326 drivers/staging/exfat/exfat.h u8 sector_size[2]; sector_size 349 drivers/staging/exfat/exfat.h u8 sector_size[2]; sector_size 697 drivers/staging/exfat/exfat.h s32 sector_size; /* in bytes */ sector_size 18 drivers/staging/exfat/exfat_blkdev.c p_bd->sector_size = bdev_logical_block_size(sb->s_bdev); sector_size 19 drivers/staging/exfat/exfat_blkdev.c p_bd->sector_size_bits = ilog2(p_bd->sector_size); sector_size 20 drivers/staging/exfat/exfat_blkdev.c p_bd->sector_size_mask = p_bd->sector_size - 1; sector_size 210 drivers/staging/exfat/exfat_cache.c if (off == (p_bd->sector_size - 1)) { sector_size 347 drivers/staging/exfat/exfat_cache.c if (off == (p_bd->sector_size - 1)) { sector_size 367 drivers/staging/exfat/exfat_cache.c if (off == (p_bd->sector_size - 1)) { sector_size 160 drivers/staging/exfat/exfat_core.c memset((char *)tmp_bh->b_data, 0x0, p_bd->sector_size); sector_size 479 drivers/staging/exfat/exfat_core.c if ((++map_b) >= p_bd->sector_size) { sector_size 600 drivers/staging/exfat/exfat_core.c b = clu & ((p_bd->sector_size << 3) - 1); sector_size 622 drivers/staging/exfat/exfat_core.c b = clu & ((p_bd->sector_size << 3) - 1); sector_size 670 drivers/staging/exfat/exfat_core.c if (((++map_b) >= p_bd->sector_size) || sector_size 730 drivers/staging/exfat/exfat_core.c for (i = 0; i < p_bd->sector_size && index <= 0xFFFF; i += 2) { sector_size 366 drivers/staging/exfat/exfat_super.c if (p_bd->sector_size < sb->s_blocksize) { sector_size 370 drivers/staging/exfat/exfat_super.c if (p_bd->sector_size > sb->s_blocksize) sector_size 371 drivers/staging/exfat/exfat_super.c sb_set_blocksize(sb, p_bd->sector_size); sector_size 769 drivers/staging/exfat/exfat_super.c oneblkread = (u64)(p_bd->sector_size - offset); sector_size 773 drivers/staging/exfat/exfat_super.c if ((offset == 0) && (oneblkread == p_bd->sector_size)) { sector_size 954 drivers/staging/exfat/exfat_super.c oneblkwrite = (u64)(p_bd->sector_size - offset); sector_size 958 drivers/staging/exfat/exfat_super.c if ((offset == 0) && (oneblkwrite == p_bd->sector_size)) { sector_size 158 drivers/target/target_core_pscsi.c sdev->sector_size = get_unaligned_be24(&buf[9]); sector_size 160 drivers/target/target_core_pscsi.c if (!sdev->sector_size) sector_size 161 drivers/target/target_core_pscsi.c sdev->sector_size = 1024; sector_size 304 drivers/target/target_core_pscsi.c min_not_zero((int)sd->sector_size, 512); sector_size 331 drivers/target/target_core_pscsi.c dev->dev_attrib.hw_block_size = sd->sector_size; sector_size 675 drivers/target/target_core_pscsi.c sd->sector_size = blocksize; sector_size 593 drivers/video/fbdev/broadsheetfb.c int addr, const char *data, int sector_size) sector_size 598 drivers/video/fbdev/broadsheetfb.c for (i = 0; i < sector_size; i += BS_SPIFLASH_PAGE_SIZE) { sector_size 612 drivers/video/fbdev/broadsheetfb.c int sector_size, int data_start_addr, sector_size 620 drivers/video/fbdev/broadsheetfb.c sector_buffer = kzalloc(sector_size, GFP_KERNEL); sector_size 625 drivers/video/fbdev/broadsheetfb.c start_sector_addr = (data_start_addr / sector_size) * sector_size; sector_size 649 drivers/video/fbdev/broadsheetfb.c tail_start_addr = (data_start_addr + data_len) % sector_size; sector_size 654 drivers/video/fbdev/broadsheetfb.c tail_len = sector_size - tail_start_addr; sector_size 672 drivers/video/fbdev/broadsheetfb.c sector_buffer, sector_size); sector_size 681 drivers/video/fbdev/broadsheetfb.c int sector_size; sector_size 690 drivers/video/fbdev/broadsheetfb.c sector_size = 32*1024; sector_size 694 drivers/video/fbdev/broadsheetfb.c sector_size = 64*1024; sector_size 700 drivers/video/fbdev/broadsheetfb.c maxlen = roundup(cur_addr, sector_size) - cur_addr; sector_size 703 drivers/video/fbdev/broadsheetfb.c err = broadsheet_spiflash_rewrite_sector(par, sector_size, sector_size 1420 fs/btrfs/ctree.h BTRFS_SETGET_FUNCS(device_sector_size, struct btrfs_dev_item, sector_size, 32); sector_size 1437 fs/btrfs/ctree.h sector_size, 32); sector_size 1463 fs/btrfs/ctree.h BTRFS_SETGET_FUNCS(chunk_sector_size, struct btrfs_chunk, sector_size, 32); sector_size 1484 fs/btrfs/ctree.h sector_size, 32); sector_size 161 fs/btrfs/dev-replace.c dev_replace->tgtdev->sector_size = fs_info->sectorsize; sector_size 245 fs/btrfs/dev-replace.c device->sector_size = fs_info->sectorsize; sector_size 3807 fs/btrfs/disk-io.c btrfs_set_stack_device_sector_size(dev_item, dev->sector_size); sector_size 1959 fs/btrfs/volumes.c btrfs_set_device_sector_size(leaf, dev_item, device->sector_size); sector_size 2660 fs/btrfs/volumes.c device->sector_size = fs_info->sectorsize; sector_size 2844 fs/btrfs/volumes.c btrfs_set_device_sector_size(leaf, dev_item, device->sector_size); sector_size 6892 fs/btrfs/volumes.c device->sector_size = btrfs_device_sector_size(leaf, dev_item); sector_size 111 fs/btrfs/volumes.h u32 sector_size; sector_size 1050 fs/dax.c unsigned short sector_size = bdev_logical_block_size(bdev); sector_size 1052 fs/dax.c if (!IS_ALIGNED(offset, sector_size)) sector_size 1054 fs/dax.c if (!IS_ALIGNED(length, sector_size)) sector_size 1433 fs/fat/inode.c if (get_unaligned_le16(&b->sector_size)) sector_size 1463 fs/fat/inode.c bpb->fat_sector_size = get_unaligned_le16(&b->sector_size); sector_size 324 fs/jffs2/build.c size += c->sector_size - 1; /* ... and round up */ sector_size 326 fs/jffs2/build.c c->resv_blocks_write = c->resv_blocks_deletion + (size / c->sector_size); sector_size 350 fs/jffs2/build.c c->nospc_dirty_size = c->sector_size + (c->flash_size / 100); sector_size 353 fs/jffs2/build.c c->flash_size / 1024, c->sector_size / 1024, c->nr_blocks); sector_size 355 fs/jffs2/build.c c->resv_blocks_deletion, c->resv_blocks_deletion*c->sector_size/1024); sector_size 357 fs/jffs2/build.c c->resv_blocks_write, c->resv_blocks_write*c->sector_size/1024); sector_size 359 fs/jffs2/build.c c->resv_blocks_gctrigger, c->resv_blocks_gctrigger*c->sector_size/1024); sector_size 361 fs/jffs2/build.c c->resv_blocks_gcmerge, c->resv_blocks_gcmerge*c->sector_size/1024); sector_size 363 fs/jffs2/build.c c->resv_blocks_gcbad, c->resv_blocks_gcbad*c->sector_size/1024); sector_size 377 fs/jffs2/build.c c->nr_blocks = c->flash_size / c->sector_size; sector_size 390 fs/jffs2/build.c c->blocks[i].offset = i * c->sector_size; sector_size 391 fs/jffs2/build.c c->blocks[i].free_size = c->sector_size; sector_size 33 fs/jffs2/debug.c jeb->unchecked_size != c->sector_size)) { sector_size 37 fs/jffs2/debug.c jeb->wasted_size, jeb->unchecked_size, c->sector_size); sector_size 251 fs/jffs2/debug.c erasing += c->sector_size; sector_size 255 fs/jffs2/debug.c erasing += c->sector_size; sector_size 259 fs/jffs2/debug.c erasing += c->sector_size; sector_size 263 fs/jffs2/debug.c bad += c->sector_size; sector_size 322 fs/jffs2/debug.c ref_offset(ref2) > jeb->offset + c->sector_size) { sector_size 365 fs/jffs2/debug.c && my_used_size + my_unchecked_size + my_dirty_size != c->sector_size) { sector_size 368 fs/jffs2/debug.c c->sector_size); sector_size 479 fs/jffs2/debug.c printk(JFFS2_DBG "sector_size: %#08x\n", c->sector_size); sector_size 481 fs/jffs2/debug.c c->sector_size * c->resv_blocks_write); sector_size 45 fs/jffs2/erase.c jeb->offset, jeb->offset, jeb->offset + c->sector_size); sector_size 52 fs/jffs2/erase.c c->erasing_size -= c->sector_size; sector_size 53 fs/jffs2/erase.c c->dirty_size += c->sector_size; sector_size 54 fs/jffs2/erase.c jeb->dirty_size = c->sector_size; sector_size 63 fs/jffs2/erase.c instr->len = c->sector_size; sector_size 83 fs/jffs2/erase.c c->erasing_size -= c->sector_size; sector_size 84 fs/jffs2/erase.c c->dirty_size += c->sector_size; sector_size 85 fs/jffs2/erase.c jeb->dirty_size = c->sector_size; sector_size 131 fs/jffs2/erase.c c->erasing_size += c->sector_size; sector_size 186 fs/jffs2/erase.c c->erasing_size -= c->sector_size; sector_size 187 fs/jffs2/erase.c c->dirty_size += c->sector_size; sector_size 188 fs/jffs2/erase.c jeb->dirty_size = c->sector_size; sector_size 197 fs/jffs2/erase.c c->erasing_size -= c->sector_size; sector_size 198 fs/jffs2/erase.c c->bad_size += c->sector_size; sector_size 252 fs/jffs2/erase.c jeb->offset, jeb->offset + c->sector_size, ic->ino); sector_size 321 fs/jffs2/erase.c ret = mtd_point(c->mtd, jeb->offset, c->sector_size, &retlen, sector_size 328 fs/jffs2/erase.c if (retlen < c->sector_size) { sector_size 341 fs/jffs2/erase.c mtd_unpoint(c->mtd, jeb->offset, c->sector_size); sector_size 346 fs/jffs2/erase.c c->sector_size-retlen * sizeof(*wordebuf)); sector_size 361 fs/jffs2/erase.c for (ofs = jeb->offset; ofs < jeb->offset + c->sector_size; ) { sector_size 362 fs/jffs2/erase.c uint32_t readlen = min((uint32_t)PAGE_SIZE, jeb->offset + c->sector_size - ofs); sector_size 451 fs/jffs2/erase.c jeb->free_size = c->sector_size; sector_size 456 fs/jffs2/erase.c c->erasing_size -= c->sector_size; sector_size 457 fs/jffs2/erase.c c->free_size += c->sector_size; sector_size 225 fs/jffs2/fs.c if (avail > c->sector_size * c->resv_blocks_write) sector_size 226 fs/jffs2/fs.c avail -= c->sector_size * c->resv_blocks_write; sector_size 538 fs/jffs2/fs.c c->sector_size = c->mtd->erasesize; sector_size 539 fs/jffs2/fs.c blocks = c->flash_size / c->sector_size; sector_size 544 fs/jffs2/fs.c if ((c->sector_size * blocks) != c->flash_size) { sector_size 545 fs/jffs2/fs.c c->flash_size = c->sector_size * blocks; sector_size 550 fs/jffs2/fs.c if (c->flash_size < 5*c->sector_size) { sector_size 552 fs/jffs2/fs.c c->flash_size / c->sector_size); sector_size 714 fs/jffs2/gc.c struct jffs2_eraseblock *jeb = &c->blocks[phys_ofs / c->sector_size]; sector_size 1230 fs/jffs2/gc.c jeb = &c->blocks[raw->flash_offset / c->sector_size]; sector_size 1286 fs/jffs2/gc.c jeb = &c->blocks[raw->flash_offset / c->sector_size]; sector_size 73 fs/jffs2/jffs2_fs_sb.h uint32_t sector_size; sector_size 615 fs/jffs2/nodelist.c } else if (unlikely(ref_offset(ref) != jeb->offset + c->sector_size - jeb->free_size)) { sector_size 682 fs/jffs2/nodelist.c uint32_t ofs = jeb->offset + c->sector_size - jeb->free_size; sector_size 703 fs/jffs2/nodelist.c jeb = &c->blocks[ref->flash_offset / c->sector_size]; sector_size 713 fs/jffs2/nodelist.c ref_end = jeb->offset + c->sector_size - jeb->free_size; sector_size 728 fs/jffs2/nodelist.c jeb = &c->blocks[ref->flash_offset / c->sector_size]; sector_size 206 fs/jffs2/nodelist.h #define write_ofs(c) ((c)->nextblock->offset + (c)->sector_size - (c)->nextblock->free_size) sector_size 298 fs/jffs2/nodelist.h return ((c->flash_size / c->sector_size) * sizeof (struct jffs2_eraseblock)) > (128 * 1024); sector_size 309 fs/jffs2/nodelist.h #define VERYDIRTY(c, size) ((size) >= ((c)->sector_size / 2)) sector_size 30 fs/jffs2/nodemgmt.c c->erasing_size - c->resv_blocks_write * c->sector_size sector_size 115 fs/jffs2/nodemgmt.c dirty = c->dirty_size + c->erasing_size - c->nr_erasing_blocks * c->sector_size + c->unchecked_size; sector_size 124 fs/jffs2/nodemgmt.c c->sector_size); sector_size 141 fs/jffs2/nodemgmt.c if ( (avail / c->sector_size) <= blocksneeded) { sector_size 149 fs/jffs2/nodemgmt.c avail, blocksneeded * c->sector_size); sector_size 343 fs/jffs2/nodemgmt.c if (!(c->wbuf_ofs % c->sector_size) && !c->wbuf_len) sector_size 438 fs/jffs2/nodemgmt.c (jeb->offset + c->sector_size - waste) | REF_OBSOLETE, sector_size 459 fs/jffs2/nodemgmt.c if (jeb->free_size != c->sector_size - c->cleanmarker_size) { sector_size 484 fs/jffs2/nodemgmt.c *len, jeb->offset + (c->sector_size - jeb->free_size)); sector_size 507 fs/jffs2/nodemgmt.c jeb = &c->blocks[ofs / c->sector_size]; sector_size 516 fs/jffs2/nodemgmt.c && (jeb != c->nextblock || (ofs & ~3) != jeb->offset + (c->sector_size - jeb->free_size))) { sector_size 524 fs/jffs2/nodemgmt.c jeb->offset + (c->sector_size - jeb->free_size)); sector_size 597 fs/jffs2/nodemgmt.c blocknr = ref->flash_offset / c->sector_size; sector_size 862 fs/jffs2/nodemgmt.c dirty = c->dirty_size + c->erasing_size - c->nr_erasing_blocks * c->sector_size; sector_size 65 fs/jffs2/os-linux.h #define SECTOR_ADDR(x) ( (((unsigned long)(x) / c->sector_size) * c->sector_size) ) sector_size 114 fs/jffs2/readinode.c jeb = &c->blocks[ref->flash_offset / c->sector_size]; sector_size 617 fs/jffs2/readinode.c jeb = &c->blocks[ref->flash_offset / c->sector_size]; sector_size 803 fs/jffs2/readinode.c jeb = &c->blocks[ref->flash_offset / c->sector_size]; sector_size 62 fs/jffs2/scan.c static inline uint32_t EMPTY_SCAN_SIZE(uint32_t sector_size) { sector_size 63 fs/jffs2/scan.c if (sector_size < DEFAULT_EMPTY_SCAN_SIZE) sector_size 64 fs/jffs2/scan.c return sector_size; sector_size 117 fs/jffs2/scan.c try_size = c->sector_size; sector_size 232 fs/jffs2/scan.c c->bad_size += c->sector_size; sector_size 233 fs/jffs2/scan.c c->free_size -= c->sector_size; sector_size 314 fs/jffs2/scan.c else if (!ISDIRTY(c->sector_size - (jeb->used_size + jeb->unchecked_size))) { sector_size 489 fs/jffs2/scan.c sm = (void *)buf + c->sector_size - sizeof(*sm); sector_size 492 fs/jffs2/scan.c sumlen = c->sector_size - je32_to_cpu(sm->offset); sector_size 503 fs/jffs2/scan.c jeb->offset + c->sector_size - buf_len, sector_size 510 fs/jffs2/scan.c sumlen = c->sector_size - je32_to_cpu(sm->offset); sector_size 514 fs/jffs2/scan.c if (sumlen > c->sector_size) sector_size 528 fs/jffs2/scan.c jeb->offset + c->sector_size - sumlen, sector_size 559 fs/jffs2/scan.c buf_len = c->sector_size; sector_size 561 fs/jffs2/scan.c buf_len = EMPTY_SCAN_SIZE(c->sector_size); sector_size 569 fs/jffs2/scan.c max_ofs = EMPTY_SCAN_SIZE(c->sector_size); sector_size 612 fs/jffs2/scan.c while(ofs < jeb->offset + c->sector_size) { sector_size 638 fs/jffs2/scan.c if (jeb->offset + c->sector_size < ofs + sizeof(*node)) { sector_size 641 fs/jffs2/scan.c jeb->offset, c->sector_size, ofs, sector_size 643 fs/jffs2/scan.c if ((err = jffs2_scan_dirty_space(c, jeb, (jeb->offset + c->sector_size)-ofs))) sector_size 649 fs/jffs2/scan.c buf_len = min_t(uint32_t, buf_size, jeb->offset + c->sector_size - ofs); sector_size 667 fs/jffs2/scan.c scan_end = min_t(uint32_t, EMPTY_SCAN_SIZE(c->sector_size)/8, buf_len); sector_size 693 fs/jffs2/scan.c EMPTY_SCAN_SIZE(c->sector_size)); sector_size 702 fs/jffs2/scan.c buf_len = min_t(uint32_t, buf_size, jeb->offset + c->sector_size - ofs); sector_size 775 fs/jffs2/scan.c if (ofs + je32_to_cpu(node->totlen) > jeb->offset + c->sector_size) { sector_size 799 fs/jffs2/scan.c buf_len = min_t(uint32_t, buf_size, jeb->offset + c->sector_size - ofs); sector_size 816 fs/jffs2/scan.c buf_len = min_t(uint32_t, buf_size, jeb->offset + c->sector_size - ofs); sector_size 834 fs/jffs2/scan.c buf_len = min_t(uint32_t, buf_size, jeb->offset + c->sector_size - ofs); sector_size 851 fs/jffs2/scan.c buf_len = min_t(uint32_t, buf_size, jeb->offset + c->sector_size - ofs); sector_size 28 fs/jffs2/summary.c uint32_t sum_size = min_t(uint32_t, c->sector_size, MAX_SUMMARY_SIZE); sector_size 260 fs/jffs2/summary.c jeb = &c->blocks[ofs / c->sector_size]; sector_size 376 fs/jffs2/summary.c if ((ofs & ~3) > c->sector_size - jeb->free_size) { sector_size 378 fs/jffs2/summary.c jffs2_scan_dirty_space(c, jeb, (ofs & ~3) - (c->sector_size - jeb->free_size)); sector_size 557 fs/jffs2/summary.c c->free_size += c->sector_size - jeb->free_size; sector_size 561 fs/jffs2/summary.c jeb->free_size = c->sector_size; sector_size 580 fs/jffs2/summary.c ofs = c->sector_size - sumsize; sector_size 803 fs/jffs2/summary.c sm->offset = cpu_to_je32(c->sector_size - jeb->free_size); sector_size 814 fs/jffs2/summary.c sum_ofs = jeb->offset + c->sector_size - jeb->free_size; sector_size 168 fs/jffs2/wbuf.c (jeb->offset+c->sector_size-oldfree) | REF_OBSOLETE, sector_size 285 fs/jffs2/wbuf.c jeb = &c->blocks[c->wbuf_ofs / c->sector_size]; sector_size 460 fs/jffs2/wbuf.c new_jeb = &c->blocks[ofs / c->sector_size]; sector_size 599 fs/jffs2/wbuf.c wbuf_jeb = &c->blocks[c->wbuf_ofs / c->sector_size]; sector_size 926 fs/jffs2/wbuf.c jeb = &c->blocks[outvec_to / c->sector_size]; sector_size 1253 fs/jffs2/wbuf.c c->sector_size = 8 * c->mtd->erasesize; sector_size 1255 fs/jffs2/wbuf.c while (c->sector_size < 8192) { sector_size 1256 fs/jffs2/wbuf.c c->sector_size *= 2; sector_size 1262 fs/jffs2/wbuf.c if ((c->flash_size % c->sector_size) != 0) { sector_size 1263 fs/jffs2/wbuf.c c->flash_size = (c->flash_size / c->sector_size) * c->sector_size; sector_size 1281 fs/jffs2/wbuf.c c->wbuf_pagesize, c->sector_size); sector_size 1343 fs/jffs2/wbuf.c c->wbuf_pagesize, c->sector_size); sector_size 131 fs/jffs2/write.c struct jffs2_eraseblock *jeb = &c->blocks[flash_ofs / c->sector_size]; sector_size 283 fs/jffs2/write.c struct jffs2_eraseblock *jeb = &c->blocks[flash_ofs / c->sector_size]; sector_size 185 fs/jffs2/xattr.c jeb = &c->blocks[ref_offset(raw) / c->sector_size]; sector_size 491 fs/jffs2/xattr.c jeb = &c->blocks[ref_offset(raw) / c->sector_size]; sector_size 1307 fs/jffs2/xattr.c jeb = &c->blocks[ref_offset(raw) / c->sector_size]; sector_size 863 fs/ntfs/inode.c ni->itype.index.vcn_size = vol->sector_size; sector_size 1573 fs/ntfs/inode.c ni->itype.index.vcn_size = vol->sector_size; sector_size 2667 fs/ntfs/mft.c ni->itype.index.vcn_size = vol->sector_size; sector_size 758 fs/ntfs/super.c vol->sector_size = le16_to_cpu(b->bpb.bytes_per_sector); sector_size 759 fs/ntfs/super.c vol->sector_size_bits = ffs(vol->sector_size) - 1; sector_size 760 fs/ntfs/super.c ntfs_debug("vol->sector_size = %i (0x%x)", vol->sector_size, sector_size 761 fs/ntfs/super.c vol->sector_size); sector_size 764 fs/ntfs/super.c if (vol->sector_size < vol->sb->s_blocksize) { sector_size 767 fs/ntfs/super.c "supported. Sorry.", vol->sector_size, sector_size 777 fs/ntfs/super.c vol->cluster_size = vol->sector_size << sectors_per_cluster_bits; sector_size 784 fs/ntfs/super.c if (vol->cluster_size < vol->sector_size) { sector_size 787 fs/ntfs/super.c "Sorry.", vol->cluster_size, vol->sector_size); sector_size 823 fs/ntfs/super.c if (vol->mft_record_size < vol->sector_size) { sector_size 827 fs/ntfs/super.c vol->sector_size); sector_size 854 fs/ntfs/super.c if (vol->index_record_size < vol->sector_size) { sector_size 858 fs/ntfs/super.c vol->sector_size); sector_size 2810 fs/ntfs/super.c if (vol->sector_size > blocksize) { sector_size 2811 fs/ntfs/super.c blocksize = sb_set_blocksize(sb, vol->sector_size); sector_size 2812 fs/ntfs/super.c if (blocksize != vol->sector_size) { sector_size 2816 fs/ntfs/super.c vol->sector_size); sector_size 44 fs/ntfs/volume.h u16 sector_size; /* in bytes */ sector_size 116 fs/ocfs2/super.c int sector_size, sector_size 726 fs/ocfs2/super.c int *sector_size, sector_size 737 fs/ocfs2/super.c *sector_size = bdev_logical_block_size(sb->s_bdev); sector_size 738 fs/ocfs2/super.c if (*sector_size > OCFS2_MAX_BLOCKSIZE) { sector_size 740 fs/ocfs2/super.c *sector_size, OCFS2_MAX_BLOCKSIZE); sector_size 746 fs/ocfs2/super.c if (*sector_size < OCFS2_MIN_BLOCKSIZE) sector_size 747 fs/ocfs2/super.c *sector_size = OCFS2_MIN_BLOCKSIZE; sector_size 750 fs/ocfs2/super.c status = ocfs2_get_sector(sb, bh, 0, *sector_size); sector_size 781 fs/ocfs2/super.c for (blksize = *sector_size; sector_size 975 fs/ocfs2/super.c int status, sector_size; sector_size 991 fs/ocfs2/super.c status = ocfs2_sb_probe(sb, &bh, §or_size, &stats); sector_size 997 fs/ocfs2/super.c status = ocfs2_initialize_super(sb, bh, sector_size, &stats); sector_size 1994 fs/ocfs2/super.c int sector_size, sector_size 2036 fs/ocfs2/super.c osb->s_sectsize_bits = blksize_bits(sector_size); sector_size 271 fs/xfs/xfs_mount.c unsigned int sector_size; sector_size 288 fs/xfs/xfs_mount.c sector_size = xfs_getsize_buftarg(mp->m_ddev_targp); sector_size 299 fs/xfs/xfs_mount.c BTOBB(sector_size), XBF_NO_IOACCT, &bp, sector_size 329 fs/xfs/xfs_mount.c if (sector_size > sbp->sb_sectsize) { sector_size 332 fs/xfs/xfs_mount.c sector_size, sbp->sb_sectsize); sector_size 343 fs/xfs/xfs_mount.c sector_size = sbp->sb_sectsize; sector_size 289 include/scsi/scsi_cmnd.h return scmd->device->sector_size; sector_size 129 include/scsi/scsi_device.h unsigned sector_size; /* size in bytes */ sector_size 372 include/uapi/linux/btrfs_tree.h __le32 sector_size; sector_size 425 include/uapi/linux/btrfs_tree.h __le32 sector_size; sector_size 112 include/uapi/linux/msdos_fs.h __u8 sector_size[2]; /* bytes per logical sector */