Home
last modified time | relevance | path

Searched refs:SAFE_FTRUNCATE (Results 1 – 17 of 17) sorted by relevance

/external/ltp/testcases/kernel/syscalls/lseek/
Dlseek11.c117 SAFE_FTRUNCATE(fd, 0); in get_blocksize()
133 SAFE_FTRUNCATE(fd, 0); in get_blocksize()
183 SAFE_FTRUNCATE(fd, FILE_BLOCKS * block_size); in setup()
/external/ltp/testcases/kernel/syscalls/mlock/
Dmlock04.c92 SAFE_FTRUNCATE(cleanup, fd, file_len); in setup()
/external/ltp/testcases/kernel/syscalls/pwritev/
Dpwritev02.c103 SAFE_FTRUNCATE(fd1, getpagesize()); in setup()
/external/ltp/testcases/kernel/syscalls/pwritev2/
Dpwritev202.c89 SAFE_FTRUNCATE(fd1, getpagesize()); in setup()
/external/ltp/testcases/kernel/io/ltp-aiodio/
Dcommon_sparse.h46 SAFE_FTRUNCATE(cleanup, fd, size); in dirty_freeblocks()
Ddio_sparse.c147 SAFE_FTRUNCATE(cleanup, fd, filesize); in main()
Daiodio_sparse.c266 SAFE_FTRUNCATE(cleanup, fd, filesize); in main()
/external/ltp/testcases/kernel/syscalls/mmap/
Dmmap12.c137 SAFE_FTRUNCATE(fildes, MMAPSIZE); in setup()
Dmmap16.c210 SAFE_FTRUNCATE(NULL, fd, page_size * 2); in do_child()
/external/ltp/testcases/kernel/syscalls/preadv/
Dpreadv02.c108 SAFE_FTRUNCATE(fd1, getpagesize()); in setup()
/external/ltp/lib/
Dtst_checkpoint.c75 SAFE_FTRUNCATE(cleanup_fn, fd, page_size); in tst_checkpoint_init()
Dtst_test.c105 SAFE_FTRUNCATE(ipc_fd, size); in setup_ipc()
/external/ltp/testcases/kernel/syscalls/preadv2/
Dpreadv202.c93 SAFE_FTRUNCATE(fd1, getpagesize()); in setup()
/external/ltp/testcases/kernel/syscalls/remap_file_pages/
Dremap_file_pages02.c133 SAFE_FTRUNCATE(fd, page_sz); in setup()
/external/ltp/testcases/kernel/syscalls/fsync/
Dfsync02.c142 SAFE_FTRUNCATE(cleanup, fd, 0); in main()
/external/ltp/include/old/
Dsafe_macros.h197 #define SAFE_FTRUNCATE(cleanup_fn, fd, length) \ macro
/external/ltp/include/
Dtst_safe_macros.h272 #define SAFE_FTRUNCATE(fd, length) \ macro