Searched refs:leb_count (Results 1 – 5 of 5) sorted by relevance
595 if (!av || !av->leb_count) { in init_volumes()607 if (av->leb_count != av->used_ebs) { in init_volumes()613 av->vol_id, av->used_ebs - av->leb_count); in init_volumes()683 if (av->leb_count > vol->reserved_pebs) { in check_av()820 if (av->leb_count > UBI_LAYOUT_VOLUME_EBS) { in ubi_read_volume_table()823 av->leb_count); in ubi_read_volume_table()
339 if (av->leb_count != 0) { in validate_vid_hdr()703 av->leb_count += 1; in ubi_add_to_av()1675 int leb_count = 0; in self_check_ai() local1687 av->leb_count < 0 || av->vol_type < 0 || av->used_ebs < 0 || in self_check_ai()1721 leb_count += 1; in self_check_ai()1764 if (av->leb_count != leb_count) { in self_check_ai()1766 leb_count); in self_check_ai()
715 int leb_count; member970 int ubi_fastmap_init_checkmap(struct ubi_volume *vol, int leb_count);974 static inline int ubi_fastmap_init_checkmap(struct ubi_volume *vol, int leb_count) { return 0; } in ubi_fastmap_init_checkmap() argument
226 av->leb_count++; in assign_aeb_to_av()319 av->leb_count++; in update_vol()380 av->leb_count--; in unmap_peb()1094 int ubi_fastmap_init_checkmap(struct ubi_volume *vol, int leb_count) in ubi_fastmap_init_checkmap() argument1101 vol->checkmap = kcalloc(BITS_TO_LONGS(leb_count), sizeof(unsigned long), in ubi_fastmap_init_checkmap()
164 pr_err("\tleb_count %d\n", av->leb_count); in ubi_dump_av()