Lines Matching refs:read_only
129 bool read_only, in image_new() argument
149 .read_only = read_only, in image_new()
215 bool read_only; in image_make() local
242 read_only = in image_make()
284 info.read_only || read_only, in image_make()
320 read_only || (file_attr & FS_IMMUTABLE_FL), in image_make()
351 !(st->st_mode & 0222) || read_only, in image_make()
392 if (!read_only) { in image_make()
398 read_only = true; in image_make()
411 !(st->st_mode & 0222) || read_only, in image_make()
840 int image_clone(Image *i, const char *new_name, bool read_only) { in image_clone() argument
883 (read_only ? BTRFS_SNAPSHOT_READ_ONLY : 0) | in image_clone()
898 …r = copy_file_atomic(i->path, new_path, read_only ? 0444 : 0644, FS_NOCOW_FL, FS_NOCOW_FL, COPY_RE… in image_clone()