Lines Matching refs:pvl
348 struct pv_list *pvl;
369 if (!(pvl = find_pv_in_vg(vg, pv_dev_name(pv)))) {
376 pv = pvl->pv;
564 struct pv_list *pvl;
566 dm_list_iterate_items(pvl, &vg->pvs) {
568 !str_list_match_list(tags, &pvl->pv->tags)) {
571 if ((ret = process_single(cmd, vg, pvl->pv, handle)) > ret_max)
643 struct pv_list *pvl;
680 if (!(pvl = find_pv_in_vg(vg, argv[opt]))) {
688 pv = pvl->pv;
776 dm_list_iterate_items(pvl, pvslist) {
777 ret = process_single(cmd, NULL, pvl->pv,
996 static int _create_pv_entry(struct dm_pool *mem, struct pv_list *pvl,
1003 pvname = pv_dev_name(pvl->pv);
1004 if (allocatable_only && !(pvl->pv->status & ALLOCATABLE_PV)) {
1009 if (allocatable_only && (pvl->pv->status & MISSING_PV)) {
1015 (pvl->pv->pe_count == pvl->pv->pe_alloc_count)) {
1021 if (pvl->pv->dev == pvl2->pv->dev) {
1032 memcpy(new_pvl, pvl, sizeof(*new_pvl));
1044 if (!_parse_pes(mem, colon, new_pvl->pe_ranges, pv_dev_name(pvl->pv),
1045 pvl->pv->pe_count))
1055 struct pv_list *pvl;
1078 dm_list_iterate_items(pvl, &vg->pvs) {
1079 if (str_list_match_item(&pvl->pv->tags,
1081 if (!_create_pv_entry(mem, pvl, NULL,
1101 if (!(pvl = find_pv_in_vg(vg, pvname))) {
1106 if (!_create_pv_entry(mem, pvl, colon, allocatable_only, r))
1119 struct pv_list *pvl, *new_pvl;
1128 dm_list_iterate_items(pvl, pvsl) {
1134 memcpy(new_pvl, pvl, sizeof(*new_pvl));