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()
713 int leb_count; member969 int ubi_fastmap_init_checkmap(struct ubi_volume *vol, int leb_count);973 static inline int ubi_fastmap_init_checkmap(struct ubi_volume *vol, int leb_count) { return 0; } in ubi_fastmap_init_checkmap() argument
225 av->leb_count++; in assign_aeb_to_av()318 av->leb_count++; in update_vol()379 av->leb_count--; in unmap_peb()1103 int ubi_fastmap_init_checkmap(struct ubi_volume *vol, int leb_count) in ubi_fastmap_init_checkmap() argument1110 vol->checkmap = bitmap_zalloc(leb_count, GFP_KERNEL); in ubi_fastmap_init_checkmap()
164 pr_err("\tleb_count %d\n", av->leb_count); in ubi_dump_av()