Lines Matching refs:lmt
68 struct lofs_mnttab *lmt; in rebuild_lofs_cache() local
75 for (lmt = lofs_mnttab; lmt != NULL; lmt = next) { in rebuild_lofs_cache()
76 next = lmt->l_next; in rebuild_lofs_cache()
77 free(lmt->l_special); in rebuild_lofs_cache()
78 free(lmt->l_mountp); in rebuild_lofs_cache()
79 free(lmt); in rebuild_lofs_cache()
100 if ((lmt = malloc(sizeof (struct lofs_mnttab))) == NULL) in rebuild_lofs_cache()
102 lmt->l_special = strdup(mt.mnt_special); in rebuild_lofs_cache()
103 lmt->l_mountp = strdup(mt.mnt_mountp); in rebuild_lofs_cache()
104 lmt->l_next = lofs_mnttab; in rebuild_lofs_cache()
105 lofs_mnttab = lmt; in rebuild_lofs_cache()
114 struct lofs_mnttab *lmt; in lookup_lofs_mount_point() local
118 for (lmt = lofs_mnttab; lmt != NULL; lmt = lmt->l_next) { in lookup_lofs_mount_point()
119 if (strcmp(lmt->l_mountp, mountp) == 0) in lookup_lofs_mount_point()
120 return (lmt->l_special); in lookup_lofs_mount_point()