Searched refs:UBI_MAX_VOLUMES (Results 1 – 7 of 7) sorted by relevance
303 #define UBI_MAX_VOLUMES 128 macro
785 if (ubi->vtbl_slots > UBI_MAX_VOLUMES)786 ubi->vtbl_slots = UBI_MAX_VOLUMES;
993 if (vol_id > UBI_MAX_VOLUMES && vol_id != UBI_LAYOUT_VOLUME_ID) { in scan_peb()1532 if (av->vol_id >= UBI_MAX_VOLUMES && in self_check_ai()
535 struct ubi_volume *volumes[UBI_MAX_VOLUMES+UBI_INT_VOL_COUNT];
99 sizeof(struct ubi_fm_volhdr) * UBI_MAX_VOLUMES; in ubi_calc_fm_size()1258 for (i = 0; i < UBI_MAX_VOLUMES + UBI_INT_VOL_COUNT; i++) { in ubi_write_fastmap()
895 if (vol_id >= UBI_MAX_VOLUMES && vol_id < UBI_INTERNAL_VOL_START) { in validate_vid_hdr()
33 sizeof(struct ubi_fm_volhdr) * UBI_MAX_VOLUMES; in ubi_calc_fm_size()