Searched defs:mntpoint (Results 1 - 14 of 14) sorted by relevance

/external/ltp/testcases/kernel/syscalls/quotactl/
H A Dquotactl03.c58 static const char mntpoint[] = "mnt_point"; variable
94 .mntpoint = mntpoint,
H A Dquotactl02.c59 static const char mntpoint[] = "mnt_point"; variable
181 .mntpoint = mntpoint,
/external/ltp/testcases/kernel/syscalls/mount/
H A Dmount04.c37 static char *mntpoint = "mntpoint"; variable
46 TEST(mount(device, mntpoint, fs_type, 0, NULL));
59 if (tst_umount(mntpoint))
105 SAFE_MKDIR(cleanup, mntpoint, DIR_MODE);
H A Dmount06.c46 static int ismount(char *mntpoint);
96 int ismount(char *mntpoint) argument
107 if (strstr(line, mntpoint) != NULL) {
H A Dmount02.c61 static const char *mntpoint = "mntpoint"; variable
77 const char **mntpoint; member in struct:test_case
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,
[all...]
H A Dmount03.c63 static const char mntpoint[] = "mntpoint"; variable
97 TEST(mount(device, mntpoint, fs_type, rwflags[i],
113 TEST(tst_umount(mntpoint));
116 "umount(2) failed for %s", mntpoint);
245 TEST(mount(device, mntpoint, fs_type, MS_REMOUNT, NULL));
356 SAFE_MKDIR(cleanup, mntpoint, DIR_MODE);
366 snprintf(path_name, PATH_MAX, "%s/%s/", path, mntpoint);
368 SAFE_MOUNT(cleanup, device, mntpoint, fs_type, 0, NULL);
378 SAFE_UMOUNT(cleanup, mntpoint);
[all...]
/external/ltp/testcases/kernel/syscalls/umount/
H A Dumount02.c36 #define MNTPOINT "mntpoint"
44 const char *mntpoint; member in struct:tcase
58 TEST(umount(tc->mntpoint));
/external/ltp/testcases/kernel/syscalls/inotify/
H A Dinotify03.c75 static char *mntpoint = "mntpoint"; variable
106 TEST(tst_umount(mntpoint));
186 SAFE_MKDIR(cleanup, mntpoint, DIR_MODE);
189 tst_resm(TINFO, "mount %s to %s fs_type=%s", device, mntpoint, fs_type);
190 TEST(mount(device, mntpoint, fs_type, 0, NULL));
198 sprintf(fname, "%s/tfile_%d", mntpoint, getpid());
234 TEST(tst_umount(mntpoint));
237 mntpoint);
/external/ltp/testcases/kernel/syscalls/umount2/
H A Dumount2_03.c34 #define MNTPOINT "mntpoint"
49 const char *mntpoint; member in struct:test_case_t
56 "umount2('mntpoint', UMOUNT_NOFOLLOW) expected success"},
115 TEST(umount2_retry(test_cases[i].mntpoint, UMOUNT_NOFOLLOW));
/external/fio/
H A Dcgroup.c24 char *mntpoint = NULL; local
42 mntpoint = smalloc_strdup(mnt->mnt_dir);
47 return mntpoint;
/external/selinux/libselinux/src/
H A Dload_policy.c371 const char *mntpoint = NULL; local
375 mntpoint = SELINUXMNT;
379 mntpoint = OLDSELINUXMNT;
385 mntpoint = OLDSELINUXMNT;
389 if (! mntpoint ) {
408 set_selinuxmnt(mntpoint);
/external/ltp/include/
H A Dtst_test.h147 const char *mntpoint; member in struct:tst_test
/external/ltp/testcases/kernel/fs/ftest/
H A Dftest02.c90 static char startdir[MAXPATHLEN], mntpoint[MAXPATHLEN]; variable
450 partition, mntpoint);
455 partition, mntpoint);
464 partition, mntpoint);
466 if (rmdir(mntpoint) != 0)
467 tst_resm(TBROK, "Unable to rmdir %s ", mntpoint);
H A Dftest06.c95 static char startdir[MAXPATHLEN], mntpoint[MAXPATHLEN]; variable
463 partition, mntpoint);
467 partition, mntpoint);
477 partition, mntpoint);
480 if (rmdir(mntpoint) != 0) {
481 tst_resm(TINFO, "Unable to rmdir %s ", mntpoint);

Completed in 1590 milliseconds