Lines Matching refs:where
248 m->where = mfree(m->where); in mount_done()
298 if (!path_equal(m->where, "/")) { in mount_add_mount_dependencies()
303 parent = dirname_malloc(m->where); in mount_add_mount_dependencies()
325 s = manager_get_units_requiring_mounts_for(UNIT(m)->manager, m->where); in mount_add_mount_dependencies()
375 if (path_equal(m->where, "/")) in mount_add_device_dependencies()
445 if (p && fstab_is_extrinsic(m->where, p->options)) in mount_is_extrinsic()
461 e = path_startswith(m->where, "/sysroot"); in mount_add_default_ordering_dependencies()
563 r = unit_name_from_path(m->where, ".mount", &e); in mount_verify()
570 if (mount_point_is_api(m->where) || mount_point_ignore(m->where)) in mount_verify()
571 … SYNTHETIC_ERRNO(ENOEXEC), "Cannot create mount unit for API file system %s. Refusing.", m->where); in mount_verify()
623 if (!m->where) { in mount_add_extras()
624 r = unit_name_to_path(u->id, &m->where); in mount_add_extras()
632 path_simplify(m->where); in mount_add_extras()
635 r = unit_set_description(u, m->where); in mount_add_extras()
797 prefix, m->where, in mount_dump()
986 r = exec_command_set(m->control_command, UMOUNT_PATH, m->where, "-c", NULL); in mount_enter_unmounting()
1015 r = unit_fail_if_noncanonical(UNIT(m), m->where); in mount_enter_mounting()
1019 (void) mkdir_p_label(m->where, m->directory_mode); in mount_enter_mounting()
1021 unit_warn_if_dir_nonempty(UNIT(m), m->where); in mount_enter_mounting()
1046 r = exec_command_set(m->control_command, MOUNT_PATH, p->what, m->where, NULL); in mount_enter_mounting()
1107 p->what, m->where, in mount_enter_remounting()
1547 const char *where, in mount_setup_new_unit() argument
1569 r = free_and_strdup(&MOUNT(u)->where, where); in mount_setup_new_unit()
1598 const char *where, in mount_setup_existing_unit() argument
1608 if (!MOUNT(u)->where) { in mount_setup_existing_unit()
1609 MOUNT(u)->where = strdup(where); in mount_setup_existing_unit()
1610 if (!MOUNT(u)->where) in mount_setup_existing_unit()
1666 const char *where, in mount_setup_unit() argument
1678 assert(where); in mount_setup_unit()
1684 if (mount_point_is_api(where) || mount_point_ignore(where)) in mount_setup_unit()
1691 if (!is_path(where)) in mount_setup_unit()
1702 r = unit_name_from_path(where, ".mount", &e); in mount_setup_unit()
1716 "MOUNT_POINT=%s", where, in mount_setup_unit()
1717 …LOG_MESSAGE("Mount point path '%s' too long to fit into unit name, ignoring mount point.", where)); in mount_setup_unit()
1722 "MOUNT_POINT=%s", where, in mount_setup_unit()
1723 …"Failed to generate valid unit name from mount point path '%s', ignoring mount point: %m", where)); in mount_setup_unit()
1728 r = mount_setup_existing_unit(u, what, where, options, fstype, &flags); in mount_setup_unit()
1732 r = mount_setup_new_unit(m, e, what, where, options, fstype, &flags, &u); in mount_setup_unit()
1734 return log_warning_errno(r, "Failed to set up mount unit for '%s': %m", where); in mount_setup_unit()