Lines Matching refs:mount_table

500         static const MountPoint mount_table[] = {  in mount_all()  local
575 for (size_t k = 0; k < ELEMENTSOF(mount_table); k++) { in mount_all()
577 bool fatal = FLAGS_SET(mount_table[k].mount_settings, MOUNT_FATAL); in mount_all()
580 if (in_userns != FLAGS_SET(mount_table[k].mount_settings, MOUNT_IN_USERNS)) in mount_all()
583 if (!netns && FLAGS_SET(mount_table[k].mount_settings, MOUNT_APPLY_APIVFS_NETNS)) in mount_all()
586 if (!ro && FLAGS_SET(mount_table[k].mount_settings, MOUNT_APPLY_APIVFS_RO)) in mount_all()
589 if (!tmpfs_tmp && FLAGS_SET(mount_table[k].mount_settings, MOUNT_APPLY_TMPFS_TMP)) in mount_all()
592 … r = chase_symlinks(mount_table[k].where, dest, CHASE_NONEXISTENT|CHASE_PREFIX_ROOT, &where, NULL); in mount_all()
594 … return log_error_errno(r, "Failed to resolve %s/%s: %m", dest, mount_table[k].where); in mount_all()
597 if (mount_table[k].what) { in mount_all()
605 if ((mount_table[k].mount_settings & (MOUNT_MKDIR|MOUNT_TOUCH)) != 0) { in mount_all()
608 if (FLAGS_SET(mount_table[k].mount_settings, MOUNT_TOUCH)) in mount_all()
625 if (FLAGS_SET(mount_table[k].mount_settings, MOUNT_TOUCH)) { in mount_all()
637 o = mount_table[k].options; in mount_all()
638 if (streq_ptr(mount_table[k].type, "tmpfs")) { in mount_all()
646 if (FLAGS_SET(mount_table[k].mount_settings, MOUNT_PREFIX_ROOT)) { in mount_all()
651 … r = chase_symlinks(mount_table[k].what, dest, CHASE_PREFIX_ROOT, &prefixed, NULL); in mount_all()
653 … return log_error_errno(r, "Failed to resolve %s/%s: %m", dest, mount_table[k].what); in mount_all()
658 prefixed ?: mount_table[k].what, in mount_all()
660 mount_table[k].type, in mount_all()
661 mount_table[k].flags, in mount_all()
663 FLAGS_SET(mount_table[k].mount_settings, MOUNT_FOLLOW_SYMLINKS)); in mount_all()