Searched defs:hole (Results 1 - 3 of 3) sorted by relevance

/ast/src/cmd/pax/
H A Dcopy.c370 off_t hole; local
377 if ((hole = lseek(rfd, data, SEEK_HOLE)) < data)
379 hole = lseek(rfd, 0, SEEK_END);
382 while ((c = hole - data) > 0)
403 if ((data = lseek(rfd, hole, SEEK_DATA)) < hole)
H A Ddelta.c1062 int hole = 0; local
1168 if (!hole && (op & (DELTA_FD|DELTA_TEMP)) == DELTA_FD)
1170 hole = 1;
H A Dfile.c1320 * write siz bytes of buf to fd checking for HOLE_MIN hole chunks
1334 static char hole[HOLE_MIN]; local
1346 if (!*s && !*(t - 1) && !memcmp(s, hole, t - s))
1350 if (state.hole)
1352 if (lseek(fd, state.hole, SEEK_CUR) < state.hole)
1354 state.hole = 0;
1361 state.hole += t - s;
1369 if (state.hole)
1371 if (lseek(fd, state.hole, SEEK_CU
[all...]

Completed in 27 milliseconds