Lines Matching +full:0 +full:- +full:1023
4 # SPDX-License-Identifier: BSD-2-Clause
32 # fsync: giving up on dirty 0xc9659438: tag devfs, type VCHR
33 # usecount 1, writecount 0, refcount 41 mountedhere 0xc96a2000
35 # v_object 0xc9824aa0 ref 0 pages 355 cleanbuf 37 dirtybuf 2
36 # lock type devfs: EXCL by thread 0xccbca6a0 (pid 42225, dd, tid 100234)
37 # #0 0xc0c26533 at __lockmgr_args+0xae3
38 # #1 0xc0d06cc3 at vop_stdlock+0x53
39 # #2 0xc1212cc0 at VOP_LOCK1_APV+0xe0
40 # #3 0xc0d2b24a at _vn_lock+0xba
41 # #4 0xc0f3f22b at ffs_sync+0x34b
42 # #5 0xc0f22343 at softdep_ast_cleanup_proc+0x213
43 # #6 0xc0ca7fbb at userret+0x1ab
44 # #7 0xc11e0618 at syscall+0x5e8
45 # #8 0xc11cb09e at Xint0x80_syscall+0x2e
50 [ -d $RUNDIR ] || mkdir -p $RUNDIR &&
51 find $RUNDIR -name "split.*" -delete
53 s=0
54 kfree=`df -k $RUNDIR | tail -1 | awk '{print $4}'`
55 [ $kfree -gt 100 ] && kfree=$((kfree - 100))
56 parallel=$((`sysctl -n hw.ncpu` + 1))
60 [ $mx -gt $cap ] && mx=$cap
65 s=0
67 blocks=`jot -r 1 1 $mx`
68 dd if=/dev/random of=file.$1 bs=1023 count=$blocks status=none
69 orig=`ls -l file.$1 | tail -1`
70 md5=`md5 -q file.$1`
71 spmin=$((1023 * 4))
72 spmax=$((1023 * blocks / 2))
73 rm -f split.$1.*
74 split -a 4 -b `jot -r 1 $spmin $spmax` file.$1 split.$1.
78 md5a=`md5 -q file.$1`
82 orig=`ls -l file.$1 | tail -1`
97 [ $? -ne 0 ] && s=1