Searched refs:BTRFS_ROOT_SUBVOL_RDONLY (Results 1 – 5 of 5) sorted by relevance
341 return (root->root_item.flags & cpu_to_le64(BTRFS_ROOT_SUBVOL_RDONLY)) != 0; in btrfs_root_readonly()
1758 root_flags |= BTRFS_ROOT_SUBVOL_RDONLY; in create_pending_snapshot()1760 root_flags &= ~BTRFS_ROOT_SUBVOL_RDONLY; in create_pending_snapshot()1768 if (!(root_flags & BTRFS_ROOT_SUBVOL_RDONLY)) { in create_pending_snapshot()
1154 const u64 valid_root_flags = BTRFS_ROOT_SUBVOL_RDONLY | in check_root_item()
1457 root_flags | BTRFS_ROOT_SUBVOL_RDONLY); in btrfs_ioctl_subvol_setflags()1466 root_flags & ~BTRFS_ROOT_SUBVOL_RDONLY); in btrfs_ioctl_subvol_setflags()
867 #define BTRFS_ROOT_SUBVOL_RDONLY (1ULL << 0) macro