Home
last modified time | relevance | path

Searched refs:FILE_SIZE (Results 1 – 10 of 10) sorted by relevance

/third_party/ltp/testcases/kernel/syscalls/fstat/
Dfstat02.c20 #define FILE_SIZE 1024 macro
52 if (stat_buf.st_size != FILE_SIZE) { in run()
54 (long)stat_buf.st_size, FILE_SIZE); in run()
79 if (tst_fill_file(TESTFILE, 'a', FILE_SIZE, 1)) in setup()
/third_party/gstreamer/gstplugins_base/tests/check/libs/
Dallocators.c36 #define FILE_SIZE 4096 macro
53 mem = gst_dmabuf_allocator_alloc (alloc, fd, FILE_SIZE); in GST_START_TEST()
58 fail_unless (info.size == FILE_SIZE); in GST_START_TEST()
59 fail_unless (info.maxsize == FILE_SIZE); in GST_START_TEST()
/third_party/ltp/testcases/kernel/syscalls/sync/
Dsync01.c25 #define FILE_SIZE (FILE_SIZE_MB * TST_MB) macro
46 if (written >= FILE_SIZE) in verify_sync()
49 tst_res(TFAIL, "Synced %li, expected %i", written, FILE_SIZE); in verify_sync()
/third_party/ltp/testcases/kernel/syscalls/fdatasync/
Dfdatasync03.c25 #define FILE_SIZE (FILE_SIZE_MB * TST_MB) macro
49 if (written >= FILE_SIZE) in verify_fdatasync()
52 tst_res(TFAIL, "Synced %li, expected %i", written, FILE_SIZE); in verify_fdatasync()
/third_party/ltp/testcases/kernel/syscalls/fsync/
Dfsync04.c25 #define FILE_SIZE (FILE_SIZE_MB * TST_MB) macro
49 if (written >= FILE_SIZE) in verify_fsync()
52 tst_res(TFAIL, "Synced %li, expected %i", written, FILE_SIZE); in verify_fsync()
/third_party/ltp/testcases/kernel/syscalls/syncfs/
Dsyncfs01.c26 #define FILE_SIZE (FILE_SIZE_MB * TST_MB) macro
50 if (written >= FILE_SIZE) in verify_syncfs()
53 tst_res(TFAIL, "Synced %li, expected %i", written, FILE_SIZE); in verify_syncfs()
/third_party/ltp/testcases/kernel/syscalls/ftruncate/
Dftruncate01.c27 #define FILE_SIZE 1024 macro
34 char buf[FILE_SIZE]; in check_and_report()
86 if (tst_fill_file(TESTFILE, 'a', FILE_SIZE, 1)) in setup()
/third_party/ltp/testcases/kernel/syscalls/stat/
Dstat01.c18 #define FILE_SIZE 1024 macro
62 if (stat_buf.st_size != FILE_SIZE) { in verify_stat()
64 (long)stat_buf.st_size, FILE_SIZE); in verify_stat()
/third_party/ltp/testcases/kernel/syscalls/truncate/
Dtruncate02.c28 #define FILE_SIZE 1024 macro
97 tst_fill_fd(fd, 'a', FILE_SIZE, 1); in setup()
/third_party/ltp/testcases/kernel/mce-test/stress/tools/page-poisoning/
Dpage-poisoning.c50 #define FILE_SIZE 1 * 1024 * 1024 * 1024 macro