max_hw_sectors 46 block/blk-settings.c lim->max_sectors = lim->max_hw_sectors = BLK_SAFE_MAX_SECTORS; max_hw_sectors 80 block/blk-settings.c lim->max_hw_sectors = UINT_MAX; max_hw_sectors 183 block/blk-settings.c void blk_queue_max_hw_sectors(struct request_queue *q, unsigned int max_hw_sectors) max_hw_sectors 188 block/blk-settings.c if ((max_hw_sectors << 9) < PAGE_SIZE) { max_hw_sectors 189 block/blk-settings.c max_hw_sectors = 1 << (PAGE_SHIFT - 9); max_hw_sectors 191 block/blk-settings.c __func__, max_hw_sectors); max_hw_sectors 194 block/blk-settings.c limits->max_hw_sectors = max_hw_sectors; max_hw_sectors 195 block/blk-settings.c max_sectors = min_not_zero(max_hw_sectors, limits->max_dev_sectors); max_hw_sectors 503 block/blk-settings.c t->max_hw_sectors = min_not_zero(t->max_hw_sectors, b->max_hw_sectors); max_hw_sectors 1336 drivers/block/drbd/drbd_nl.c unsigned int max_hw_sectors = max_bio_size >> 9; max_hw_sectors 1346 drivers/block/drbd/drbd_nl.c max_hw_sectors = min(queue_max_hw_sectors(b), max_bio_size >> 9); max_hw_sectors 1357 drivers/block/drbd/drbd_nl.c blk_queue_max_hw_sectors(q, max_hw_sectors); max_hw_sectors 869 drivers/md/bcache/super.c q->limits.max_hw_sectors = UINT_MAX; max_hw_sectors 1731 drivers/nvme/host/core.c if (ns->ctrl->max_hw_sectors == UINT_MAX) max_hw_sectors 1734 drivers/nvme/host/core.c max_sectors = ((u32)(ns->ctrl->max_hw_sectors + 1) * bs) >> 9; max_hw_sectors 2197 drivers/nvme/host/core.c if (ctrl->max_hw_sectors) { max_hw_sectors 2199 drivers/nvme/host/core.c (ctrl->max_hw_sectors / (ctrl->page_size >> 9)) + 1; max_hw_sectors 2202 drivers/nvme/host/core.c blk_queue_max_hw_sectors(q, ctrl->max_hw_sectors); max_hw_sectors 2206 drivers/nvme/host/core.c is_power_of_2(ctrl->max_hw_sectors)) max_hw_sectors 2207 drivers/nvme/host/core.c blk_queue_chunk_sectors(q, ctrl->max_hw_sectors); max_hw_sectors 2745 drivers/nvme/host/core.c u32 max_hw_sectors; max_hw_sectors 2811 drivers/nvme/host/core.c max_hw_sectors = 1 << (id->mdts + page_shift - 9); max_hw_sectors 2813 drivers/nvme/host/core.c max_hw_sectors = UINT_MAX; max_hw_sectors 2814 drivers/nvme/host/core.c ctrl->max_hw_sectors = max_hw_sectors 2815 drivers/nvme/host/core.c min_not_zero(ctrl->max_hw_sectors, max_hw_sectors); max_hw_sectors 2674 drivers/nvme/host/fc.c ctrl->ctrl.max_hw_sectors = max_hw_sectors 573 drivers/nvme/host/lightnvm.c max_len = min_t(unsigned int, ctrl->max_hw_sectors << 9, 256 * 1024); max_hw_sectors 965 drivers/nvme/host/lightnvm.c geo->mdts = ns->ctrl->max_hw_sectors; max_hw_sectors 704 drivers/nvme/host/multipath.c if (ctrl->ana_log_size > ctrl->max_hw_sectors << SECTOR_SHIFT) { max_hw_sectors 708 drivers/nvme/host/multipath.c ctrl->max_hw_sectors << SECTOR_SHIFT); max_hw_sectors 218 drivers/nvme/host/nvme.h u32 max_hw_sectors; max_hw_sectors 2573 drivers/nvme/host/pci.c dev->ctrl.max_hw_sectors = min_t(u32, max_hw_sectors 831 drivers/nvme/host/rdma.c ctrl->ctrl.max_hw_sectors = ctrl->max_fr_pages << (ilog2(SZ_4K) - 9); max_hw_sectors 385 drivers/nvme/target/loop.c ctrl->ctrl.max_hw_sectors = max_hw_sectors 3189 drivers/scsi/sd.c q->limits.max_sectors > q->limits.max_hw_sectors) max_hw_sectors 325 include/linux/blkdev.h unsigned int max_hw_sectors; max_hw_sectors 1029 include/linux/blkdev.h return q->limits.max_hw_sectors; max_hw_sectors 1279 include/linux/blkdev.h return q->limits.max_hw_sectors;