/netbsd-current/external/gpl2/lvm2/dist/lib/format1/ |
H A D | layout.c | 47 * Quick calculation based on pe_start. 51 uint32_t pe_start = pvd->pe_start << SECTOR_SHIFT; local 53 if (pe_start < pvd->pe_on_disk.base + pvd->pe_on_disk.size) 56 pvd->pe_on_disk.size = pe_start - pvd->pe_on_disk.base; 98 * This assumes pe_count and pe_start have already 119 * pe_start is any existing value for pe_start 122 uint32_t max_extent_count, uint64_t pe_start) 153 if (pe_start 121 calculate_extent_count(struct physical_volume *pv, uint32_t extent_size, uint32_t max_extent_count, uint64_t pe_start) argument [all...] |
H A D | disk-rep.c | 59 xx32(pe_start); 119 uint32_t pe_start; local 124 pvd->pe_start = ((pvd->pe_on_disk.base + 130 pe_start = pvd->pe_start << SECTOR_SHIFT; 131 pvd->pe_on_disk.size = pe_start - pvd->pe_on_disk.base;
|
H A D | format1.c | 299 uint64_t pe_start, uint32_t extent_count, 320 * This works out pe_start and pe_count. 322 if (!calculate_extent_count(pv, extent_size, extent_count, pe_start)) 326 if (((pe_start || extent_count) && (pe_start != pv->pe_start)) || 378 pv->pe_start = LVM1_PE_ALIGN; 298 _format1_pv_setup(const struct format_type *fmt, uint64_t pe_start, uint32_t extent_count, uint32_t extent_size, unsigned long data_alignment __attribute((unused)), unsigned long data_alignment_offset __attribute((unused)), int pvmetadatacopies __attribute((unused)), uint64_t pvmetadatasize __attribute((unused)), struct dm_list *mdas __attribute((unused)), struct physical_volume *pv, struct volume_group *vg __attribute((unused))) argument
|
H A D | disk-rep.h | 99 uint32_t pe_start; member in struct:pv_disk 188 uint32_t max_extent_count, uint64_t pe_start);
|
H A D | import-export.c | 97 pv->pe_start = pvd->pe_start; 113 pv->pe_start; 213 pvd->pe_start = pv->pe_start;
|
/netbsd-current/external/gpl2/lvm2/dist/test/ |
H A D | t-pvcreate-usage.sh | 92 #check_pv_field_ $dev1 pe_start $(($(getconf PAGESIZE)/1024))".00k" 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 149 #COMM 'vgcfgrestore allows pe_start [all...] |
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 86 # verify alignment_offset is accounted for in pe_start 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
|
/netbsd-current/external/gpl2/lvm2/dist/tools/ |
H A D | vgconvert.c | 31 uint64_t pe_end = 0, pe_start = 0; local 123 pe_start = pv_pe_start(existing_pv); 125 + pe_start - 1; 130 pe_start, pv_pe_count(existing_pv),
|
H A D | pvcreate.c | 66 pp->pe_start = pv_pe_start(existing_pv);
|
H A D | toollib.c | 1358 if (pp->data_alignment && pp->pe_start) { 1359 if (pp->pe_start % pp->data_alignment) 1362 PRIu64").", pp->data_alignment, pp->pe_start); 1377 if (pp->data_alignment_offset && pp->pe_start) { 1380 PRIu64").", pp->data_alignment_offset, pp->pe_start);
|
H A D | pvchange.c | 184 pv->pe_start = orig_pe_start;
|
/netbsd-current/external/gpl2/lvm2/dist/lib/format_text/ |
H A D | format-text.c | 1179 uint64_t pe_start, uint64_t pe_end, 1197 pe_start <<= SECTOR_SHIFT; 1213 if ((!pe_start && !pe_end) || 1214 ((pe_start > start1) && (pe_start - start1 >= MDA_SIZE_MIN))) { 1259 if (pe_start || pe_end) { 1260 if (pe_start <= start1) 1262 else if (start1 + mda_size1 > pe_start) 1263 mda_size1 = pe_start - start1; 1298 if (pe_start || pe_en 1178 _mda_setup(const struct format_type *fmt, uint64_t pe_start, uint64_t pe_end, int pvmetadatacopies, uint64_t pvmetadatasize, struct dm_list *mdas, struct physical_volume *pv, struct volume_group *vg __attribute((unused))) argument 1669 _text_pv_setup(const struct format_type *fmt, uint64_t pe_start, uint32_t extent_count, uint32_t extent_size, unsigned long data_alignment, unsigned long data_alignment_offset, int pvmetadatacopies, uint64_t pvmetadatasize, struct dm_list *mdas, struct physical_volume *pv, struct volume_group *vg) argument [all...] |
H A D | import_vsn1.c | 217 if (!_read_int64(pvn, "pe_start", &pv->pe_start)) { 260 pv->pe_start;
|
/netbsd-current/external/gpl2/lvm2/dist/scripts/ |
H A D | lvm_dump.sh | 209 name,pe_start 2>> "$log" | $SED -e 's/^ *//')" 214 pe_start="$(echo $line | $CUT -d, -f2)" 217 log "$DD if=$pv \"of=$dir/metadata/$name\" bs=512 count=$pe_start 2>> \"$log\""
|
/netbsd-current/sys/external/bsd/drm2/dist/drm/radeon/ |
H A D | radeon_vm.c | 732 * @pe_start: first PTE to handle 741 uint64_t pe_start, uint64_t pe_end, 770 uint64_t frag_start = ALIGN(pe_start, frag_align); 779 count = (pe_end - pe_start) / 8; 780 radeon_vm_set_pages(rdev, ib, pe_start, addr, count, 786 if (pe_start != frag_start) { 787 count = (frag_start - pe_start) / 8; 788 radeon_vm_set_pages(rdev, ib, pe_start, addr, count, 739 radeon_vm_frag_ptes(struct radeon_device *rdev, struct radeon_ib *ib, uint64_t pe_start, uint64_t pe_end, uint64_t addr, uint32_t flags) argument
|
/netbsd-current/external/gpl2/lvm2/dist/include/ |
H A D | metadata-exported.h | 191 uint64_t pe_start; member in struct:physical_volume 366 uint64_t pe_start; member in struct:pvcreate_params 433 /* pe_start and pe_end relate to any existing data so that new metadata 441 uint64_t pe_start,
|
H A D | metadata.h | 216 uint64_t pe_start, uint32_t extent_count,
|
/netbsd-current/external/gpl2/lvm2/dist/lib/metadata/ |
H A D | lv_manip.c | 2599 uint32_t pe_start, per_end; local 2607 pe_start = seg_pe(seg, s); 2613 if ((pe_start < per->start) || (pe_start > per_end)) 2637 uint32_t pe_start, pe_end, per_end, stripe_multiplier, s; local 2651 pe_start = seg_pe(seg, s); 2652 pe_end = pe_start + seg->area_len - 1; 2657 (pe_start > per_end)) 2665 if ((per->start != pe_start && 2666 per->start > pe_start) [all...] |
H A D | metadata-exported.h | 191 uint64_t pe_start; member in struct:physical_volume 366 uint64_t pe_start; member in struct:pvcreate_params 433 /* pe_start and pe_end relate to any existing data so that new metadata 441 uint64_t pe_start,
|
H A D | metadata.h | 216 uint64_t pe_start, uint32_t extent_count,
|
/netbsd-current/external/gpl2/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 underlying device.")
|
/netbsd-current/external/gpl2/lvm2/dist/lib/format_pool/ |
H A D | import_export.c | 152 pv->pe_start = POOL_PE_START;
|
/netbsd-current/external/gpl2/lvm2/dist/lib/display/ |
H A D | display.c | 389 if (pv->size > data_size + pv->pe_start) { 393 pvsize = data_size + pv->pe_start;
|