Searched refs:emulate_write_cache (Results 1 – 7 of 7) sorted by relevance
57 echo 1 > $BACKSTORE_DIR/attrib/emulate_write_cache
2270 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);
202 dev->dev_attrib.emulate_write_cache = 1; in fd_configure_device()
552 DEF_CONFIGFS_ATTRIB_SHOW(emulate_write_cache);701 da->emulate_write_cache = flag; in emulate_write_cache_store()1238 CONFIGFS_ATTR(, emulate_write_cache);
754 dev->dev_attrib.emulate_write_cache = DA_EMULATE_WRITE_CACHE; in target_alloc_device()
3664 else if (dev->dev_attrib.emulate_write_cache > 0) in target_check_wce()
692 bool emulate_write_cache; member