Lines Matching refs:fname
127 char fname[255]; variable
165 fname, type ? "F_RDLCK" : "F_WRLCK", in main()
171 fname, in main()
186 fname, TEST_ERRNO, in main()
191 fname, TEST_RETURN); in main()
213 sprintf(fname, "./file_%d", getpid()); in setup()
214 if ((fd = creat(fname, 0644)) == -1) { in setup()
216 "creat(%s, 0644) Failed, errno=%d : %s", fname, errno, in setup()
220 fname, errno, strerror(errno)); in setup()
221 } else if ((fd = open(fname, O_RDWR, 0700)) == -1) { in setup()
223 "open(%s, O_RDWR,0700) Failed, errno=%d : %s", fname, in setup()
240 tst_resm(TWARN, "close(%s) Failed, errno=%d : %s", fname, errno, in cleanup()
242 } else if (unlink(fname) == -1) { in cleanup()
243 tst_resm(TWARN, "unlink(%s) Failed, errno=%d : %s", fname, in cleanup()