Home
last modified time | relevance | path

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

123

/third_party/ltp/lib/
Dtst_fs_link_count.c52 SAFE_STAT(cleanup, dir, &s); in tst_fs_fill_hardlinks_()
69 SAFE_STAT(cleanup, base_filename, &s); in tst_fs_fill_hardlinks_()
116 SAFE_STAT(cleanup, dir, &s); in tst_fs_fill_subdirs_()
144 SAFE_STAT(cleanup, dir, &s); in tst_fs_fill_subdirs_()
/third_party/ltp/testcases/kernel/syscalls/rename/
Drename13.c117 SAFE_STAT(cleanup, mname, &buf2); in main()
120 SAFE_STAT(cleanup, fname, &buf1); in main()
164 SAFE_STAT(cleanup, fname, &buf1); in setup()
Drename01.c136 SAFE_STAT(cleanup, TC[i].name2, &buf1); in main()
193 SAFE_STAT(cleanup, fname, &buf1); in setup()
201 SAFE_STAT(cleanup, fdir, &buf1); in setup()
Drename03.c133 SAFE_STAT(cleanup, TC[i].name2, &buf2); in main()
200 SAFE_STAT(cleanup, fname, &buf1); in setup2()
210 SAFE_STAT(cleanup, fdir, &buf1); in setup2()
Drename04.c153 SAFE_STAT(cleanup, fdir, &buf1); in setup()
164 SAFE_STAT(cleanup, mdir, &buf2); in setup()
Drename07.c128 SAFE_STAT(cleanup, fdir, &buf1); in setup()
136 SAFE_STAT(cleanup, mname, &buf2); in setup()
Drename05.c143 SAFE_STAT(cleanup, fname, &buf1); in setup()
156 SAFE_STAT(cleanup, mdir, &buf2); in setup()
Drename06.c144 SAFE_STAT(cleanup, fdir, &buf1); in setup()
155 SAFE_STAT(cleanup, mdir, &buf2); in setup()
/third_party/ltp/testcases/kernel/syscalls/open/
Dopen10.c54 SAFE_STAT(name, &buf); in file_test()
81 SAFE_STAT(DIR_A, &buf); in run()
94 SAFE_STAT(DIR_B, &buf); in run()
Dopen12.c161 SAFE_STAT(cleanup, TEST_FILE, &old_stat); in test_noatime()
173 SAFE_STAT(cleanup, TEST_FILE, &new_stat); in test_noatime()
/third_party/ltp/testcases/kernel/syscalls/creat/
Dcreat08.c55 SAFE_STAT(name, &buf); in file_test()
83 SAFE_STAT(DIR_A, &buf); in run()
96 SAFE_STAT(DIR_B, &buf); in run()
Dcreat09.c63 SAFE_STAT(WORKDIR, &buf); in setup()
82 SAFE_STAT(name, &buf); in file_test()
/third_party/ltp/testcases/kernel/syscalls/link/
Dlink02.c31 SAFE_STAT(OLDPATH, &fbuf); in verify_link()
32 SAFE_STAT(NEWPATH, &lbuf); in verify_link()
Dlink05.c34 SAFE_STAT(fname, &fbuf); in verify_link()
39 SAFE_STAT(lname, &lbuf); in verify_link()
Dlink03.c113 SAFE_STAT(cleanup, fname, &buf); in main()
124 SAFE_STAT(cleanup, lname, &buf); in main()
/third_party/ltp/testcases/kernel/syscalls/utime/
Dutime03.c66 SAFE_STAT(TEMP_FILE, &statbuf); in run()
79 SAFE_STAT(TEMP_FILE, &statbuf); in run()
/third_party/ltp/testcases/kernel/syscalls/chown/
Dchown03.c59 SAFE_STAT(FILENAME, &stat_buf); in run()
65 SAFE_STAT(FILENAME, &stat_buf); in run()
/third_party/ltp/testcases/kernel/syscalls/fchown/
Dfchown03.c65 SAFE_STAT(FILENAME, &stat_buf); in run()
70 SAFE_STAT(FILENAME, &stat_buf); in run()
/third_party/ltp/testcases/kernel/syscalls/fchownat/
Dfchownat02.c91 SAFE_STAT(cleanup, TESTFILE_LINK, &c_buf); in setup()
120 SAFE_STAT(cleanup, TESTFILE_LINK, &c_buf); in test_verify()
/third_party/ltp/testcases/kernel/syscalls/inotify/
Dinotify08.c147 SAFE_STAT(FILE_PATH, &buf); in setup()
158 SAFE_STAT(FILE_PATH, &buf); in setup()
Dinotify07.c155 SAFE_STAT(DIR_PATH, &buf); in setup()
165 SAFE_STAT(DIR_PATH, &buf); in setup()
/third_party/ltp/testcases/kernel/syscalls/openat/
Dopenat02.c240 SAFE_STAT(cleanup, TEST_FILE, &file_stat); in testfunc_noatime()
255 SAFE_STAT(cleanup, TEST_FILE, &file_newstat); in testfunc_noatime()
/third_party/ltp/testcases/kernel/syscalls/ustat/
Dustat01.c39 SAFE_STAT("/", &buf); in setup()
/third_party/ltp/testcases/kernel/syscalls/mkdir/
Dmkdir05.c31 SAFE_STAT(TESTDIR, &buf); in verify_mkdir()
/third_party/ltp/testcases/kernel/syscalls/umask/
Dumask01.c43 SAFE_STAT("testfile", &statbuf); in verify_umask()

123