HomeSort by relevance Sort by last modified time
    Searched defs:mntpoint (Results 1 - 13 of 13) sorted by null

  /external/ltp/testcases/kernel/syscalls/quotactl/
quotactl03.c 58 static const char mntpoint[] = "mnt_point"; variable
94 .mntpoint = mntpoint,
quotactl02.c 59 static const char mntpoint[] = "mnt_point"; variable
181 .mntpoint = mntpoint,
  /external/ltp/testcases/kernel/syscalls/mount/
mount04.c 37 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);
mount02.c 61 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, &fs_type, MS_REMOUNT, EINVAL, NULL, NULL}
    [all...]
mount03.c 63 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/
umount02.c 36 #define MNTPOINT "mntpoint"
44 const char *mntpoint; member in struct:tcase
47 {"Already mounted/busy", MNTPOINT, EBUSY},
58 TEST(umount(tc->mntpoint));
79 SAFE_MKDIR(MNTPOINT, 0775);
80 SAFE_MOUNT(tst_device->dev, MNTPOINT, tst_device->fs_type, 0, NULL);
83 fd = SAFE_CREAT(MNTPOINT "/file", 0777);
92 tst_umount(MNTPOINT);
  /external/fio/
cgroup.c 24 char *mntpoint = NULL; local
42 mntpoint = smalloc_strdup(mnt->mnt_dir);
47 return mntpoint;
  /external/ltp/testcases/kernel/syscalls/inotify/
inotify03.c 75 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/
umount2_03.c 34 #define MNTPOINT "mntpoint"
49 const char *mntpoint; member in struct:test_case_t
55 {MNTPOINT, 0,
56 "umount2('mntpoint', UMOUNT_NOFOLLOW) expected success"},
103 SAFE_MKDIR(cleanup, MNTPOINT, DIR_MODE);
105 SAFE_SYMLINK(cleanup, MNTPOINT, SYMLINK);
112 SAFE_MOUNT(cleanup, device, MNTPOINT, fs_type, 0, NULL);
115 TEST(umount2_retry(test_cases[i].mntpoint, UMOUNT_NOFOLLOW));
123 if (tst_umount(MNTPOINT))
    [all...]
  /external/selinux/libselinux/src/
load_policy.c 371 const char *mntpoint = NULL; local
375 mntpoint = SELINUXMNT;
379 mntpoint = OLDSELINUXMNT;
385 mntpoint = OLDSELINUXMNT;
389 if (! mntpoint ) {
408 set_selinuxmnt(mntpoint);
  /external/ltp/include/
tst_test.h 147 const char *mntpoint; member in struct:tst_test
  /external/ltp/testcases/kernel/fs/ftest/
ftest02.c 90 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);
ftest06.c 95 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 941 milliseconds