Lines Matching refs:where
196 const char *where, in write_timeout() argument
213 log_warning("Failed to parse timeout for %s, ignoring: %s", where, timeout); in write_timeout()
222 static int write_idle_timeout(FILE *f, const char *where, const char *opts) { in write_idle_timeout() argument
223 return write_timeout(f, where, opts, in write_idle_timeout()
227 static int write_mount_timeout(FILE *f, const char *where, const char *opts) { in write_mount_timeout() argument
228 return write_timeout(f, where, opts, in write_mount_timeout()
344 const char *where, in add_mount() argument
363 assert(where); in add_mount()
371 if (!is_path(where)) { in add_mount()
372 log_warning("Mount point %s is not a valid path, ignoring.", where); in add_mount()
376 if (mount_point_is_api(where) || in add_mount()
377 mount_point_ignore(where)) in add_mount()
388 if (path_equal(where, "/")) { in add_mount()
405 r = unit_name_from_path(where, ".mount", &name); in add_mount()
443 r = generator_write_fsck_deps(f, dest, what, where, fstype); in add_mount()
463 where_escaped = specifier_escape(where); in add_mount()
478 r = generator_write_timeouts(dest, what, where, opts, &filtered); in add_mount()
482 r = generator_write_device_deps(dest, what, where, opts); in add_mount()
486 r = write_mount_timeout(f, where, opts); in add_mount()
502 r = generator_hook_up_mkfs(dest, what, where, fstype); in add_mount()
508 r = generator_hook_up_growfs(dest, where, post); in add_mount()
533 r = unit_name_from_path(where, ".automount", &automount_name); in add_mount()
555 r = write_idle_timeout(f, where, opts); in add_mount()
590 _cleanup_free_ char *where = NULL, *what = NULL, *canonical_where = NULL; in parse_fstab() local
614 where = strdup(me->mnt_dir); in parse_fstab()
615 if (!where) in parse_fstab()
618 if (is_path(where)) { in parse_fstab()
619 path_simplify(where); in parse_fstab()
626 k = chase_symlinks(where, initrd ? "/sysroot" : NULL, in parse_fstab()
630 … log_debug_errno(k, "Failed to read symlink target for %s, ignoring: %m", where); in parse_fstab()
631 … else if (streq(canonical_where, where)) /* If it was fully canonicalized, suppress the change */ in parse_fstab()
634 … log_debug("Canonicalized what=%s where=%s to %s", what, where, canonical_where); in parse_fstab()
643 what, where, me->mnt_type, in parse_fstab()
675 canonical_where ?: where, in parse_fstab()
676 canonical_where ? where: NULL, in parse_fstab()