Home
last modified time | relevance | path

Searched refs:max_hw_sectors (Results 1 – 25 of 58) sorted by relevance

123

/linux/block/
A Dblk-settings.c48 lim->max_hw_sectors = UINT_MAX; in blk_set_stacking_limits()
100 min3(lim->max_hw_sectors, in blk_validate_zoned_limits()
166 lim->max_hw_sectors); in blk_atomic_writes_update_limits()
228 unsigned int max_hw_sectors; in blk_validate_limits() local
261 if (!lim->max_hw_sectors) in blk_validate_limits()
262 lim->max_hw_sectors = BLK_SAFE_MAX_SECTORS; in blk_validate_limits()
268 lim->max_hw_sectors = round_down(lim->max_hw_sectors, in blk_validate_limits()
277 max_hw_sectors = min_not_zero(lim->max_hw_sectors, in blk_validate_limits()
285 min(max_hw_sectors, lim->io_opt >> SECTOR_SHIFT); in blk_validate_limits()
526 t->max_hw_sectors = min_not_zero(t->max_hw_sectors, b->max_hw_sectors); in blk_stack_limits()
[all …]
A Dblk-map.c565 unsigned int max_bytes = lim->max_hw_sectors << SECTOR_SHIFT; in blk_rq_map_user_bvec()
A Dblk-sysfs.c142 QUEUE_SYSFS_LIMIT_SHOW_SECTORS_TO_KB(max_hw_sectors)
A Dblk-merge.c608 return q->limits.max_hw_sectors; in blk_rq_get_max_sectors()
/linux/drivers/usb/storage/
A Dscsiglue.c106 lim->max_hw_sectors = min(lim->max_hw_sectors, max_sectors); in device_configure()
113 lim->max_hw_sectors = 0x7FFFFF; in device_configure()
119 lim->max_hw_sectors = 2048; in device_configure()
126 lim->max_hw_sectors = min_t(size_t, in device_configure()
127 lim->max_hw_sectors, dma_max_mapping_size(dev) >> SECTOR_SHIFT); in device_configure()
597 lim.max_hw_sectors = ms; in max_sectors_store()
A Duas.c841 lim->max_hw_sectors = 64; in uas_device_configure()
843 lim->max_hw_sectors = 240; in uas_device_configure()
/linux/drivers/nvme/target/
A Dpassthru.c86 unsigned int max_hw_sectors; in nvmet_passthru_override_id_ctrl() local
105 max_hw_sectors = min_not_zero(pctrl->max_segments << PAGE_SECTORS_SHIFT, in nvmet_passthru_override_id_ctrl()
106 pctrl->max_hw_sectors); in nvmet_passthru_override_id_ctrl()
112 max_hw_sectors = min_not_zero(BIO_MAX_VECS << PAGE_SECTORS_SHIFT, in nvmet_passthru_override_id_ctrl()
113 max_hw_sectors); in nvmet_passthru_override_id_ctrl()
117 id->mdts = ilog2(max_hw_sectors) + 9 - page_shift; in nvmet_passthru_override_id_ctrl()
A Dloop.c388 ctrl->ctrl.max_hw_sectors = in nvme_loop_configure_admin_queue()
/linux/drivers/block/rnbd/
A Drnbd-proto.h147 __le32 max_hw_sectors; member
A DREADME73 information: side, max_hw_sectors, etc.
A Drnbd-srv.c552 rsp->max_hw_sectors = in rnbd_srv_fill_msg_open_rsp()
/linux/drivers/nvme/host/
A Dcore.c2002 return ctrl->max_hw_sectors / (NVME_CTRL_PAGE_SIZE >> SECTOR_SHIFT) + 1; in nvme_max_drv_segments()
2008 lim->max_hw_sectors = ctrl->max_hw_sectors; in nvme_set_ctrl_limits()
2092 is_power_of_2(ctrl->max_hw_sectors)) in nvme_set_chunk_sectors()
2093 iob = ctrl->max_hw_sectors; in nvme_set_chunk_sectors()
3130 ctrl->max_zeroes_sectors = ctrl->max_hw_sectors; in nvme_init_non_mdts_limits()
3264 u32 max_hw_sectors; in nvme_init_identify() local
3323 max_hw_sectors = nvme_mps_to_sectors(ctrl, id->mdts); in nvme_init_identify()
3325 max_hw_sectors = UINT_MAX; in nvme_init_identify()
3326 ctrl->max_hw_sectors = in nvme_init_identify()
3327 min_not_zero(ctrl->max_hw_sectors, max_hw_sectors); in nvme_init_identify()
A Dzns.c33 ctrl->max_zone_append = ctrl->max_hw_sectors; in nvme_set_max_append()
A Dnvme.h316 u32 max_hw_sectors; member
A Dmultipath.c1032 size_t max_transfer_size = ctrl->max_hw_sectors << SECTOR_SHIFT; in nvme_mpath_init_identify()
/linux/include/linux/
A Dblkdev.h358 unsigned int max_hw_sectors; member
1170 return q->limits.max_hw_sectors; in queue_max_hw_sectors()
1191 unsigned int max_sectors = min(l->chunk_sectors, l->max_hw_sectors); in queue_limits_max_zone_append_sectors()
/linux/drivers/mmc/core/
A Dqueue.c358 lim.max_hw_sectors = min(host->max_blk_count, host->max_req_size / 512); in mmc_alloc_disk()
/linux/drivers/block/aoe/
A Daoeblk.c338 .max_hw_sectors = aoe_maxsectors, in aoeblk_gdalloc()
/linux/drivers/block/
A Dps3disk.c387 .max_hw_sectors = dev->bounce_size >> 9, in ps3disk_probe()
A Dsunvdc.c789 .max_hw_sectors = port->max_xfer_size, in probe_disk()
/linux/drivers/scsi/
A Dscsi_scan.c1073 lim.max_hw_sectors = 512; in scsi_add_lun()
1075 lim.max_hw_sectors = 1024; in scsi_add_lun()
/linux/drivers/s390/block/
A Dscm_blk.c446 lim.max_hw_sectors = lim.max_segments << 3; /* 8 * 512 = blk_size */ in scm_blk_dev_setup()
/linux/drivers/nvdimm/
A Dpmem.c457 .max_hw_sectors = UINT_MAX, in pmem_attach_disk()
/linux/drivers/md/
A Draid0.c383 lim.max_hw_sectors = mddev->chunk_sectors; in raid0_set_limits()
/linux/arch/um/drivers/
A Dubd_kern.c844 lim.max_hw_sectors = 8 * sizeof(long); in ubd_add()

Completed in 66 milliseconds

123