Home
last modified time | relevance | path

Searched refs:CONTSIZE (Results 1 – 3 of 3) sorted by relevance

/third_party/ltp/testcases/kernel/syscalls/copy_file_range/
Dcopy_file_range02.c69 {&fd_rdonly, 0, EBADF, CONTSIZE, "readonly file", 0},
70 {&fd_dir, 0, EISDIR, CONTSIZE, "directory", 0},
71 {&fd_append, 0, EBADF, CONTSIZE, "append to file", 0},
72 {&fd_closed, 0, EBADF, CONTSIZE, "closed file descriptor", 0},
73 {&fd_dest, -1, EINVAL, CONTSIZE, "invalid flags", 0},
74 {&fd_immutable, 0, EPERM, CONTSIZE, "immutable file", 1},
75 {&fd_swapfile, 0, ETXTBSY, CONTSIZE, "swap file", 1},
76 {&fd_dup, 0, EINVAL, CONTSIZE/2, "overlaping range", 1},
77 {&fd_blkdev, 0, EINVAL, CONTSIZE, "block device", 0},
78 {&fd_chrdev, 0, EINVAL, CONTSIZE, "char device", 0},
[all …]
Dcopy_file_range.h29 #define CONTSIZE (sizeof(CONTENT) - 1) macro
70 SAFE_WRITE(1, fd, CONTENT, CONTSIZE); in verify_cross_fs_copy_support()
73 TEST(sys_copy_file_range(fd, 0, fd_test, 0, CONTSIZE, 0)); in verify_cross_fs_copy_support()
Dcopy_file_range03.c40 fd_dest, 0, CONTSIZE, 0)); in verify_copy_file_range_timestamp()
69 SAFE_WRITE(1, fd_src, CONTENT, CONTSIZE); in setup()