Lines Matching refs:pvs
182 static void _add_pvs_to_pvname_hash(struct dm_list *pvs) in _add_pvs_to_pvname_hash() argument
185 dm_list_iterate_items(pvl, pvs) { in _add_pvs_to_pvname_hash()
190 static void _remove_device_from_pvname_hash(struct dm_list *pvs, const char *name) in _remove_device_from_pvname_hash() argument
193 dm_list_iterate_items(pvl, pvs) { in _remove_device_from_pvname_hash()
198 static void _add_device_to_pvname_hash(struct dm_list *pvs, const char *name) in _add_device_to_pvname_hash() argument
201 dm_list_iterate_items(pvl, pvs) { in _add_device_to_pvname_hash()
209 struct dm_list *pvs; in _vg_reduce() local
230 pvs = lvm_vg_list_pvs(vg); in _vg_reduce()
231 if (pvs && !dm_list_empty(pvs)) in _vg_reduce()
232 _remove_device_from_pvname_hash(pvs, argv[2]); in _vg_reduce()
270 struct dm_list *pvs; in _vg_extend() local
291 pvs = lvm_vg_list_pvs(vg); in _vg_extend()
292 if (pvs && !dm_list_empty(pvs)) in _vg_extend()
293 _add_device_to_pvname_hash(pvs, argv[2]); in _vg_extend()
300 struct dm_list *pvs; in _vg_open() local
330 pvs = lvm_vg_list_pvs(vg); in _vg_open()
331 if (pvs && !dm_list_empty(pvs)) in _vg_open()
332 _add_pvs_to_pvname_hash(pvs); in _vg_open()
442 struct dm_list *pvs; in _pvs_in_vg() local
448 pvs = lvm_vg_list_pvs(vg); in _pvs_in_vg()
449 if (!pvs || dm_list_empty(pvs)) { in _pvs_in_vg()
454 dm_list_iterate_items(pvl, pvs) { in _pvs_in_vg()