/freebsd/tests/sys/geom/class/eli/ |
H A D | attach_test.sh | 14 sectors=100 15 attach_md md -t malloc -s `expr $sectors + 1` 19 atf_check geli init -B none -P -K keyfile ${md} 20 atf_check geli attach -d -p -k keyfile ${md} 23 atf_check dd if=/dev/${md}.eli of=/dev/null status=none 25 if [ ! -c /dev/${md}.eli ]; then 30 true > /dev/${md}.eli 32 if [ -c /dev/${md}.eli ]; then 53 attach_md md -t malloc -s `expr $sectors + 1` 56 atf_check geli init -B none -P -K keyfile ${md} [all …]
|
H A D | onetime_test.sh | 12 geli onetime -e $ealgo -l $keylen -s $secsize ${md} 14 atf_check dd if=rnd of=/dev/${md}.eli bs=${secsize} count=${sectors} status=none 18 md_ddev=`dd if=/dev/${md}.eli bs=${secsize} count=${sectors} status=none | md5` 20 md_edev=`dd if=/dev/${md} bs=${secsize} count=${sectors} status=none | md5` 41 sectors=100 60 geli onetime -a $aalgo -e $ealgo -l $keylen -s $secsize ${md} 62 atf_check dd if=rnd of=/dev/${md}.eli bs=${secsize} count=${sectors} status=none 66 md_ddev=`dd if=/dev/${md}.eli bs=${secsize} count=${sectors} status=none | md5` 105 sectors=100 106 attach_md md -t malloc -s $sectors [all …]
|
H A D | setkey_test.sh | 15 sectors=100 16 attach_md md -t malloc -s `expr $sectors + 1` 27 atf_check geli init -B none -P -K keyfile1 ${md} 28 atf_check geli attach -p -k keyfile1 ${md} 31 dd if=rnd of=/dev/${md}.eli bs=512 count=${sectors} status=none 32 hash2=`dd if=/dev/${md}.eli bs=512 count=${sectors} 2>/dev/null | md5` 36 atf_check -s exit:0 -o ignore geli setkey -P -K keyfile2 ${md} 37 atf_check geli detach ${md} 41 geli attach -p -k keyfile1 ${md} 44 atf_check geli attach -p -k keyfile2 ${md} [all …]
|
H A D | init_test.sh | 14 -s $secsize ${md} 15 atf_check geli attach -p -k keyfile ${md} 17 atf_check dd if=rnd of=/dev/${md}.eli bs=${secsize} count=${sectors} \ 22 md_ddev=`dd if=/dev/${md}.eli bs=${secsize} count=${sectors} status=none | md5` 24 md_edev=`dd if=/dev/${md} bs=${secsize} count=${sectors} status=none | md5` 67 sectors=100 71 attach_md md -t malloc -s $sectors 74 rm -f /var/backups/${md}.eli 75 atf_check -s exit:0 -o ignore geli init -B none -P -K keyfile ${md} 76 if [ -f /var/backups/${md}.eli ]; then [all …]
|
H A D | kill_test.sh | 14 sectors=100 15 attach_md md -t malloc -s `expr $sectors + 1` 20 atf_check geli init -B none -P -K keyfile1 ${md} 21 atf_check geli attach -p -k keyfile1 ${md} 22 atf_check -s exit:0 -o ignore geli setkey -n 1 -P -K keyfile2 ${md} 25 atf_check geli kill ${md} 28 if [ -c /dev/${md}.eli ]; then 34 geli attach -p -k keyfile1 ${md} 38 geli attach -p -k keyfile2 ${md} 40 atf_check geli init -B none -P -K keyfile1 ${md} [all …]
|
H A D | delkey_test.sh | 15 sectors=100 16 attach_md md -t malloc -s `expr $sectors + 1` 23 atf_check geli init -B none -P -K keyfile1 ${md} 24 atf_check geli attach -p -k keyfile1 ${md} 25 atf_check -s exit:0 -o ignore geli setkey -n 1 -P -K keyfile2 ${md} 28 atf_check geli delkey -n 0 ${md} 29 atf_check geli detach ${md} 33 geli attach -p -k keyfile1 ${md} 36 atf_check geli attach -p -k keyfile2 ${md} 40 geli delkey -n 1 ${md} [all …]
|
/freebsd/tools/test/stress2/misc/ |
H A D | mkfifo.sh | 39 # Run with mkfifo.cfg on a 2g swap backed MD 43 mount | grep $mntpoint | grep -q /dev/md && umount -f $mntpoint 44 mdconfig -l | grep -q md$mdstart && mdconfig -d -u $mdstart 49 newfs $opt md$mdstart > /dev/null 50 mount /dev/md$mdstart $mntpoint 68 export creatLOAD=100 69 export ftsLOAD=100 70 export linkLOAD=100 71 export lockfLOAD=100 72 export mkdirLOAD=100 [all …]
|
H A D | mkfifo2c.sh | 33 # Run with mkfifo.cfg on a 2g swap backed MD 44 mount | grep $mntpoint | grep -q /dev/md && umount -f $mntpoint 45 mdconfig -l | grep -q md$mdstart && mdconfig -d -u $mdstart 51 newfs $opt md$mdstart > /dev/null 52 mount /dev/md$mdstart $mntpoint 67 export ftsLOAD=100 68 export linkLOAD=100 69 export mkdirLOAD=100 70 export mkfifoLOAD=100 71 export renameLOAD=100 [all …]
|
H A D | mkfifo2d.sh | 38 mount | grep $mntpoint | grep -q /dev/md && umount -f $mntpoint 39 mdconfig -l | grep -q md$mdstart && mdconfig -d -u $mdstart 43 newfs $newfs_flags md$mdstart > /dev/null 44 mount -o async /dev/md$mdstart $mntpoint 59 export ftsLOAD=100 60 export linkLOAD=100 61 export mkdirLOAD=100 62 export mkfifoLOAD=100 63 export renameLOAD=100 64 export swapLOAD=100 [all …]
|
H A D | pager_read_error.sh | 17 md=$mdstart 19 mdconfig -l | grep -q md$md && mdconfig -d -u $md 22 mdconfig -a -t swap -s 1g -u $md 23 newfs -U /dev/md$md > /dev/null 24 mount /dev/md$md $mp 27 ../testcases/swap/swap -t 5m -i 20 -l 100 > /dev/null & 29 ../testcases/mmap/mmap -t 5m -i 20 -l 100 > /dev/null 2>&1 & 35 mdconfig -d -u $md
|
H A D | msdos12.sh | 40 mount | grep "on $mntpoint " | grep -q /dev/md && umount -f $mntpoint 41 [ -c /dev/md$mdstart ] && mdconfig -d -u $mdstart 43 gpart create -s bsd md$mdstart > /dev/null 44 gpart add -t freebsd-ufs md$mdstart > /dev/null 46 newfs_msdos -F 32 -b 8192 /dev/md$mdstart$part > /dev/null 47 mount -t msdosfs /dev/md$mdstart$part $mntpoint 55 export dirnprenameLOAD=100 56 export dirrenameLOAD=100 57 export renameLOAD=100 79 fsck -t msdosfs -y /dev/md$mdstart$part > $log 2>&1 [all …]
|
H A D | suj22.sh | 69 fsck -t ufs -y md$mdstart 70 fsck -t ufs -y md$mdstart 81 mount | grep "$mntpoint" | grep -q md$mdstart && umount $mntpoint 82 mdconfig -l | grep -q md$mdstart && mdconfig -d -u $mdstart 86 newfs -j md$mdstart > /dev/null 87 mount /dev/md$mdstart $mntpoint 108 fsck -t ufs -y md$mdstart 109 fsck -t ufs -y md$mdstart 124 #define ND 100 125 #define NF 100 [all …]
|
H A D | rename15.sh | 37 mount | grep "on $mntpoint " | grep -q /dev/md && umount -f $mntpoint 38 [ -c /dev/md$mdstart ] && mdconfig -d -u $mdstart 43 echo "newfs $fl md$mdstart" 44 newfs $fl md$mdstart > /dev/null 45 mount /dev/md$mdstart $mntpoint 51 export dirnprenameLOAD=100 52 export dirrenameLOAD=100 53 export renameLOAD=100 80 checkfs /dev/md$mdstart; s=$?
|
H A D | fsck3.sh | 48 mount | grep "on $mp1 " | grep -q /dev/md && umount -f $mp1 49 [ -c /dev/md$u1 ] && mdconfig -d -u $u1 51 newfs $newfs_flags /dev/md$u1 > /dev/null 52 mount /dev/md$u1 $mp1 54 [ -c /dev/md$u2 ] && mdconfig -d -u $u2 57 backups=`newfs -N $newfs_flags md$u2 | grep -A1 "super-block backups" | \ 59 newfs $newfs_flags md$u2 > /dev/null 60 sblock=`dumpfs md$u2 | grep -m1 "superblock location" | awk '{print $3}'` 61 mount /dev/md$u2 $mp2 || s=100 67 fsck_ffs -y /dev/md$u2 > $log 2>&1 [all …]
|
H A D | dangling.sh | 41 mount | grep $mntpoint | grep -q /dev/md && umount -f $mntpoint 42 mdconfig -l | grep -q md$mdstart && mdconfig -d -u $mdstart 45 newfs $newfs_flags md$mdstart > /dev/null 46 mount /dev/md$mdstart $mntpoint || exit 1 59 export LOAD=100 60 export symlinkLOAD=100 61 export rwLOAD=100 62 export mkdirLOAD=100
|
H A D | gnop7.sh | 43 mount | grep $mntpoint | grep -q /dev/md && umount -f $mntpoint 44 [ -c /dev/md$mdstart ] && mdconfig -d -u $mdstart 47 gnop create /dev/md$mdstart 48 newfs $newfs_flags /dev/md$mdstart.nop > /dev/null 49 mount /dev/md$mdstart.nop $mntpoint 61 gnop configure -e 5 -r 100 -w 100 /dev/md$mdstart.nop 63 gnop configure -e 0 -r 0 -w 0 /dev/md$mdstart.nop 75 fsck_ffs -Rfy /dev/md$mdstart.nop || s=2 76 gnop destroy /dev/md$mdstart.nop
|
H A D | gnop6.sh | 42 rprob=`jot -r 1 0 100` # read delay in % 43 wprob=`jot -r 1 0 100` # write delay in % 45 mount | grep $mntpoint | grep -q /dev/md && umount -f $mntpoint 46 [ -c /dev/md$mdstart ] && mdconfig -d -u $mdstart 49 gnop create -d $delay -q $rprob -x $wprob /dev/md$mdstart 50 newfs $newfs_flags /dev/md$mdstart.nop > /dev/null 51 mount /dev/md$mdstart.nop $mntpoint 60 while mount | grep $mntpoint | grep -q /dev/md; do 63 checkfs /dev/md$mdstart.nop || s=1 && s=0 64 gnop destroy /dev/md$mdstart.nop
|
H A D | symlink3.sh | 37 mount | grep $mntpoint | grep -q /dev/md && umount -f $mntpoint 38 mdconfig -l | grep -q md$mdstart && mdconfig -d -u $mdstart 40 newfs $newfs_flags md$mdstart > /dev/null 41 mount /dev/md$mdstart $mntpoint 48 export LOAD=100 49 export symlinkLOAD=100 56 mount /dev/md$mdstart $mntpoint 61 while mount | grep $mntpoint | grep -q /dev/md; do
|
H A D | force12.sh | 39 mount | grep $mntpoint | grep -q /dev/md && umount -f $mntpoint 40 mdconfig -l | grep -q md$mdstart && mdconfig -d -u $mdstart 44 echo "newfs $flags md$mdstart" 45 newfs $flags md$mdstart > /dev/null 2>&1 61 mount /dev/md$mdstart $mntpoint 63 export dirnprenameLOAD=100 64 export dirrenameLOAD=100 70 while mdconfig -l | grep -q md$mdstart; do 77 while mount | grep $mntpoint | grep -q /dev/md; do
|
H A D | rw.sh | 39 mount | grep "on $mntpoint " | grep -q /dev/md && umount -f $mntpoint 40 [ -c /dev/md$mdstart ] && mdconfig -d -u $mdstart 44 newfs $newfs_flags md$mdstart > /dev/null 46 mount /dev/md$mdstart $mntpoint 52 export rwLOAD=100 53 export swapLOAD=100 61 while mount | grep "on $mntpoint " | grep -q /dev/md; do
|
H A D | umount2.sh | 41 [ -c /dev/md$mdstart ] && mdconfig -d -u $mdstart 43 newfs $newfs_flags md$mdstart > /dev/null 44 mount /dev/md$mdstart $mntpoint 65 export ftsLOAD=100 66 export lockfLOAD=100 67 export openatLOAD=100 68 export symlinkLOAD=100
|
H A D | msdos17.sh | 18 [ -c /dev/md$mdstart ] && mdconfig -d -u $mdstart 21 gpart create -s bsd md$mdstart > /dev/null 22 gpart add -t freebsd-ufs md$mdstart > /dev/null 24 newfs_msdos -F 32 -b 8192 /dev/md${mdstart}$part > /dev/null || exit 1 25 mount -t msdosfs /dev/md${mdstart}$part $mntpoint 57 usleep(100); 75 usleep(100); 127 (cd ../testcases/swap; ./swap -t 5m -i 20 -l 100) &
|
/freebsd/sys/contrib/device-tree/Bindings/iio/pressure/ |
H A D | honeywell,hsc030pa.yaml | 63 enum: [001BA, 1.6BA, 2.5BA, 004BA, 006BA, 010BA, 1.6MD, 2.5MD, 004MD, 64 006MD, 010MD, 016MD, 025MD, 040MD, 060MD, 100MD, 160MD, 250MD, 65 400MD, 600MD, 001BD, 1.6BD, 2.5BD, 004BD, 2.5MG, 004MG, 006MG, 66 010MG, 016MG, 025MG, 040MG, 060MG, 100MG, 160MG, 250MG, 400MG, 67 600MG, 001BG, 1.6BG, 2.5BG, 004BG, 006BG, 010BG, 100KA, 160KA, 70 100KD, 160KD, 250KD, 400KD, 250LG, 400LG, 600LG, 001KG, 1.6KG, 71 2.5KG, 004KG, 006KG, 010KG, 016KG, 025KG, 040KG, 060KG, 100KG, 72 160KG, 250KG, 400KG, 600KG, 001GG, 015PA, 030PA, 060PA, 100PA, 75 010NG, 020NG, 030NG, 001PG, 005PG, 015PG, 030PG, 060PG, 100PG,
|
/freebsd/sys/geom/raid3/ |
H A D | g_raid3.h | 243 struct g_raid3_metadata *md); 244 int g_raid3_read_metadata(struct g_consumer *cp, struct g_raid3_metadata *md); 246 struct g_raid3_metadata *md); 272 raid3_metadata_encode(struct g_raid3_metadata *md, u_char *data) in raid3_metadata_encode() argument 276 bcopy(md->md_magic, data, 16); in raid3_metadata_encode() 277 le32enc(data + 16, md->md_version); in raid3_metadata_encode() 278 bcopy(md->md_name, data + 20, 16); in raid3_metadata_encode() 279 le32enc(data + 36, md->md_id); in raid3_metadata_encode() 280 le16enc(data + 40, md->md_no); in raid3_metadata_encode() 281 le16enc(data + 42, md->md_all); in raid3_metadata_encode() [all …]
|
/freebsd/sys/geom/cache/ |
H A D | g_cache.c | 76 if (val > 100) in sysctl_handle_pct() 161 n = g_cache_used_lo * sc->sc_maxent / 100; in g_cache_free_used() 427 if (sc->sc_nused > g_cache_used_hi * sc->sc_maxent / 100) in g_cache_go() 469 const struct g_cache_metadata *md, u_int type) in g_cache_create() argument 484 G_CACHE_DEBUG(1, "Creating device %s.", md->md_name); in g_cache_create() 486 /* Cache size is minimum 100. */ in g_cache_create() 487 if (md->md_size < 100) { in g_cache_create() 488 G_CACHE_DEBUG(0, "Invalid size for device %s.", md->md_name); in g_cache_create() 493 bshift = ffs(md->md_bsize) - 1; in g_cache_create() 494 if (md->md_bsize == 0 || md->md_bsize > maxphys || in g_cache_create() [all …]
|