Home
last modified time | relevance | path

Searched refs:hw_max_sectors (Results 1 – 11 of 11) sorted by relevance

/Linux-v4.19/drivers/target/
Dtarget_core_device.c978 dev->dev_attrib.hw_max_sectors = in target_configure_device()
979 se_dev_align_max_sectors(dev->dev_attrib.hw_max_sectors, in target_configure_device()
981 dev->dev_attrib.optimal_sectors = dev->dev_attrib.hw_max_sectors; in target_configure_device()
Dtarget_core_xcopy.c816 max_sectors = min(src_dev->dev_attrib.hw_max_sectors, in target_xcopy_do_work()
817 dst_dev->dev_attrib.hw_max_sectors); in target_xcopy_do_work()
Dtarget_core_configfs.c545 DEF_CONFIGFS_ATTRIB_SHOW(hw_max_sectors);
1043 if (val > da->hw_max_sectors) { in optimal_sectors_store()
1046 da->da_dev, val, da->hw_max_sectors); in optimal_sectors_store()
1083 da->hw_max_sectors = da->max_bytes_per_io / val; in block_size_store()
1129 CONFIGFS_ATTR_RO(, hw_max_sectors);
Dtarget_core_rd.c313 dev->dev_attrib.hw_max_sectors = UINT_MAX; in rd_configure_device()
Dtarget_core_iblock.c122 dev->dev_attrib.hw_max_sectors = queue_max_hw_sectors(q); in iblock_configure_device()
Dtarget_core_user.c1897 if (!dev->dev_attrib.hw_max_sectors) in tcmu_configure_device()
1898 dev->dev_attrib.hw_max_sectors = 128; in tcmu_configure_device()
2150 &(dev->dev_attrib.hw_max_sectors)); in tcmu_set_configfs_dev_params()
Dtarget_core_file.c205 dev->dev_attrib.hw_max_sectors = FD_MAX_BYTES / fd_dev->fd_block_size; in fd_configure_device()
Dtarget_core_spc.c526 put_unaligned_be32(min_not_zero(mtl, dev->dev_attrib.hw_max_sectors), &buf[8]); in spc_emulate_evpd_b0()
Dtarget_core_pscsi.c318 dev->dev_attrib.hw_max_sectors = in pscsi_add_device_to_list()
Dtarget_core_transport.c928 dev->dev_attrib.hw_max_sectors); in transport_dump_dev_state()
/Linux-v4.19/include/target/
Dtarget_core_base.h679 u32 hw_max_sectors; member