Lines Matching refs:write_all
279 #define write_all(f, p, n) io_all((f), (p), (n), 1) macro
846 if (write_all(&fd_out, &cmd, sizeof(cmd)) == -1)
851 && (write_all(&fd_out, buff, csize) == -1)) {
904 if (write_all(&fd_out, buf, sizeof(buf)) == -1)
919 if (write_all(&fd_out, buff, sizeof(buff)) == -1)
933 || write_all(&fd_out, &image_hdr, sizeof(image_hdr))
934 || write_all(&fd_out, alignment, alignsize))
967 || write_all(&fd_out, &image_hdr, sizeof(image_hdr))
968 || write_all(&fd_out, alignment, alignsize))
991 if (write_all(&fd_out, buf, csize) == -1)
1012 if (write_all(&fd_out, buff, csize) == -1)
1483 if ((write_all(&fd_out, &cmd, sizeof(cmd)) == -1)
1484 || (write_all(&fd_out, &buff[k*csize], csize) == -1))