Lines Matching refs:hl

157 	holes_list_t *hlh, *hl, **hlp;  in get_holes_list()  local
186 hl = e_zalloc(E_EXIT, sizeof (holes_list_t)); in get_holes_list()
187 hl->hl_next = NULL; in get_holes_list()
190 hl->hl_data = data; in get_holes_list()
191 hl->hl_hole = hole; in get_holes_list()
193 *hlp = hl; in get_holes_list()
194 hlp = &hl->hl_next; in get_holes_list()
215 holes_list_t *hl; in get_compressed_filesz() local
219 for (hl = hlh; hl != NULL; hl = hl->hl_next) { in get_compressed_filesz()
220 size += (hl->hl_hole - hl->hl_data); in get_compressed_filesz()
251 holes_list_t *hl; in store_sparse_string() local
255 for (hl = hlh; hl != NULL; hl = hl->hl_next) { in store_sparse_string()
256 p = put_value(hl->hl_data, p); in store_sparse_string()
258 p = put_value(hl->hl_hole, p); in store_sparse_string()
295 holes_list_t *hl, *nhl; in free_holesdata() local
297 for (hl = hi->holes_list; hl != NULL; hl = nhl) { in free_holesdata()
298 nhl = hl->hl_next; in free_holesdata()
299 free(hl); in free_holesdata()
324 holes_list_t *hl; in get_holes_info() local
328 if ((hl = get_holes_list(fd, filesz, &ninfo)) == NULL) in get_holes_info()
332 hi->holes_list = hl; in get_holes_info()
341 store_sparse_string(hl, str + MIN_HOLES_HDRSIZE, &len); in get_holes_info()
352 hi->data_size = get_compressed_filesz(hl); in get_holes_info()
399 holes_list_t *hl, **hlp; in parse_holesdata() local
406 hl = e_zalloc(E_EXIT, sizeof (holes_list_t)); in parse_holesdata()
408 hl->hl_next = NULL; in parse_holesdata()
409 *hlp = hl; in parse_holesdata()
410 hlp = &hl->hl_next; in parse_holesdata()
415 hl->hl_data = (off_t)ull; in parse_holesdata()
424 hl->hl_hole = (off_t)ull; in parse_holesdata()
429 for (hl = hi->holes_list; hl != NULL; hl = hl->hl_next) { in parse_holesdata()
430 if (loff >= hl->hl_data) in parse_holesdata()
432 loff = hl->hl_data; in parse_holesdata()
434 if (loff > hl->hl_hole) in parse_holesdata()
436 loff = hl->hl_hole; in parse_holesdata()