Lines Matching defs:mtpt
45 int *mount_flags, char *mtpt, int mtlen)
97 if (mtpt)
98 strncpy(mtpt, "/", mtlen);
139 if (mtpt)
140 strncpy(mtpt, mnt->mnt_dir, mtlen);
166 char *mtpt, int mtlen)
172 mtpt, mtlen);
178 mtpt, mtlen);
185 retval = check_mntent_file(MOUNTED, file, mount_flags, mtpt, mtlen);
197 char *mtpt, int mtlen)
226 if (mtpt)
227 strncpy(mtpt, mp->f_mntonname, mtlen);
282 * otherwise. If mtpt is non-NULL, the directory where the device is
283 * mounted is copied to where mtpt is pointing, up to mtlen
290 char *mtpt, int mtlen)
294 strncpy(mtpt, "<swap>", mtlen);
298 return check_mntent(device, mount_flags, mtpt, mtlen);
301 return check_getmntinfo(device, mount_flags, mtpt, mtlen);