Searched refs:mount_table (Results 1 – 2 of 2) sorted by relevance
/systemd-251/src/nspawn/ |
D | nspawn-mount.c | 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() [all …]
|
/systemd-251/src/shared/ |
D | mount-setup.c | 64 static const MountPoint mount_table[] = { variable 121 for (i = 0; i < ELEMENTSOF(mount_table); i ++) in mount_point_is_api() 122 if (path_equal(path, mount_table[i].where)) in mount_point_is_api() 223 j = mount_one(mount_table + i, loaded_policy); in mount_points_setup() 232 assert_cc(N_EARLY_MOUNT <= ELEMENTSOF(mount_table)); in mount_setup_early() 504 r = mount_points_setup(ELEMENTSOF(mount_table), loaded_policy); in mount_setup()
|