Home
last modified time | relevance | path

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

/illumos-gate/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.c2633 holesdata_sz = holes->holesdata_sz - MIN_HOLES_HDRSIZE; in read_holesdata()
2722 filesz -= MIN_HOLES_HDRSIZE; in data_in()
4983 S_ISSPARSE(Gen.g_mode) && Gen.g_filesz > MIN_HOLES_HDRSIZE) { in gethdr()
4984 char holesdata[MIN_HOLES_HDRSIZE + 1]; in gethdr()
4986 FILL(MIN_HOLES_HDRSIZE); in gethdr()
4987 (void) memcpy(holesdata, Buffr.b_out_p, MIN_HOLES_HDRSIZE); in gethdr()
4988 holesdata[MIN_HOLES_HDRSIZE] = '\0'; in gethdr()
4994 Buffr.b_out_p += MIN_HOLES_HDRSIZE; in gethdr()
4995 Buffr.b_cnt -= MIN_HOLES_HDRSIZE; in gethdr()