Home
last modified time | relevance | path

Searched refs:MIN_HOLES_HDRSIZE (Results 1 – 3 of 3) sorted by relevance

/titanic_44/usr/src/cmd/cpio/
H A Dutils.c325 char *str, hstr[MIN_HOLES_HDRSIZE + 1]; in get_holes_info()
336 MIN_HOLES_HDRSIZE + ninfo * (ULL_MAX_SIZE * 2)); in get_holes_info()
341 store_sparse_string(hl, str + MIN_HOLES_HDRSIZE, &len); in get_holes_info()
348 (ulong_t)MIN_HOLES_HDRSIZE + len + 1, filesz); in get_holes_info()
349 (void) memcpy(str, hstr, MIN_HOLES_HDRSIZE); in get_holes_info()
354 hi->holesdata_sz = MIN_HOLES_HDRSIZE + len + 1; in get_holes_info()
390 hi->holesdata_sz <= MIN_HOLES_HDRSIZE) { in read_holes_header()
H A Dcpio.h314 #define MIN_HOLES_HDRSIZE (UL_MAX_SIZE + 1 + ULL_MAX_SIZE + 1) macro
H A Dcpio.c2625 holesdata_sz = holes->holesdata_sz - MIN_HOLES_HDRSIZE; in read_holesdata()
2714 filesz -= MIN_HOLES_HDRSIZE; in data_in()
4975 S_ISSPARSE(Gen.g_mode) && Gen.g_filesz > MIN_HOLES_HDRSIZE) { in gethdr()
4976 char holesdata[MIN_HOLES_HDRSIZE + 1]; in gethdr()
4978 FILL(MIN_HOLES_HDRSIZE); in gethdr()
4979 (void) memcpy(holesdata, Buffr.b_out_p, MIN_HOLES_HDRSIZE); in gethdr()
4980 holesdata[MIN_HOLES_HDRSIZE] = '\0'; in gethdr()
4986 Buffr.b_out_p += MIN_HOLES_HDRSIZE; in gethdr()
4987 Buffr.b_cnt -= MIN_HOLES_HDRSIZE; in gethdr()