Lines Matching defs:vol_id
182 * @vol_id: volume ID of the locked logical eraseblock
186 * the (@vol_id, @lnum) logical eraseblock
195 int vol_id;
279 * @vol_id: volume ID
334 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);
907 int ubi_wl_put_peb(struct ubi_device *ubi, int vol_id, int lnum,
909 int ubi_wl_flush(struct ubi_device *ubi, int vol_id, int lnum);
960 int ubi_get_num_by_path(const char *pathname, int *ubi_num, int *vol_id);
1175 * @vol_id: volume ID
1177 static inline int vol_id2idx(const struct ubi_device *ubi, int vol_id)
1179 if (vol_id >= UBI_INTERNAL_VOL_START)
1180 return vol_id - UBI_INTERNAL_VOL_START + ubi->vtbl_slots;
1182 return vol_id;
1200 * @vol_id: volume ID
1202 static inline bool ubi_is_fm_vol(int vol_id)
1204 switch (vol_id) {