Home | History | Annotate | Download | only in vndcompress

Lines Matching refs:n_offsets

207 offtab_init(struct offtab *offtab, uint32_t n_offsets, uint32_t window_size,
212 assert(0 < n_offsets);
217 offtab->ot_n_offsets = n_offsets;
218 if ((window_size == 0) || (n_offsets < window_size))
219 offtab->ot_window_size = n_offsets;
419 * Guarantee that the disk reflects block offsets [0, n_offsets). If
431 offtab_checkpoint(struct offtab *offtab, uint32_t n_offsets, int flags)
435 assert(n_offsets <= offtab->ot_n_offsets);
442 offtab_maybe_write_window(offtab, 0, n_offsets);
446 const off_t sync_bytes = ((off_t)n_offsets *