Lines Matching defs:line
28 struct pblk_line *line = pblk_line_get_data(pblk);
36 if (!line)
39 if (pblk_line_is_full(line)) {
40 struct pblk_line *prev_line = line;
42 /* If we cannot allocate a new line, make sure to store metadata
43 * on current line and then fail
45 line = pblk_line_replace_data(pblk);
48 if (!line) {
55 emeta = line->emeta;
58 paddr = pblk_alloc_page(pblk, line, nr_secs);
65 ppa_list[i] = addr_to_gen_ppa(pblk, paddr, line->id);
75 kref_get(&line->ref);
76 atomic_inc(&line->sec_to_update);
82 line->nr_valid_lbas++;
88 __pblk_map_invalidate(pblk, line, paddr);
150 /* line can change after page map. We might also be writing the
151 * last line.
178 /* line can change after page map. We might also be writing the
179 * last line.
185 /* Erase blocks that are bad in this line but might not be in next */