DDI_IN_PANIC man page on SmartOS

Man page or keyword search:  
man Server   16655 pages
apropos Keyword Search (all sections)
Output format
SmartOS logo
[printable version]

DDI_IN_PANIC(9F)					      DDI_IN_PANIC(9F)

NAME
       ddi_in_panic - determine if system is in panic state

SYNOPSIS
       #include <sys/ddi.h>
       #include <sys/sunddi.h>

       int ddi_in_panic(void);

INTERFACE LEVEL
       Solaris DDI specific (Solaris DDI).

DESCRIPTION
       Drivers	controlling  devices  on  which	 the system may write a kernel
       crash dump in the event of a panic can call ddi_in_panic() to determine
       if the system is panicking.

       When the system is panicking, the calls of functions scheduled by time‐
       out(9F) and ddi_trigger_softintr(9F)  will  never  occur.  Neither  can
       delay(9F) be relied upon, since it is implemented via timeout(9F).

       Drivers that need to enforce a time delay such as  SCSI bus reset delay
       time must busy-wait when the system is panicking.

RETURN VALUES
       ddi_in_panic() returns  1 if the system is in panic,  or	  0 otherwise.

CONTEXT
       ddi_in_panic() may be called from any context.

SEE ALSO
       dump(9E), delay(9F), ddi_trigger_softintr(9F), timeout(9F)

       Writing Device Drivers

				 Jun 23, 1997		      DDI_IN_PANIC(9F)
[top]

List of man pages available for SmartOS

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net