Lines Matching refs:write
59 if (write(output_fd, &size, hdr_sz) != hdr_sz)
67 if (write(output_fd, buf, r) != r)
104 if (write(output_fd, "header_page", 12) != 12) {
105 pr_debug("can't write header_page\n");
128 if (write(output_fd, "header_event", 13) != 13) {
129 pr_debug("can't write header_event\n");
192 if (write(output_fd, &count, 4) != 4) {
194 pr_debug("can't write count\n");
285 if (write(output_fd, &count, 4) != 4) {
287 pr_debug("can't write count\n");
305 if (write(output_fd, dent->d_name, size) != size ||
332 return write(output_fd, &size, 4) != 4 ? -EIO : 0;
352 if (write(output_fd, &size, 4) != 4)
380 if (write(output_fd, &size, 8) != 8)
564 if (write(output_fd, buf, 10) != 10)
568 if (write(output_fd, VERSION, size) != size)
577 if (write(output_fd, buf, 1) != 1)
582 if (write(output_fd, buf, 1) != 1)
586 if (write(output_fd, &page_size, 4) != 4)
694 * We work over the real file, so we can write data