Searched refs:emulate_write_cache (Results 1 – 7 of 7) sorted by relevance
57 echo 1 > $BACKSTORE_DIR/attrib/emulate_write_cache
2125 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);
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()1181 CONFIGFS_ATTR(, emulate_write_cache);
771 dev->dev_attrib.emulate_write_cache = DA_EMULATE_WRITE_CACHE; in target_alloc_device()
3470 else if (dev->dev_attrib.emulate_write_cache > 0) in target_check_wce()
676 bool emulate_write_cache; member