Lines Matching +full:elm +full:- +full:id
30 # "panic: Bad link elm 0xfffff8052a20cc00 prev->next != elm" seen:
35 # http://people.freebsd.org/~pho/stress/log/crossmp3-2.txt, fixed by r273967.
37 [ `id -u ` -ne 0 ] && echo "Must be root!" && exit 1
42 if [ $# -eq 0 ]; then
43 N=`sysctl -n hw.ncpu`
44 [ $N -gt 32 ] && N=32 # Arbitrary cap
45 usermem=`sysctl -n hw.usermem`
46 [ `sysctl -n vm.swap_total` -eq 0 ] && usermem=$((usermem / 2))
53 m=$(( i + mdstart - 1 ))
54 [ ! -d ${mntpoint}$m ] &&
56 mount | grep "${mntpoint}$m " | grep -q md$m &&
58 mdconfig -l | grep -q md$m && mdconfig -d -u $m
60 mdconfig -a -t swap -s ${size}m -u $m
67 m=$(( i + mdstart - 1 ))
74 m=$(( i + mdstart - 1 ))
75 while mount | grep -q "on ${mntpoint}$m "; do
79 mdconfig -d -u $m
84 while [ -f $CONT ]; do
85 find ${mntpoint}* -type f > /dev/null 2>&1
97 (cd ${mntpoint}$m && find . -delete)
98 su $testuser -c 'cd ..; ./run.sh disk.cfg' > \
101 while mount | grep -q "on ${mntpoint}$m "; do
102 opt=$([ $((`date '+%s'` % 2)) -eq 0 ] && echo "-f")
104 [ -f $CONT ] || break 2
106 [ $((`date +%s` - start)) -gt 600 ] &&
109 rm -f $CONT