Lines Matching refs:mnt
106 static struct mnttab mnt;
108 if (getmntent (handle, &mnt) == 0) {
110 *mount_point = g_strdup (mnt.mnt_mountp);
112 return mnt.mnt_special;
117 struct mntent *mnt;
119 mnt = getmntent (handle);
121 if (mnt != NULL) {
123 *mount_point = g_strdup (mnt->mnt_dir);
125 return mnt->mnt_fsname;
177 struct mntent *mnt;
179 mnt = getmntent (handle);
181 if (mount_point != NULL && mnt != NULL) {
182 *mount_point = mnt->mnt_dir;
185 return mnt ? mnt->mnt_fsname : NULL;