used_ebs          336 drivers/mtd/ubi/attach.c 	int used_ebs = be32_to_cpu(vid_hdr->used_ebs);
used_ebs          363 drivers/mtd/ubi/attach.c 		if (used_ebs != av->used_ebs) {
used_ebs          409 drivers/mtd/ubi/attach.c 	av->used_ebs = be32_to_cpu(vid_hdr->used_ebs);
used_ebs         1687 drivers/mtd/ubi/attach.c 		    av->leb_count < 0 || av->vol_type < 0 || av->used_ebs < 0 ||
used_ebs         1747 drivers/mtd/ubi/attach.c 				if (aeb->lnum >= av->used_ebs) {
used_ebs         1752 drivers/mtd/ubi/attach.c 				if (av->used_ebs != 0) {
used_ebs         1833 drivers/mtd/ubi/attach.c 			if (av->used_ebs != be32_to_cpu(vidh->used_ebs)) {
used_ebs         1834 drivers/mtd/ubi/attach.c 				ubi_err(ubi, "bad used_ebs %d", av->used_ebs);
used_ebs           81 drivers/mtd/ubi/debug.c 	pr_err("\tused_ebs  %d\n",  be32_to_cpu(vid_hdr->used_ebs));
used_ebs          105 drivers/mtd/ubi/debug.c 	pr_err("\tused_ebs        %d\n", vol->used_ebs);
used_ebs          166 drivers/mtd/ubi/debug.c 	pr_err("\tused_ebs       %d\n", av->used_ebs);
used_ebs          687 drivers/mtd/ubi/eba.c 		ubi_assert(lnum < be32_to_cpu(vid_hdr->used_ebs));
used_ebs         1112 drivers/mtd/ubi/eba.c 			 int lnum, const void *buf, int len, int used_ebs)
used_ebs         1122 drivers/mtd/ubi/eba.c 	if (lnum == used_ebs - 1)
used_ebs         1147 drivers/mtd/ubi/eba.c 	vid_hdr->used_ebs = cpu_to_be32(used_ebs);
used_ebs          176 drivers/mtd/ubi/fastmap.c 				       int used_ebs, int data_pad, u8 vol_type,
used_ebs          190 drivers/mtd/ubi/fastmap.c 		av->used_ebs = used_ebs;
used_ebs          317 drivers/mtd/ubi/fastmap.c 		av->used_ebs = be32_to_cpu(new_vh->used_ebs);
used_ebs          695 drivers/mtd/ubi/fastmap.c 			     be32_to_cpu(fmvhdr->used_ebs),
used_ebs         1297 drivers/mtd/ubi/fastmap.c 		fvh->used_ebs = cpu_to_be32(vol->used_ebs);
used_ebs          841 drivers/mtd/ubi/io.c 	int used_ebs = be32_to_cpu(vid_hdr->used_ebs);
used_ebs          851 drivers/mtd/ubi/io.c 	if (vol_id < 0 || lnum < 0 || data_size < 0 || used_ebs < 0 ||
used_ebs          896 drivers/mtd/ubi/io.c 		if (used_ebs == 0) {
used_ebs          904 drivers/mtd/ubi/io.c 		if (lnum < used_ebs - 1) {
used_ebs          909 drivers/mtd/ubi/io.c 		} else if (lnum == used_ebs - 1) {
used_ebs          934 drivers/mtd/ubi/io.c 		if (used_ebs != 0) {
used_ebs          376 drivers/mtd/ubi/kapi.c 	    lnum >= vol->used_ebs || offset < 0 || len < 0 ||
used_ebs          381 drivers/mtd/ubi/kapi.c 		if (vol->used_ebs == 0)
used_ebs          384 drivers/mtd/ubi/kapi.c 		if (lnum == vol->used_ebs - 1 &&
used_ebs           61 drivers/mtd/ubi/misc.c 	for (i = 0; i < vol->used_ebs; i++) {
used_ebs           66 drivers/mtd/ubi/misc.c 		if (i == vol->used_ebs - 1)
used_ebs          278 drivers/mtd/ubi/ubi-media.h 	__be32  used_ebs;
used_ebs          485 drivers/mtd/ubi/ubi-media.h 	__be32 used_ebs;
used_ebs          352 drivers/mtd/ubi/ubi.h 	int used_ebs;
used_ebs          713 drivers/mtd/ubi/ubi.h 	int used_ebs;
used_ebs          894 drivers/mtd/ubi/ubi.h 			 int lnum, const void *buf, int len, int used_ebs);
used_ebs           89 drivers/mtd/ubi/upd.c 		vol->used_ebs = div_u64_rem(bytes, vol->usable_leb_size,
used_ebs           92 drivers/mtd/ubi/upd.c 			vol->used_ebs += 1;
used_ebs          220 drivers/mtd/ubi/upd.c 		     void *buf, int len, int used_ebs)
used_ebs          246 drivers/mtd/ubi/upd.c 		err = ubi_eba_write_leb_st(ubi, vol, lnum, buf, len, used_ebs);
used_ebs          250 drivers/mtd/ubi/vmt.c 		vol->used_ebs = vol->reserved_pebs;
used_ebs          253 drivers/mtd/ubi/vmt.c 			(long long)vol->used_ebs * vol->usable_leb_size;
used_ebs          255 drivers/mtd/ubi/vmt.c 		vol->used_ebs = div_u64_rem(vol->used_bytes,
used_ebs          259 drivers/mtd/ubi/vmt.c 			vol->used_ebs += 1;
used_ebs          427 drivers/mtd/ubi/vmt.c 	    reserved_pebs < vol->used_ebs) {
used_ebs          429 drivers/mtd/ubi/vmt.c 			reserved_pebs, vol->used_ebs);
used_ebs          505 drivers/mtd/ubi/vmt.c 		vol->used_ebs = reserved_pebs;
used_ebs          508 drivers/mtd/ubi/vmt.c 			(long long)vol->used_ebs * vol->usable_leb_size;
used_ebs          712 drivers/mtd/ubi/vmt.c 	n = (long long)vol->used_ebs * vol->usable_leb_size;
used_ebs          718 drivers/mtd/ubi/vmt.c 		if (vol->used_ebs != vol->reserved_pebs) {
used_ebs          736 drivers/mtd/ubi/vmt.c 		if (vol->used_ebs < 0 || vol->used_ebs > vol->reserved_pebs) {
used_ebs          311 drivers/mtd/ubi/vtbl.c 	vid_hdr->data_size = vid_hdr->used_ebs =
used_ebs          586 drivers/mtd/ubi/vtbl.c 			vol->used_ebs = vol->reserved_pebs;
used_ebs          589 drivers/mtd/ubi/vtbl.c 				(long long)vol->used_ebs * vol->usable_leb_size;
used_ebs          607 drivers/mtd/ubi/vtbl.c 		if (av->leb_count != av->used_ebs) {
used_ebs          613 drivers/mtd/ubi/vtbl.c 				 av->vol_id, av->used_ebs - av->leb_count);
used_ebs          618 drivers/mtd/ubi/vtbl.c 		vol->used_ebs = av->used_ebs;
used_ebs          620 drivers/mtd/ubi/vtbl.c 			(long long)(vol->used_ebs - 1) * vol->usable_leb_size;
used_ebs          636 drivers/mtd/ubi/vtbl.c 	vol->used_ebs = vol->reserved_pebs;
used_ebs          639 drivers/mtd/ubi/vtbl.c 		(long long)vol->used_ebs * (ubi->leb_size - vol->data_pad);
used_ebs          691 drivers/mtd/ubi/vtbl.c 	if (av->used_ebs > vol->reserved_pebs) {
used_ebs          104 include/linux/mtd/ubi.h 	int used_ebs;