Searched refs:defrag_inodes_lock (Results 1 – 3 of 3) sorted by relevance
162 spin_lock(&fs_info->defrag_inodes_lock); in btrfs_add_inode_defrag()175 spin_unlock(&fs_info->defrag_inodes_lock); in btrfs_add_inode_defrag()197 spin_lock(&fs_info->defrag_inodes_lock); in btrfs_requeue_inode_defrag()199 spin_unlock(&fs_info->defrag_inodes_lock); in btrfs_requeue_inode_defrag()223 spin_lock(&fs_info->defrag_inodes_lock); in btrfs_pick_defrag_inode()248 spin_unlock(&fs_info->defrag_inodes_lock); in btrfs_pick_defrag_inode()257 spin_lock(&fs_info->defrag_inodes_lock); in btrfs_cleanup_defrag_inodes()264 cond_resched_lock(&fs_info->defrag_inodes_lock); in btrfs_cleanup_defrag_inodes()268 spin_unlock(&fs_info->defrag_inodes_lock); in btrfs_cleanup_defrag_inodes()
827 spinlock_t defrag_inodes_lock; member
2734 spin_lock_init(&fs_info->defrag_inodes_lock); in btrfs_init_fs_info()