Lines Matching defs:fromfd
38 int fromfd = open(fromfile, O_RDWR | O_CREAT, TEST_MODE);
39 if (fromfd < 0) {
40 t_error("%s failed: fromfd = %d\n", __func__, fromfd);
53 ssize_t result = splice(fromfd, &off, tofd, &off, len, flags);
83 int fromfd = open(path, O_RDONLY);
84 if (fromfd < 0) {
85 t_error("%s failed: fromfd = %d\n", __func__, fromfd);
98 ssize_t bytes = splice(fromfd, NULL, pipe1[1], NULL, len, flags);