Lines Matching full:volumes
52 * out that the volume was removed from the @ubi->volumes array.
62 if (!ubi->volumes[vol->vol_id] || ubi->volumes[vol->vol_id]->is_dead) { in vol_attribute_show()
133 fw_vols = device_get_named_child_node(vol->dev.parent->parent, "volumes"); in find_volume_fwnode()
191 if (!ubi->volumes[i]) { in ubi_create_volume()
210 if (ubi->volumes[vol_id]) { in ubi_create_volume()
217 if (ubi->volumes[i] && !ubi->volumes[i]->is_dead && in ubi_create_volume()
218 ubi->volumes[i]->name_len == req->name_len && in ubi_create_volume()
219 !strcmp(ubi->volumes[i]->name, req->name)) { in ubi_create_volume()
286 ubi->volumes[vol_id] = vol; in ubi_create_volume()
335 ubi->volumes[vol_id] = NULL; in ubi_create_volume()
367 ubi_assert(vol == ubi->volumes[vol_id]); in ubi_remove_volume()
394 ubi->volumes[vol_id] = NULL; in ubi_remove_volume()
428 ubi->volumes[vol_id] = vol; in ubi_remove_volume()
571 * ubi_rename_volumes - re-name UBI volumes.
575 * This function re-names or removes volumes specified in the re-name list.
667 ubi->volumes[vol->vol_id] = NULL; in ubi_free_volume()
689 vol = ubi->volumes[idx]; in self_check_volume()
827 * self_check_volumes - check information about all volumes.
830 * Returns zero if volumes are all right and a negative error code if not.