Home
last modified time | relevance | path

Searched refs:last_eb_bytes (Results 1 – 19 of 19) sorted by relevance

/openbmc/u-boot/drivers/mtd/ubi/
H A Dvmt.c250 vol->last_eb_bytes = vol->usable_leb_size; in ubi_create_volume()
256 &vol->last_eb_bytes); in ubi_create_volume()
257 if (vol->last_eb_bytes != 0) in ubi_create_volume()
260 vol->last_eb_bytes = vol->usable_leb_size; in ubi_create_volume()
515 vol->last_eb_bytes = vol->usable_leb_size; in ubi_resize_volume()
733 if (vol->last_eb_bytes != vol->usable_leb_size) { in self_check_volume()
746 if (vol->last_eb_bytes < 0 || in self_check_volume()
747 vol->last_eb_bytes > vol->usable_leb_size) { in self_check_volume()
H A Dupd.c96 &vol->last_eb_bytes); in clear_update_marker()
97 if (vol->last_eb_bytes) in clear_update_marker()
100 vol->last_eb_bytes = vol->usable_leb_size; in clear_update_marker()
H A Dmisc.c68 size = vol->last_eb_bytes; in ubi_check_volume()
H A Dubi-media.h487 __be32 last_eb_bytes; member
H A Dvtbl.c581 vol->last_eb_bytes = vol->usable_leb_size;
616 vol->last_eb_bytes = av->last_data_size;
631 vol->last_eb_bytes = vol->reserved_pebs;
H A Dubi.h327 int last_eb_bytes; member
329 u32 last_eb_bytes; member
H A Dfastmap.c185 int last_eb_bytes) in add_vol() argument
209 av->last_data_size = last_eb_bytes; in add_vol()
756 be32_to_cpu(fmvhdr->last_eb_bytes)); in ubi_attach_fastmap()
1275 fvh->last_eb_bytes = cpu_to_be32(vol->last_eb_bytes); in ubi_write_fastmap()
H A Ddebug.c109 printf("\tlast_eb_bytes %d\n", vol->last_eb_bytes); in ubi_dump_vol_info()
H A Dkapi.c391 offset + len > vol->last_eb_bytes) in leb_read_sanity_check()
/openbmc/linux/drivers/mtd/ubi/
H A Dvmt.c245 vol->last_eb_bytes = vol->usable_leb_size; in ubi_create_volume()
251 &vol->last_eb_bytes); in ubi_create_volume()
252 if (vol->last_eb_bytes != 0) in ubi_create_volume()
255 vol->last_eb_bytes = vol->usable_leb_size; in ubi_create_volume()
499 vol->last_eb_bytes = vol->usable_leb_size; in ubi_resize_volume()
717 if (vol->last_eb_bytes != vol->usable_leb_size) { in self_check_volume()
735 if (vol->last_eb_bytes < 0 || in self_check_volume()
736 vol->last_eb_bytes > vol->usable_leb_size) { in self_check_volume()
H A Dupd.c90 &vol->last_eb_bytes); in clear_update_marker()
91 if (vol->last_eb_bytes) in clear_update_marker()
94 vol->last_eb_bytes = vol->usable_leb_size; in clear_update_marker()
H A Dmisc.c67 size = vol->last_eb_bytes; in ubi_check_volume()
H A Dubi-media.h486 __be32 last_eb_bytes; member
H A Dvtbl.c587 vol->last_eb_bytes = vol->usable_leb_size; in init_volumes()
622 vol->last_eb_bytes = av->last_data_size; in init_volumes()
637 vol->last_eb_bytes = vol->reserved_pebs; in init_volumes()
H A Dfastmap.c177 int last_eb_bytes) in add_vol() argument
186 av->last_data_size = last_eb_bytes; in add_vol()
708 be32_to_cpu(fmvhdr->last_eb_bytes)); in ubi_attach_fastmap()
1308 fvh->last_eb_bytes = cpu_to_be32(vol->last_eb_bytes); in ubi_write_fastmap()
H A Ddebug.c107 pr_err("\tlast_eb_bytes %d\n", vol->last_eb_bytes); in ubi_dump_vol_info()
H A Dkapi.c386 offset + len > vol->last_eb_bytes) in leb_read_sanity_check()
H A Dubi.h353 int last_eb_bytes; member
/openbmc/u-boot/doc/
H A DREADME.ubi101 UBI: last_eb_bytes 262016
116 UBI: last_eb_bytes 2