Searched refs:UBI_INTERNAL_VOL_START (Results 1 – 5 of 5) sorted by relevance
294 #define UBI_INTERNAL_VOL_START (0x7FFFFFFF - 4096) macro298 #define UBI_LAYOUT_VOLUME_ID UBI_INTERNAL_VOL_START
1171 if (vol_id >= UBI_INTERNAL_VOL_START) in vol_id2idx()1172 return vol_id - UBI_INTERNAL_VOL_START + ubi->vtbl_slots; in vol_id2idx()1185 return idx - ubi->vtbl_slots + UBI_INTERNAL_VOL_START; in idx2vol_id()
864 if (vol_id >= UBI_MAX_VOLUMES && vol_id < UBI_INTERNAL_VOL_START) { in validate_vid_hdr()869 if (vol_id < UBI_INTERNAL_VOL_START && compat != 0) { in validate_vid_hdr()874 if (vol_id >= UBI_INTERNAL_VOL_START && compat != UBI_COMPAT_DELETE && in validate_vid_hdr()
732 ai->highest_vol_id < UBI_INTERNAL_VOL_START) { in check_attaching_info()
1694 av->vol_id < UBI_INTERNAL_VOL_START) { in self_check_ai()