Lines Matching refs:gap_lebs
239 c->gap_lebs[p] = lnum; in layout_leb_in_gaps()
358 int err, leb_needed_cnt, written, p = 0, old_idx_lebs, *gap_lebs; in layout_in_gaps() local
362 c->gap_lebs = kmalloc_array(c->lst.idx_lebs + 1, sizeof(int), in layout_in_gaps()
364 if (!c->gap_lebs) in layout_in_gaps()
374 kfree(c->gap_lebs); in layout_in_gaps()
375 c->gap_lebs = NULL; in layout_in_gaps()
406 gap_lebs = krealloc(c->gap_lebs, sizeof(int) * in layout_in_gaps()
408 if (!gap_lebs) { in layout_in_gaps()
409 kfree(c->gap_lebs); in layout_in_gaps()
410 c->gap_lebs = NULL; in layout_in_gaps()
413 c->gap_lebs = gap_lebs; in layout_in_gaps()
417 c->gap_lebs[p] = -1; in layout_in_gaps()
1061 if (!c->gap_lebs) in return_gap_lebs()
1065 for (p = c->gap_lebs; *p != -1; p++) { in return_gap_lebs()
1072 kfree(c->gap_lebs); in return_gap_lebs()
1073 c->gap_lebs = NULL; in return_gap_lebs()