max_sectors 147 block/blk-merge.c unsigned max_sectors = sectors; max_sectors 152 block/blk-merge.c max_sectors += start_offset; max_sectors 153 block/blk-merge.c max_sectors &= ~(pbs - 1); max_sectors 154 block/blk-merge.c if (max_sectors > start_offset) max_sectors 155 block/blk-merge.c return max_sectors - start_offset; max_sectors 196 block/blk-merge.c unsigned max_sectors) max_sectors 198 block/blk-merge.c unsigned max_len = (min(max_sectors, UINT_MAX >> 9) - *sectors) << 9; max_sectors 248 block/blk-merge.c const unsigned max_sectors = get_max_io_size(q, bio); max_sectors 260 block/blk-merge.c sectors + (bv.bv_len >> 9) <= max_sectors && max_sectors 265 block/blk-merge.c max_sectors)) { max_sectors 46 block/blk-settings.c lim->max_sectors = lim->max_hw_sectors = BLK_SAFE_MAX_SECTORS; max_sectors 82 block/blk-settings.c lim->max_sectors = UINT_MAX; max_sectors 186 block/blk-settings.c unsigned int max_sectors; max_sectors 195 block/blk-settings.c max_sectors = min_not_zero(max_hw_sectors, limits->max_dev_sectors); max_sectors 196 block/blk-settings.c max_sectors = min_t(unsigned int, max_sectors, BLK_DEF_MAX_SECTORS); max_sectors 197 block/blk-settings.c limits->max_sectors = max_sectors; max_sectors 198 block/blk-settings.c q->backing_dev_info->io_pages = max_sectors >> (PAGE_SHIFT - 9); max_sectors 502 block/blk-settings.c t->max_sectors = min_not_zero(t->max_sectors, b->max_sectors); max_sectors 669 block/blk-settings.c t->limits.max_sectors >> (PAGE_SHIFT - 9); max_sectors 239 block/blk-sysfs.c q->limits.max_sectors = max_sectors_kb << 1; max_sectors 324 block/compat_ioctl.c unsigned int max_sectors; max_sectors 382 block/compat_ioctl.c max_sectors = min_t(unsigned int, USHRT_MAX, max_sectors 384 block/compat_ioctl.c return compat_put_ushort(arg, max_sectors); max_sectors 518 block/ioctl.c unsigned int max_sectors; max_sectors 564 block/ioctl.c max_sectors = min_t(unsigned int, USHRT_MAX, max_sectors 566 block/ioctl.c return put_ushort(arg, max_sectors); max_sectors 73 block/scsi_ioctl.c unsigned int max_sectors = queue_max_sectors(q); max_sectors 75 block/scsi_ioctl.c max_sectors = min_t(unsigned int, max_sectors, INT_MAX >> 9); max_sectors 77 block/scsi_ioctl.c return max_sectors << 9; max_sectors 1261 drivers/ata/libahci.c dev->max_sectors = 255; max_sectors 1216 drivers/ata/libata-core.c static int ata_read_native_max_address(struct ata_device *dev, u64 *max_sectors) max_sectors 1247 drivers/ata/libata-core.c *max_sectors = ata_tf_to_lba48(&tf) + 1; max_sectors 1249 drivers/ata/libata-core.c *max_sectors = ata_tf_to_lba(&tf) + 1; max_sectors 1251 drivers/ata/libata-core.c (*max_sectors)--; max_sectors 2509 drivers/ata/libata-core.c dev->max_sectors = 0; max_sectors 2713 drivers/ata/libata-core.c dev->max_sectors = ATA_MAX_SECTORS; max_sectors 2715 drivers/ata/libata-core.c dev->max_sectors = ATA_MAX_SECTORS_LBA48; max_sectors 2723 drivers/ata/libata-core.c dev->max_sectors = ATA_MAX_SECTORS; max_sectors 2728 drivers/ata/libata-core.c dev->max_sectors = ATA_MAX_SECTORS_TAPE; max_sectors 2733 drivers/ata/libata-core.c dev->max_sectors = min_t(unsigned int, ATA_MAX_SECTORS_128, max_sectors 2734 drivers/ata/libata-core.c dev->max_sectors); max_sectors 2737 drivers/ata/libata-core.c dev->max_sectors = min_t(unsigned int, ATA_MAX_SECTORS_1024, max_sectors 2738 drivers/ata/libata-core.c dev->max_sectors); max_sectors 2741 drivers/ata/libata-core.c dev->max_sectors = ATA_MAX_SECTORS_LBA48; max_sectors 1258 drivers/ata/libata-scsi.c blk_queue_max_hw_sectors(q, dev->max_sectors); max_sectors 310 drivers/ata/pata_ali.c adev->max_sectors = 255; max_sectors 505 drivers/ata/pata_it821x.c if (adev->max_sectors > 255) max_sectors 506 drivers/ata/pata_it821x.c adev->max_sectors = 255; max_sectors 784 drivers/ata/pata_octeon_cf.c dev->max_sectors = min(dev->max_sectors, 4095U); max_sectors 262 drivers/ata/pata_pdc202xx_old.c adev->max_sectors = 256; max_sectors 635 drivers/ata/sata_sil.c dev->max_sectors = 15; max_sectors 1720 drivers/block/nbd.c disk->queue->limits.max_sectors = 256; max_sectors 5166 drivers/block/rbd.c q->limits.max_sectors = queue_max_hw_sectors(q); max_sectors 767 drivers/ide/ide-probe.c int max_sectors = 256; max_sectors 801 drivers/ide/ide-probe.c if (hwif->rqsize < max_sectors) max_sectors 802 drivers/ide/ide-probe.c max_sectors = hwif->rqsize; max_sectors 803 drivers/ide/ide-probe.c blk_queue_max_hw_sectors(q, max_sectors); max_sectors 1130 drivers/ide/ide-probe.c if (d->max_sectors) max_sectors 1131 drivers/ide/ide-probe.c hwif->rqsize = d->max_sectors; max_sectors 270 drivers/ide/pdc202xx_old.c .max_sectors = sectors, \ max_sectors 97 drivers/infiniband/ulp/iser/iscsi_iser.c module_param_named(max_sectors, iser_max_sectors, uint, S_IRUGO | S_IWUSR); max_sectors 98 drivers/infiniband/ulp/iser/iscsi_iser.c MODULE_PARM_DESC(max_sectors, "Max number of sectors in a single scsi command (default:1024"); max_sectors 670 drivers/infiniband/ulp/iser/iscsi_iser.c shost->max_sectors = min(iser_max_sectors, max_fr_sectors); max_sectors 674 drivers/infiniband/ulp/iser/iscsi_iser.c shost->max_sectors); max_sectors 676 drivers/infiniband/ulp/iser/iscsi_iser.c if (shost->max_sectors < iser_max_sectors) max_sectors 678 drivers/infiniband/ulp/iser/iscsi_iser.c iser_max_sectors, shost->max_sectors); max_sectors 648 drivers/infiniband/ulp/iser/iser_verbs.c unsigned int max_sectors) max_sectors 673 drivers/infiniband/ulp/iser/iser_verbs.c sg_tablesize = DIV_ROUND_UP(max_sectors * 512, SIZE_4K); max_sectors 3632 drivers/infiniband/ulp/srp/ib_srp.c target->scsi_host->max_sectors = token; max_sectors 3873 drivers/infiniband/ulp/srp/ib_srp.c (target->scsi_host->max_sectors + 1 + max_sectors 3882 drivers/infiniband/ulp/srp/ib_srp.c target->scsi_host->max_sectors, srp_dev->max_pages_per_mr, srp_dev->mr_page_size, max_sectors 870 drivers/md/bcache/super.c q->limits.max_sectors = UINT_MAX; max_sectors 1976 drivers/md/dm-table.c q->backing_dev_info->io_pages = limits->max_sectors >> (PAGE_SHIFT - 9); max_sectors 4076 drivers/md/dm-thin.c if (limits->max_sectors < pool->sectors_per_block) { max_sectors 4077 drivers/md/dm-thin.c while (!is_factor(pool->sectors_per_block, limits->max_sectors)) { max_sectors 4078 drivers/md/dm-thin.c if ((limits->max_sectors & (limits->max_sectors - 1)) == 0) max_sectors 4079 drivers/md/dm-thin.c limits->max_sectors--; max_sectors 4080 drivers/md/dm-thin.c limits->max_sectors = rounddown_pow_of_two(limits->max_sectors); max_sectors 4090 drivers/md/dm-thin.c if (is_factor(pool->sectors_per_block, limits->max_sectors)) max_sectors 4091 drivers/md/dm-thin.c blk_limits_io_min(limits, limits->max_sectors << SECTOR_SHIFT); max_sectors 914 drivers/md/dm-zoned-target.c limits->max_sectors = chunk_sectors; max_sectors 2072 drivers/md/md.c sector_t max_sectors; max_sectors 2079 drivers/md/md.c max_sectors = i_size_read(rdev->bdev->bd_inode) >> 9; max_sectors 2080 drivers/md/md.c max_sectors -= rdev->data_offset; max_sectors 2081 drivers/md/md.c if (!num_sectors || num_sectors > max_sectors) max_sectors 2082 drivers/md/md.c num_sectors = max_sectors; max_sectors 2091 drivers/md/md.c max_sectors = rdev->sectors + sb_start - rdev->sb_start; max_sectors 2092 drivers/md/md.c if (!num_sectors || num_sectors > max_sectors) max_sectors 2093 drivers/md/md.c num_sectors = max_sectors; max_sectors 4877 drivers/md/md.c unsigned long long max_sectors, resync; max_sectors 4888 drivers/md/md.c max_sectors = mddev->resync_max_sectors; max_sectors 4890 drivers/md/md.c max_sectors = mddev->dev_sectors; max_sectors 4893 drivers/md/md.c return sprintf(page, "%llu / %llu\n", resync, max_sectors); max_sectors 7813 drivers/md/md.c sector_t max_sectors, resync, res; max_sectors 7821 drivers/md/md.c max_sectors = mddev->resync_max_sectors; max_sectors 7823 drivers/md/md.c max_sectors = mddev->dev_sectors; max_sectors 7829 drivers/md/md.c resync = max_sectors; max_sectors 7830 drivers/md/md.c } else if (resync > max_sectors) max_sectors 7831 drivers/md/md.c resync = max_sectors; max_sectors 7864 drivers/md/md.c WARN_ON(max_sectors == 0); max_sectors 7872 drivers/md/md.c while ( max_sectors/2 > (1ULL<<(scale+32))) max_sectors 7876 drivers/md/md.c sector_div(res, (u32)((max_sectors>>scale)+1)); max_sectors 7898 drivers/md/md.c (unsigned long long) max_sectors/2); max_sectors 7927 drivers/md/md.c rt = max_sectors - resync; /* number of remaining sectors */ max_sectors 8406 drivers/md/md.c sector_t max_sectors,j, io_sectors, recovery_done; max_sectors 8528 drivers/md/md.c max_sectors = mddev->resync_max_sectors; max_sectors 8537 drivers/md/md.c max_sectors = mddev->resync_max_sectors; max_sectors 8548 drivers/md/md.c max_sectors = mddev->dev_sectors; max_sectors 8595 drivers/md/md.c window/2, (unsigned long long)max_sectors/2); max_sectors 8612 drivers/md/md.c while (j < max_sectors) { max_sectors 8620 drivers/md/md.c > (max_sectors >> 4)) || max_sectors 8669 drivers/md/md.c if (j > max_sectors) max_sectors 8671 drivers/md/md.c j = max_sectors; max_sectors 8681 drivers/md/md.c if (last_check + window > io_sectors || j == max_sectors) max_sectors 8744 drivers/md/md.c mddev->pers->sync_request(mddev, max_sectors, &skipped); max_sectors 577 drivers/md/raid1.c static int read_balance(struct r1conf *conf, struct r1bio *r1_bio, int *max_sectors) max_sectors 767 drivers/md/raid1.c *max_sectors = sectors; max_sectors 1221 drivers/md/raid1.c int max_sectors; max_sectors 1261 drivers/md/raid1.c rdisk = read_balance(conf, r1_bio, &max_sectors); max_sectors 1293 drivers/md/raid1.c if (max_sectors < bio_sectors(bio)) { max_sectors 1294 drivers/md/raid1.c struct bio *split = bio_split(bio, max_sectors, max_sectors 1300 drivers/md/raid1.c r1_bio->sectors = max_sectors; max_sectors 1338 drivers/md/raid1.c int max_sectors; max_sectors 1388 drivers/md/raid1.c max_sectors = r1_bio->sectors; max_sectors 1409 drivers/md/raid1.c is_bad = is_badblock(rdev, r1_bio->sector, max_sectors, max_sectors 1421 drivers/md/raid1.c if (bad_sectors < max_sectors) max_sectors 1425 drivers/md/raid1.c max_sectors = bad_sectors; max_sectors 1441 drivers/md/raid1.c if (good_sectors < max_sectors) max_sectors 1442 drivers/md/raid1.c max_sectors = good_sectors; max_sectors 1464 drivers/md/raid1.c if (max_sectors < bio_sectors(bio)) { max_sectors 1465 drivers/md/raid1.c struct bio *split = bio_split(bio, max_sectors, max_sectors 1471 drivers/md/raid1.c r1_bio->sectors = max_sectors; max_sectors 705 drivers/md/raid10.c int *max_sectors) max_sectors 846 drivers/md/raid10.c *max_sectors = best_good_sectors; max_sectors 1141 drivers/md/raid10.c int max_sectors; max_sectors 1177 drivers/md/raid10.c rdev = read_balance(conf, r10_bio, &max_sectors); max_sectors 1192 drivers/md/raid10.c if (max_sectors < bio_sectors(bio)) { max_sectors 1193 drivers/md/raid10.c struct bio *split = bio_split(bio, max_sectors, max_sectors 1201 drivers/md/raid10.c r10_bio->sectors = max_sectors; max_sectors 1303 drivers/md/raid10.c int max_sectors; max_sectors 1362 drivers/md/raid10.c max_sectors = r10_bio->sectors; max_sectors 1399 drivers/md/raid10.c is_bad = is_badblock(rdev, dev_sector, max_sectors, max_sectors 1413 drivers/md/raid10.c if (bad_sectors < max_sectors) max_sectors 1417 drivers/md/raid10.c max_sectors = bad_sectors; max_sectors 1430 drivers/md/raid10.c if (good_sectors < max_sectors) max_sectors 1431 drivers/md/raid10.c max_sectors = good_sectors; max_sectors 1474 drivers/md/raid10.c if (max_sectors < r10_bio->sectors) max_sectors 1475 drivers/md/raid10.c r10_bio->sectors = max_sectors; max_sectors 4436 drivers/md/raid10.c int max_sectors; max_sectors 4547 drivers/md/raid10.c rdev = read_balance(conf, r10_bio, &max_sectors); max_sectors 4635 drivers/md/raid10.c for (s = 0 ; s < max_sectors; s += PAGE_SIZE >> 9) { max_sectors 4637 drivers/md/raid10.c int len = (max_sectors - s) << 9; max_sectors 130 drivers/message/fusion/mptfc.c .max_sectors = 8192, max_sectors 1993 drivers/message/fusion/mptsas.c .max_sectors = 8192, max_sectors 5258 drivers/message/fusion/mptsas.c ioc->name, mpt_loadtime_max_sectors, sh->max_sectors)); max_sectors 5259 drivers/message/fusion/mptsas.c sh->max_sectors = mpt_loadtime_max_sectors; max_sectors 844 drivers/message/fusion/mptspi.c .max_sectors = 8192, max_sectors 2815 drivers/mtd/chips/cfi_cmdset_0002.c int max_sectors; max_sectors 2823 drivers/mtd/chips/cfi_cmdset_0002.c max_sectors = 0; max_sectors 2825 drivers/mtd/chips/cfi_cmdset_0002.c max_sectors += regions[i].numblocks; max_sectors 2827 drivers/mtd/chips/cfi_cmdset_0002.c sect = kcalloc(max_sectors, sizeof(struct ppb_lock), GFP_KERNEL); max_sectors 2876 drivers/mtd/chips/cfi_cmdset_0002.c if (sectors >= max_sectors) { max_sectors 2878 drivers/mtd/chips/cfi_cmdset_0002.c max_sectors); max_sectors 1715 drivers/nvme/host/core.c u32 max_sectors; max_sectors 1732 drivers/nvme/host/core.c max_sectors = ((u32)(USHRT_MAX + 1) * bs) >> 9; max_sectors 1734 drivers/nvme/host/core.c max_sectors = ((u32)(ns->ctrl->max_hw_sectors + 1) * bs) >> 9; max_sectors 1736 drivers/nvme/host/core.c blk_queue_max_write_zeroes_sectors(disk->queue, max_sectors); max_sectors 434 drivers/s390/scsi/zfcp_qdio.c adapter->scsi_host->max_sectors = qdio->max_sbale_per_req * 8; max_sectors 441 drivers/s390/scsi/zfcp_scsi.c .max_sectors = (((QDIO_MAX_ELEMENTS_PER_BUFFER - 1) max_sectors 821 drivers/s390/scsi/zfcp_scsi.c shost->max_sectors = shost->sg_tablesize * 8; max_sectors 1999 drivers/scsi/3w-9xxx.c .max_sectors = TW_MAX_SECTORS, max_sectors 1552 drivers/scsi/3w-sas.c .max_sectors = TW_MAX_SECTORS, max_sectors 2248 drivers/scsi/3w-xxxx.c .max_sectors = TW_MAX_SECTORS, max_sectors 3853 drivers/scsi/BusLogic.c .max_sectors = 128, max_sectors 2277 drivers/scsi/aacraid/aachba.c dev->scsi_host_ptr->max_sectors = AAC_MAX_32BIT_SGBCOUNT; max_sectors 2288 drivers/scsi/aacraid/aachba.c dev->scsi_host_ptr->max_sectors = max_sectors 648 drivers/scsi/aacraid/commctrl.c (dev->scsi_host_ptr->max_sectors << 9)) { max_sectors 651 drivers/scsi/aacraid/commctrl.c dev->scsi_host_ptr->max_sectors << 9); max_sectors 715 drivers/scsi/aacraid/commctrl.c (dev->scsi_host_ptr->max_sectors << 9) : max_sectors 770 drivers/scsi/aacraid/commctrl.c (dev->scsi_host_ptr->max_sectors << 9) : max_sectors 828 drivers/scsi/aacraid/commctrl.c (dev->scsi_host_ptr->max_sectors << 9) : max_sectors 869 drivers/scsi/aacraid/commctrl.c (dev->scsi_host_ptr->max_sectors << 9) : max_sectors 123 drivers/scsi/aacraid/comminit.c cpu_to_le32(dev->scsi_host_ptr->max_sectors << 9); max_sectors 185 drivers/scsi/aacraid/comminit.c cpu_to_le32(dev->scsi_host_ptr->max_sectors << 9); max_sectors 603 drivers/scsi/aacraid/comminit.c host->max_sectors = (status[1] >> 16) << 1; max_sectors 1589 drivers/scsi/aacraid/commsup.c host->max_sectors = (host->sg_tablesize * 8) + 112; max_sectors 1593 drivers/scsi/aacraid/commsup.c host->max_sectors = (host->sg_tablesize * 8) + 112; max_sectors 1527 drivers/scsi/aacraid/linit.c .max_sectors = 128, max_sectors 1731 drivers/scsi/aacraid/linit.c shost->max_sectors = (shost->sg_tablesize * 8) + 112; max_sectors 1737 drivers/scsi/aacraid/linit.c shost->max_sectors = (shost->sg_tablesize * 8) + 112; max_sectors 1741 drivers/scsi/aacraid/linit.c shost->max_segment_size = shost->max_sectors << 9; max_sectors 921 drivers/scsi/aic7xxx/aic79xx_osm.c .max_sectors = 8192, max_sectors 808 drivers/scsi/aic7xxx/aic7xxx_osm.c .max_sectors = 8192, max_sectors 52 drivers/scsi/aic94xx/aic94xx_init.c .max_sectors = SCSI_DEFAULT_MAX_SECTORS, max_sectors 161 drivers/scsi/arcmsr/arcmsr_hba.c .max_sectors = ARCMSR_MAX_XFER_SECTORS_C, max_sectors 718 drivers/scsi/arcmsr/arcmsr_hba.c acb->host->max_sectors = max_xfer_len/512; max_sectors 227 drivers/scsi/arm/cumana_1.c .max_sectors = 128, max_sectors 117 drivers/scsi/arm/oak.c .max_sectors = 128, max_sectors 1684 drivers/scsi/atp870u.c .max_sectors = ATP870U_MAX_SECTORS, max_sectors 399 drivers/scsi/be2iscsi/be_main.c .max_sectors = BEISCSI_MAX_SECTORS, max_sectors 738 drivers/scsi/bfa/bfad_im.c sht->max_sectors = max_xfer_size << 1; max_sectors 813 drivers/scsi/bfa/bfad_im.c .max_sectors = BFAD_MAX_SECTORS, max_sectors 835 drivers/scsi/bfa/bfad_im.c .max_sectors = BFAD_MAX_SECTORS, max_sectors 2973 drivers/scsi/bnx2fc/bnx2fc_fcoe.c .max_sectors = 0x3fbf, max_sectors 2263 drivers/scsi/bnx2i/bnx2i_iscsi.c .max_sectors = 127, max_sectors 2281 drivers/scsi/csiostor/csio_scsi.c .max_sectors = CSIO_MAX_SECTOR_SIZE, max_sectors 2300 drivers/scsi/csiostor/csio_scsi.c .max_sectors = CSIO_MAX_SECTOR_SIZE, max_sectors 91 drivers/scsi/cxgbi/cxgb3i/cxgb3i.c .max_sectors = 0xFFFF, max_sectors 109 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c .max_sectors = 0xFFFF, max_sectors 3180 drivers/scsi/cxlflash/main.c .max_sectors = CXLFLASH_MAX_SECTORS, max_sectors 3679 drivers/scsi/cxlflash/main.c driver_template.max_sectors = ddv->max_sectors; max_sectors 94 drivers/scsi/cxlflash/main.h u64 max_sectors; max_sectors 1477 drivers/scsi/cxlflash/superpipe.c attach->max_xfer = sdev->host->max_sectors * MAX_SECTOR_UNIT; max_sectors 256 drivers/scsi/esas2r/esas2r_main.c .max_sectors = 0xFFFF, max_sectors 417 drivers/scsi/esas2r/esas2r_main.c host->max_sectors = esas2r_max_sectors; max_sectors 2686 drivers/scsi/esp_scsi.c .max_sectors = 0xffff, max_sectors 278 drivers/scsi/fcoe/fcoe.c .max_sectors = 0xffff, max_sectors 124 drivers/scsi/fnic/fnic_main.c .max_sectors = 0xffff, max_sectors 706 drivers/scsi/g_NCR5380.c .max_sectors = 128, max_sectors 1768 drivers/scsi/hisi_sas/hisi_sas_v1_hw.c .max_sectors = SCSI_DEFAULT_MAX_SECTORS, max_sectors 3542 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c .max_sectors = SCSI_DEFAULT_MAX_SECTORS, max_sectors 3064 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c .max_sectors = SCSI_DEFAULT_MAX_SECTORS, max_sectors 447 drivers/scsi/hosts.c if (sht->max_sectors) max_sectors 448 drivers/scsi/hosts.c shost->max_sectors = sht->max_sectors; max_sectors 450 drivers/scsi/hosts.c shost->max_sectors = SCSI_DEFAULT_MAX_SECTORS; max_sectors 975 drivers/scsi/hpsa.c .max_sectors = 2048, max_sectors 1395 drivers/scsi/hptiop.c host->max_sectors = le32_to_cpu(iop_config.data_transfer_length) >> 9; max_sectors 3093 drivers/scsi/ibmvscsi/ibmvfc.c .max_sectors = IBMVFC_MAX_SECTORS, max_sectors 4076 drivers/scsi/ibmvscsi/ibmvfc.c vhost->host->max_sectors = npiv_max_sectors; max_sectors 4762 drivers/scsi/ibmvscsi/ibmvfc.c shost->max_sectors = IBMVFC_MAX_SECTORS; max_sectors 1384 drivers/scsi/ibmvscsi/ibmvscsi.c hostdata->host->max_sectors = max_sectors 2228 drivers/scsi/ibmvscsi/ibmvscsi.c hostdata->host->max_sectors = IBMVSCSI_MAX_SECTORS_DEFAULT; max_sectors 6745 drivers/scsi/ipr.c .max_sectors = IPR_IOA_MAX_SECTORS, max_sectors 6680 drivers/scsi/ips.c sh->max_sectors = 128; max_sectors 165 drivers/scsi/isci/init.c .max_sectors = SCSI_DEFAULT_MAX_SECTORS, max_sectors 978 drivers/scsi/iscsi_tcp.c .max_sectors = 0xFFFF, max_sectors 6020 drivers/scsi/lpfc/lpfc_scsi.c .max_sectors = 0xFFFF, max_sectors 6044 drivers/scsi/lpfc/lpfc_scsi.c .max_sectors = 0xFFFFFFFF, max_sectors 6070 drivers/scsi/lpfc/lpfc_scsi.c .max_sectors = 0xFFFF, max_sectors 6094 drivers/scsi/lpfc/lpfc_scsi.c .max_sectors = 0xFFFF, max_sectors 438 drivers/scsi/mac_scsi.c .max_sectors = 128, max_sectors 4141 drivers/scsi/megaraid.c .max_sectors = MAX_SECTORS_PER_IO, max_sectors 4264 drivers/scsi/megaraid.c host->max_sectors = max_sectors_per_io; max_sectors 187 drivers/scsi/megaraid/mega_common.h uint16_t max_sectors; max_sectors 166 drivers/scsi/megaraid/megaraid_mbox.c module_param_named(max_sectors, megaraid_max_sectors, int, 0); max_sectors 167 drivers/scsi/megaraid/megaraid_mbox.c MODULE_PARM_DESC(max_sectors, max_sectors 635 drivers/scsi/megaraid/megaraid_mbox.c host->max_sectors = adapter->max_sectors; max_sectors 834 drivers/scsi/megaraid/megaraid_mbox.c adapter->max_sectors = megaraid_max_sectors; max_sectors 54 drivers/scsi/megaraid/megaraid_sas_base.c static unsigned int max_sectors; max_sectors 55 drivers/scsi/megaraid/megaraid_sas_base.c module_param_named(max_sectors, max_sectors, int, 0444); max_sectors 56 drivers/scsi/megaraid/megaraid_sas_base.c MODULE_PARM_DESC(max_sectors, max_sectors 6756 drivers/scsi/megaraid/megaraid_sas_base.c if (max_sectors && max_sectors < instance->max_sectors_per_req) max_sectors 6757 drivers/scsi/megaraid/megaraid_sas_base.c instance->max_sectors_per_req = max_sectors; max_sectors 6759 drivers/scsi/megaraid/megaraid_sas_base.c if (max_sectors) { max_sectors 6764 drivers/scsi/megaraid/megaraid_sas_base.c (max_sectors <= MEGASAS_MAX_SECTORS)) { max_sectors 6765 drivers/scsi/megaraid/megaraid_sas_base.c instance->max_sectors_per_req = max_sectors; max_sectors 6774 drivers/scsi/megaraid/megaraid_sas_base.c host->max_sectors = instance->max_sectors_per_req; max_sectors 114 drivers/scsi/mpt3sas/mpt3sas_scsih.c static ushort max_sectors = 0xFFFF; max_sectors 115 drivers/scsi/mpt3sas/mpt3sas_scsih.c module_param(max_sectors, ushort, 0444); max_sectors 116 drivers/scsi/mpt3sas/mpt3sas_scsih.c MODULE_PARM_DESC(max_sectors, "max sectors, range 64 to 32767 default=32767"); max_sectors 2329 drivers/scsi/mpt3sas/mpt3sas_scsih.c if (shost->max_sectors > MPT3SAS_RAID_MAX_SECTORS) { max_sectors 10280 drivers/scsi/mpt3sas/mpt3sas_scsih.c .max_sectors = 32767, max_sectors 10318 drivers/scsi/mpt3sas/mpt3sas_scsih.c .max_sectors = 32767, max_sectors 10579 drivers/scsi/mpt3sas/mpt3sas_scsih.c shost->max_sectors = 128; max_sectors 10581 drivers/scsi/mpt3sas/mpt3sas_scsih.c shost->max_sectors); max_sectors 10583 drivers/scsi/mpt3sas/mpt3sas_scsih.c if (max_sectors != 0xFFFF) { max_sectors 10584 drivers/scsi/mpt3sas/mpt3sas_scsih.c if (max_sectors < 64) { max_sectors 10585 drivers/scsi/mpt3sas/mpt3sas_scsih.c shost->max_sectors = 64; max_sectors 10587 drivers/scsi/mpt3sas/mpt3sas_scsih.c max_sectors); max_sectors 10588 drivers/scsi/mpt3sas/mpt3sas_scsih.c } else if (max_sectors > 32767) { max_sectors 10589 drivers/scsi/mpt3sas/mpt3sas_scsih.c shost->max_sectors = 32767; max_sectors 10591 drivers/scsi/mpt3sas/mpt3sas_scsih.c max_sectors); max_sectors 10593 drivers/scsi/mpt3sas/mpt3sas_scsih.c shost->max_sectors = max_sectors & 0xFFFE; max_sectors 10595 drivers/scsi/mpt3sas/mpt3sas_scsih.c shost->max_sectors); max_sectors 45 drivers/scsi/mvsas/mv_init.c .max_sectors = SCSI_DEFAULT_MAX_SECTORS, max_sectors 2400 drivers/scsi/mvumi.c host->max_sectors = mhba->max_transfer_size / 512; max_sectors 1119 drivers/scsi/myrb.c shost->max_sectors = enquiry2->max_sectors; max_sectors 1168 drivers/scsi/myrb.c cb->host->can_queue, cb->host->max_sectors); max_sectors 284 drivers/scsi/myrb.h unsigned short max_sectors; /* Bytes 68-69 */ max_sectors 648 drivers/scsi/myrs.c shost->max_sectors = info->max_transfer_size; max_sectors 661 drivers/scsi/myrs.c shost->can_queue, shost->max_sectors); max_sectors 265 drivers/scsi/nsp32.c .max_sectors = 128, max_sectors 86 drivers/scsi/pm8001/pm8001_init.c .max_sectors = SCSI_DEFAULT_MAX_SECTORS, max_sectors 4132 drivers/scsi/pmcraid.c .max_sectors = PMCRAID_IOA_MAX_SECTORS, max_sectors 339 drivers/scsi/ps3rom.c .max_sectors = PS3ROM_MAX_SECTORS, max_sectors 919 drivers/scsi/qedf/qedf_main.c .max_sectors = 0xffff, max_sectors 58 drivers/scsi/qedi/qedi_iscsi.c .max_sectors = 0xffff, max_sectors 4234 drivers/scsi/qla1280.c host->max_sectors = 1024; max_sectors 7156 drivers/scsi/qla2xxx/qla_os.c .max_sectors = 0xFFFF, max_sectors 210 drivers/scsi/qla4xxx/ql4_os.c .max_sectors = 0xFFFF, max_sectors 779 drivers/scsi/qlogicpti.c qpti->qhost->max_sectors = 64; max_sectors 5771 drivers/scsi/scsi_debug.c .max_sectors = -1U, max_sectors 1801 drivers/scsi/scsi_lib.c shost->max_sectors = min_t(unsigned int, shost->max_sectors, max_sectors 1804 drivers/scsi/scsi_lib.c blk_queue_max_hw_sectors(q, shost->max_sectors); max_sectors 3188 drivers/scsi/sd.c q->limits.max_sectors > q->limits.max_dev_sectors || max_sectors 3189 drivers/scsi/sd.c q->limits.max_sectors > q->limits.max_hw_sectors) max_sectors 3190 drivers/scsi/sd.c q->limits.max_sectors = rw_max; max_sectors 860 drivers/scsi/sg.c unsigned int max_sectors = queue_max_sectors(q); max_sectors 862 drivers/scsi/sg.c max_sectors = min_t(unsigned int, max_sectors, INT_MAX >> 9); max_sectors 864 drivers/scsi/sg.c return max_sectors << 9; max_sectors 1099 drivers/scsi/smartpqi/smartpqi.h unsigned int max_sectors; max_sectors 4716 drivers/scsi/smartpqi/smartpqi_init.c ctrl_info->max_sectors = max_transfer_size / 512; max_sectors 6514 drivers/scsi/smartpqi/smartpqi_init.c shost->max_sectors = ctrl_info->max_sectors; max_sectors 217 drivers/scsi/snic/snic_ctl.c snic->shost->max_sectors = snic->fwinfo.max_io_sz >> 9; max_sectors 131 drivers/scsi/snic/snic_main.c .max_sectors = 0x800, max_sectors 1650 drivers/scsi/sym53c8xx_2/sym_glue.c .max_sectors = 0xFFFF, max_sectors 872 drivers/scsi/virtio_scsi.c shost->max_sectors = virtscsi_config_get(vdev, max_sectors) ?: 0xFFFF; max_sectors 1011 drivers/scsi/vmw_pvscsi.c .max_sectors = 0xffff, max_sectors 855 drivers/scsi/xen-scsifront.c host->max_sectors = (host->sg_tablesize - 1) * PAGE_SIZE / 512; max_sectors 1076 drivers/scsi/xen-scsifront.c host->max_sectors = (nr_segs - 1) * PAGE_SIZE / 512; max_sectors 227 drivers/staging/rts5208/rtsx.c .max_sectors = 240, max_sectors 1069 drivers/staging/unisys/visorhba/visorhba_main.c scsihost->max_sectors = max_sectors 312 drivers/target/loopback/tcm_loop.c .max_sectors = 0xFFFF, max_sectors 531 drivers/target/target_core_device.c static u32 se_dev_align_max_sectors(u32 max_sectors, u32 block_size) max_sectors 540 drivers/target/target_core_device.c aligned_max_sectors = rounddown(max_sectors, alignment); max_sectors 542 drivers/target/target_core_device.c if (max_sectors != aligned_max_sectors) max_sectors 544 drivers/target/target_core_device.c max_sectors, aligned_max_sectors); max_sectors 306 drivers/target/target_core_pscsi.c min_not_zero(sd->host->max_sectors, queue_max_hw_sectors(q)); max_sectors 731 drivers/target/target_core_xcopy.c unsigned int max_sectors; max_sectors 751 drivers/target/target_core_xcopy.c max_sectors = min(src_dev->dev_attrib.hw_max_sectors, max_sectors 753 drivers/target/target_core_xcopy.c max_sectors = min_t(u32, max_sectors, XCOPY_MAX_SECTORS); max_sectors 755 drivers/target/target_core_xcopy.c max_nolb = min_t(u16, max_sectors, ((u16)(~0U))); max_sectors 634 drivers/usb/image/microtek.c .max_sectors= 256, /* 128 K */ max_sectors 103 drivers/usb/storage/scsiglue.c unsigned int max_sectors = 64; max_sectors 106 drivers/usb/storage/scsiglue.c max_sectors = PAGE_SIZE >> 9; max_sectors 107 drivers/usb/storage/scsiglue.c if (queue_max_hw_sectors(sdev->request_queue) > max_sectors) max_sectors 109 drivers/usb/storage/scsiglue.c max_sectors); max_sectors 589 drivers/usb/storage/scsiglue.c static DEVICE_ATTR_RW(max_sectors); max_sectors 647 drivers/usb/storage/scsiglue.c .max_sectors = 240, max_sectors 328 include/linux/blkdev.h unsigned int max_sectors; max_sectors 1006 include/linux/blkdev.h return q->limits.max_sectors; max_sectors 1017 include/linux/blkdev.h return q->limits.max_sectors; max_sectors 1019 include/linux/blkdev.h return min(q->limits.max_sectors, (unsigned int)(q->limits.chunk_sectors - max_sectors 1274 include/linux/blkdev.h return q->limits.max_sectors; max_sectors 1361 include/linux/ide.h u16 max_sectors; /* if < than the default one */ max_sectors 697 include/linux/libata.h unsigned int max_sectors; /* per-device max sectors */ max_sectors 371 include/scsi/scsi_host.h unsigned int max_sectors; max_sectors 601 include/scsi/scsi_host.h unsigned int max_sectors; max_sectors 108 include/uapi/linux/virtio_scsi.h __u32 max_sectors;