Lines Matching refs:mntp
681 struct mnt *mntp; in set_mntpt() local
706 if ((mntp = malloc(sizeof (*mntp))) == NULL) { in set_mntpt()
710 mntp->m_mntpt = strdup(mnttab.mnt_mountp); in set_mntpt()
711 mntp->m_next = mnt_list; in set_mntpt()
712 mnt_list = mntp; in set_mntpt()
726 for (mntp = mnt_list; mntp; mntp = mntp->m_next) { in set_mntpt()
727 if (strncmp(path, mntp->m_mntpt, strlen(mntp->m_mntpt)) == 0) { in set_mntpt()
728 if (mntp->m_fsid == 0) { in set_mntpt()
729 if (statvfs64(mntp->m_mntpt, &statvfsbuf)) { in set_mntpt()
733 mntp->m_fsid = statvfsbuf.f_fsid; in set_mntpt()
737 if (ep->e_fsid != mntp->m_fsid) { in set_mntpt()
746 if (mntp == NULL) { in set_mntpt()
752 ep->e_name = strdup(mntp->m_mntpt); in set_mntpt()