/external/ltp/testcases/kernel/syscalls/rename/ |
D | rename05.c | 74 char fname[255], mdir[255]; variable 102 TEST(rename(fname, mdir)); in main() 106 fname, mdir); in main() 138 sprintf(mdir, "./rndir_%d", getpid()); in setup() 150 if (stat(mdir, &buf2) != -1) { in setup() 151 tst_brkm(TBROK, cleanup, "tmp directory %s found!", mdir); in setup() 154 SAFE_MKDIR(cleanup, mdir, 00770); in setup() 156 SAFE_STAT(cleanup, mdir, &buf2); in setup()
|
D | rename06.c | 75 char fdir[255], mdir[255]; variable 103 TEST(rename(fdir, mdir)); in main() 107 fdir, mdir); in main() 137 sprintf(mdir, "%s/rndir_%d", fdir, getpid()); in setup() 150 if (stat(mdir, &buf2) != -1) { in setup() 151 tst_brkm(TBROK, cleanup, "tmp directory %s found!", mdir); in setup() 153 SAFE_MKDIR(cleanup, mdir, 00770); in setup() 155 SAFE_STAT(cleanup, mdir, &buf2); in setup()
|
D | rename04.c | 77 char fdir[255], mdir[255]; variable 106 TEST(rename(fdir, mdir)); in main() 110 fdir, mdir); in main() 147 sprintf(mdir, "./rndir_%d", getpid()); in setup() 148 sprintf(tstfile, "%s/tstfile_%d", mdir, getpid()); in setup() 160 SAFE_MKDIR(cleanup, mdir, 00770); in setup() 164 SAFE_STAT(cleanup, mdir, &buf2); in setup()
|
D | rename09.c | 92 char fdir[255], mdir[255]; variable 169 if (mkdir(mdir, PERMS) == -1) { in main() 171 mdir, PERMS); in main() 201 SAFE_RMDIR(cleanup, mdir); in main() 245 sprintf(mdir, "rndir_%d", getpid()); in setup() 247 sprintf(mname, "%s/rnfile_%d", mdir, getpid()); in setup()
|
D | rename03.c | 82 char fdir[255], mdir[255]; variable 96 fdir, mdir, "directory", &d_olddev, &d_oldino} 166 SAFE_RMDIR(cleanup, mdir); in main() 190 sprintf(mdir, "./rndir_%d", getpid()); in setup() 216 SAFE_MKDIR(cleanup, mdir, 00770); in setup2()
|
D | rename01.c | 84 char fdir[255], mdir[255]; variable 101 fdir, mdir, "directory", &d_olddev, &d_oldino} 165 SAFE_RENAME(cleanup, mdir, fdir); in main() 189 sprintf(mdir, "./rndir_%d", getpid()); in setup()
|
D | rename10.c | 80 char mdir[255]; variable 158 sprintf(mdir, "./rndir_%d", getpid()); in setup() 159 sprintf(mname, "%s/rnfile_%d", mdir, getpid()); in setup()
|
/external/e2fsprogs/util/ |
D | gen-sample-fs | 33 mkdir $MNT/mdir 34 touch $MNT/mdir/1 35 touch $MNT/mdir/2 36 touch $MNT/mdir/3 37 touch $MNT/mdir/4 38 touch $MNT/mdir/5
|