Lines Matching refs:error
151 error=-12
164 error=$OPTARG
181 if ! [ "$error" -ge -4095 -a "$error" -lt 0 ]; then
182 echo "error code must be -4095 <= errno < 0" >&2
234 # Test with cpu notifier error injection
238 NOTIFIER_ERR_INJECT_DIR=$DEBUGFS/notifier-error-inject/cpu
244 /sbin/modprobe -q -r cpu-notifier-error-inject
245 /sbin/modprobe -q cpu-notifier-error-inject priority=$priority
253 echo $msg cpu-notifier-error-inject module is not available >&2
263 echo 0 > $NOTIFIER_ERR_INJECT_DIR/actions/CPU_DOWN_PREPARE/error
269 # Test CPU hot-add error handling (offline => online)
271 echo $error > $NOTIFIER_ERR_INJECT_DIR/actions/CPU_UP_PREPARE/error
279 echo 0 > $NOTIFIER_ERR_INJECT_DIR/actions/CPU_UP_PREPARE/error
285 # Test CPU hot-remove error handling (online => offline)
287 echo $error > $NOTIFIER_ERR_INJECT_DIR/actions/CPU_DOWN_PREPARE/error
292 echo 0 > $NOTIFIER_ERR_INJECT_DIR/actions/CPU_DOWN_PREPARE/error
293 /sbin/modprobe -q -r cpu-notifier-error-inject