Lines Matching refs:mtpair
2285 struct mntent mtpair[2], *mtcur = mtpair; in mount_main() local
2325 while (getmntent_r(mountTable, &mtpair[0], getmntent_buf, in mount_main()
2332 if (!fstype || strcmp(mtpair->mnt_type, fstype) == 0) in mount_main()
2333 printf("%s on %s type %s (%s)\n", mtpair->mnt_fsname, in mount_main()
2334 mtpair->mnt_dir, mtpair->mnt_type, in mount_main()
2335 mtpair->mnt_opts); in mount_main()
2349 mtpair->mnt_fsname = argv[0]; in mount_main()
2350 mtpair->mnt_dir = argv[1]; in mount_main()
2351 mtpair->mnt_type = fstype; in mount_main()
2352 mtpair->mnt_opts = cmdopts; in mount_main()
2353 resolve_mount_spec(&mtpair->mnt_fsname); in mount_main()
2354 rc = singlemount(mtpair, /*ignore_busy:*/ 0); in mount_main()
2393 memset(mtpair, 0, sizeof(mtpair)); in mount_main()
2395 struct mntent *mtother = (mtcur==mtpair ? mtpair+1 : mtpair); in mount_main()
2399 + (mtcur==mtpair ? GETMNTENT_BUFSIZE/2 : 0), in mount_main()
2526 resolve_mount_spec(&mtpair->mnt_fsname); in mount_main()