Searched refs:hole (Results 1 - 4 of 4) 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 Dpax.h80 #define holeinit(fd) (state.hole=0)
81 #define holedone(fd) do if(state.hole){lseek(fd,state.hole-1,SEEK_CUR);state.hole=0;write(fd,"",1);} while(0)
535 off_t hole; /* one past last hole */ \
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...]
H A Ddelta.c1062 int hole = 0; local
1168 if (!hole && (op & (DELTA_FD|DELTA_TEMP)) == DELTA_FD)
1170 hole = 1;

Completed in 15 milliseconds