Home
last modified time | relevance | path

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

/Linux-v5.10/fs/btrfs/
Dfile.c1483 if (!nowait && !btrfs_drew_try_write_lock(&root->snapshot_lock)) in check_can_nocow()
1514 btrfs_drew_write_unlock(&root->snapshot_lock); in check_can_nocow()
1558 btrfs_drew_write_unlock(&inode->root->snapshot_lock); in btrfs_check_nocow_unlock()
Ddisk-io.c1364 ret = btrfs_drew_lock_init(&root->snapshot_lock); in btrfs_init_fs_root()
2045 btrfs_drew_lock_destroy(&root->snapshot_lock); in btrfs_put_root()
Dioctl.c1019 btrfs_drew_read_lock(&root->snapshot_lock); in btrfs_mksnapshot()
1040 btrfs_drew_read_unlock(&root->snapshot_lock); in btrfs_mksnapshot()
Dinode.c4873 btrfs_drew_write_lock(&root->snapshot_lock); in btrfs_setsize()
4876 btrfs_drew_write_unlock(&root->snapshot_lock); in btrfs_setsize()
4882 btrfs_drew_write_unlock(&root->snapshot_lock); in btrfs_setsize()
4890 btrfs_drew_write_unlock(&root->snapshot_lock); in btrfs_setsize()
Dctree.h1172 struct btrfs_drew_lock snapshot_lock; member