Lines Matching refs:mntpoint
61 static const char *mntpoint = "mntpoint";
77 const char **mntpoint;
84 {&device, &mntpoint, &wrong_fs_type, 0, ENODEV, NULL, NULL},
85 {&char_dev, &mntpoint, &fs_type, 0, ENOTBLK, NULL, NULL},
86 {&device, &mntpoint, &fs_type, 0, EBUSY, do_mount, do_umount},
87 {&device, &mntpoint, &fs_type, MS_REMOUNT | MS_RDONLY, EBUSY,
89 {&null, &mntpoint, &fs_type, 0, EINVAL, NULL, NULL},
90 {&device, &mntpoint, &null, 0, EINVAL, NULL, NULL},
91 {&device, &mntpoint, &fs_type, MS_REMOUNT, EINVAL, NULL, NULL},
92 {&fault, &mntpoint, &fs_type, 0, EFAULT, NULL, NULL},
93 {&device, &mntpoint, &fault, 0, EFAULT, NULL, NULL},
106 TEST(mount(*tc->device, *tc->mntpoint, *tc->fs_type, tc->flag, NULL));
149 if (mount(device, mntpoint, fs_type, 0, NULL))
150 tst_brkm(TBROK | TERRNO, cleanup, "Failed to mount(mntpoint)");
157 fd = SAFE_OPEN(cleanup, "mntpoint/file", O_CREAT | O_RDWR, S_IRWXU);
168 if (tst_umount(mntpoint))
169 tst_brkm(TBROK | TERRNO, cleanup, "Failed to umount(mntpoint)");
192 SAFE_MKDIR(cleanup, mntpoint, DIR_MODE);