Searched refs:ei_pagecache_lock (Results 1 – 2 of 2) sorted by relevance
25 two_state_lock_t ei_pagecache_lock; member45 #define bch2_pagecache_add_put(i) bch2_two_state_unlock(&i->ei_pagecache_lock, 0)46 #define bch2_pagecache_add_tryget(i) bch2_two_state_trylock(&i->ei_pagecache_lock, 0)47 #define bch2_pagecache_add_get(i) bch2_two_state_lock(&i->ei_pagecache_lock, 0)49 #define bch2_pagecache_block_put(i) bch2_two_state_unlock(&i->ei_pagecache_lock, 1)50 #define bch2_pagecache_block_get(i) bch2_two_state_lock(&i->ei_pagecache_lock, 1)
408 two_state_lock_init(&inode->ei_pagecache_lock); in __bch2_new_inode()