/third_party/ltp/testcases/kernel/syscalls/fanotify/ |
D | fanotify10.c | 75 #define MOUNT_PATH "fs_mnt" macro 81 #define FILE_PATH MOUNT_PATH"/"FILE_NAME 82 #define FILE2_PATH MOUNT_PATH"/"FILE2_NAME 83 #define FILE_EXEC_PATH MOUNT_PATH"/"TEST_APP 84 #define FILE2_EXEC_PATH MOUNT_PATH"/"TEST_APP2 119 MOUNT_PATH, FANOTIFY_MOUNT, 126 MOUNT_PATH, FANOTIFY_MOUNT, 133 MOUNT_PATH, FANOTIFY_MOUNT, 140 MOUNT_PATH, FANOTIFY_MOUNT, 177 MOUNT_PATH, FANOTIFY_FILESYSTEM, [all …]
|
D | fanotify22.c | 42 #define MOUNT_PATH "test_mnt" macro 57 SAFE_MOUNT(tst_device->dev, MOUNT_PATH, tst_device->fs_type, in trigger_fs_abort() 73 ret = open(MOUNT_PATH"/"BAD_DIR, O_RDONLY, 0); in tcase2_trigger_lookup() 241 FAN_FS_ERROR, AT_FDCWD, MOUNT_PATH); in do_test() 248 FAN_FS_ERROR, AT_FDCWD, MOUNT_PATH); in do_test() 255 SAFE_MKDIR(MOUNT_PATH"/"BASE_DIR, 0777); in pre_corrupt_fs() 256 SAFE_MKDIR(MOUNT_PATH"/"BAD_DIR, 0777); in pre_corrupt_fs() 258 fanotify_save_fid(MOUNT_PATH"/"BAD_DIR, &bad_file_fid); in pre_corrupt_fs() 260 SAFE_UMOUNT(MOUNT_PATH); in pre_corrupt_fs() 262 SAFE_MOUNT(tst_device->dev, MOUNT_PATH, tst_device->fs_type, 0, NULL); in pre_corrupt_fs() [all …]
|
D | fanotify13.c | 40 #define MOUNT_PATH "mntpoint" macro 42 #define DIR_PATH_ONE MOUNT_PATH"/"DIR_ONE 43 #define FILE_PATH_ONE MOUNT_PATH"/"FILE_ONE 44 #define FILE_PATH_TWO MOUNT_PATH"/"FILE_TWO 262 REQUIRE_FANOTIFY_INIT_FLAGS_SUPPORTED_ON_FS(FAN_REPORT_FID, MOUNT_PATH); in do_setup() 297 .mntpoint = MOUNT_PATH,
|
D | fanotify05.c | 34 #define MOUNT_PATH "fs_mnt" macro 37 #define PATH_PREFIX MOUNT_PATH "/" FNAME_PREFIX 118 AT_FDCWD, MOUNT_PATH); in test_fanotify() 216 .mntpoint = MOUNT_PATH,
|
D | fanotify18.c | 42 #define MOUNT_PATH "fs_mnt" macro 43 #define TEST_FILE MOUNT_PATH "/testfile" 198 .mntpoint = MOUNT_PATH,
|
D | fanotify03.c | 42 #define MOUNT_PATH "fs_mnt" macro 43 #define FILE_EXEC_PATH MOUNT_PATH"/"TEST_APP 328 sprintf(fname, MOUNT_PATH"/fname_%d", getpid()); in setup() 353 .mntpoint = MOUNT_PATH,
|
D | fanotify17.c | 32 #define MOUNT_PATH "fs_mnt" macro 33 #define TEST_FILE MOUNT_PATH "/testfile" 263 .mntpoint = MOUNT_PATH,
|
D | fanotify19.c | 38 #define MOUNT_PATH "fs_mnt" macro 39 #define TEST_FILE MOUNT_PATH "/testfile" 287 .mntpoint = MOUNT_PATH,
|
D | fanotify20.c | 27 #define MOUNT_PATH "fs_mnt" macro 126 .mntpoint = MOUNT_PATH,
|
D | fanotify09.c | 64 #define MOUNT_PATH "fs_mnt" macro 343 MOUNT_PATH); in setup() 346 SAFE_MOUNT(MOUNT_PATH, MOUNT_NAME, "none", MS_BIND, NULL); in setup() 372 .mntpoint = MOUNT_PATH,
|
D | fanotify16.c | 65 #define MOUNT_PATH "fs_mnt" macro 170 AT_FDCWD, MOUNT_PATH); in do_test() 173 fanotify_save_fid(MOUNT_PATH, &root_fid); in do_test() 547 REQUIRE_FANOTIFY_INIT_FLAGS_SUPPORTED_ON_FS(FAN_REPORT_DIR_FID, MOUNT_PATH); in setup() 549 sprintf(dname1, "%s/%s", MOUNT_PATH, DIR_NAME1); in setup() 550 sprintf(dname2, "%s/%s", MOUNT_PATH, DIR_NAME2); in setup() 567 .mntpoint = MOUNT_PATH,
|
D | fanotify21.c | 32 #define MOUNT_PATH "fs_mnt" macro 33 #define TEST_FILE MOUNT_PATH "/testfile" 303 .mntpoint = MOUNT_PATH,
|
D | fanotify01.c | 36 #define MOUNT_PATH "fs_mnt" macro 336 sprintf(fname, MOUNT_PATH"/tfile_%d", getpid()); in setup() 356 .mntpoint = MOUNT_PATH,
|