Lines Matching refs:lba
24 * value is read from the cache, it belongs to the mapped lba. In order to
29 sector_t lba, struct ppa_addr ppa)
37 return pblk_rb_copy_to_bio(&pblk->rwb, bio, lba, ppa);
56 sector_t lba = blba + i;
61 meta->lba = addr_empty;
68 if (!pblk_read_from_cache(pblk, bio, lba,
89 meta->lba = cpu_to_le64(lba);
121 u64 lba = le64_to_cpu(meta->lba);
123 if (lba == ADDR_EMPTY)
126 if (lba != blba + i) {
133 lba, (u64)blba + i);
140 * There can be holes in the lba list.
154 u64 lba = lba_list[i];
157 if (lba == ADDR_EMPTY)
160 meta_lba = le64_to_cpu(meta->lba);
162 if (lba != meta_lba) {
169 meta_lba, lba);
199 pblk_read_check_seq(pblk, rqd, r_ctx->lba);
225 sector_t lba, bool *from_cache)
230 pblk_lookup_l2p_seq(pblk, &ppa, lba, 1, from_cache);
240 meta->lba = addr_empty;
248 if (!pblk_read_from_cache(pblk, bio, lba, ppa)) {
249 pblk_lookup_l2p_seq(pblk, &ppa, lba, 1, from_cache);
253 meta->lba = cpu_to_le64(lba);
284 r_ctx->lba = blba;
381 struct pblk_line *line, sector_t lba,
387 if (lba == ADDR_EMPTY)
390 /* logic error: lba out-of-bounds */
391 if (lba >= pblk->capacity) {
392 WARN(1, "pblk: read lba out of bounds\n");
397 ppa_l2p = pblk_trans_map_get(pblk, lba);