Home
last modified time | relevance | path

Searched refs:optimal_sectors (Results 1 – 4 of 4) sorted by relevance

/linux-4.1.27/include/target/
Dtarget_core_backend_configfs.h101 DEF_TB_DEV_ATTRIB(_backend, optimal_sectors); \
102 TB_DEV_ATTR(_backend, optimal_sectors, S_IRUGO | S_IWUSR); \
Dtarget_core_base.h698 u32 optimal_sectors; member
/linux-4.1.27/drivers/target/
Dtarget_core_device.c1133 int se_dev_set_optimal_sectors(struct se_device *dev, u32 optimal_sectors) in se_dev_set_optimal_sectors() argument
1141 if (optimal_sectors > dev->dev_attrib.hw_max_sectors) { in se_dev_set_optimal_sectors()
1144 optimal_sectors, dev->dev_attrib.hw_max_sectors); in se_dev_set_optimal_sectors()
1148 dev->dev_attrib.optimal_sectors = optimal_sectors; in se_dev_set_optimal_sectors()
1150 dev, optimal_sectors); in se_dev_set_optimal_sectors()
1576 dev->dev_attrib.optimal_sectors = dev->dev_attrib.hw_max_sectors; in target_configure_device()
Dtarget_core_spc.c540 put_unaligned_be32(dev->dev_attrib.optimal_sectors, &buf[12]); in spc_emulate_evpd_b0()