Home
last modified time | relevance | path

Searched refs:cache_state (Results 1 – 2 of 2) sorted by relevance

/linux-3.4.99/drivers/mtd/
Dmtdblock.c44 enum { STATE_EMPTY, STATE_CLEAN, STATE_DIRTY } cache_state; member
119 if (mtdblk->cache_state != STATE_DIRTY) in write_cached_data()
138 mtdblk->cache_state = STATE_EMPTY; in write_cached_data()
176 if (mtdblk->cache_state == STATE_DIRTY && in do_cached_write()
183 if (mtdblk->cache_state == STATE_EMPTY || in do_cached_write()
186 mtdblk->cache_state = STATE_EMPTY; in do_cached_write()
196 mtdblk->cache_state = STATE_CLEAN; in do_cached_write()
201 mtdblk->cache_state = STATE_DIRTY; in do_cached_write()
240 if (mtdblk->cache_state != STATE_EMPTY && in do_cached_read()
298 mtdblk->cache_state = STATE_EMPTY; in mtdblock_open()
/linux-3.4.99/fs/btrfs/
Dextent_io.c698 static void cache_state(struct extent_state *state, in cache_state() function
793 cache_state(state, cached_state); in __set_extent_bit()
843 cache_state(state, cached_state); in __set_extent_bit()
877 cache_state(prealloc, cached_state); in __set_extent_bit()
902 cache_state(prealloc, cached_state); in __set_extent_bit()
2376 cache_state(state, &cached); in end_bio_extent_readpage()