Home
last modified time | relevance | path

Searched refs:emulate_write_cache (Results 1 - 14 of 14) sorted by relevance

/kernel/linux/linux-5.10/Documentation/target/
H A Dtarget-export-device57 echo 1 > $BACKSTORE_DIR/attrib/emulate_write_cache
/kernel/linux/linux-6.6/Documentation/target/
H A Dtarget-export-device57 echo 1 > $BACKSTORE_DIR/attrib/emulate_write_cache
/kernel/linux/linux-5.10/drivers/target/
H A Dtarget_core_user.c2125 if (!dev->dev_attrib.emulate_write_cache) in tcmu_configure_device()
2126 dev->dev_attrib.emulate_write_cache = 0; in tcmu_configure_device()
2670 return snprintf(page, PAGE_SIZE, "%i\n", da->emulate_write_cache); in tcmu_emulate_write_cache_show()
2714 da->emulate_write_cache = val; in tcmu_emulate_write_cache_store()
2717 CONFIGFS_ATTR(tcmu_, emulate_write_cache);
H A Dtarget_core_configfs.c522 DEF_CONFIGFS_ATTRIB_SHOW(emulate_write_cache); variable
666 pr_err("emulate_write_cache not supported for this device\n"); in emulate_write_cache_store()
670 da->emulate_write_cache = flag; in emulate_write_cache_store()
1181 CONFIGFS_ATTR(, emulate_write_cache);
H A Dtarget_core_file.c196 pr_debug("FILEIO: Forcing setting of emulate_write_cache=1" in fd_configure_device()
198 dev->dev_attrib.emulate_write_cache = 1; in fd_configure_device()
H A Dtarget_core_device.c783 dev->dev_attrib.emulate_write_cache = DA_EMULATE_WRITE_CACHE; in target_alloc_device()
H A Dtarget_core_transport.c3469 else if (dev->dev_attrib.emulate_write_cache > 0) in target_check_wce()
/kernel/linux/linux-6.6/drivers/target/
H A Dtarget_core_user.c2270 if (!dev->dev_attrib.emulate_write_cache) in tcmu_configure_device()
2271 dev->dev_attrib.emulate_write_cache = 0; in tcmu_configure_device()
2925 return snprintf(page, PAGE_SIZE, "%i\n", da->emulate_write_cache); in tcmu_emulate_write_cache_show()
2969 da->emulate_write_cache = val; in tcmu_emulate_write_cache_store()
2972 CONFIGFS_ATTR(tcmu_, emulate_write_cache);
H A Dtarget_core_file.c200 pr_debug("FILEIO: Forcing setting of emulate_write_cache=1" in fd_configure_device()
202 dev->dev_attrib.emulate_write_cache = 1; in fd_configure_device()
H A Dtarget_core_configfs.c552 DEF_CONFIGFS_ATTRIB_SHOW(emulate_write_cache); variable
697 pr_err("emulate_write_cache not supported for this device\n"); in emulate_write_cache_store()
701 da->emulate_write_cache = flag; in emulate_write_cache_store()
1238 CONFIGFS_ATTR(, emulate_write_cache);
H A Dtarget_core_device.c754 dev->dev_attrib.emulate_write_cache = DA_EMULATE_WRITE_CACHE; in target_alloc_device()
H A Dtarget_core_transport.c3664 else if (dev->dev_attrib.emulate_write_cache > 0) in target_check_wce()
/kernel/linux/linux-5.10/include/target/
H A Dtarget_core_base.h680 bool emulate_write_cache; member
/kernel/linux/linux-6.6/include/target/
H A Dtarget_core_base.h692 bool emulate_write_cache; member

Completed in 36 milliseconds