Home
last modified time | relevance | path

Searched refs:fdir (Results 1 – 25 of 60) sorted by relevance

123

/external/ltp/testcases/kernel/syscalls/rename/
Drename06.c74 char fdir[255], mdir[255]; variable
102 TEST(rename(fdir, mdir)); in main()
106 fdir, mdir); in main()
135 sprintf(fdir, "./tdir_%d", getpid()); in setup()
136 sprintf(mdir, "%s/rndir_%d", fdir, getpid()); in setup()
139 if (stat(fdir, &buf1) != -1) { in setup()
140 tst_brkm(TBROK, cleanup, "tmp directory %s found!", fdir); in setup()
142 if (mkdir(fdir, 00770) == -1) { in setup()
143 tst_brkm(TBROK, cleanup, "Could not create directory %s", fdir); in setup()
145 if (stat(fdir, &buf1) == -1) { in setup()
[all …]
Drename07.c56 char mname[255], fdir[255]; variable
84 TEST(rename(fdir, mname)); in main()
88 fdir, mname); in main()
117 sprintf(fdir, "./rndir_%d", getpid()); in setup()
121 if (stat(fdir, &buf1) != -1) { in setup()
122 tst_brkm(TBROK, cleanup, "tmp directory %s found!", fdir); in setup()
125 if (mkdir(fdir, 00770) == -1) { in setup()
126 tst_brkm(TBROK, cleanup, "Could not create directory %s", fdir); in setup()
129 if (stat(fdir, &buf1) == -1) { in setup()
131 "in rename()", fdir); in setup()
Drename12.c87 char fdir[255]; variable
192 sprintf(fdir, "./tdir_%d", getpid()); in setup()
193 sprintf(fname, "%s/tfile_%d", fdir, getpid()); in setup()
194 sprintf(mname, "%s/rnfile_%d", fdir, getpid()); in setup()
197 if (mkdir(fdir, PERMS) == -1) { in setup()
198 tst_brkm(TBROK, cleanup, "Could not create directory %s", fdir); in setup()
201 if (stat(fdir, &buf1) == -1) { in setup()
202 tst_brkm(TBROK, cleanup, "failed to stat directory %s", fdir); in setup()
207 if (chmod(fdir, buf1.st_mode | S_ISVTX) != 0) { in setup()
Drename04.c76 char fdir[255], mdir[255]; variable
105 TEST(rename(fdir, mdir)); in main()
109 fdir, mdir); in main()
145 sprintf(fdir, "./tdir_%d", getpid()); in setup()
150 if (mkdir(fdir, 00770) == -1) { in setup()
151 tst_brkm(TBROK, cleanup, "Could not create directory %s", fdir); in setup()
154 if (stat(fdir, &buf1) == -1) { in setup()
156 "in rename()", fdir); in setup()
Drename01.c83 char fdir[255], mdir[255]; variable
100 fdir, mdir, "directory", &d_olddev, &d_oldino}
170 if (rename(mdir, fdir) == -1) { in main()
195 sprintf(fdir, "./tdir_%d", getpid()); in setup()
210 if (mkdir(fdir, 00770) == -1) { in setup()
211 tst_brkm(TBROK, cleanup, "Could not create directory %s", fdir); in setup()
214 if (stat(fdir, &buf1) == -1) { in setup()
Drename03.c81 char fdir[255], mdir[255]; variable
95 fdir, mdir, "directory", &d_olddev, &d_oldino}
197 sprintf(fdir, "./tdir_%d", getpid()); in setup()
221 if (mkdir(fdir, 00770) == -1) { in setup2()
222 tst_brkm(TBROK, cleanup, "Could not create directory %s", fdir); in setup2()
224 if (stat(fdir, &buf1) == -1) { in setup2()
226 "in rename()", fdir); in setup2()
Drename09.c92 char fdir[255], mdir[255]; variable
137 if (mkdir(fdir, PERMS) == -1) { in main()
139 fdir, PERMS); in main()
204 if (rmdir(fdir) == -1) { in main()
257 sprintf(fdir, "tdir_%d", getpid()); in setup()
259 sprintf(fname, "%s/tfile_%d", fdir, getpid()); in setup()
/external/strace/
Dconfig.status1734 as_dir=$dirpart/$fdir; as_fn_mkdir_p
Daclocal.m4387 fdir=`AS_DIRNAME(["$file"])`
388 AS_MKDIR_P([$dirpart/$fdir])
/external/ltp/utils/ffsb-6.0-rc2/
Daclocal.m4351 fdir=`AS_DIRNAME(["$file"])`
352 AS_MKDIR_P([$dirpart/$fdir])
/external/libevent/
Daclocal.m4394 fdir=`AS_DIRNAME(["$file"])`
395 AS_MKDIR_P([$dirpart/$fdir])
/external/c-ares/
Daclocal.m4321 fdir=`AS_DIRNAME(["$file"])`
322 AS_MKDIR_P([$dirpart/$fdir])
/external/stressapptest/
Daclocal.m4386 fdir=`AS_DIRNAME(["$file"])`
387 AS_MKDIR_P([$dirpart/$fdir])
/external/netperf/
Daclocal.m4396 fdir=`AS_DIRNAME(["$file"])`
397 AS_MKDIR_P([$dirpart/$fdir])
/external/google-tv-pairing-protocol/cpp/
Daclocal.m4544 fdir=`AS_DIRNAME(["$file"])`
545 AS_MKDIR_P([$dirpart/$fdir])
/external/libnfnetlink/
Daclocal.m4396 fdir=`AS_DIRNAME(["$file"])`
397 AS_MKDIR_P([$dirpart/$fdir])
/external/libusb-compat/
Daclocal.m4516 fdir=`AS_DIRNAME(["$file"])`
517 AS_MKDIR_P([$dirpart/$fdir])
/external/libexif/
Daclocal.m4386 fdir=`AS_DIRNAME(["$file"])`
387 AS_MKDIR_P([$dirpart/$fdir])
/external/valgrind/
Daclocal.m4406 fdir=`AS_DIRNAME(["$file"])`
407 AS_MKDIR_P([$dirpart/$fdir])
/external/libedit/
Daclocal.m4387 fdir=`AS_DIRNAME(["$file"])`
388 AS_MKDIR_P([$dirpart/$fdir])
/external/vulkan-validation-layers/tests/gtest-1.7.0/
Daclocal.m4396 fdir=`AS_DIRNAME(["$file"])`
397 AS_MKDIR_P([$dirpart/$fdir])
/external/lmfit/
Daclocal.m4386 fdir=`AS_DIRNAME(["$file"])`
387 AS_MKDIR_P([$dirpart/$fdir])
/external/google-breakpad/
Daclocal.m4407 fdir=`AS_DIRNAME(["$file"])`
408 AS_MKDIR_P([$dirpart/$fdir])
/external/protobuf/
Daclocal.m4387 fdir=`AS_DIRNAME(["$file"])`
388 AS_MKDIR_P([$dirpart/$fdir])
/external/libcap-ng/libcap-ng-0.7/
Daclocal.m4396 fdir=`AS_DIRNAME(["$file"])`
397 AS_MKDIR_P([$dirpart/$fdir])

123