Lines Matching refs:lnum
174 vol->vol_id, req->lnum, req->bytes); in ubi_start_leb_change()
176 return ubi_eba_atomic_leb_change(ubi, vol, req->lnum, NULL, 0); in ubi_start_leb_change()
181 vol->ch_lnum = req->lnum; in ubi_start_leb_change()
219 static int write_leb(struct ubi_device *ubi, struct ubi_volume *vol, int lnum, in write_leb() argument
234 err = ubi_eba_write_leb(ubi, vol, lnum, buf, 0, len); in write_leb()
246 err = ubi_eba_write_leb_st(ubi, vol, lnum, buf, len, used_ebs); in write_leb()
268 int lnum, offs, err = 0, len, to_write = count; in ubi_more_update_data() local
276 lnum = div_u64_rem(vol->upd_received, vol->usable_leb_size, &offs); in ubi_more_update_data()
309 err = write_leb(ubi, vol, lnum, vol->upd_buf, flush_len, in ubi_more_update_data()
318 lnum += 1; in ubi_more_update_data()
337 err = write_leb(ubi, vol, lnum, vol->upd_buf, in ubi_more_update_data()
345 lnum += 1; in ubi_more_update_data()