Lines Matching refs:volumes
52 * out that the volume was removed from the @ubi->volumes array.
62 if (!ubi->volumes[vol->vol_id]) {
166 if (!ubi->volumes[i]) {
185 if (ubi->volumes[vol_id]) {
192 if (ubi->volumes[i] &&
193 ubi->volumes[i]->name_len == req->name_len &&
194 !strcmp(ubi->volumes[i]->name, req->name)) {
260 ubi->volumes[vol_id] = vol;
309 ubi->volumes[vol_id] = NULL;
341 ubi_assert(vol == ubi->volumes[vol_id]);
355 ubi->volumes[vol_id] = NULL;
389 ubi->volumes[vol_id] = vol;
523 * ubi_rename_volumes - re-name UBI volumes.
527 * This function re-names or removes volumes specified in the re-name list.
618 ubi->volumes[vol->vol_id] = NULL;
640 vol = ubi->volumes[idx];
778 * self_check_volumes - check information about all volumes.
781 * Returns zero if volumes are all right and a negative error code if not.