Home | History | Annotate | Download | only in dd

Lines Matching refs:out

32  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
139 if (!(out.flags & ISTAPE)) {
140 if (ddop_lseek(out, out.fd,
141 (off_t)out.offset * (off_t)out.dbsz, SEEK_SET) == -1)
142 err(EXIT_FAILURE, "%s", out.name);
148 if (out.flags & NOREAD) {
150 t_op.mt_count = out.offset;
152 if (ddop_ioctl(out, out.fd, MTIOCTOP, &t_op) < 0)
153 err(EXIT_FAILURE, "%s", out.name);
159 for (cnt = 0; cnt < out.offset; ++cnt) {
160 if ((n = ddop_read(out, out.fd, out.db, out.dbsz)) > 0)
164 err(EXIT_FAILURE, "%s", out.name);
174 if (ddop_ioctl(out, out.fd, MTIOCTOP, &t_op) == -1)
175 err(EXIT_FAILURE, "%s", out.name);
178 while (cnt++ < out.offset)
179 if ((uint64_t)(n = bwrite(&out,
180 out.db, out.dbsz)) != out.dbsz)
181 err(EXIT_FAILURE, "%s", out.name);