Home
last modified time | relevance | path

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

/openbmc/linux/drivers/target/
H A Dtarget_core_device.c940 dev->dev_attrib.hw_max_sectors = in target_configure_device()
941 se_dev_align_max_sectors(dev->dev_attrib.hw_max_sectors, in target_configure_device()
943 dev->dev_attrib.optimal_sectors = dev->dev_attrib.hw_max_sectors; in target_configure_device()
H A Dtarget_core_xcopy.c687 max_bytes_src = (unsigned long long) src_dev->dev_attrib.hw_max_sectors * in target_xcopy_do_work()
689 max_bytes_dst = (unsigned long long) dst_dev->dev_attrib.hw_max_sectors * in target_xcopy_do_work()
H A Dtarget_core_rd.c300 dev->dev_attrib.hw_max_sectors = UINT_MAX; in rd_configure_device()
H A Dtarget_core_configfs.c569 DEF_CONFIGFS_ATTRIB_SHOW(hw_max_sectors);
1094 if (val > da->hw_max_sectors) { in optimal_sectors_store()
1097 da->da_dev, val, da->hw_max_sectors); in optimal_sectors_store()
1257 CONFIGFS_ATTR_RO(, hw_max_sectors);
H A Dtarget_core_file.c196 dev->dev_attrib.hw_max_sectors = FD_MAX_BYTES / fd_dev->fd_block_size; in fd_configure_device()
H A Dtarget_core_pscsi.c300 dev->dev_attrib.hw_max_sectors = in pscsi_add_device_to_list()
H A Dtarget_core_user.c2268 if (!dev->dev_attrib.hw_max_sectors) in tcmu_configure_device()
2269 dev->dev_attrib.hw_max_sectors = 128; in tcmu_configure_device()
2614 &(dev->dev_attrib.hw_max_sectors)); in tcmu_set_configfs_dev_params()
H A Dtarget_core_iblock.c129 dev->dev_attrib.hw_max_sectors = mult_frac(queue_max_hw_sectors(q), in iblock_configure_device()
H A Dtarget_core_spc.c552 io_max_blocks = mult_frac(dev->dev_attrib.hw_max_sectors, in spc_emulate_evpd_b0()
H A Dtarget_core_transport.c1063 dev->dev_attrib.hw_max_sectors); in transport_dump_dev_state()
/openbmc/linux/include/target/
H A Dtarget_core_base.h711 u32 hw_max_sectors; member