Home | History | Annotate | Download | only in dmapi

Lines Matching refs:DummyFile

47 char DummyFile[FILENAME_MAX];
119 sprintf(DummyFile, "%s/%s", mountPt, DUMMY_FILE);
130 remove(DummyFile);
632 DMLOG_PRINT(DMLVL_DEBUG, "open(%s)\n", DummyFile);
633 fd = open(DummyFile, O_RDWR | O_CREAT, DUMMY_FILE_RW_MODE);
634 DMLOG_PRINT(DMLVL_DEBUG, "open(%s) returned %d\n", DummyFile,
645 rc |= stat(DummyFile, &statfs);
692 rc |= remove(DummyFile);
716 open(DummyFile, O_RDWR | O_CREAT,
720 ((rc = stat(DummyFile, &statfs)) == -1)) {
721 remove(DummyFile);
731 DMLOG_PRINT(DMLVL_DEBUG, "remove(%s)\n", DummyFile);
732 rc = remove(DummyFile);
734 DummyFile, rc);
795 sprintf(command, "mv %s %s", DummyFile, DummyFile2);
798 open(DummyFile, O_RDWR | O_CREAT,
802 remove(DummyFile);
813 DummyFile, DummyFile2);
816 "system(mv %s %s) returned %d\n", DummyFile,
911 open(DummyFile, O_RDWR | O_CREAT,
915 remove(DummyFile);
925 DMLOG_PRINT(DMLVL_DEBUG, "symlink(%s, %s)\n", DummyFile,
927 rc = symlink(DummyFile, DummyLink);
929 "symlink(%s, %s) returned %d\n", DummyFile,
965 } else if (strcmp(aname2, DummyFile) != 0) {
968 aname2, DummyFile);
992 rc |= remove(DummyFile);
1018 open(DummyFile, O_RDWR | O_CREAT,
1023 remove(DummyFile);
1033 DMLOG_PRINT(DMLVL_DEBUG, "link(%s, %s)\n", DummyFile,
1035 rc = link(DummyFile, DummyLink);
1037 DummyFile, DummyLink, rc);
1071 rc |= remove(DummyFile);
1836 DMLOG_PRINT(DMLVL_DEBUG, "open(%s)\n", DummyFile);
1837 fd = open(DummyFile, O_RDWR | O_CREAT, DUMMY_FILE_RW_MODE);
1838 DMLOG_PRINT(DMLVL_DEBUG, "open(%s) returned %d\n", DummyFile,
1849 rc |= stat(DummyFile, &statfs);
1896 rc |= remove(DummyFile);
1920 open(DummyFile, O_RDWR | O_CREAT,
1924 ((rc = stat(DummyFile, &statfs)) == -1)) {
1925 remove(DummyFile);
1935 DMLOG_PRINT(DMLVL_DEBUG, "remove(%s)\n", DummyFile);
1936 rc = remove(DummyFile);
1938 DummyFile, rc);
1999 sprintf(command, "mv %s %s", DummyFile, DummyFile2);
2002 open(DummyFile, O_RDWR | O_CREAT,
2006 remove(DummyFile);
2017 DummyFile, DummyFile2);
2020 "system(mv %s %s) returned %d\n", DummyFile,
2115 sprintf(command, "mv %s %s", DummyFile, DummySubdir2File);
2118 open(DummyFile, O_RDWR | O_CREAT,
2124 remove(DummyFile);
2130 remove(DummyFile);
2134 remove(DummyFile);
2145 DummyFile, DummySubdir2File);
2148 "system(mv %s %s) returned %d\n", DummyFile,
2238 sprintf(command, "mv %s %s", DummySubdir2File, DummyFile);
2270 DummySubdir2File, DummyFile);
2274 DummySubdir2File, DummyFile, rc);
2338 rc = remove(DummyFile);
2363 open(DummyFile, O_RDWR | O_CREAT,
2367 remove(DummyFile);
2377 DMLOG_PRINT(DMLVL_DEBUG, "symlink(%s, %s)\n", DummyFile,
2379 rc = symlink(DummyFile, DummyLink);
2381 "symlink(%s, %s) returned %d\n", DummyFile,
2417 } else if (strcmp(aname2, DummyFile) != 0) {
2420 aname2, DummyFile);
2444 rc |= remove(DummyFile);
2470 open(DummyFile, O_RDWR | O_CREAT,
2475 remove(DummyFile);
2485 DMLOG_PRINT(DMLVL_DEBUG, "link(%s, %s)\n", DummyFile,
2487 rc = link(DummyFile, DummyLink);
2489 DummyFile, DummyLink, rc);
2523 rc |= remove(DummyFile);
2766 DMLOG_PRINT(DMLVL_DEBUG, "open(%s)\n", DummyFile);
2767 fd = open(DummyFile, O_RDWR | O_CREAT, DUMMY_FILE_RW_MODE);
2768 DMLOG_PRINT(DMLVL_DEBUG, "open(%s) returned %d\n", DummyFile,
2778 rc |= remove(DummyFile);
2800 open(DummyFile, O_RDWR | O_CREAT,
2804 remove(DummyFile);
2814 DMLOG_PRINT(DMLVL_DEBUG, "remove(%s)\n", DummyFile);
2815 rc = remove(DummyFile);
2817 DummyFile, rc);
2837 sprintf(command, "mv %s %s", DummyFile, DummyFile2);
2840 open(DummyFile, O_RDWR | O_CREAT,
2844 remove(DummyFile);
2855 DummyFile, DummyFile2);
2858 "system(mv %s %s) returned %d\n", DummyFile,
2889 open(DummyFile, O_RDWR | O_CREAT,
2893 remove(DummyFile);
2903 DMLOG_PRINT(DMLVL_DEBUG, "symlink(%s, %s)\n", DummyFile,
2905 rc = symlink(DummyFile, DummyLink);
2907 "symlink(%s, %s) returned %d\n", DummyFile,
2916 rc |= remove(DummyFile);
2941 open(DummyFile, O_RDWR | O_CREAT,
2946 remove(DummyFile);
2956 DMLOG_PRINT(DMLVL_DEBUG, "link(%s, %s)\n", DummyFile,
2958 rc = link(DummyFile, DummyLink);
2960 DummyFile, DummyLink, rc);
2968 rc |= remove(DummyFile);