Lines Matching refs:gap_end
106 static int fill_gap(struct ubifs_info *c, int lnum, int gap_start, int gap_end, in fill_gap() argument
112 ubifs_assert(c, (gap_end & 7) == 0); in fill_gap()
113 ubifs_assert(c, gap_end >= gap_start); in fill_gap()
115 gap_remains = gap_end - gap_start; in fill_gap()
141 if (gap_end == c->leb_size) { in fill_gap()
149 lnum, gap_start, gap_end, gap_end - gap_start, written, pad_len); in fill_gap()
228 int lnum, dirt = 0, gap_start, gap_end, err, written, tot_written; in layout_leb_in_gaps() local
275 gap_end = snod->offs; in layout_leb_in_gaps()
277 written = fill_gap(c, lnum, gap_start, gap_end, &dirt); in layout_leb_in_gaps()
288 gap_end = c->leb_size; in layout_leb_in_gaps()
290 written = fill_gap(c, lnum, gap_start, gap_end, &dirt); in layout_leb_in_gaps()