Home
last modified time | relevance | path

Searched refs:MOUNT_PATH (Results 1 – 13 of 13) sorted by relevance

/third_party/ltp/testcases/kernel/syscalls/fanotify/
Dfanotify10.c75 #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 …]
Dfanotify22.c42 #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 …]
Dfanotify13.c40 #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,
Dfanotify05.c34 #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,
Dfanotify18.c42 #define MOUNT_PATH "fs_mnt" macro
43 #define TEST_FILE MOUNT_PATH "/testfile"
198 .mntpoint = MOUNT_PATH,
Dfanotify03.c42 #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,
Dfanotify17.c32 #define MOUNT_PATH "fs_mnt" macro
33 #define TEST_FILE MOUNT_PATH "/testfile"
263 .mntpoint = MOUNT_PATH,
Dfanotify19.c38 #define MOUNT_PATH "fs_mnt" macro
39 #define TEST_FILE MOUNT_PATH "/testfile"
287 .mntpoint = MOUNT_PATH,
Dfanotify20.c27 #define MOUNT_PATH "fs_mnt" macro
126 .mntpoint = MOUNT_PATH,
Dfanotify09.c64 #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,
Dfanotify16.c65 #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,
Dfanotify21.c32 #define MOUNT_PATH "fs_mnt" macro
33 #define TEST_FILE MOUNT_PATH "/testfile"
303 .mntpoint = MOUNT_PATH,
Dfanotify01.c36 #define MOUNT_PATH "fs_mnt" macro
336 sprintf(fname, MOUNT_PATH"/tfile_%d", getpid()); in setup()
356 .mntpoint = MOUNT_PATH,