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;
664 * @vol_id: ID of the volume this LEB belongs to
675 * volume, the @vol_id and @lnum fields are initialized to %UBI_UNKNOWN.
680 int vol_id;
693 * @vol_id: volume ID
713 int vol_id;
793 * @vol_id: the volume ID on which this erasure is being performed
808 int vol_id;
829 struct ubi_ainf_volume *ubi_add_av(struct ubi_attach_info *ai, int vol_id);
831 int vol_id);
866 int ubi_check_volume(struct ubi_device *ubi, int vol_id);
908 int ubi_wl_put_peb(struct ubi_device *ubi, int vol_id, int lnum,
910 int ubi_wl_flush(struct ubi_device *ubi, int vol_id, int lnum);
1168 * @vol_id: volume ID
1170 static inline int vol_id2idx(const struct ubi_device *ubi, int vol_id)
1172 if (vol_id >= UBI_INTERNAL_VOL_START)
1173 return vol_id - UBI_INTERNAL_VOL_START + ubi->vtbl_slots;
1175 return vol_id;
1193 * @vol_id: volume ID
1195 static inline bool ubi_is_fm_vol(int vol_id)
1197 switch (vol_id) {