Searched refs:pvl (Results 1 - 25 of 28) sorted by relevance

12

/netbsd-current/external/gpl2/lvm2/dist/tools/
H A Dvgexport.c25 struct pv_list *pvl; local
39 dm_list_iterate_items(pvl, &vg->pvs) {
40 pv = pvl->pv;
H A Dvgimport.c25 struct pv_list *pvl; local
43 dm_list_iterate_items(pvl, &vg->pvs) {
44 pv = pvl->pv;
H A Dpvscan.c109 struct pv_list *pvl; local
145 dm_list_iterate_items(pvl, pvslist) {
146 pv = pvl->pv;
151 dm_list_del(&pvl->list);
177 dm_list_iterate_items(pvl, pvslist) {
178 pv = pvl->pv;
189 dm_list_iterate_items(pvl, pvslist)
190 _pvscan_display_single(cmd, pvl->pv, NULL);
H A Dvgreduce.c21 static int _remove_pv(struct volume_group *vg, struct pv_list *pvl, int silent) argument
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; local
156 dm_list_iterate_items(pvl, &vg->pvs) {
157 if (pvl->pv->dev && !(pvl
170 struct pv_list *pvl; local
385 struct pv_list *pvl; local
[all...]
H A Dtoollib.c348 struct pv_list *pvl; local
369 if (!(pvl = find_pv_in_vg(vg, pv_dev_name(pv)))) {
376 pv = pvl->pv;
564 struct pv_list *pvl; local
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; local
680 if (!(pvl = find_pv_in_vg(vg, argv[opt]))) {
688 pv = pvl
996 _create_pv_entry(struct dm_pool *mem, struct pv_list *pvl, char *colon, int allocatable_only, struct dm_list *r) argument
1055 struct pv_list *pvl; local
1119 struct pv_list *pvl, *new_pvl; local
[all...]
H A Dpvdisplay.c24 struct pv_list *pvl; local
46 if (!(pvl = find_pv_in_vg(vg, pv_name))) {
53 pv = pvl->pv;
H A Dpvchange.c27 struct pv_list *pvl; local
68 if (!(pvl = find_pv_in_vg(vg, pv_name))) {
83 pv = pvl->pv;
220 struct pv_list *pvl; local
283 dm_list_iterate_items(pvl, pvslist) {
285 done += _pvchange_single(cmd, pvl->pv, NULL);
H A Dpvmove.c106 struct pv_list *pvl; local
117 pvl = dm_list_item(pvh, struct pv_list);
120 if ((alloc != ALLOC_ANYWHERE) && (pvl->pv->dev == pv_dev(pv))) {
121 dm_list_del(&pvl->list);
126 if ((pvl->pv->pe_count == pvl->pv->pe_alloc_count))
127 dm_list_del(&pvl->list);
149 struct pv_list *pvl; local
153 pvl = dm_list_item(source_pvl->n, struct pv_list);
157 pvl, lvs_change
[all...]
H A Dpvresize.c33 struct pv_list *pvl; local
68 if (!(pvl = find_pv_in_vg(vg, pv_name))) {
74 pv = pvl->pv;
H A Dvgconvert.c32 struct pv_list *pvl; local
120 dm_list_iterate_items(pvl, &vg->pvs) {
121 existing_pv = pvl->pv;
H A Dreporter.c137 struct pv_list *pvl; local
156 if (!(pvl = find_pv_in_vg(vg, pv_dev_name(pv)))) {
163 pv = pvl->pv;
H A Dlvconvert.c420 struct pv_list *pvl, *new_pvl; local
429 dm_list_iterate_items(pvl, &vg->pvs) {
430 if (!(pvl->pv->status & MISSING_PV))
437 new_pvl->pv = pvl->pv;
/netbsd-current/external/gpl2/lvm2/dist/lib/metadata/
H A Dpv_map.c129 struct pv_list *pvl; local
131 dm_list_iterate_items(pvl, pvs) {
132 if (!(pvl->pv->status & ALLOCATABLE_PV))
134 if (pvl->pv->status & MISSING_PV)
136 assert(pvl->pv->dev);
141 if (pvm2->pv->dev == pvl->pv->dev) {
150 pvm->pv = pvl->pv;
155 if (!_create_all_areas_for_pv(mem, pvm, pvl->pe_ranges))
H A Dmetadata.c155 struct pv_list *pvl; local
162 if (!(pvl = dm_pool_zalloc(mem, sizeof(*pvl)))) {
225 pvl->pv = pv;
226 dm_list_add(&vg->pvs, &pvl->list);
286 struct pv_list *pvl; local
299 dm_list_iterate_items(pvl, &vg->pvs) {
300 if (id_equal(&pvl->pv->id, (const struct id *) pvid)) {
301 if (!_copy_pv(fmt->cmd->mem, pv, pvl->pv)) {
319 struct pv_list *pvl; local
440 struct pv_list *pvl; local
477 struct pv_list *pvl, *tpvl; local
511 struct pv_list *pvl; local
626 struct pv_list *pvl; local
918 struct pv_list *pvl; local
1575 struct pv_list *pvl; local
1587 struct pv_list *pvl; local
1598 struct pv_list *pvl; local
1629 struct pv_list *pvl; local
1690 struct pv_list *pvl; local
1817 struct pv_list *pvl; local
2095 struct pv_list *pvl, *pvl2; local
2370 struct pv_list *pvl; local
2427 struct pv_list *pvl, *pvl2; local
2454 struct pv_list *pvl; local
2489 struct pv_list *pvl, *pvl2; local
3014 struct pv_list *pvl, *pvl_copy; local
[all...]
H A Dpv_manip.c230 struct pv_list *pvl; local
235 dm_list_iterate_items(pvl, pvh) {
236 dm_list_iterate_items(per, pvl->pe_ranges) {
237 dm_list_iterate_items(pvseg, &pvl->pv->segments) {
253 struct pv_list *pvl; local
260 dm_list_iterate_items(pvl, &vg->pvs) {
261 pv = pvl->pv;
H A Dlv_manip.c604 struct pv_list *pvl; local
616 dm_list_iterate_items(pvl, &spvs->pvs) {
617 if (!dm_pool_grow_object(mem, pv_dev_name(pvl->pv), strlen(pv_dev_name(pvl->pv)))) {
990 struct pv_list *pvl; local
1073 dm_list_iterate_items(pvl, parallel_pvs)
1074 if (pvm->pv == pvl->pv)
1947 struct pv_list *pvl; local
1953 if (!(pvl = dm_pool_alloc(cmd->mem, sizeof(*pvl)))) {
2595 _match_seg_area_to_pe_range(struct lv_segment *seg, uint32_t s, struct pv_list *pvl) argument
2632 _align_segment_boundary_to_pe_range(struct logical_volume *lv_where, struct pv_list *pvl) argument
2692 insert_layer_for_segments_on_pv(struct cmd_context *cmd, struct logical_volume *lv_where, struct logical_volume *layer_lv, uint32_t status, struct pv_list *pvl, struct dm_list *lvs_changed) argument
[all...]
/netbsd-current/external/gpl2/lvm2/dist/lib/format_pool/
H A Dimport_export.c107 struct pv_list *pvl; local
111 if (!(pvl = dm_pool_zalloc(mem, sizeof(*pvl)))) {
115 if (!(pvl->pv = dm_pool_zalloc(mem, sizeof(*pvl->pv)))) {
119 if (!import_pool_pv(fmt, mem, vg, pvl->pv, pl)) {
122 pl->pv = pvl->pv;
123 pvl->mdas = NULL;
124 pvl->pe_ranges = NULL;
125 dm_list_add(pvs, &pvl
[all...]
/netbsd-current/external/gpl2/lvm2/dist/test/api/
H A Dtest.c184 struct lvm_pv_list *pvl; local
185 dm_list_iterate_items(pvl, pvs) {
186 dm_hash_insert(_pvname_hash, lvm_pv_get_name(pvl->pv), pvl->pv);
192 struct lvm_pv_list *pvl; local
193 dm_list_iterate_items(pvl, pvs) {
194 if (!strncmp(lvm_pv_get_name(pvl->pv), name, strlen(name)))
200 struct lvm_pv_list *pvl; local
201 dm_list_iterate_items(pvl, pvs) {
202 if (!strncmp(lvm_pv_get_name(pvl
443 struct lvm_pv_list *pvl; local
[all...]
/netbsd-current/external/gpl2/lvm2/dist/liblvm/
H A Dlvm_vg.c98 struct pv_list *pvl; local
126 dm_list_iterate_items(pvl, &vg->removed_pvs) {
127 pv_write_orphan(vg->cmd, pvl->pv);
188 struct pv_list *pvl; local
199 dm_list_iterate_items(pvl, &vg->pvs) {
205 pvs->pv = pvl->pv;
/netbsd-current/external/gpl2/lvm2/dist/lib/format1/
H A Dimport-export.c431 struct pv_list *pvl; local
435 if (!(pvl = dm_pool_zalloc(mem, sizeof(*pvl))) ||
436 !(pvl->pv = dm_pool_alloc(mem, sizeof(*pvl->pv))))
439 if (!import_pv(fmt, mem, dl->dev, vg, pvl->pv, &dl->pvd, &dl->vgd))
442 pvl->pv->fmt = fmt;
443 dm_list_add(results, &pvl->list);
630 struct pv_list *pvl; local
632 dm_list_iterate_items(pvl,
[all...]
H A Dformat1.c226 struct pv_list *pvl; local
229 dm_list_iterate_items(pvl, &vg->pvs) {
230 if (!(data = _flatten_pv(fid, mem, vg, pvl->pv, dev_dir)))
/netbsd-current/external/gpl2/lvm2/dist/lib/format_text/
H A Dimport_vsn1.c161 struct pv_list *pvl; local
165 if (!(pvl = dm_pool_zalloc(mem, sizeof(*pvl))) ||
166 !(pvl->pv = dm_pool_zalloc(mem, sizeof(*pvl->pv))))
169 pv = pvl->pv;
272 dm_list_add(&vg->pvs, &pvl->list);
H A Dexport.c428 struct pv_list *pvl; local
437 dm_list_iterate_items(pvl, &vg->pvs) {
438 pv = pvl->pv;
661 struct pv_list *pvl; local
671 dm_list_iterate_items(pvl, &vg->pvs) {
672 pv = pvl->pv;
H A Darchiver.c307 struct pv_list *pvl; local
324 dm_list_iterate_items(pvl, &vg->pvs) {
325 pv = pvl->pv;
H A Dformat-text.c107 struct pv_list *pvl; local
109 dm_list_iterate_items(pvl, &vg->pvs)
110 if (pvl->pv->dev == mdac->area.dev)
524 struct pv_list *pvl; local
531 dm_list_iterate_items(pvl, &vg->pvs) {
532 if (pvl->pv->dev == mdac->area.dev) {
633 struct pv_list *pvl; local
639 dm_list_iterate_items(pvl, &vg->pvs) {
640 if (pvl->pv->dev == mdac->area.dev) {
727 struct pv_list *pvl; local
[all...]

Completed in 335 milliseconds

12