Lines Matching refs:sparselen
58 int fd, ouid, ggid, hlc, warn, adev, aino, sparselen;
297 TT.sparselen = 0; in add_to_tar()
310 if (!(TT.sparselen&511)) in add_to_tar()
311 TT.sparse = xrealloc(TT.sparse, (TT.sparselen+514)*sizeof(long long)); in add_to_tar()
313 TT.sparse[TT.sparselen++] = ld; in add_to_tar()
314 len += TT.sparse[TT.sparselen++] = lo-ld; in add_to_tar()
320 if (TT.sparselen>2) { in add_to_tar()
321 TT.sparse[TT.sparselen++] = st->st_size; in add_to_tar()
322 TT.sparse[TT.sparselen++] = 0; in add_to_tar()
325 for (i = 0; i<TT.sparselen && i<8; i++) in add_to_tar()
330 if (TT.sparselen>8) lnk[482] = 1; in add_to_tar()
333 } else TT.sparselen = 0; in add_to_tar()
345 if (TT.sparselen>8) { in add_to_tar()
352 if (!j || i==TT.sparselen) { in add_to_tar()
354 if (i!=TT.sparselen) buf[504] = 1; in add_to_tar()
357 if (i==TT.sparselen) break; in add_to_tar()
363 TT.sparselen >>= 1; in add_to_tar()
366 else for (i = 0; i<TT.sparselen; i++) { in add_to_tar()
433 if (TT.sparselen) { in sendfile_sparse()
460 } while (++i<TT.sparselen); in sendfile_sparse()
616 TT.sparselen = 0; in unpack_tar()
621 if (!(TT.sparselen&511)) in unpack_tar()
622 TT.sparse = xrealloc(TT.sparse, (TT.sparselen+512)*sizeof(long long)); in unpack_tar()
632 TT.sparse[TT.sparselen++] = otoi(s, 12); in unpack_tar()
637 TT.sparselen /= 2; in unpack_tar()
638 if (TT.sparselen) in unpack_tar()
639 TT.hdr.ssize = TT.sparse[2*TT.sparselen-1]+TT.sparse[2*TT.sparselen-2]; in unpack_tar()
641 TT.sparselen = 0; in unpack_tar()