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);
186 retval = check_mntent_file(MOUNTED, file, mount_flags, mtpt, mtlen);
198 char *mtpt, int mtlen)
227 if (mtpt)
228 strncpy(mtpt, mp->f_mntonname, mtlen);
283 * otherwise. If mtpt is non-NULL, the directory where the device is
284 * mounted is copied to where mtpt is pointing, up to mtlen
291 char *mtpt, int mtlen)
295 strncpy(mtpt, "<swap>", mtlen);
299 return check_mntent(device, mount_flags, mtpt, mtlen);
302 return check_getmntinfo(device, mount_flags, mtpt, mtlen);