| /linux/drivers/nvme/target/ |
| H A D | passthru.c | 95 unsigned int max_hw_sectors; in nvmet_passthru_override_id_ctrl() local 114 max_hw_sectors = min_not_zero(pctrl->max_segments << PAGE_SECTORS_SHIFT, in nvmet_passthru_override_id_ctrl() 115 pctrl->max_hw_sectors); in nvmet_passthru_override_id_ctrl() 121 max_hw_sectors = min_not_zero(BIO_MAX_VECS << PAGE_SECTORS_SHIFT, in nvmet_passthru_override_id_ctrl() 122 max_hw_sectors); in nvmet_passthru_override_id_ctrl() 126 id->mdts = ilog2(max_hw_sectors) + 9 - page_shift; in nvmet_passthru_override_id_ctrl()
|
| /linux/block/ |
| H A D | blk-map.c | 429 unsigned int max_bytes = lim->max_hw_sectors << SECTOR_SHIFT; in blk_rq_append_bio() 465 unsigned int max_bytes = rq->q->limits.max_hw_sectors << SECTOR_SHIFT; in blk_rq_map_user_bvec()
|
| H A D | blk-merge.c | 529 return q->limits.max_hw_sectors; in blk_rq_get_max_sectors()
|
| /linux/drivers/block/rnbd/ |
| H A D | README | 73 information: side, max_hw_sectors, etc.
|
| H A D | rnbd-clt.c | 1370 .max_hw_sectors = dev->sess->max_io_size / SECTOR_SIZE, in rnbd_client_setup_device()
|
| /linux/drivers/nvme/host/ |
| H A D | core.c | 2080 return ctrl->max_hw_sectors / (NVME_CTRL_PAGE_SIZE >> SECTOR_SHIFT) + 1; in nvme_max_drv_segments() 2086 lim->max_hw_sectors = ctrl->max_hw_sectors; in nvme_set_ctrl_limits() 2213 is_power_of_2(ctrl->max_hw_sectors)) in nvme_set_chunk_sectors() 2214 iob = ctrl->max_hw_sectors; in nvme_set_chunk_sectors() 3468 ctrl->max_zeroes_sectors = ctrl->max_hw_sectors; in nvme_init_non_mdts_limits() 3621 u32 max_hw_sectors; in nvme_init_identify() local 3680 max_hw_sectors = nvme_mps_to_sectors(ctrl, id->mdts); in nvme_init_identify() 3682 max_hw_sectors = UINT_MAX; in nvme_init_identify() 3683 ctrl->max_hw_sectors = in nvme_init_identify() 3684 min_not_zero(ctrl->max_hw_sectors, max_hw_sectors); in nvme_init_identify()
|
| H A D | zns.c | 33 ctrl->max_zone_append = ctrl->max_hw_sectors; in nvme_set_max_append()
|
| H A D | nvme.h | 385 u32 max_hw_sectors; member
|
| H A D | multipath.c | 1445 size_t max_transfer_size = ctrl->max_hw_sectors << SECTOR_SHIFT; in nvme_mpath_init_identify()
|
| H A D | apple.c | 1121 anv->ctrl.max_hw_sectors = min_t(u32, NVME_MAX_KB_SZ << 1, in apple_nvme_reset_work()
|
| /linux/drivers/md/ |
| H A D | md-linear.c | 75 lim.max_hw_sectors = mddev->chunk_sectors; in linear_set_limits()
|
| H A D | raid0.c | 389 lim.max_hw_sectors = mddev->chunk_sectors; in raid0_set_limits()
|
| /linux/drivers/block/ |
| H A D | ps3disk.c | 391 .max_hw_sectors = BOUNCE_SIZE >> 9, in ps3disk_probe()
|
| H A D | zloop.c | 1188 .max_hw_sectors = SZ_1M >> SECTOR_SHIFT, in zloop_ctl_add() 1299 lim.max_hw_zone_append_sectors = lim.max_hw_sectors; in zloop_ctl_add()
|
| H A D | sunvdc.c | 788 .max_hw_sectors = port->max_xfer_size, in probe_disk()
|
| H A D | loop.c | 2027 .max_hw_sectors = 2560u, in loop_add()
|
| /linux/drivers/s390/block/ |
| H A D | scm_blk.c | 444 lim.max_hw_sectors = lim.max_segments << 3; /* 8 * 512 = blk_size */ in scm_blk_dev_setup()
|
| /linux/include/linux/ |
| H A D | blkdev.h | 386 unsigned int max_hw_sectors; member 1264 return q->limits.max_hw_sectors; in queue_max_hw_sectors()
|
| /linux/drivers/scsi/ |
| H A D | scsi_scan.c | 1092 lim.max_hw_sectors = 512; in scsi_add_lun() 1094 lim.max_hw_sectors = 1024; in scsi_add_lun()
|
| /linux/drivers/nvdimm/ |
| H A D | pmem.c | 471 .max_hw_sectors = UINT_MAX, in pmem_attach_disk()
|
| H A D | btt.c | 1513 .max_hw_sectors = UINT_MAX, in btt_blk_init()
|
| /linux/arch/um/drivers/ |
| H A D | ubd_kern.c | 844 lim.max_hw_sectors = 8 * sizeof(long); in ubd_add()
|
| /linux/drivers/memstick/core/ |
| H A D | mspro_block.c | 1104 .max_hw_sectors = MSPRO_BLOCK_MAX_PAGES, in mspro_block_init_disk()
|
| H A D | ms_block.c | 2086 .max_hw_sectors = MS_BLOCK_MAX_PAGES, in msb_init_disk()
|
| /linux/drivers/firewire/ |
| H A D | sbp2.c | 1536 lim->max_hw_sectors = 128 * 1024 / 512; in sbp2_scsi_sdev_configure()
|