Home
last modified time | relevance | path

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

12

/external/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_()
/external/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()
Drename05.c143 SAFE_STAT(cleanup, fname, &buf1); in setup()
156 SAFE_STAT(cleanup, mdir, &buf2); in setup()
Drename07.c128 SAFE_STAT(cleanup, fdir, &buf1); in setup()
136 SAFE_STAT(cleanup, mname, &buf2); in setup()
Drename04.c153 SAFE_STAT(cleanup, fdir, &buf1); in setup()
164 SAFE_STAT(cleanup, mdir, &buf2); in setup()
Drename06.c144 SAFE_STAT(cleanup, fdir, &buf1); in setup()
155 SAFE_STAT(cleanup, mdir, &buf2); in setup()
/external/ltp/testcases/kernel/syscalls/mkdir/
Dmkdir02.c51 SAFE_STAT(TESTDIR2, &buf2); in verify_mkdir()
52 SAFE_STAT(TESTDIR1, &buf1); in verify_mkdir()
97 SAFE_STAT(TESTDIR1, &buf); in setup()
Dmkdir05.c43 SAFE_STAT(TESTDIR, &buf); in verify_mkdir()
/external/ltp/testcases/kernel/syscalls/link/
Dlink02.c65 SAFE_STAT(cleanup, OLDPATH, &fbuf); in verify_link()
66 SAFE_STAT(cleanup, NEWPATH, &lbuf); in verify_link()
Dlink05.c105 SAFE_STAT(cleanup, fname, &fbuf); in main()
110 SAFE_STAT(cleanup, lname, &lbuf); in main()
Dlink03.c113 SAFE_STAT(cleanup, fname, &buf); in main()
124 SAFE_STAT(cleanup, lname, &buf); in main()
/external/ltp/testcases/kernel/syscalls/fchownat/
Dfchownat02.c92 SAFE_STAT(cleanup, TESTFILE_LINK, &c_buf); in setup()
121 SAFE_STAT(cleanup, TESTFILE_LINK, &c_buf); in test_verify()
/external/ltp/testcases/kernel/syscalls/inotify/
Dinotify08.c199 SAFE_STAT(FILE_PATH, &buf); in setup()
210 SAFE_STAT(FILE_PATH, &buf); in setup()
Dinotify07.c205 SAFE_STAT(DIR_PATH, &buf); in setup()
215 SAFE_STAT(DIR_PATH, &buf); in setup()
/external/ltp/testcases/kernel/syscalls/open/
Dopen12.c161 SAFE_STAT(cleanup, TEST_FILE, &old_stat); in test_noatime()
173 SAFE_STAT(cleanup, TEST_FILE, &new_stat); in test_noatime()
/external/ltp/testcases/kernel/syscalls/openat/
Dopenat02.c241 SAFE_STAT(cleanup, TEST_FILE, &file_stat); in testfunc_noatime()
256 SAFE_STAT(cleanup, TEST_FILE, &file_newstat); in testfunc_noatime()
/external/ltp/testcases/kernel/syscalls/ustat/
Dustat01.c36 SAFE_STAT("/", &buf); in setup()
Dustat02.c54 SAFE_STAT("/", &buf); in setup()
/external/ltp/testcases/kernel/syscalls/umask/
Dumask01.c56 SAFE_STAT("testfile", &statbuf); in verify_umask()
/external/ltp/testcases/kernel/syscalls/creat/
Dcreat01.c58 SAFE_STAT(filename, &buf); in verify_creat()
/external/ltp/testcases/kernel/syscalls/setresgid/
Dsetresgid04.c87 SAFE_STAT(cleanup, "test_file", &buf); in setresgid_verify()
/external/ltp/testcases/kernel/syscalls/setresuid/
Dsetresuid05.c87 SAFE_STAT(cleanup, "test_file", &buf); in setresuid_verify()
/external/ltp/testcases/kernel/syscalls/chmod/
Dchmod05.c57 SAFE_STAT(TESTDIR, &stat_buf); in test_chmod()

12