Lines Matching refs:TMP_DIR

65 static const char dir_s1d1[] = TMP_DIR "/s1d1";
66 static const char file1_s1d1[] = TMP_DIR "/s1d1/f1";
67 static const char file2_s1d1[] = TMP_DIR "/s1d1/f2";
68 static const char dir_s1d2[] = TMP_DIR "/s1d1/s1d2";
69 static const char file1_s1d2[] = TMP_DIR "/s1d1/s1d2/f1";
70 static const char file2_s1d2[] = TMP_DIR "/s1d1/s1d2/f2";
71 static const char dir_s1d3[] = TMP_DIR "/s1d1/s1d2/s1d3";
72 static const char file1_s1d3[] = TMP_DIR "/s1d1/s1d2/s1d3/f1";
73 static const char file2_s1d3[] = TMP_DIR "/s1d1/s1d2/s1d3/f2";
75 static const char dir_s2d1[] = TMP_DIR "/s2d1";
76 static const char file1_s2d1[] = TMP_DIR "/s2d1/f1";
77 static const char dir_s2d2[] = TMP_DIR "/s2d1/s2d2";
78 static const char file1_s2d2[] = TMP_DIR "/s2d1/s2d2/f1";
79 static const char dir_s2d3[] = TMP_DIR "/s2d1/s2d2/s2d3";
80 static const char file1_s2d3[] = TMP_DIR "/s2d1/s2d2/s2d3/f1";
81 static const char file2_s2d3[] = TMP_DIR "/s2d1/s2d2/s2d3/f2";
83 static const char dir_s3d1[] = TMP_DIR "/s3d1";
84 static const char file1_s3d1[] = TMP_DIR "/s3d1/f1";
86 static const char dir_s3d2[] = TMP_DIR "/s3d1/s3d2";
87 static const char dir_s3d3[] = TMP_DIR "/s3d1/s3d2/s3d3";
248 if (strcmp(walker, TMP_DIR) == 0) in remove_path()
282 create_directory(_metadata, TMP_DIR); in prepare_layout_opt()
290 ASSERT_EQ(0, mount_opt(mnt, TMP_DIR)) in prepare_layout_opt()
300 remove_path(TMP_DIR); in prepare_layout_opt()
302 ASSERT_EQ(0, mount(NULL, TMP_DIR, NULL, MS_PRIVATE | MS_REC, NULL)); in prepare_layout_opt()
314 if (umount(TMP_DIR)) { in cleanup_layout()
324 EXPECT_EQ(0, remove_path(TMP_DIR)); in cleanup_layout()
652 open(TMP_DIR, O_PATH | O_DIRECTORY | O_CLOEXEC); in TEST_F_FORK()
828 .path = TMP_DIR, in TEST_F_FORK()
1473 .path = TMP_DIR, in TEST_F_FORK()
1832 .path = TMP_DIR, in test_relative_path()
4389 static const char bind_dir_s1d3[] = TMP_DIR "/s2d1/s2d2/s1d3";
4390 static const char bind_file1_s1d3[] = TMP_DIR "/s2d1/s2d2/s1d3/f1";
4614 #define LOWER_BASE TMP_DIR "/lower"
4641 #define UPPER_BASE TMP_DIR "/upper"
4669 #define MERGE_BASE TMP_DIR "/merge"
5160 .file_path = TMP_DIR "/dir/file", in FIXTURE_VARIANT_ADD()
5167 .file_path = TMP_DIR "/test/cgroup.procs", in FIXTURE_VARIANT_ADD()
5174 .file_path = TMP_DIR "/self/status", in FIXTURE_VARIANT_ADD()
5181 .file_path = TMP_DIR "/kernel/notes", in FIXTURE_VARIANT_ADD()
5186 .source = TMP_DIR, in FIXTURE_VARIANT_ADD()
5189 .file_path = TMP_DIR "/dir/file", in FIXTURE_VARIANT_ADD()
5339 layer3_fs_tag_inode(_metadata, self, variant, TMP_DIR); in TEST_F_FORK()
5360 .path = TMP_DIR, in TEST_F_FORK()
5388 ASSERT_EQ(0, umount(TMP_DIR)); in TEST_F_FORK()
5393 ASSERT_EQ(0, mount_opt(&mnt_tmp, TMP_DIR)); in TEST_F_FORK()
5400 ASSERT_EQ(EACCES, test_open(TMP_DIR, O_RDONLY)); in TEST_F_FORK()