Home
last modified time | relevance | path

Searched refs:snapshot_lock (Results 1 – 5 of 5) sorted by relevance

/kernel/linux/linux-5.10/fs/btrfs/
Dfile.c1482 if (!nowait && !btrfs_drew_try_write_lock(&root->snapshot_lock)) in check_can_nocow()
1513 btrfs_drew_write_unlock(&root->snapshot_lock); in check_can_nocow()
1557 btrfs_drew_write_unlock(&inode->root->snapshot_lock); in btrfs_check_nocow_unlock()
Dinode.c4892 btrfs_drew_write_lock(&root->snapshot_lock); in btrfs_setsize()
4895 btrfs_drew_write_unlock(&root->snapshot_lock); in btrfs_setsize()
4901 btrfs_drew_write_unlock(&root->snapshot_lock); in btrfs_setsize()
4909 btrfs_drew_write_unlock(&root->snapshot_lock); in btrfs_setsize()
10225 if (!btrfs_drew_try_write_lock(&root->snapshot_lock)) { in btrfs_swap_activate()
10398 btrfs_drew_write_unlock(&root->snapshot_lock); in btrfs_swap_activate()
Ddisk-io.c1364 ret = btrfs_drew_lock_init(&root->snapshot_lock); in btrfs_init_fs_root()
2063 btrfs_drew_lock_destroy(&root->snapshot_lock); in btrfs_put_root()
Dioctl.c1031 btrfs_drew_read_lock(&root->snapshot_lock); in btrfs_mksnapshot()
1052 btrfs_drew_read_unlock(&root->snapshot_lock); in btrfs_mksnapshot()
Dctree.h1180 struct btrfs_drew_lock snapshot_lock; member