Searched refs:max_hw_sectors (Results 1 – 21 of 21) sorted by relevance
/linux/block/ |
A D | blk-settings.c | 42 lim->max_sectors = lim->max_hw_sectors = BLK_SAFE_MAX_SECTORS; in blk_set_default_limits() 78 lim->max_hw_sectors = UINT_MAX; in blk_set_stacking_limits() 128 if ((max_hw_sectors << 9) < PAGE_SIZE) { in blk_queue_max_hw_sectors() 129 max_hw_sectors = 1 << (PAGE_SHIFT - 9); in blk_queue_max_hw_sectors() 131 __func__, max_hw_sectors); in blk_queue_max_hw_sectors() 134 max_hw_sectors = round_down(max_hw_sectors, in blk_queue_max_hw_sectors() 136 limits->max_hw_sectors = max_hw_sectors; in blk_queue_max_hw_sectors() 316 limits->max_hw_sectors = in blk_queue_logical_block_size() 317 round_down(limits->max_hw_sectors, size >> SECTOR_SHIFT); in blk_queue_logical_block_size() 520 t->max_hw_sectors = min_not_zero(t->max_hw_sectors, b->max_hw_sectors); in blk_stack_limits() [all …]
|
A D | blk-merge.c | 587 return q->limits.max_hw_sectors; in blk_rq_get_max_sectors()
|
/linux/drivers/nvme/target/ |
A D | passthru.c | 39 unsigned int max_hw_sectors; in nvmet_passthru_override_id_ctrl() local 58 max_hw_sectors = min_not_zero(pctrl->max_segments << (PAGE_SHIFT - 9), in nvmet_passthru_override_id_ctrl() 59 pctrl->max_hw_sectors); in nvmet_passthru_override_id_ctrl() 65 max_hw_sectors = min_not_zero(BIO_MAX_VECS << (PAGE_SHIFT - 9), in nvmet_passthru_override_id_ctrl() 66 max_hw_sectors); in nvmet_passthru_override_id_ctrl() 70 id->mdts = ilog2(max_hw_sectors) + 9 - page_shift; in nvmet_passthru_override_id_ctrl()
|
A D | loop.c | 400 ctrl->ctrl.max_hw_sectors = in nvme_loop_configure_admin_queue()
|
/linux/drivers/block/rnbd/ |
A D | rnbd-clt.h | 124 u32 max_hw_sectors; member
|
A D | rnbd-proto.h | 138 __le32 max_hw_sectors; member
|
A D | README | 73 information: side, max_hw_sectors, etc.
|
A D | rnbd-clt.c | 94 dev->max_hw_sectors = sess->max_io_size / SECTOR_SIZE; in rnbd_clt_set_dev_attr() 1361 blk_queue_max_hw_sectors(dev->queue, dev->max_hw_sectors); in setup_request_queue() 1619 dev->max_hw_sectors, dev->rotational, dev->wc, dev->fua); in rnbd_clt_map_device()
|
A D | rnbd-srv.c | 559 rsp->max_hw_sectors = in rnbd_srv_fill_msg_open_rsp()
|
/linux/drivers/nvme/host/ |
A D | core.c | 1788 if (ctrl->max_hw_sectors) { in nvme_set_queue_limits() 1790 (ctrl->max_hw_sectors / (NVME_CTRL_PAGE_SIZE >> 9)) + 1; in nvme_set_queue_limits() 1793 blk_queue_max_hw_sectors(q, ctrl->max_hw_sectors); in nvme_set_queue_limits() 1887 is_power_of_2(ctrl->max_hw_sectors)) in nvme_set_chunk_sectors() 1888 iob = ctrl->max_hw_sectors; in nvme_set_chunk_sectors() 2895 ctrl->max_zeroes_sectors = ctrl->max_hw_sectors; in nvme_init_non_mdts_limits() 2929 u32 max_hw_sectors; in nvme_init_identify() local 2988 max_hw_sectors = nvme_mps_to_sectors(ctrl, id->mdts); in nvme_init_identify() 2990 max_hw_sectors = UINT_MAX; in nvme_init_identify() 2991 ctrl->max_hw_sectors = in nvme_init_identify() [all …]
|
A D | zns.c | 44 ctrl->max_zone_append = ctrl->max_hw_sectors; in nvme_set_max_append()
|
A D | nvme.h | 271 u32 max_hw_sectors; member
|
A D | multipath.c | 836 size_t max_transfer_size = ctrl->max_hw_sectors << SECTOR_SHIFT; in nvme_mpath_init_identify()
|
A D | rdma.c | 916 ctrl->ctrl.max_hw_sectors = ctrl->max_fr_pages << (ilog2(SZ_4K) - 9); in nvme_rdma_configure_admin_queue()
|
A D | pci.c | 2764 dev->ctrl.max_hw_sectors = min_t(u32, in nvme_reset_work()
|
A D | fc.c | 3119 ctrl->ctrl.max_hw_sectors = ctrl->ctrl.max_segments << in nvme_fc_create_association()
|
/linux/include/linux/ |
A D | blkdev.h | 87 unsigned int max_hw_sectors; member 913 return q->limits.max_hw_sectors; in queue_max_hw_sectors()
|
/linux/drivers/block/drbd/ |
A D | drbd_nl.c | 1337 unsigned int max_hw_sectors = max_bio_size >> 9; in drbd_setup_queue_param() local 1347 max_hw_sectors = min(queue_max_hw_sectors(b), max_bio_size >> 9); in drbd_setup_queue_param() 1358 blk_queue_max_hw_sectors(q, max_hw_sectors); in drbd_setup_queue_param()
|
/linux/Documentation/block/ |
A D | biodoc.rst | 151 - The request queue's max_hw_sectors, which is a hard limit 155 The default for both max_sectors and max_hw_sectors is
|
/linux/drivers/md/bcache/ |
A D | super.c | 954 q->limits.max_hw_sectors = UINT_MAX; in bcache_device_init()
|
/linux/drivers/scsi/ |
A D | sd.c | 3367 q->limits.max_sectors > q->limits.max_hw_sectors) in sd_revalidate_disk()
|
Completed in 77 milliseconds