/dragonfly/contrib/lvm2/dist/lib/format1/ |
H A D | layout.c | 51 uint32_t pe_start = pvd->pe_start << SECTOR_SHIFT; in _adjust_pe_on_disk() local 53 if (pe_start < pvd->pe_on_disk.base + pvd->pe_on_disk.size) in _adjust_pe_on_disk() 56 pvd->pe_on_disk.size = pe_start - pvd->pe_on_disk.base; in _adjust_pe_on_disk() 122 uint32_t max_extent_count, uint64_t pe_start) in calculate_extent_count() argument 153 if (pe_start && end < pe_start) in calculate_extent_count() 154 end = pe_start; in calculate_extent_count() 156 pvd->pe_start = _round_up(end, LVM1_PE_ALIGN); in calculate_extent_count() 158 } while ((pvd->pe_start + (pvd->pe_total * extent_size)) in calculate_extent_count() 170 pv->pe_start = pvd->pe_start; in calculate_extent_count()
|
H A D | format1.c | 299 uint64_t pe_start, uint32_t extent_count, in _format1_pv_setup() argument 322 if (!calculate_extent_count(pv, extent_size, extent_count, pe_start)) in _format1_pv_setup() 326 if (((pe_start || extent_count) && (pe_start != pv->pe_start)) || in _format1_pv_setup() 378 pv->pe_start = LVM1_PE_ALIGN; in _format1_pv_write()
|
H A D | disk-rep.c | 59 xx32(pe_start); in _xlate_pvd() 119 uint32_t pe_start; in _munge_formats() local 124 pvd->pe_start = ((pvd->pe_on_disk.base + in _munge_formats() 130 pe_start = pvd->pe_start << SECTOR_SHIFT; in _munge_formats() 131 pvd->pe_on_disk.size = pe_start - pvd->pe_on_disk.base; in _munge_formats()
|
H A D | import-export.c | 97 pv->pe_start = pvd->pe_start; in import_pv() 113 pv->pe_start; in import_pv() 213 pvd->pe_start = pv->pe_start; in export_pv()
|
H A D | disk-rep.h | 99 uint32_t pe_start; member 188 uint32_t max_extent_count, uint64_t pe_start);
|
/dragonfly/contrib/lvm2/dist/test/ |
H A D | t-pvcreate-usage.sh | 96 check_pv_field_ $dev1 pe_start 512.00k 100 check_pv_field_ $dev1 pe_start 512.00k 102 check_pv_field_ $dev1 pe_start 512.00k 106 check_pv_field_ $dev1 pe_start 200.00k 117 check_pv_field_ $dev1 pe_start $pv_align 120 check_pv_field_ $dev1 pe_start $pv_align 126 check_pv_field_ $dev1 pe_start $pv_align 140 check_pv_field_ $dev1 pe_start 256.00k 158 check_pv_field_ $dev1 pe_start 0 159 check_pv_field_ $dev2 pe_start 0
|
H A D | t-pvcreate-operation-md.sh | 56 check_pv_field_ $mddev pe_start $pv_align 63 check_pv_field_ $mddev pe_start $pv_align 73 check_pv_field_ $mddev pe_start $pv_align 105 check_pv_field_ $mddev_p pe_start $pv_align 110 check_pv_field_ $mddev_p pe_start $pv_align
|
H A D | t-vgextend-usage.sh | 66 check_pv_field_ $dev1 pe_start 200.00k 74 check_pv_field_ $dev1 pe_start $pv_align
|
H A D | t-vgcreate-usage.sh | 127 check_pv_field_ $dev1 pe_start 200.00k 135 check_pv_field_ $dev1 pe_start $pv_align
|
/dragonfly/contrib/lvm2/dist/lib/format_text/ |
H A D | format-text.c | 1214 ((pe_start > start1) && (pe_start - start1 >= MDA_SIZE_MIN))) { in _mda_setup() 1259 if (pe_start || pe_end) { in _mda_setup() 1260 if (pe_start <= start1) in _mda_setup() 1298 if (pe_start || pe_end) { in _mda_setup() 1386 if (!pv->pe_start) in _text_pv_write() 1399 if (pv->pe_start) { in _text_pv_write() 1410 if (!pv->pe_start) { in _text_pv_write() 1439 pv->pe_start), in _text_pv_write() 1763 if (pe_start) in _text_pv_setup() 1764 pv->pe_start = pe_start; in _text_pv_setup() [all …]
|
H A D | import_vsn1.c | 217 if (!_read_int64(pvn, "pe_start", &pv->pe_start)) { in _read_pv() 260 pv->pe_start; in _read_pv()
|
/dragonfly/contrib/lvm2/dist/tools/ |
H A D | vgconvert.c | 31 uint64_t pe_end = 0, pe_start = 0; in vgconvert_single() local 123 pe_start = pv_pe_start(existing_pv); in vgconvert_single() 125 + pe_start - 1; in vgconvert_single() 130 pe_start, pv_pe_count(existing_pv), in vgconvert_single()
|
H A D | pvcreate.c | 66 pp->pe_start = pv_pe_start(existing_pv); in pvcreate_restore_params_validate()
|
H A D | toollib.c | 1358 if (pp->data_alignment && pp->pe_start) { in pvcreate_params_validate() 1359 if (pp->pe_start % pp->data_alignment) in pvcreate_params_validate() 1362 PRIu64").", pp->data_alignment, pp->pe_start); in pvcreate_params_validate() 1377 if (pp->data_alignment_offset && pp->pe_start) { in pvcreate_params_validate() 1380 PRIu64").", pp->data_alignment_offset, pp->pe_start); in pvcreate_params_validate()
|
H A D | pvchange.c | 184 pv->pe_start = orig_pe_start; in _pvchange_single()
|
/dragonfly/contrib/lvm2/dist/scripts/ |
H A D | lvm_dump.sh | 214 pe_start="$(echo $line | $CUT -d, -f2)" 217 log "$DD if=$pv \"of=$dir/metadata/$name\" bs=512 count=$pe_start 2>> \"$log\""
|
/dragonfly/sys/dev/drm/radeon/ |
H A D | radeon_vm.c | 734 uint64_t pe_start, uint64_t pe_end, in radeon_vm_frag_ptes() argument 763 uint64_t frag_start = ALIGN(pe_start, frag_align); in radeon_vm_frag_ptes() 772 count = (pe_end - pe_start) / 8; in radeon_vm_frag_ptes() 773 radeon_vm_set_pages(rdev, ib, pe_start, addr, count, in radeon_vm_frag_ptes() 779 if (pe_start != frag_start) { in radeon_vm_frag_ptes() 780 count = (frag_start - pe_start) / 8; in radeon_vm_frag_ptes() 781 radeon_vm_set_pages(rdev, ib, pe_start, addr, count, in radeon_vm_frag_ptes()
|
/dragonfly/contrib/lvm2/dist/lib/metadata/ |
H A D | lv_manip.c | 2599 uint32_t pe_start, per_end; in _match_seg_area_to_pe_range() local 2607 pe_start = seg_pe(seg, s); in _match_seg_area_to_pe_range() 2613 if ((pe_start < per->start) || (pe_start > per_end)) in _match_seg_area_to_pe_range() 2637 uint32_t pe_start, pe_end, per_end, stripe_multiplier, s; in _align_segment_boundary_to_pe_range() local 2651 pe_start = seg_pe(seg, s); in _align_segment_boundary_to_pe_range() 2652 pe_end = pe_start + seg->area_len - 1; in _align_segment_boundary_to_pe_range() 2657 (pe_start > per_end)) in _align_segment_boundary_to_pe_range() 2665 if ((per->start != pe_start && in _align_segment_boundary_to_pe_range() 2666 per->start > pe_start) && in _align_segment_boundary_to_pe_range() 2668 (per->start - pe_start) * in _align_segment_boundary_to_pe_range() [all …]
|
H A D | metadata-exported.h | 191 uint64_t pe_start; member 366 uint64_t pe_start; member 441 uint64_t pe_start,
|
H A D | metadata.h | 216 uint64_t pe_start, uint32_t extent_count,
|
/dragonfly/contrib/lvm2/dist/include/ |
H A D | metadata-exported.h | 191 uint64_t pe_start; member 366 uint64_t pe_start; member 441 uint64_t pe_start,
|
H A D | metadata.h | 216 uint64_t pe_start, uint32_t extent_count,
|
/dragonfly/contrib/lvm2/dist/lib/report/ |
H A D | columns.h | 88 FIELD(PVS, pv, NUM, "1st PE", pe_start, 7, size64, "pe_start", "Offset to the start of data on the …
|
/dragonfly/contrib/lvm2/dist/lib/display/ |
H A D | display.c | 389 if (pv->size > data_size + pv->pe_start) { in pvdisplay_full() 393 pvsize = data_size + pv->pe_start; in pvdisplay_full()
|
/dragonfly/contrib/lvm2/dist/lib/format_pool/ |
H A D | import_export.c | 152 pv->pe_start = POOL_PE_START; in import_pool_pv()
|