Home | History | Annotate | Download | only in tools

Lines Matching refs:pvl

21 static int _remove_pv(struct volume_group *vg, struct pv_list *pvl, int silent)
30 if (!id_write_format(&pvl->pv->id, uuid, sizeof(uuid)))
35 if (pvl->pv->pe_alloc_count) {
42 vg->free_count -= pvl->pv->pe_count;
43 vg->extent_count -= pvl->pv->pe_count;
46 dm_list_del(&pvl->list);
138 struct pv_list *pvl;
156 dm_list_iterate_items(pvl, &vg->pvs) {
157 if (pvl->pv->dev && !(pvl->pv->status & MISSING_PV))
159 if (r && !_remove_pv(vg, pvl, 0))
170 struct pv_list *pvl;
228 pvl = dm_list_item(pvh, struct pv_list);
229 if (pvl->pv->dev)
231 if (!_remove_pv(vg, pvl, 0))
385 struct pv_list *pvl;
406 pvl = find_pv_in_vg(vg, name);
413 if (pvl)
414 dm_list_del(&pvl->list);