Lines Matching refs:TMP_DIR

41 #define TMP_DIR "tmp"  macro
45 static const char dir_s1d1[] = TMP_DIR "/s1d1";
46 static const char file1_s1d1[] = TMP_DIR "/s1d1/f1";
47 static const char file2_s1d1[] = TMP_DIR "/s1d1/f2";
48 static const char dir_s1d2[] = TMP_DIR "/s1d1/s1d2";
49 static const char file1_s1d2[] = TMP_DIR "/s1d1/s1d2/f1";
50 static const char file2_s1d2[] = TMP_DIR "/s1d1/s1d2/f2";
51 static const char dir_s1d3[] = TMP_DIR "/s1d1/s1d2/s1d3";
52 static const char file1_s1d3[] = TMP_DIR "/s1d1/s1d2/s1d3/f1";
53 static const char file2_s1d3[] = TMP_DIR "/s1d1/s1d2/s1d3/f2";
55 static const char dir_s2d1[] = TMP_DIR "/s2d1";
56 static const char file1_s2d1[] = TMP_DIR "/s2d1/f1";
57 static const char dir_s2d2[] = TMP_DIR "/s2d1/s2d2";
58 static const char file1_s2d2[] = TMP_DIR "/s2d1/s2d2/f1";
59 static const char dir_s2d3[] = TMP_DIR "/s2d1/s2d2/s2d3";
60 static const char file1_s2d3[] = TMP_DIR "/s2d1/s2d2/s2d3/f1";
61 static const char file2_s2d3[] = TMP_DIR "/s2d1/s2d2/s2d3/f2";
63 static const char dir_s3d1[] = TMP_DIR "/s3d1";
64 static const char file1_s3d1[] = TMP_DIR "/s3d1/f1";
66 static const char dir_s3d2[] = TMP_DIR "/s3d1/s3d2";
67 static const char dir_s3d3[] = TMP_DIR "/s3d1/s3d2/s3d3";
228 if (strcmp(walker, TMP_DIR) == 0) in remove_path()
262 create_directory(_metadata, TMP_DIR); in prepare_layout_opt()
270 ASSERT_EQ(0, mount_opt(mnt, TMP_DIR)) in prepare_layout_opt()
280 remove_path(TMP_DIR); in prepare_layout_opt()
282 ASSERT_EQ(0, mount(NULL, TMP_DIR, NULL, MS_PRIVATE | MS_REC, NULL)); in prepare_layout_opt()
294 EXPECT_EQ(0, umount(TMP_DIR)); in cleanup_layout()
296 EXPECT_EQ(0, remove_path(TMP_DIR)); in cleanup_layout()
745 .path = TMP_DIR, in TEST_F_FORK()
1390 .path = TMP_DIR, in TEST_F_FORK()
1690 .path = TMP_DIR, in test_relative_path()
3764 static const char bind_dir_s1d3[] = TMP_DIR "/s2d1/s2d2/s1d3";
3765 static const char bind_file1_s1d3[] = TMP_DIR "/s2d1/s2d2/s1d3/f1";
3989 #define LOWER_BASE TMP_DIR "/lower"
4016 #define UPPER_BASE TMP_DIR "/upper"
4044 #define MERGE_BASE TMP_DIR "/merge"
4540 .file_path = TMP_DIR "/dir/file", in FIXTURE_VARIANT_ADD()
4547 .file_path = TMP_DIR "/test/cgroup.procs", in FIXTURE_VARIANT_ADD()
4554 .file_path = TMP_DIR "/self/status", in FIXTURE_VARIANT_ADD()
4561 .file_path = TMP_DIR "/kernel/notes", in FIXTURE_VARIANT_ADD()
4566 .source = TMP_DIR, in FIXTURE_VARIANT_ADD()
4569 .file_path = TMP_DIR "/dir/file", in FIXTURE_VARIANT_ADD()
4713 layer3_fs_tag_inode(_metadata, self, variant, TMP_DIR); in TEST_F_FORK()
4731 .path = TMP_DIR, in TEST_F_FORK()
4755 ASSERT_EQ(0, umount(TMP_DIR)); in TEST_F_FORK()
4760 ASSERT_EQ(0, mount_opt(&mnt_tmp, TMP_DIR)); in TEST_F_FORK()
4767 ASSERT_EQ(EACCES, test_open(TMP_DIR, O_RDONLY)); in TEST_F_FORK()