/freebsd-current/contrib/dialog/samples/ |
H A D | msgbox2 | 6 $DIALOG --title "MESSAGE BOX" --trim "$@" \ 13 $DIALOG --aspect 12 --title "MESSAGE BOX aspect=12" --trim "$@" \ 20 $DIALOG --aspect 6 --title "MESSAGE BOX aspect=6" --trim "$@" \ 28 --trim "$@" --msgbox " \
|
/freebsd-current/usr.sbin/trim/ |
H A D | Makefile | 2 PROG= trim 3 MAN= trim.8
|
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_trim/ |
H A D | zpool_trim_start_and_cancel_neg.ksh | 27 # Cancelling and suspending trim doesn't work if not all specified vdevs 34 # 4. Try to re-trim the currently trimming disk. 45 log_must zpool trim -r 1 $TESTPOOL $DISK1 50 log_mustnot zpool trim -c $TESTPOOL $DISK2 51 log_mustnot zpool trim -c $TESTPOOL $DISK2 $DISK3 53 log_mustnot zpool trim -s $TESTPOOL $DISK2 54 log_mustnot zpool trim -s $TESTPOOL $DISK2 $DISK3 56 log_mustnot zpool trim $TESTPOOL $DISK1 58 log_pass "Nonsensical trim operations fail"
|
H A D | zpool_trim_rate.ksh | 27 # Verify 'zpool trim -r <rate>' rate limiting. 36 # set be to fairly large since we are capping the maximum trim rate. The 37 # actual trim rate can be lower. The critical thing is that the trim rate 60 log_must zpool trim -r 200M $TESTPOOL 63 log_must zpool trim -s $TESTPOOL 68 log_must zpool trim $TESTPOOL 71 log_must zpool trim -s $TESTPOOL 76 log_must zpool trim -r 600M $TESTPOOL 79 log_must zpool trim [all...] |
H A D | zpool_trim_start_and_cancel_pos.ksh | 27 # Starting and stopping a trim works. 38 log_must zpool trim -r 1 "$TESTPOOL" 43 log_must zpool trim -c $TESTPOOL
|
H A D | zpool_trim_suspend_resume.ksh | 55 log_must zpool trim -r 256M $TESTPOOL 62 log_must zpool trim -s $TESTPOOL 70 log_must zpool trim $TESTPOOL $LARGEFILE
|
H A D | zpool_trim_neg.ksh | 27 # A badly formed parameter passed to 'zpool trim' should 31 # 1. Create an array containing bad 'zpool trim' parameters. 43 log_assert "Execute 'zpool trim' using invalid parameters." 49 log_mustnot zpool trim ${args[i]} $TESTPOOL 53 log_pass "Invalid parameters to 'zpool trim' fail as expected."
|
H A D | zpool_trim_unsupported_vdevs.ksh | 27 # Attempting to trim unsupported vdevs should fail. 39 # 2. Try to trim vdev1, vdev2, and vdev3. Ensure that all 3 fail. 65 log_mustnot zpool trim $TESTPOOL mirror-0 67 log_mustnot zpool trim $TESTPOOL ${FDISKS[$n]} 70 log_pass "Attempting to trim failed on unsupported devices"
|
H A D | zpool_trim_online_offline.ksh | 30 # 1. Create a pool with a two-way mirror, prepare blocks to trim. 45 log_must zpool trim -r 1 $TESTPOOL $DISK1 61 log_must zpool trim -s $TESTPOOL $DISK1
|
H A D | zpool_trim_secure.ksh | 27 # Verify 'zpool trim -d' secure trim. 31 # 2. Run 'zpool trim -d' to securely TRIM allocated space maps. 57 log_mustnot zpool trim -d $TESTPOOL 59 log_pass "Manual 'zpool trim -d' failed as expected for file vdevs"
|
/freebsd-current/tools/test/stress2/misc/ |
H A D | trim8.sh | 35 trim=$(df -k | sed 1d | sort -rn +3 | awk '{print $NF}' | while read mp; do 38 dumpfs $on | head -20 | grep -q trim || continue 41 [ -z "$trim" ] && exit 0 42 mp=`mount | grep "$trim " | awk '{print $3}'` 43 echo "Found TRIM on $trim mounted as $mp" 51 dd if=/dev/zero of=$mp/trim.data.$i bs=1m count=1k status=none 52 rm $mp/trim.data.$i
|
H A D | trim.sh | 31 # Run with marcus.cfg on a malloc backed MD with option trim. 44 [ $# -eq 0 ] && trim=-t 53 echo "newfs $trim $flag md$mdstart" 54 newfs $trim $flag md$mdstart > /dev/null
|
/freebsd-current/contrib/ncurses/progs/ |
H A D | transform.c | 47 bool trim = FALSE; local 53 trim = TRUE; 56 trim = FALSE; 60 if (trim) {
|
/freebsd-current/contrib/cortex-strings/scripts/ |
H A D | trim.sh | 7 convert $i -bordercolor white -border 1x1 -trim +repage -alpha off +dither -colors 32 PNG8:next-$i
|
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_wait/ |
H A D | zpool_wait_trim_flag.ksh | 22 # -w flag for 'zpool trim' waits for trimming to complete for all and only those 27 # 2. Start trimming vdevs 1 and 2 with one invocation of 'zpool trim -w' 28 # 3. Start trimming vdev 3 with a second invocation of 'zpool trim -w' 29 # 4. Cancel the trim of vdev 1. Check that neither waiting process exits. 30 # 5. Cancel the trim of vdev 3. Check that only the second waiting process 32 # 6. Cancel the trim of vdev 2. Check that the first waiting process exits. 58 log_bkgrnd zpool trim -r 1M -w $TESTPOOL "$VDEV1" "$VDEV2" 60 log_bkgrnd zpool trim -r 1M -w $TESTPOOL "$VDEV3" 69 # Cancel trim of one of disks started by trim12, make sure neither 72 log_must zpool trim [all...] |
H A D | zpool_wait_trim_cancel.ksh | 22 # 'zpool wait' works when a trim operation is canceled. 31 # 5. Cancel the trim. 33 # 7. Repeat 3-7, except pause the trim instead of canceling it. 47 log_must zpool trim -r 1M $TESTPOOL "$FILE_VDEV" 49 log_bkgrnd zpool wait -t trim $TESTPOOL 74 do_test "zpool trim -c $TESTPOOL $FILE_VDEV" 75 do_test "zpool trim -s $TESTPOOL $FILE_VDEV" 77 log_pass "'zpool wait' works when trim is stopped before completion."
|
H A D | zpool_wait_trim_basic.ksh | 27 # that the trim can be observed. 61 log_must zpool trim -r 2G $TESTPOOL "$FILE_VDEV" 63 log_bkgrnd zpool wait -t trim $TESTPOOL 68 log_pass "'zpool wait -t trim' works."
|
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/trim/ |
H A D | autotrim_trim_integrity.ksh | 23 . $STF_SUITE/tests/functional/trim/trim.kshlib 24 . $STF_SUITE/tests/functional/trim/trim.cfg 28 # Verify automatic trim and manual trim coexist correctly. 31 # 1. Create a pool on sparse file vdevs to trim. 35 # 4. Verify trim IOs of the expected type were issued for the pool. 36 # 5. Verify data integrity of the pool after trim. 41 log_assert "Set 'autotrim=on', run 'zpool trim' an [all...] |
H A D | trim_integrity.ksh | 23 . $STF_SUITE/tests/functional/trim/trim.kshlib 24 . $STF_SUITE/tests/functional/trim/trim.cfg 28 # Verify manual trim pool data integrity. 31 # 1. Create a pool on sparse file vdevs to trim. 33 # 3. Manually trim the pool. 34 # 4. Verify trim IOs of the expected type were issued for the pool. 35 # 5. Verify data integrity of the pool after trim. 40 log_assert "Run 'zpool trim' an [all...] |
H A D | autotrim_integrity.ksh | 23 . $STF_SUITE/tests/functional/trim/trim.kshlib 24 . $STF_SUITE/tests/functional/trim/trim.cfg 28 # Verify automatic trim pool data integrity. 31 # 1. Create a pool on sparse file vdevs to trim. 34 # 4. Verify trim IOs of the expected type were issued for the pool. 35 # 5. Verify data integrity of the pool after trim. 55 # Minimum trim size is decreased to verify all trim size [all...] |
H A D | trim_config.ksh | 23 . $STF_SUITE/tests/functional/trim/trim.kshlib 24 . $STF_SUITE/tests/functional/trim/trim.cfg 31 # 1. Create a pool on file vdevs to trim. 34 # 4. Remove all files making it possible to trim the entire pool. 35 # 5. Manually trim the pool. 36 # 6. Wait for trim to issue trim IOs for the free blocks. 42 log_assert "Run 'zpool trim' verif [all...] |
H A D | trim_l2arc.ksh | 18 . $STF_SUITE/tests/functional/trim/trim.kshlib 19 . $STF_SUITE/tests/functional/trim/trim.cfg 27 # 2. Create a pool on file vdevs to trim. 32 # 6. Verify trim IOs of the expected type were issued for the pool.
|
H A D | autotrim_config.ksh | 23 . $STF_SUITE/tests/functional/trim/trim.kshlib 24 . $STF_SUITE/tests/functional/trim/trim.cfg 31 # 1. Create a pool on file vdevs to trim. 35 # 5. Remove all files making it possible to trim the entire pool. 36 # 6. Wait for auto trim to issue trim IOs for the free blocks. 58 # Minimum trim size is decreased to verify all trim size [all...] |
/freebsd-current/contrib/atf/atf-c++/detail/ |
H A D | text_test.cpp | 257 ATF_TEST_CASE(trim); variable 258 ATF_TEST_CASE_HEAD(trim) 260 set_md_var("descr", "Tests the trim function"); 262 ATF_TEST_CASE_BODY(trim) 264 using atf::text::trim; 266 ATF_REQUIRE_EQ(trim(""), ""); 267 ATF_REQUIRE_EQ(trim(" "), ""); 268 ATF_REQUIRE_EQ(trim("\t"), ""); 270 ATF_REQUIRE_EQ(trim(" foo"), "foo"); 271 ATF_REQUIRE_EQ(trim("\ [all...] |
/freebsd-current/contrib/llvm-project/llvm/lib/Support/ |
H A D | FormatVariadic.cpp | 60 StringRef RepString = Spec.trim("{}"); 69 RepString = RepString.trim(); 74 RepString = RepString.trim(); 79 RepString = RepString.trim(); 81 Options = RepString.drop_front().trim(); 84 RepString = RepString.trim();
|