Searched refs:emulate_write_cache (Results 1 – 7 of 7) sorted by relevance
57 echo 1 > $BACKSTORE_DIR/attrib/emulate_write_cache
2120 if (!dev->dev_attrib.emulate_write_cache) in tcmu_configure_device()2121 dev->dev_attrib.emulate_write_cache = 0; in tcmu_configure_device()2664 return snprintf(page, PAGE_SIZE, "%i\n", da->emulate_write_cache); in tcmu_emulate_write_cache_show()2708 da->emulate_write_cache = val; in tcmu_emulate_write_cache_store()2711 CONFIGFS_ATTR(tcmu_, emulate_write_cache);
198 dev->dev_attrib.emulate_write_cache = 1; in fd_configure_device()
522 DEF_CONFIGFS_ATTRIB_SHOW(emulate_write_cache);670 da->emulate_write_cache = flag; in emulate_write_cache_store()1173 CONFIGFS_ATTR(, emulate_write_cache);
769 dev->dev_attrib.emulate_write_cache = DA_EMULATE_WRITE_CACHE; in target_alloc_device()
3433 else if (dev->dev_attrib.emulate_write_cache > 0) in target_check_wce()
676 bool emulate_write_cache; member