Searched refs:read_only (Results 1 - 21 of 21) sorted by relevance

/systemd/src/import/
H A Dimport-raw.h36 int raw_import_start(RawImport *i, int fd, const char *local, bool force_local, bool read_only);
H A Dimport-tar.h36 int tar_import_start(TarImport *import, int fd, const char *local, bool force_local, bool read_only);
H A Dimport-tar.c56 bool read_only; member in struct:TarImport
200 if (i->read_only) {
348 int tar_import_start(TarImport *i, int fd, const char *local, bool force_local, bool read_only) { argument
369 i->read_only = read_only;
H A Dimport-raw.c56 bool read_only; member in struct:RawImport
245 if (i->read_only) {
427 int raw_import_start(RawImport *i, int fd, const char *local, bool force_local, bool read_only) { argument
448 i->read_only = read_only;
H A Dimportd.c72 bool read_only; member in struct:Transfer
477 if (t->read_only)
716 int fd, force, read_only, r; local
739 r = sd_bus_message_read(msg, "hsbb", &fd, &local, &force, &read_only);
758 t->read_only = read_only;
/systemd/src/nspawn/
H A Dnspawn-mount.h42 bool read_only; member in struct:CustomMount
53 int bind_mount_parse(CustomMount **l, unsigned *n, const char *s, bool read_only);
H A Dnspawn-settings.h67 int read_only; member in struct:Settings
H A Dnspawn-mount.c99 int bind_mount_parse(CustomMount **l, unsigned *n, const char *s, bool read_only) { argument
138 m->read_only = read_only;
459 if (m->read_only) {
533 if (m->read_only) {
557 if (mount("overlay", where, "overlay", m->read_only ? MS_RDONLY : 0, options) < 0)
602 static int mount_legacy_cgroup_hierarchy(const char *dest, const char *controller, const char *hierarchy, bool read_only) { argument
623 if (read_only) {
H A Dnspawn-register.c150 cm->source, cm->read_only ? "r" : "rw");
H A Dnspawn-settings.c44 s->read_only = -1;
H A Dnspawn.c284 if (m->read_only)
703 m->read_only = c == ARG_OVERLAY_RO;
2366 arg_read_only = arg_read_only || i->read_only;
3006 settings->read_only >= 0)
3007 arg_read_only = settings->read_only;
/systemd/src/shared/
H A Dmachine-image.h42 bool read_only; member in struct:Image
66 int image_clone(Image *i, const char *new_name, bool read_only);
H A Dmachine-image.c105 bool read_only,
123 i->read_only = read_only;
157 bool read_only; local
169 read_only =
206 info.read_only || read_only,
240 read_only || (file_attr & FS_IMMUTABLE_FL),
266 !(st.st_mode & 0222) || read_only,
574 int image_clone(Image *i, const char *new_name, bool read_only) { argument
100 image_new( ImageType t, const char *pretty, const char *path, const char *filename, bool read_only, usec_t crtime, usec_t mtime, Image **ret) argument
[all...]
/systemd/src/machine/
H A Dimage-dbus.c113 int r, read_only; local
118 r = sd_bus_message_read(message, "sb", &new_name, &read_only);
139 r = image_clone(image, new_name, read_only);
153 int r, read_only; local
157 r = sd_bus_message_read(message, "b", &read_only);
175 r = image_read_only(image, read_only);
226 SD_BUS_PROPERTY("ReadOnly", "b", bus_property_get_bool, offsetof(Image, read_only), 0),
H A Dmachinectl.c215 bool read_only; member in struct:ImageInfo
237 int read_only, r; local
261 while ((r = sd_bus_message_read(reply, "(ssbttto)", &name, &type, &read_only, &crtime, &mtime, &size, &object)) > 0) {
273 images[n_images].read_only = read_only;
330 images[j].read_only ? ansi_highlight_red() : "", yes_no(images[j].read_only), images[j].read_only ? ansi_normal() : "",
755 int read_only; member in struct:ImageStatusInfo
794 i->read_only
[all...]
H A Dmachine-dbus.c872 int read_only, make_directory; local
883 r = sd_bus_message_read(message, "ssbb", &src, &dest, &read_only, &make_directory);
961 if (read_only)
H A Dmachined-dbus.c592 image->read_only,
/systemd/src/core/
H A Ddevice.c772 static int read_only = -1; local
777 if (read_only < 0)
778 read_only = path_is_read_only_fs("/sys");
780 return read_only <= 0;
/systemd/src/basic/
H A Dbtrfs-util.h37 bool read_only; member in struct:BtrfsSubvolInfo
H A Dbtrfs-util.c536 ret->read_only = !!(le64toh(ri->flags) & BTRFS_ROOT_SUBVOL_RDONLY);
/systemd/src/test/
H A Dtest-btrfs.c46 log_info("read-only (search): %s", yes_no(info.read_only));

Completed in 5173 milliseconds