/external/ltp/testcases/kernel/syscalls/umount/ |
umount01.c | 27 #define MNTPOINT "mntpoint" 34 SAFE_MOUNT(tst_device->dev, MNTPOINT, 39 TEST(umount(MNTPOINT)); 58 SAFE_MKDIR(MNTPOINT, 0775); 64 tst_umount(MNTPOINT);
|
umount03.c | 30 #define MNTPOINT "mntpoint" 36 TEST(umount(MNTPOINT)); 55 SAFE_MKDIR(MNTPOINT, 0775); 56 SAFE_MOUNT(tst_device->dev, MNTPOINT, tst_device->fs_type, 0, NULL); 69 tst_umount(MNTPOINT);
|
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/ltp/testcases/kernel/syscalls/umount2/ |
umount2_01.c | 41 #define MNTPOINT "mntpoint" 83 SAFE_MKDIR(cleanup, MNTPOINT, DIR_MODE); 94 SAFE_MOUNT(cleanup, device, MNTPOINT, fs_type, 0, NULL); 97 fd = SAFE_CREAT(cleanup, MNTPOINT "/file", FILE_MODE); 99 TEST(umount2(MNTPOINT, MNT_DETACH)); 109 ret = access(MNTPOINT "/file", F_OK); 125 SAFE_MOUNT(cleanup, device, MNTPOINT, fs_type, 0, NULL); 128 fd = SAFE_OPEN(cleanup, MNTPOINT "/file", O_RDONLY); 147 if (tst_umount(MNTPOINT)) [all...] |
umount2_02.c | 39 #define MNTPOINT "mntpoint" 85 SAFE_MOUNT(cleanup, device, MNTPOINT, fs_type, 0, NULL); 92 if (tst_umount(MNTPOINT)) 123 SAFE_MKDIR(cleanup, MNTPOINT, DIR_MODE); 132 if (access(MNTPOINT, F_OK) == -1) 136 TEST(umount2_retry(MNTPOINT, test_cases[i].flag)); 175 if (mount_flag && tst_umount(MNTPOINT))
|
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/ltp/testcases/kernel/syscalls/syncfs/ |
syncfs01.c | 23 #define MNTPOINT "mnt_point" 24 #define FNAME MNTPOINT"/test" 64 .mntpoint = MNTPOINT,
|
/external/ltp/testcases/kernel/syscalls/statx/ |
statx05.c | 31 #define MNTPOINT "mnt_point" 32 #define TESTDIR_FLAGGED MNTPOINT"/test_dir1" 33 #define TESTDIR_UNFLAGGED MNTPOINT"/test_dir2" 95 SAFE_MOUNT(tst_device->dev, MNTPOINT, tst_device->fs_type, 0, 0); 113 tst_umount(MNTPOINT); 124 .mntpoint = MNTPOINT,
|
statx01.c | 48 #define MNTPOINT "mntpoint/" 49 #define DEVICEFILE MNTPOINT"blk_dev" 166 .mntpoint = MNTPOINT,
|
/external/ltp/testcases/kernel/controllers/memcg/regression/ |
memcg_test_3.c | 33 #define MNTPOINT "memcg" 78 SAFE_MKDIR(MNTPOINT, 0644); 80 ret = mount("memcg", MNTPOINT, "cgroup", 0, "memory"); 96 tst_umount(MNTPOINT);
|
/external/ltp/testcases/kernel/syscalls/fallocate/ |
fallocate05.c | 31 #define MNTPOINT "mntpoint" 42 fd = SAFE_OPEN(MNTPOINT "/test_file", O_WRONLY | O_CREAT); 55 tst_fill_fs(MNTPOINT, 1); 101 .mntpoint = MNTPOINT,
|
/external/ltp/testcases/kernel/syscalls/lremovexattr/ |
lremovexattr01.c | 46 #define MNTPOINT "mntpoint" 47 #define FILENAME MNTPOINT"/lremovexattr01testfile" 48 #define SYMLINK MNTPOINT"/lremovexattr01symlink" 121 .mntpoint = MNTPOINT,
|
/external/ltp/testcases/kernel/syscalls/mount/ |
mount01.c | 37 #define MNTPOINT "mntpoint" 54 TEST(mount(device, MNTPOINT, fs_type, 0, NULL)); 60 TEST(tst_umount(MNTPOINT)); 88 SAFE_MKDIR(cleanup, MNTPOINT, DIR_MODE);
|
/external/ltp/testcases/kernel/syscalls/rename/ |
rename11.c | 44 #define MNTPOINT "mntpoint" 45 #define TEST_EROFS "mntpoint/test_erofs" 46 #define TEST_NEW_EROFS "mntpoint/new_test_erofs" 109 SAFE_MKDIR(cleanup, MNTPOINT, 0755); 110 SAFE_MOUNT(cleanup, device, MNTPOINT, fs_type, 0, NULL); 152 SAFE_MOUNT(cleanup, device, MNTPOINT, fs_type, MS_REMOUNT | MS_RDONLY, 161 SAFE_MOUNT(cleanup, device, MNTPOINT, fs_type, MS_REMOUNT, NULL); 180 if (mount_flag && tst_umount(MNTPOINT) < 0)
|
/external/ltp/testcases/kernel/syscalls/fremovexattr/ |
fremovexattr01.c | 35 #define MNTPOINT "mntpoint" 36 #define FNAME MNTPOINT"/fremovexattr01testfile" 89 .mntpoint = MNTPOINT,
|
fremovexattr02.c | 37 #define MNTPOINT "mntpoint" 38 #define FNAME MNTPOINT"/fremovexattr02testfile" 112 .mntpoint = MNTPOINT,
|
/external/ltp/testcases/kernel/syscalls/getxattr/ |
getxattr04.c | 49 #define MNTPOINT "mntpoint" 50 #define TEST_FILE MNTPOINT "/file" 125 .mntpoint = MNTPOINT,
|
/external/ltp/testcases/kernel/syscalls/quotactl/ |
quotactl01.c | 66 # define USRPATH MNTPOINT "/aquota.user" 67 # define GRPPATH MNTPOINT "/aquota.group" 74 # define USRPATH MNTPOINT "/quota.user" 75 # define GRPPATH MNTPOINT "/quota.group" 79 # define MNTPOINT "mntpoint" 162 const char *const cmd[] = {"quotacheck", "-ug", MNTPOINT, NULL}; 216 .mntpoint = MNTPOINT,
|
/external/ltp/testcases/kernel/fs/fs_fill/ |
fs_fill.c | 32 #define MNTPOINT "mntpoint" 111 MNTPOINT "/thread%i", i + 1); 127 .mntpoint = MNTPOINT,
|
/external/ltp/testcases/kernel/syscalls/mmap/ |
mmap16.c | 38 #define MNTPOINT "mntpoint" 165 SAFE_MKDIR(cleanup, MNTPOINT, 0755); 170 SAFE_MOUNT(cleanup, device, MNTPOINT, fs_type, 0, "nodelalloc"); 173 SAFE_CHDIR(cleanup, MNTPOINT); 240 if (mount_flag && tst_umount(MNTPOINT) < 0)
|
/external/ltp/testcases/kernel/syscalls/open/ |
open12.c | 36 #define MNTPOINT "mntpoint" 37 #define TEST_FILE MNTPOINT"/test_file" 88 SAFE_MKDIR(cleanup, MNTPOINT, DIR_MODE); 112 SAFE_MOUNT(cleanup, device, MNTPOINT, fs_type, MS_STRICTATIME, NULL); 262 if (mount_flag && tst_umount(MNTPOINT) == -1)
|
/external/ltp/testcases/kernel/syscalls/readahead/ |
readahead02.c | 47 #define MNTPOINT "mntpoint" 48 #define OVL_LOWER MNTPOINT"/lower" 49 #define OVL_UPPER MNTPOINT"/upper" 50 #define OVL_WORK MNTPOINT"/work" 51 #define OVL_MNT MNTPOINT"/ovl" 54 static const char mntpoint[] = MNTPOINT; variable 133 sprintf(testfile, "%s/testfile", use_overlay ? OVL_MNT : MNTPOINT); 396 .mntpoint = mntpoint [all...] |
/external/ltp/testcases/kernel/syscalls/fgetxattr/ |
fgetxattr01.c | 42 #define MNTPOINT "mntpoint" 43 #define FNAME MNTPOINT"/fgetxattr01testfile" 141 .mntpoint = MNTPOINT,
|
/external/ltp/testcases/kernel/syscalls/preadv/ |
preadv03.c | 36 #define MNTPOINT "mntpoint" 37 #define FNAME MNTPOINT"/file" 147 .mntpoint = MNTPOINT,
|
/external/ltp/testcases/kernel/syscalls/pwritev/ |
pwritev03.c | 37 #define MNTPOINT "mntpoint" 38 #define FNAME MNTPOINT"/file" 146 .mntpoint = MNTPOINT,
|