• Home
  • Raw
  • Download

Lines Matching refs:error

575 	tristate "Memory hotplug notifier error injection module"
580 debugfs interface under /sys/kernel/debug/notifier-error-inject/memory
583 notified, write the error code to "actions/<notifier event>/error".
585 Example: Inject memory hotplug offline error (-12 == -ENOMEM)
587 # cd /sys/kernel/debug/notifier-error-inject/memory
588 # echo -12 > actions/MEM_GOING_OFFLINE/error
590 bash: echo: write error: Cannot allocate memory
593 be called memory-notifier-error-inject.
612 This option enables additional error checking for high memory
1350 tristate "Notifier error injection"
1355 specified notifier chain callbacks. It is useful to test the error
1361 tristate "CPU notifier error injection module"
1365 the error handling of the cpu notifiers by injecting artificial
1367 debugfs interface under /sys/kernel/debug/notifier-error-inject/cpu
1370 notified, write the error code to "actions/<notifier event>/error".
1372 Example: Inject CPU offline error (-1 == -EPERM)
1374 # cd /sys/kernel/debug/notifier-error-inject/cpu
1375 # echo -1 > actions/CPU_DOWN_PREPARE/error
1377 bash: echo: write error: Operation not permitted
1380 be called cpu-notifier-error-inject.
1385 tristate "PM notifier error injection module"
1391 interface /sys/kernel/debug/notifier-error-inject/pm
1394 notified, write the error code to "actions/<notifier event>/error".
1396 Example: Inject PM suspend error (-12 = -ENOMEM)
1398 # cd /sys/kernel/debug/notifier-error-inject/pm/
1399 # echo -12 > actions/PM_SUSPEND_PREPARE/error
1401 bash: echo: write error: Cannot allocate memory
1404 be called pm-notifier-error-inject.
1409 tristate "OF reconfig notifier error injection module"
1415 /sys/kernel/debug/notifier-error-inject/OF-reconfig/
1418 notified, write the error code to "actions/<notifier event>/error".
1421 be called of-reconfig-notifier-error-inject.
1457 thus exercising the error handling.
1469 useful to test the error handling in the mmc block device