Lines Matching refs:mntp
620 struct mnt *mntp; in set_mntpt() local
645 if ((mntp = malloc(sizeof (*mntp))) == NULL) { in set_mntpt()
649 mntp->m_mntpt = strdup(mnttab.mnt_mountp); in set_mntpt()
650 mntp->m_next = mnt_list; in set_mntpt()
651 mnt_list = mntp; in set_mntpt()
665 for (mntp = mnt_list; mntp; mntp = mntp->m_next) { in set_mntpt()
666 if (strncmp(path, mntp->m_mntpt, strlen(mntp->m_mntpt)) == 0) { in set_mntpt()
667 if (mntp->m_fsid == 0) { in set_mntpt()
668 if (statvfs64(mntp->m_mntpt, &statvfsbuf)) { in set_mntpt()
672 mntp->m_fsid = statvfsbuf.f_fsid; in set_mntpt()
676 if (ep->e_fsid != mntp->m_fsid) { in set_mntpt()
685 if (mntp == NULL) { in set_mntpt()
691 ep->e_name = strdup(mntp->m_mntpt); in set_mntpt()