Lines Matching refs:cache_writeout_mutex
1369 mutex_lock(&ctl->cache_writeout_mutex); in __btrfs_write_out_cache()
1397 mutex_unlock(&ctl->cache_writeout_mutex); in __btrfs_write_out_cache()
1440 mutex_unlock(&ctl->cache_writeout_mutex); in __btrfs_write_out_cache()
2803 mutex_init(&ctl->cache_writeout_mutex); in btrfs_init_free_space_ctl()
3536 mutex_lock(&ctl->cache_writeout_mutex); in do_trimming()
3546 mutex_unlock(&ctl->cache_writeout_mutex); in do_trimming()
3584 mutex_lock(&ctl->cache_writeout_mutex); in trim_no_bitmap()
3615 mutex_unlock(&ctl->cache_writeout_mutex); in trim_no_bitmap()
3640 mutex_unlock(&ctl->cache_writeout_mutex); in trim_no_bitmap()
3652 mutex_unlock(&ctl->cache_writeout_mutex); in trim_no_bitmap()
3680 mutex_unlock(&ctl->cache_writeout_mutex); in trim_no_bitmap()
3749 mutex_lock(&ctl->cache_writeout_mutex); in trim_bitmaps()
3756 mutex_unlock(&ctl->cache_writeout_mutex); in trim_bitmaps()
3772 mutex_unlock(&ctl->cache_writeout_mutex); in trim_bitmaps()
3798 mutex_unlock(&ctl->cache_writeout_mutex); in trim_bitmaps()
3809 mutex_unlock(&ctl->cache_writeout_mutex); in trim_bitmaps()
3816 mutex_unlock(&ctl->cache_writeout_mutex); in trim_bitmaps()
3839 mutex_unlock(&ctl->cache_writeout_mutex); in trim_bitmaps()