Home
last modified time | relevance | path

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

/linux/drivers/nvme/target/
H 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()
/linux/block/
H A Dblk-map.c429 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()
/linux/drivers/block/rnbd/
H A DREADME73 information: side, max_hw_sectors, etc.
H A Drnbd-srv.c562 rsp->max_hw_sectors = in rnbd_srv_fill_msg_open_rsp()
H A Drnbd-clt.c1370 .max_hw_sectors = dev->sess->max_io_size / SECTOR_SIZE, in rnbd_client_setup_device()
/linux/drivers/nvme/host/
H A Dzns.c33 ctrl->max_zone_append = ctrl->max_hw_sectors; in nvme_set_max_append()
/linux/drivers/md/
H A Dmd-linear.c74 lim.max_hw_sectors = mddev->chunk_sectors; in linear_set_limits()
/linux/drivers/block/
H A Dps3disk.c391 .max_hw_sectors = BOUNCE_SIZE >> 9, in ps3disk_probe()
H A Dzloop.c1176 .max_hw_sectors = SZ_1M >> SECTOR_SHIFT, in zloop_ctl_add()
1283 lim.max_hw_zone_append_sectors = lim.max_hw_sectors; in zloop_ctl_add()
H A Dsunvdc.c788 .max_hw_sectors = port->max_xfer_size, in probe_disk()
H A Dxen-blkfront.c971 lim->max_hw_sectors = (segments * XEN_PAGE_SIZE) / 512; in blkif_set_queue_limits()
/linux/drivers/s390/block/
H A Dscm_blk.c444 lim.max_hw_sectors = lim.max_segments << 3; /* 8 * 512 = blk_size */ in scm_blk_dev_setup()
H A Ddasd.c322 lim.max_hw_sectors = lim.max_dev_sectors; in dasd_state_basic_to_ready()
/linux/arch/um/drivers/
H A Dubd_kern.c844 lim.max_hw_sectors = 8 * sizeof(long); in ubd_add()
/linux/drivers/memstick/core/
H A Dmspro_block.c1104 .max_hw_sectors = MSPRO_BLOCK_MAX_PAGES, in mspro_block_init_disk()
H A Dms_block.c2082 .max_hw_sectors = MS_BLOCK_MAX_PAGES, in msb_init_disk()
/linux/drivers/firewire/
H A Dsbp2.c1537 lim->max_hw_sectors = 128 * 1024 / 512; in sbp2_scsi_sdev_configure()
/linux/drivers/block/null_blk/
H A Dmain.c1960 .max_hw_sectors = dev->max_sectors, in null_add_dev()
/linux/drivers/scsi/
H A Dpmcraid.c238 lim->max_hw_sectors = PMCRAID_VSET_MAX_SECTORS; in pmcraid_sdev_configure()
H A Dipr.c4803 lim->max_hw_sectors = IPR_VSET_MAX_SECTORS; in ipr_sdev_configure()