Home
last modified time | relevance | path

Searched refs:has_dirty (Results 1 – 7 of 7) sorted by relevance

/openbmc/linux/drivers/md/bcache/
H A Dwriteback.h136 if (!atomic_read(&dc->has_dirty) && in bch_writeback_add()
137 !atomic_xchg(&dc->has_dirty, 1)) { in bch_writeback_add()
H A Dwriteback.c275 if (atomic_read(&dc->has_dirty) && dc->writeback_percent && in update_writeback_rate()
759 (!atomic_read(&dc->has_dirty) || !dc->writeback_running)) { in bch_writeback_thread()
777 atomic_set(&dc->has_dirty, 0); in bch_writeback_thread()
H A Dbcache.h332 atomic_t has_dirty; member
H A Dsuper.c1298 atomic_set(&dc->has_dirty, 1); in bch_cached_dev_attach()
1778 } else if (atomic_read(&dc->has_dirty)) { in conditional_stop_bcache_device()
H A Drequest.c609 if (dc && atomic_read(&dc->has_dirty)) in cache_lookup()
/openbmc/qemu/ui/
H A Dvnc.c1157 vs->has_dirty += has_dirty; in vnc_update_client()
1210 vs->has_dirty = 0; in vnc_update_client()
2978 int has_dirty = 0; in vnc_refresh_lossy_rect() local
3001 has_dirty++; in vnc_refresh_lossy_rect()
3004 return has_dirty; in vnc_refresh_lossy_rect()
3015 int has_dirty = 0; in vnc_update_stats() local
3028 return has_dirty; in vnc_update_stats()
3061 return has_dirty; in vnc_update_stats()
3109 int has_dirty = 0; in vnc_refresh_server_surface() local
3187 has_dirty++; in vnc_refresh_server_surface()
[all …]
H A Dvnc.h280 int has_dirty; member