Lines Matching refs:cv

58 	struct config_value *cv;  in _check_version()  local
68 cv = cn->v; in _check_version()
69 if (!cv || cv->type != CFG_STRING || strcmp(cv->v.str, CONTENTS_VALUE)) { in _check_version()
82 cv = cn->v; in _check_version()
83 if (!cv || cv->type != CFG_INT || cv->v.i != FORMAT_VERSION_VALUE) { in _check_version()
109 struct config_value *cv; in _read_id() local
116 cv = cn->v; in _read_id()
117 if (!cv || !cv->v.str) { in _read_id()
122 if (!id_read_format(id, cv->v.str)) { in _read_id()
299 struct config_value *cv; in _read_segment() local
324 cv = cn->v; in _read_segment()
325 if (!cv || !cv->v.str) { in _read_segment()
329 segtype_str = cv->v.str; in _read_segment()
380 struct config_value *cv; in text_import_areas() local
390 for (cv = cn->v, s = 0; cv && s < seg->area_count; s++, cv = cv->next) { in text_import_areas()
393 if (cv->type != CFG_STRING) { in text_import_areas()
398 if (!cv->next) { in text_import_areas()
403 if (cv->next->type != CFG_INT) { in text_import_areas()
409 if ((pv = dm_hash_lookup(pv_hash, cv->v.str))) { in text_import_areas()
410 if (!set_lv_segment_area_pv(seg, s, pv, (uint32_t) cv->next->v.i)) in text_import_areas()
412 } else if ((lv1 = find_lv(seg->lv->vg, cv->v.str))) { in text_import_areas()
414 (uint32_t) cv->next->v.i, in text_import_areas()
420 cv->v.str ? : "NULL", seg_name); in text_import_areas()
424 cv = cv->next; in text_import_areas()
430 if (cv || (s < seg->area_count)) { in text_import_areas()
519 struct config_value *cv = cn->v; in _read_lvnames() local
520 if (!cv || !cv->v.str) { in _read_lvnames()
525 lv->alloc = get_alloc_from_string(cv->v.str); in _read_lvnames()
722 struct config_value *cv = cn->v; in _read_vg() local
723 if (!cv || !cv->v.str) { in _read_vg()
728 vg->alloc = get_alloc_from_string(cv->v.str); in _read_vg()