Searched refs:SAFE_FTRUNCATE (Results 1 – 17 of 17) sorted by relevance
/external/ltp/testcases/kernel/syscalls/lseek/ |
D | lseek11.c | 117 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/ |
D | mlock04.c | 92 SAFE_FTRUNCATE(cleanup, fd, file_len); in setup()
|
/external/ltp/testcases/kernel/syscalls/pwritev/ |
D | pwritev02.c | 103 SAFE_FTRUNCATE(fd1, getpagesize()); in setup()
|
/external/ltp/testcases/kernel/syscalls/pwritev2/ |
D | pwritev202.c | 89 SAFE_FTRUNCATE(fd1, getpagesize()); in setup()
|
/external/ltp/testcases/kernel/io/ltp-aiodio/ |
D | common_sparse.h | 46 SAFE_FTRUNCATE(cleanup, fd, size); in dirty_freeblocks()
|
D | dio_sparse.c | 147 SAFE_FTRUNCATE(cleanup, fd, filesize); in main()
|
D | aiodio_sparse.c | 266 SAFE_FTRUNCATE(cleanup, fd, filesize); in main()
|
/external/ltp/testcases/kernel/syscalls/mmap/ |
D | mmap12.c | 137 SAFE_FTRUNCATE(fildes, MMAPSIZE); in setup()
|
D | mmap16.c | 210 SAFE_FTRUNCATE(NULL, fd, page_size * 2); in do_child()
|
/external/ltp/testcases/kernel/syscalls/preadv/ |
D | preadv02.c | 108 SAFE_FTRUNCATE(fd1, getpagesize()); in setup()
|
/external/ltp/lib/ |
D | tst_checkpoint.c | 75 SAFE_FTRUNCATE(cleanup_fn, fd, page_size); in tst_checkpoint_init()
|
D | tst_test.c | 105 SAFE_FTRUNCATE(ipc_fd, size); in setup_ipc()
|
/external/ltp/testcases/kernel/syscalls/preadv2/ |
D | preadv202.c | 93 SAFE_FTRUNCATE(fd1, getpagesize()); in setup()
|
/external/ltp/testcases/kernel/syscalls/remap_file_pages/ |
D | remap_file_pages02.c | 133 SAFE_FTRUNCATE(fd, page_sz); in setup()
|
/external/ltp/testcases/kernel/syscalls/fsync/ |
D | fsync02.c | 142 SAFE_FTRUNCATE(cleanup, fd, 0); in main()
|
/external/ltp/include/old/ |
D | safe_macros.h | 197 #define SAFE_FTRUNCATE(cleanup_fn, fd, length) \ macro
|
/external/ltp/include/ |
D | tst_safe_macros.h | 272 #define SAFE_FTRUNCATE(fd, length) \ macro
|