/external/ltp/testcases/kernel/syscalls/mount/ |
D | mount02.c | 60 static const char *mntpoint = "mntpoint"; variable 76 const char **mntpoint; member 83 {&device, &mntpoint, &wrong_fs_type, 0, ENODEV, NULL, NULL}, 84 {&char_dev, &mntpoint, &fs_type, 0, ENOTBLK, NULL, NULL}, 85 {&device, &mntpoint, &fs_type, 0, EBUSY, do_mount, do_umount}, 86 {&device, &mntpoint, &fs_type, MS_REMOUNT | MS_RDONLY, EBUSY, 88 {&null, &mntpoint, &fs_type, 0, EINVAL, NULL, NULL}, 89 {&device, &mntpoint, &null, 0, EINVAL, NULL, NULL}, 90 {&device, &mntpoint, &fs_type, MS_REMOUNT, EINVAL, NULL, NULL}, 91 {&fault, &mntpoint, &fs_type, 0, EFAULT, NULL, NULL}, [all …]
|
D | mount04.c | 37 static char *mntpoint = "mntpoint"; variable 46 TEST(mount(device, mntpoint, fs_type, 0, NULL)); in verify_mount() 59 if (tst_umount(mntpoint)) in verify_mount() 105 SAFE_MKDIR(cleanup, mntpoint, DIR_MODE); in setup()
|
D | mount03.c | 63 static const char mntpoint[] = "mntpoint"; variable 97 TEST(mount(device, mntpoint, fs_type, rwflags[i], in main() 113 TEST(tst_umount(mntpoint)); in main() 116 "umount(2) failed for %s", mntpoint); in main() 245 TEST(mount(device, mntpoint, fs_type, MS_REMOUNT, NULL)); in test_rwflag() 365 SAFE_MKDIR(cleanup, mntpoint, DIR_MODE); in setup() 375 snprintf(path_name, PATH_MAX, "%s/%s/", path, mntpoint); in setup()
|
D | mount06.c | 46 static int ismount(char *mntpoint); 98 int ismount(char *mntpoint) in ismount() argument 109 if (strstr(line, mntpoint) != NULL) { in ismount()
|
/external/ltp/testcases/commands/df/ |
D | df01.sh | 55 ROD_SILENT mkdir -p mntpoint 57 mount ${TST_DEVICE} mntpoint 90 ROD_SILENT dd if=/dev/zero of=mntpoint/testimg bs=1024 count=1024 101 ROD_SILENT rm -rf mntpoint/testimg 126 local total=$(stat -f mntpoint --printf=%c) 127 local free=$(stat -f mntpoint --printf=%d) 130 local total=$(stat -f mntpoint --printf=%b) 131 local free=$(stat -f mntpoint --printf=%f) 133 local bsize=$(stat -f mntpoint --printf=%s) 220 grep ${TST_DEVICE} output | grep -q mntpoint
|
/external/ltp/testcases/kernel/syscalls/inotify/ |
D | inotify03.c | 74 static char *mntpoint = "mntpoint"; variable 105 TEST(tst_umount(mntpoint)); in main() 185 if (mkdir(mntpoint, DIR_MODE) < 0) { in setup() 187 mntpoint, DIR_MODE); in setup() 191 tst_resm(TINFO, "mount %s to %s fs_type=%s", device, mntpoint, fs_type); in setup() 192 TEST(mount(device, mntpoint, fs_type, 0, NULL)); in setup() 200 sprintf(fname, "%s/tfile_%d", mntpoint, getpid()); in setup() 241 TEST(tst_umount(mntpoint)); in cleanup() 244 mntpoint); in cleanup()
|
/external/ltp/testcases/kernel/syscalls/quotactl/ |
D | quotactl03.c | 58 static const char mntpoint[] = "mnt_point"; variable 95 .mntpoint = mntpoint,
|
D | quotactl02.c | 59 static const char mntpoint[] = "mnt_point"; variable 182 .mntpoint = mntpoint,
|
D | quotactl01.c | 217 .mntpoint = MNTPOINT,
|
/external/ltp/testcases/network/nfsv4/locks/ |
D | locktests.py | 57 mntpoint=NFS4_PATH 58 self.command="'mkdir -p "+mntpoint+"; mount -t nfs4 "+export+" "+mntpoint+"'" 62 mntpoint=self.mountPath+"/"+dir 63 self.command="umount "+mntpoint
|
/external/ltp/testcases/kernel/fs/ftest/ |
D | ftest06.c | 95 static char startdir[MAXPATHLEN], mntpoint[MAXPATHLEN]; variable 463 partition, mntpoint); in cleanup() 467 partition, mntpoint); in cleanup() 477 partition, mntpoint); in cleanup() 480 if (rmdir(mntpoint) != 0) { in cleanup() 481 tst_resm(TINFO, "Unable to rmdir %s ", mntpoint); in cleanup()
|
D | ftest02.c | 90 static char startdir[MAXPATHLEN], mntpoint[MAXPATHLEN]; variable 450 partition, mntpoint); in cleanup() 455 partition, mntpoint); in cleanup() 464 partition, mntpoint); in cleanup() 466 if (rmdir(mntpoint) != 0) in cleanup() 467 tst_resm(TBROK, "Unable to rmdir %s ", mntpoint); in cleanup()
|
/external/ltp/testcases/commands/mkfs/ |
D | mkfs01.sh | 55 ROD_SILENT mkdir -p mntpoint 60 mount ${TST_DEVICE} mntpoint 87 local blocknum=`df -P -B 1k mntpoint | tail -n1 | awk '{print $2}'`
|
/external/selinux/libselinux/src/ |
D | load_policy.c | 371 const char *mntpoint = NULL; in hidden_def() local 375 mntpoint = SELINUXMNT; in hidden_def() 379 mntpoint = OLDSELINUXMNT; in hidden_def() 385 mntpoint = OLDSELINUXMNT; in hidden_def() 389 if (! mntpoint ) { in hidden_def() 408 set_selinuxmnt(mntpoint); in hidden_def()
|
/external/ltp/testcases/kernel/syscalls/umount/ |
D | umount02.c | 44 const char *mntpoint; member 58 TEST(umount(tc->mntpoint)); in verify_umount()
|
/external/fio/ |
D | cgroup.c | 24 char *mntpoint = NULL; in find_cgroup_mnt() local 42 mntpoint = smalloc_strdup(mnt->mnt_dir); in find_cgroup_mnt() 47 return mntpoint; in find_cgroup_mnt()
|
/external/ltp/testcases/kernel/syscalls/umount2/ |
D | umount2_03.c | 49 const char *mntpoint; member 115 TEST(umount2_retry(test_cases[i].mntpoint, UMOUNT_NOFOLLOW)); in test_umount2()
|
/external/ltp/lib/ |
D | tst_test.c | 684 if (!tst_test->mntpoint) { in do_setup() 689 SAFE_MKDIR(tst_test->mntpoint, 0777); in do_setup() 690 SAFE_MOUNT(tdev.dev, tst_test->mntpoint, tdev.fs_type, in do_setup() 714 tst_umount(tst_test->mntpoint); in do_cleanup()
|
/external/ltp/testcases/kernel/syscalls/getxattr/ |
D | getxattr04.c | 126 .mntpoint = MNTPOINT,
|
/external/ltp/testcases/kernel/syscalls/access/ |
D | access04.c | 130 .mntpoint = MNT_POINT,
|
/external/ltp/testcases/kernel/syscalls/creat/ |
D | creat06.c | 171 .mntpoint = "mntpoint",
|
/external/ltp/include/ |
D | tst_test.h | 134 const char *mntpoint; member
|
/external/ltp/doc/ |
D | test-writing-guidelines.txt | 355 #define MNTPOINT "mntpoint" 356 #define FILE1 "mntpoint/file1" 357 #define FILE2 "mntpoint/file2" 922 If '.mount_device' is set, the device is mounted at '.mntpoint' which is used
|