Searched refs:last_eb_bytes (Results 1 - 9 of 9) sorted by relevance

/linux-4.4.14/drivers/mtd/ubi/
H A Dvmt.c255 vol->last_eb_bytes = vol->usable_leb_size; ubi_create_volume()
261 &vol->last_eb_bytes); ubi_create_volume()
262 if (vol->last_eb_bytes != 0) ubi_create_volume()
265 vol->last_eb_bytes = vol->usable_leb_size; ubi_create_volume()
518 vol->last_eb_bytes = vol->usable_leb_size; ubi_resize_volume()
734 if (vol->last_eb_bytes != vol->usable_leb_size) { self_check_volume()
735 ubi_err(ubi, "bad last_eb_bytes"); self_check_volume()
747 if (vol->last_eb_bytes < 0 || self_check_volume()
748 vol->last_eb_bytes > vol->usable_leb_size) { self_check_volume()
749 ubi_err(ubi, "bad last_eb_bytes"); self_check_volume()
H A Dupd.c103 &vol->last_eb_bytes); clear_update_marker()
104 if (vol->last_eb_bytes) clear_update_marker()
107 vol->last_eb_bytes = vol->usable_leb_size; clear_update_marker()
H A Dmisc.c80 size = vol->last_eb_bytes; ubi_check_volume()
H A Dfastmap.c177 * @last_eb_bytes: number of bytes in the last LEB
184 int last_eb_bytes) add_vol()
208 av->last_data_size = last_eb_bytes; add_vol()
749 be32_to_cpu(fmvhdr->last_eb_bytes)); ubi_attach_fastmap()
1261 fvh->last_eb_bytes = cpu_to_be32(vol->last_eb_bytes);
182 add_vol(struct ubi_attach_info *ai, int vol_id, int used_ebs, int data_pad, u8 vol_type, int last_eb_bytes) add_vol() argument
H A Dvtbl.c584 vol->last_eb_bytes = vol->usable_leb_size; init_volumes()
619 vol->last_eb_bytes = av->last_data_size; init_volumes()
634 vol->last_eb_bytes = vol->reserved_pebs; init_volumes()
H A Ddebug.c119 pr_err("\tlast_eb_bytes %d\n", vol->last_eb_bytes); ubi_dump_vol_info()
H A Dubi-media.h487 * @last_eb_bytes: number of bytes used in the last LEB
496 __be32 last_eb_bytes; member in struct:ubi_fm_volhdr
H A Dubi.h281 * @last_eb_bytes: how many bytes are stored in the last logical eraseblock
330 int last_eb_bytes; member in struct:ubi_volume
H A Dkapi.c395 offset + len > vol->last_eb_bytes) leb_read_sanity_check()

Completed in 314 milliseconds