Lines Matching refs:am_path
145 plog(XLOG_DEBUG, "autofs_get_fh for %s", mp->am_path); in autofs_get_fh()
203 fh->ioctlfd = open(mp->am_path, O_RDONLY); in autofs_get_mp()
353 ap_path = str3cat(NULL, mp->am_path, "/", name); in autofs_expire_one()
407 mp->am_path, name); in autofs_missing_one()
419 plog(XLOG_DEBUG, "\tlookup(%s, %s)", mp->am_path, name); in autofs_missing_one()
625 if ((err = mkdir(mp->am_path, 0555))) in autofs_mount_fs()
638 rmdir(mp->am_path); in autofs_mount_fs()
666 target2 = str3cat(NULL, mp->am_parent->am_path, "/", target); in autofs_mount_fs()
702 plog(XLOG_INFO, "autofs: bind-mounting %s -> %s", mp->am_path, target2); in autofs_mount_fs()
703 mkdir(mp->am_path, 0555); in autofs_mount_fs()
704 err = mount_lofs(mp->am_path, target2, mf->mf_mopts, 1); in autofs_mount_fs()
706 rmdir(mp->am_path); in autofs_mount_fs()
707 plog(XLOG_INFO, "autofs: bind-mounting %s -> %s failed", mp->am_path, target2); in autofs_mount_fs()
714 plog(XLOG_INFO, "autofs: symlinking %s -> %s", mp->am_path, target); in autofs_mount_fs()
715 err = symlink(target, mp->am_path); in autofs_mount_fs()
732 err = autofs_bind_umount(mp->am_path); in autofs_umount_fs()
746 rmdir(mp->am_path); in autofs_umount_fs()
771 plog(XLOG_INFO, "autofs: unmounting %s succeeded", mp->am_path); in autofs_umount_succeeded()
796 plog(XLOG_INFO, "autofs: unmounting %s failed", mp->am_path); in autofs_umount_failed()
830 plog(XLOG_INFO, "autofs: mounting %s succeeded", mp->am_path); in autofs_mount_succeeded()
854 plog(XLOG_INFO, "autofs: mounting %s failed", mp->am_path); in autofs_mount_failed()