Lines Matching refs:mtcur
1536 struct mntent mtpair[2], *mtcur = mtpair;
1637 struct mntent *mtnext = (mtcur==mtpair ? mtpair+1 : mtpair);
1641 if (!getmntent_r(fstab, mtcur, bb_common_bufsiz1
1642 + (mtcur==mtpair ? sizeof(bb_common_bufsiz1)/2 : 0),
1655 mtcur = mtnext;
1658 if (!(parse_mount_options(mtcur->mnt_opts, 0) & MOUNT_USERS))
1664 mtcur->mnt_opts = xstrdup(mtcur->mnt_opts);
1665 append_mount_options(&(mtcur->mnt_opts), cmdopts);
1666 rc = singlemount(mtcur, 0);
1667 free(mtcur->mnt_opts);
1680 if (strcmp(argv[0], mtcur->mnt_fsname) &&
1681 strcmp(storage_path, mtcur->mnt_fsname) &&
1682 strcmp(argv[0], mtcur->mnt_dir) &&
1683 strcmp(storage_path, mtcur->mnt_dir)) continue;
1688 mtcur = mtnext;
1694 if (fstype && match_fstype(mtcur, fstype)) continue;
1698 if (parse_mount_options(mtcur->mnt_opts, 0)
1710 mtcur->mnt_opts = xstrdup(mtcur->mnt_opts);
1711 if (singlemount(mtcur, 1)) {
1715 free(mtcur->mnt_opts);