Lines Matching refs:where

98                 if (a->where) {  in unmount_autofs()
99 r = repeat_unmount(a->where, MNT_DETACH|UMOUNT_NOFOLLOW); in unmount_autofs()
113 a->where = mfree(a->where); in automount_done()
140 parent = dirname_malloc(a->where); in automount_add_mount_dependencies()
189 if (path_equal(a->where, "/")) in automount_verify()
192 r = unit_name_from_path(a->where, ".automount", &e); in automount_verify()
215 if (a->where) in automount_set_where()
218 r = unit_name_to_path(UNIT(a)->id, &a->where); in automount_set_where()
222 path_simplify(a->where); in automount_set_where()
341 prefix, a->where, in automount_dump()
382 static int open_ioctl_fd(int dev_autofs_fd, const char *where, dev_t devid) { in open_ioctl_fd() argument
387 assert(where); in open_ioctl_fd()
389 l = sizeof(struct autofs_dev_ioctl) + strlen(where) + 1; in open_ioctl_fd()
396 strcpy(param->path, where); in open_ioctl_fd()
482 ioctl_fd = open_ioctl_fd(UNIT(a)->manager->dev_autofs_fd, a->where, a->dev_id); in automount_send_ready()
584 assert(a->where); in automount_enter_waiting()
588 r = unit_fail_if_noncanonical(UNIT(a), a->where); in automount_enter_waiting()
592 (void) mkdir_p_label(a->where, a->directory_mode); in automount_enter_waiting()
594 unit_warn_if_dir_nonempty(UNIT(a), a->where); in automount_enter_waiting()
622 r = mount_nofollow(name, a->where, "autofs", 0, options); in automount_enter_waiting()
630 if (stat(a->where, &st) < 0) { in automount_enter_waiting()
635 ioctl_fd = open_ioctl_fd(dev_autofs_fd, a->where, st.st_dev); in automount_enter_waiting()
668 r = repeat_unmount(a->where, MNT_DETACH|UMOUNT_NOFOLLOW); in automount_enter_waiting()
715 data->ioctl_fd = open_ioctl_fd(UNIT(a)->manager->dev_autofs_fd, a->where, a->dev_id); in automount_dispatch_expire()
792 (void) mkdir_p_label(a->where, a->directory_mode); in automount_enter_running()
795 if (lstat(a->where, &st) < 0) { in automount_enter_running()
834 if (path_is_mount_point(a->where, NULL, 0) > 0) in automount_start()
835 …r_errno(u, SYNTHETIC_ERRNO(EEXIST), "Path %s is already a mount point, refusing start.", a->where); in automount_start()
1011 …(UNIT(a), "Got automount request for %s, triggered by %"PRIu32" (%s)", a->where, packet.v5_packet.… in automount_dispatch_io()
1013 log_unit_debug(UNIT(a), "Got direct mount request on %s", a->where); in automount_dispatch_io()
1025 log_unit_debug(UNIT(a), "Got direct umount request on %s", a->where); in automount_dispatch_io()