| /src/external/gpl3/gcc/dist/libgcc/config/aarch64/ |
| value-unwind.h | 31 /* Return the value of the pseudo VG register. This should only be 36 register int vg asm ("x0"); 38 asm (".inst 0x04e0e3e0" : "=r" (vg)); 39 return vg; 42 /* Lazily provide a value for VG, so that we don't try to execute SVE
|
| /src/external/gpl3/gcc.old/dist/libgcc/config/aarch64/ |
| value-unwind.h | 31 /* Return the value of the pseudo VG register. This should only be 36 register int vg asm ("x0"); 38 asm (".inst 0x04e0e3e0" : "=r" (vg)); 39 return vg; 42 /* Lazily provide a value for VG, so that we don't try to execute SVE
|
| /src/external/gpl2/lvm2/dist/liblvm/ |
| lvm_vg.c | 32 struct volume_group *vg; local 34 vg = vg_create((struct cmd_context *)libh, vg_name); 36 if (vg_read_error(vg)) { 37 vg_release(vg); 40 vg->open_mode = 'w'; 41 return (vg_t) vg; 44 int lvm_vg_extend(vg_t vg, const char *device) 48 if (vg_read_error(vg)) 51 if (!vg_check_write_mode(vg)) 54 if (!lock_vol(vg->cmd, VG_ORPHANS, LCK_VG_WRITE)) 163 struct volume_group *vg; local [all...] |
| lvm2app.h | 38 * 1) Physical Volume (PV) 2) Volume Group (VG) 3) Logical Volume (LV). 47 * VG handle, vg_t. Performing an operation on a PV or LV object first 48 * requires obtaining a VG handle. Once the vg_t has been obtained, it can 56 * An application first opening a VG read-only, then later wanting to change 57 * a property of an object must first close the VG and re-open with write 59 * the VG has changed on-disk in between these operations - this is the 60 * application's responsiblity. One way the application can ensure the VG 61 * has not changed is to save the "vg_seqno" field after opening the VG with 62 * READ permission. If the application later needs to modify the VG, it can 63 * close the VG and re-open with WRITE permission. It should then chec [all...] |
| /src/external/gpl2/lvm2/dist/test/ |
| t-lvconvert-repair.sh | 16 vgreduce $vg $dev4 17 lvcreate -m 1 -L 1 -n mirror $vg 19 lvchange -a n $vg/mirror 20 vgextend $vg $dev4 22 lvchange --partial -a y $vg/mirror 24 not vgreduce -v --removemissing $vg 25 lvconvert -y -i 1 --repair $vg/mirror 26 vgreduce --removemissing $vg 29 vgextend $vg $dev1 31 lvconvert -y -i 1 --repair $vg/mirro [all...] |
| t-snapshots-of-mirrors.sh | 6 lvcreate -m 1 -L 10M -n lv $vg 7 lvcreate -s $vg/lv -L 10M -n snap 10 lvconvert -m0 $vg/lv 13 lvconvert -m2 $vg/lv 16 lvconvert -m1 $vg/lv 19 not lvconvert -m2 $vg/lv 22 lvconvert --mirrorlog core $vg/lv 25 not lvconvert --mirrorlog redundant $vg/lv 29 # not lvconvert --mirrorlog core $vg/lv 32 lvconvert --mirrorlog disk $vg/l [all...] |
| t-fsadm.sh | 18 vgcreate -cn $vg $devs 21 lvcreate -n$lv1 -L 64M $vg 22 mke2fs -b4096 -j $G_dev_/$vg/$lv1 23 e2fsck -f -y $G_dev_/$vg/$lv1 24 fsadm --lvresize resize $G_dev_/$vg/$lv1 128M 25 vgremove -ff $vg
|
| t-lvcreate-usage.sh | 18 vgcreate -cn $vg $devs 21 lvcreate -n $lv -l 4 $vg 22 not lvcreate -n $lv -l 4 $vg 23 lvremove -ff $vg/$lv 25 not lvremove -ff $vg/$lv 28 not lvcreate -L 64m -n $lv -i2 --stripesize -4 $vg 2>err; 32 not lvcreate -L 64m -n $lv -i2 --stripesize 4294967291 $vg 2>err 36 lvcreate -L 64m -n $lv -i1 --stripesize 4 $vg >out 2>err 39 lvdisplay $vg 40 lvremove -ff $vg [all...] |
| t-mirror-lvconvert.sh | 18 local vg=$1 19 local lv=$vg/$2 24 lvs -a -odevices --noheadings $vg/$i | sed 's/([^)]*)//g; s/,/ /g' | \ 46 local vg=$1 47 local lv=$vg/$2 51 lv_is_contiguous_ $vg/$i || return 1 113 lvremove -ff $vg 114 if dmsetup table|grep $vg; then 123 lvs -a -o+devices $vg 124 lvremove -ff $vg [all...] |
| t-read-ahead.sh | 22 lvs --units s --nosuffix --noheadings -o $1 "$vg"/"$lv" 35 lvcreate -n "$lv" -l 100%FREE -i5 -I256 "$vg" 38 lvdisplay "$vg"/"$lv" 39 lvchange -r auto "$vg"/"$lv" 2>&1 | grep auto 42 lvchange -r 640 "$vg/$lv" 44 lvremove -ff "$vg" 48 lvcreate -n $lv -L4m $vg $dev1 49 test $(blockdev --getra $G_dev_/$vg/$lv) -eq 768 50 lvremove -ff $vg 53 lvcreate -n $lv -l 50%FREE $vg [all...] |
| t-vgchange-usage.sh | 18 vgcreate $vg $devs 21 local vg=$1 24 vgs --noheading -o $field $vg | sed 's/^ *//' 27 vgdisplay $vg 30 aux check_vg_field_ $vg max_pv 0 31 vgchange -p 128 $vg 32 aux check_vg_field_ $vg max_pv 128 34 pv_count=$(get_vg_field $vg pv_count) 35 not vgchange -p 2 $vg 2>err 37 aux check_vg_field_ $vg max_pv 12 [all...] |
| t-pvmove-basic.sh | 27 local lv=$1 #allready vg/lv 55 lvcreate -l2 -n $lv1 $vg $dev1 56 lv_is_on_ $vg/$lv1 $dev1 57 lvcreate -l9 -i3 -n $lv2 $vg $dev2 $dev3 $dev4 58 lv_is_on_ $vg/$lv2 $dev2 $dev3 $dev4 59 lvextend -l+2 $vg/$lv1 $dev2 60 lv_is_on_ $vg/$lv1 $dev1 $dev2 61 lvextend -l+2 $vg/$lv1 $dev3 62 lv_is_on_ $vg/$lv1 $dev1 $dev2 $dev3 63 lvextend -l+2 $vg/$lv1 $dev1 [all...] |
| t-mirror-basic.sh | 29 local vg=$1 30 local lv=$vg/$2 35 lvs -a -odevices --noheadings $vg/$i | sed 's/([^)]*)//g; s/,/ /g' | \ 68 local vg=$1 69 local lv=$vg/$2 73 lv_is_contiguous_ $vg/$i || return 1 81 local vg=$1 82 local lv=$vg/$2 86 lv_is_clung_ $vg/$i || return 1 123 lvremove -ff $vg; [all...] |
| t-unlost-pv.sh | 16 lvcreate -m 1 -l 1 -n mirror $vg 17 lvchange -a n $vg/mirror 21 grep "Inconsistent metadata found for VG $vg" vgscan.out 23 not grep "Inconsistent metadata found for VG $vg" vgscan.out 28 vgreduce --removemissing --force $vg 34 vgextend $vg $dev1 36 lvremove $vg/mirror
|
| t-covercmd.sh | 21 case $(lvs --units s --nosuffix --noheadings -o $1_read_ahead "$vg"/"$lv") in 34 vgcreate -c n $vg $devs 35 lvcreate -n $lv -l 5 -i5 -I256 $vg 49 vgchange -an $vg 50 vgexport $vg 51 vgimport $vg 52 vgchange -ay $vg 63 lvchange -$i "$vg"/"$lv" 67 vgck "$vg" 68 lvrename "$vg" "$lv" "$lv-rename [all...] |
| t-lvcreate-operation.sh | 17 lvremove -ff $vg 18 if dmsetup table|grep $vg; then 26 aux vgcreate $vg $devs 29 lvcreate -n$lv1 -l4 $vg $dev1 30 lvcreate -n$lv2 -l4 -s $vg/$lv1 31 #lvremove -f $vg/$lv2
|
| t-partial-activate.sh | 5 lvcreate -m 1 -l 1 -n mirror $vg 6 lvchange -a n $vg/mirror 9 not vgreduce --removemissing $vg 10 not lvchange -v -a y $vg/mirror 11 lvchange -v --partial -a y $vg/mirror 14 vgchange -a n --partial $vg 15 vgchange -a y --partial $vg
|
| t-lvcreate-pvtags.sh | 17 vgcreate $vg $devs 21 lvcreate -l3 -i3 $vg @fast 24 not lvcreate -l4 -i4 $vg @fast 27 not lvcreate -l2 -i2 $vg $G_dev_/mapper/pv1 30 lvcreate -l1 -m1 $vg @fast 33 lvcreate -l1 -m2 --corelog $vg @fast 36 not lvcreate -l1 -m2 $vg @fast 39 not lvcreate -l1 -m3 --corelog $vg @fast 42 not lvcreate -l1 -m1 --corelog $vg $dev1
|
| t-lvextend-percent-extents.sh | 18 lvcreate -L 64m -n $lv $vg 21 not lvextend -l 10 -L 64m $vg/$lv 2>err 25 not lvextend -l 10 -L 64m $vg/$lv $dev1 2>err 29 lvextend $vg/$lv $dev1 >out 33 lvremove -f $vg/$lv 37 lvcreate -l $vgsize -n $lv $vg 38 yes | lvreduce -l $(( $vgsize / 2 )) $vg/$lv 39 lvextend -l $vgsize $vg/$lv 42 lvremove -f $vg/$lv 43 lvcreate -L 64m -n $lv $vg [all...] |
| t-vgcreate-usage.sh | 20 #COMM 'vgcreate accepts 8.00m physicalextentsize for VG' 21 vgcreate $vg --physicalextentsize 8.00m $dev1 $dev2 22 check_vg_field_ $vg vg_extent_size 8.00m 23 vgremove $vg 25 not vgremove $vg 26 not vgck $vg 28 #COMM 'vgcreate accepts smaller (128) maxlogicalvolumes for VG' 29 vgcreate $vg --maxlogicalvolumes 128 $dev1 $dev2 30 check_vg_field_ $vg max_lv 128 31 vgremove $vg [all...] |
| /src/external/gpl2/lvm2/dist/test/api/ |
| vgtest.c | 29 vg_t vg; variable 36 printf("Creating VG %s\n", vg_name); \ 37 vg = lvm_vg_create(handle, vg_name); \ 38 if (!vg) { \ 42 #define vg_extend(vg, dev) \ 43 printf("Extending VG %s by %s\n", vg_name, dev); \ 44 status = lvm_vg_extend(vg, dev); \ 50 #define vg_commit(vg) \ 51 printf("Committing VG %s to disk\n", vg_name); \ 52 status = lvm_vg_write(vg); \ [all...] |
| /src/external/gpl2/lvm2/dist/tools/ |
| vgchange.c | 21 struct volume_group *vg, int reg) 29 dm_list_iterate_items(lvl, &vg->lvs) { 57 struct volume_group *vg, int activate) 63 dm_list_iterate_items(lvl, &vg->lvs) { 110 count, vg->name); 115 static int _vgchange_monitoring(struct cmd_context *cmd, struct volume_group *vg) 119 if ((active = lvs_in_vg_activated(vg)) && 121 monitored = _monitor_lvs_in_vg(cmd, vg, dmeventd_monitor_mode()); 124 monitored, vg->name, (dmeventd_monitor_mode()) ? "" : "un"); 130 static int _vgchange_available(struct cmd_context *cmd, struct volume_group *vg) [all...] |
| vgimport.c | 22 struct volume_group *vg, 28 if (!vg_is_exported(vg)) { 33 if (vg_status(vg) & PARTIAL_VG) { 38 if (!archive(vg)) 41 vg->status &= ~EXPORTED_VG; 43 dm_list_iterate_items(pvl, &vg->pvs) { 48 if (!vg_write(vg) || !vg_commit(vg)) 51 backup(vg); 53 log_print("Volume group \"%s\" successfully imported", vg->name) [all...] |
| vgexport.c | 22 struct volume_group *vg, 28 if (lvs_in_vg_activated(vg)) { 34 if (!archive(vg)) 37 vg->status |= EXPORTED_VG; 39 dm_list_iterate_items(pvl, &vg->pvs) { 44 if (!vg_write(vg) || !vg_commit(vg)) 47 backup(vg); 49 log_print("Volume group \"%s\" successfully exported", vg->name);
|
| /src/external/gpl2/lvm2/dist/include/ |
| lvm2app.h | 38 * 1) Physical Volume (PV) 2) Volume Group (VG) 3) Logical Volume (LV). 47 * VG handle, vg_t. Performing an operation on a PV or LV object first 48 * requires obtaining a VG handle. Once the vg_t has been obtained, it can 56 * An application first opening a VG read-only, then later wanting to change 57 * a property of an object must first close the VG and re-open with write 59 * the VG has changed on-disk in between these operations - this is the 60 * application's responsiblity. One way the application can ensure the VG 61 * has not changed is to save the "vg_seqno" field after opening the VG with 62 * READ permission. If the application later needs to modify the VG, it can 63 * close the VG and re-open with WRITE permission. It should then chec [all...] |