Home | History | Annotate | Download | only in pending

Lines Matching defs:src_fd

69   int src_fd;
147 writeall(tar->src_fd, (void*) &tmp, sizeof(tmp));
149 writeall(tar->src_fd, name, sz);
150 if (sz%512) writeall(tar->src_fd, buf, (512-(sz%512)));
253 writeall(tar->src_fd, (void*)&hdr, 512);
261 copy_in_out(fd, tar->src_fd, st->st_size);
262 if (st->st_size%512) writeall(tar->src_fd, buf, (512-(st->st_size%512)));
272 if (!fstat(hdl->src_fd, &st) && st.st_dev == node->st.st_dev
301 dup2(tar_hdl->src_fd, 1); //write to tar fd
305 dup2(pipefd[1], tar_hdl->src_fd); //write to pipe
313 copy_in_out(tar->src_fd, 0, file_hdr->size);
353 copy_in_out(tar->src_fd, pipefd[1], file_hdr->size);
430 copy_in_out(tar->src_fd, dst_fd, file_hdr->size);
523 dup2(tar_hdl->src_fd, 0);
528 dup2(pipefd[0], tar_hdl->src_fd); //read from pipe
536 if (readall(tar->src_fd, buf, size) != size) error_exit("short read");
571 while ((x = lskip(tar->src_fd, sz))) {
592 i = readall(tar_hdl->src_fd, &tar, 512);
608 && !lseek(tar_hdl->src_fd, -i, SEEK_CUR)) {
680 xread(tar_hdl->src_fd, longlink, file_hdr->size);
686 xread(tar_hdl->src_fd, longname, file_hdr->size);
781 tar_hdl->src_fd = fd;
804 writeall(tar_hdl->src_fd, toybuf, 1024);
809 close(tar_hdl->src_fd);