Lines Matching refs:vol_id
190 * @vol_id: volume ID of the locked logical eraseblock
194 * the (@vol_id, @lnum) logical eraseblock
203 int vol_id;
287 * @vol_id: volume ID
342 int vol_id;
662 * @vol_id: ID of the volume this LEB belongs to
673 * volume, the @vol_id and @lnum fields are initialized to %UBI_UNKNOWN.
678 int vol_id;
691 * @vol_id: volume ID
711 int vol_id;
791 * @vol_id: the volume ID on which this erasure is being performed
806 int vol_id;
827 struct ubi_ainf_volume *ubi_add_av(struct ubi_attach_info *ai, int vol_id);
829 int vol_id);
864 int ubi_check_volume(struct ubi_device *ubi, int vol_id);
906 int ubi_wl_put_peb(struct ubi_device *ubi, int vol_id, int lnum,
908 int ubi_wl_flush(struct ubi_device *ubi, int vol_id, int lnum);
1167 * @vol_id: volume ID
1169 static inline int vol_id2idx(const struct ubi_device *ubi, int vol_id)
1171 if (vol_id >= UBI_INTERNAL_VOL_START)
1172 return vol_id - UBI_INTERNAL_VOL_START + ubi->vtbl_slots;
1174 return vol_id;
1192 * @vol_id: volume ID
1194 static inline bool ubi_is_fm_vol(int vol_id)
1196 switch (vol_id) {