Lines Matching full:volumes
59 * out that the volume was removed from the @ubi->volumes array.
73 if (!ubi->volumes[vol->vol_id]) { in vol_attribute_show()
170 if (!ubi->volumes[i]) { in ubi_create_volume()
189 if (ubi->volumes[vol_id]) { in ubi_create_volume()
196 if (ubi->volumes[i] && in ubi_create_volume()
197 ubi->volumes[i]->name_len == req->name_len && in ubi_create_volume()
198 !strcmp(ubi->volumes[i]->name, req->name)) { in ubi_create_volume()
305 ubi->volumes[vol_id] = vol; in ubi_create_volume()
362 ubi_assert(vol == ubi->volumes[vol_id]); in ubi_remove_volume()
376 ubi->volumes[vol_id] = NULL; in ubi_remove_volume()
410 ubi->volumes[vol_id] = vol; in ubi_remove_volume()
537 * ubi_rename_volumes - re-name UBI volumes.
541 * This function re-names or removes volumes specified in the re-name list.
634 ubi->volumes[vol->vol_id] = NULL; in ubi_free_volume()
656 vol = ubi->volumes[idx]; in self_check_volume()
789 * self_check_volumes - check information about all volumes.
792 * Returns zero if volumes are all right and a a negative error code if not.