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()
193 if (!ubi->volumes[i]) { in ubi_create_volume()
212 if (ubi->volumes[vol_id]) { in ubi_create_volume()
219 if (ubi->volumes[i] && !ubi->volumes[i]->is_dead && in ubi_create_volume()
220 ubi->volumes[i]->name_len == req->name_len && in ubi_create_volume()
221 !strcmp(ubi->volumes[i]->name, req->name)) { in ubi_create_volume()
288 ubi->volumes[vol_id] = vol; in ubi_create_volume()
337 ubi->volumes[vol_id] = NULL; in ubi_create_volume()
369 ubi_assert(vol == ubi->volumes[vol_id]); in ubi_remove_volume()
396 ubi->volumes[vol_id] = NULL; in ubi_remove_volume()
430 ubi->volumes[vol_id] = vol; in ubi_remove_volume()
573 * ubi_rename_volumes - re-name UBI volumes.
577 * This function re-names or removes volumes specified in the re-name list.
669 ubi->volumes[vol->vol_id] = NULL; in ubi_free_volume()
691 vol = ubi->volumes[idx]; in self_check_volume()
829 * self_check_volumes - check information about all volumes.
832 * Returns zero if volumes are all right and a negative error code if not.