Home
last modified time | relevance | path

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

123

/external/ltp/testcases/kernel/syscalls/rename/
Drename03.c34 SAFE_STAT(OLD_FILE_NAME, &old_file_st); in run()
35 SAFE_STAT(OLD_DIR_NAME, &old_dir_st); in run()
44 SAFE_STAT(NEW_FILE_NAME, &new_file_st); in run()
45 SAFE_STAT(NEW_DIR_NAME, &new_dir_st); in run()
Drename01.c40 SAFE_STAT(old_file_name, &old_file_st); in setup()
41 SAFE_STAT(old_dir_name, &old_dir_st); in setup()
53 SAFE_STAT(new_file_name, &new_file_st); in run()
54 SAFE_STAT(new_dir_name, &new_dir_st); in run()
Drename13.c27 SAFE_STAT(TEMP_FILE1, &buf1); in setup()
37 SAFE_STAT(TEMP_FILE2, &buf2); in run()
/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/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.c81 SAFE_STAT(WORKDIR, &buf); in setup()
100 SAFE_STAT(name, &buf); in file_test()
/external/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.c146 SAFE_STAT(cleanup, TEST_FILE, &old_stat); in test_noatime()
158 SAFE_STAT(cleanup, TEST_FILE, &new_stat); in test_noatime()
/external/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()
/external/ltp/testcases/kernel/syscalls/utime/
Dutime01.c39 SAFE_STAT(TEMP_FILE, &stat_buf); in run()
49 SAFE_STAT(TEMP_FILE, &stat_buf); in run()
Dutime02.c55 SAFE_STAT(TEMP_FILE, &stat_buf); in run()
65 SAFE_STAT(TEMP_FILE, &stat_buf); in run()
Dutime03.c64 SAFE_STAT(TEMP_FILE, &statbuf); in run()
77 SAFE_STAT(TEMP_FILE, &statbuf); in run()
Dutime04.c46 SAFE_STAT(TEMP_FILE, &stat_buf); in run()
/external/ltp/testcases/kernel/syscalls/chown/
Dchown03.c59 SAFE_STAT(FILENAME, &stat_buf); in run()
65 SAFE_STAT(FILENAME, &stat_buf); in run()
/external/ltp/testcases/kernel/syscalls/fchown/
Dfchown03.c65 SAFE_STAT(FILENAME, &stat_buf); in run()
70 SAFE_STAT(FILENAME, &stat_buf); in run()
/external/ltp/testcases/kernel/syscalls/fchownat/
Dfchownat02.c88 SAFE_STAT(cleanup, TESTFILE_LINK, &c_buf); in setup()
117 SAFE_STAT(cleanup, TESTFILE_LINK, &c_buf); in test_verify()
/external/ltp/testcases/kernel/syscalls/mount/
Dmount03.c89 SAFE_STAT(BIN_PATH, &st); in test_nosuid()
120 SAFE_STAT(dir, &dir_st); in test_file_dir_noatime()
133 SAFE_STAT(dir, &dir_st); in test_file_dir_noatime()
/external/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()
/external/ltp/testcases/kernel/syscalls/openat/
Dopenat02.c228 SAFE_STAT(cleanup, TEST_FILE, &file_stat); in testfunc_noatime()
243 SAFE_STAT(cleanup, TEST_FILE, &file_newstat); in testfunc_noatime()
/external/ltp/testcases/kernel/syscalls/ustat/
Dustat01.c39 SAFE_STAT("/", &buf); in setup()
/external/ltp/testcases/kernel/syscalls/setresuid/
Dsetresuid05.c36 SAFE_STAT(TEMP_FILE, &buf); in run()
/external/ltp/testcases/kernel/syscalls/mkdir/
Dmkdir05.c31 SAFE_STAT(TESTDIR, &buf); in verify_mkdir()

123