Searched refs:leb_count (Results 1 - 5 of 5) sorted by relevance

/linux-master/drivers/mtd/ubi/
H A Dvtbl.c595 if (!av || !av->leb_count) {
607 if (av->leb_count != av->used_ebs) {
613 av->vol_id, av->used_ebs - av->leb_count);
683 if (av->leb_count > vol->reserved_pebs) {
826 if (av->leb_count > UBI_LAYOUT_VOLUME_EBS) {
829 av->leb_count);
H A Dattach.c339 if (av->leb_count != 0) {
703 av->leb_count += 1;
1675 int leb_count = 0; local
1687 av->leb_count < 0 || av->vol_type < 0 || av->used_ebs < 0 ||
1721 leb_count += 1;
1764 if (av->leb_count != leb_count) {
1765 ubi_err(ubi, "bad leb_count, %d objects in the tree",
1766 leb_count);
H A Dubi.h693 * @leb_count: number of logical eraseblocks in this volume
713 int leb_count; member in struct:ubi_ainf_volume
971 int ubi_fastmap_init_checkmap(struct ubi_volume *vol, int leb_count);
975 static inline int ubi_fastmap_init_checkmap(struct ubi_volume *vol, int leb_count) { return 0; } argument
H A Dfastmap.c226 av->leb_count++;
319 av->leb_count++;
380 av->leb_count--;
1104 int ubi_fastmap_init_checkmap(struct ubi_volume *vol, int leb_count) argument
1111 vol->checkmap = bitmap_zalloc(leb_count, GFP_KERNEL);
H A Ddebug.c194 pr_err("\tleb_count %d\n", av->leb_count);

Completed in 236 milliseconds