Lines Matching refs:TMP_DIR

76 static const char dir_s1d1[] = TMP_DIR "/s1d1";
77 static const char file1_s1d1[] = TMP_DIR "/s1d1/f1";
78 static const char file2_s1d1[] = TMP_DIR "/s1d1/f2";
79 static const char dir_s1d2[] = TMP_DIR "/s1d1/s1d2";
80 static const char file1_s1d2[] = TMP_DIR "/s1d1/s1d2/f1";
81 static const char file2_s1d2[] = TMP_DIR "/s1d1/s1d2/f2";
82 static const char dir_s1d3[] = TMP_DIR "/s1d1/s1d2/s1d3";
83 static const char file1_s1d3[] = TMP_DIR "/s1d1/s1d2/s1d3/f1";
84 static const char file2_s1d3[] = TMP_DIR "/s1d1/s1d2/s1d3/f2";
86 static const char dir_s2d1[] = TMP_DIR "/s2d1";
87 static const char file1_s2d1[] = TMP_DIR "/s2d1/f1";
88 static const char dir_s2d2[] = TMP_DIR "/s2d1/s2d2";
89 static const char file1_s2d2[] = TMP_DIR "/s2d1/s2d2/f1";
90 static const char dir_s2d3[] = TMP_DIR "/s2d1/s2d2/s2d3";
91 static const char file1_s2d3[] = TMP_DIR "/s2d1/s2d2/s2d3/f1";
92 static const char file2_s2d3[] = TMP_DIR "/s2d1/s2d2/s2d3/f2";
94 static const char dir_s3d1[] = TMP_DIR "/s3d1";
95 static const char file1_s3d1[] = TMP_DIR "/s3d1/f1";
97 static const char dir_s3d2[] = TMP_DIR "/s3d1/s3d2";
98 static const char dir_s3d3[] = TMP_DIR "/s3d1/s3d2/s3d3";
99 static const char file1_s3d3[] = TMP_DIR "/s3d1/s3d2/s3d3/f1";
100 static const char dir_s3d4[] = TMP_DIR "/s3d1/s3d2/s3d4";
101 static const char file1_s3d4[] = TMP_DIR "/s3d1/s3d2/s3d4/f1";
265 if (strcmp(walker, TMP_DIR) == 0) in remove_path()
299 create_directory(_metadata, TMP_DIR); in prepare_layout_opt()
307 ASSERT_EQ(0, mount_opt(mnt, TMP_DIR)) in prepare_layout_opt()
317 remove_path(TMP_DIR); in prepare_layout_opt()
319 ASSERT_EQ(0, mount(NULL, TMP_DIR, NULL, MS_PRIVATE | MS_REC, NULL)); in prepare_layout_opt()
331 if (umount(TMP_DIR)) { in cleanup_layout()
341 EXPECT_EQ(0, remove_path(TMP_DIR)); in cleanup_layout()
671 open(TMP_DIR, O_PATH | O_DIRECTORY | O_CLOEXEC); in TEST_F_FORK()
847 .path = TMP_DIR, in TEST_F_FORK()
1492 .path = TMP_DIR, in TEST_F_FORK()
1891 .path = TMP_DIR, in test_relative_path()
4584 static const char bind_dir_s1d3[] = TMP_DIR "/s2d1/s2d2/s1d3";
4585 static const char bind_file1_s1d3[] = TMP_DIR "/s2d1/s2d2/s1d3/f1";
4809 #define LOWER_BASE TMP_DIR "/lower"
4836 #define UPPER_BASE TMP_DIR "/upper"
4864 #define MERGE_BASE TMP_DIR "/merge"
5355 .file_path = TMP_DIR "/dir/file", in FIXTURE_VARIANT_ADD()
5362 .file_path = TMP_DIR "/test/cgroup.procs", in FIXTURE_VARIANT_ADD()
5369 .file_path = TMP_DIR "/self/status", in FIXTURE_VARIANT_ADD()
5376 .file_path = TMP_DIR "/kernel/notes", in FIXTURE_VARIANT_ADD()
5381 .source = TMP_DIR, in FIXTURE_VARIANT_ADD()
5384 .file_path = TMP_DIR "/dir/file", in FIXTURE_VARIANT_ADD()
5534 layer3_fs_tag_inode(_metadata, self, variant, TMP_DIR); in TEST_F_FORK()
5555 .path = TMP_DIR, in TEST_F_FORK()
5583 ASSERT_EQ(0, umount(TMP_DIR)); in TEST_F_FORK()
5588 ASSERT_EQ(0, mount_opt(&mnt_tmp, TMP_DIR)); in TEST_F_FORK()
5595 ASSERT_EQ(EACCES, test_open(TMP_DIR, O_RDONLY)); in TEST_F_FORK()