iPXE
Functions
quiesce.c File Reference

Quiesce system. More...

#include <ipxe/quiesce.h>

Go to the source code of this file.

Functions

 FILE_LICENCE (GPL2_OR_LATER_OR_UBDL)
void quiesce (void)
 Quiesce system.
void unquiesce (void)
 Unquiesce system.

Detailed Description

Quiesce system.

Definition in file quiesce.c.


Function Documentation

FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL  )
void quiesce ( void  )

Quiesce system.

Definition at line 36 of file quiesce.c.

References for_each_table_entry, quiescer::quiesce, and QUIESCERS.

Referenced by sandev_write().

                      {
        struct quiescer *quiescer;

        /* Call all quiescers */
        for_each_table_entry ( quiescer, QUIESCERS ) {
                quiescer->quiesce();
        }
}
void unquiesce ( void  )

Unquiesce system.

Definition at line 46 of file quiesce.c.

References for_each_table_entry, QUIESCERS, and quiescer::unquiesce.

Referenced by sandev_command(), and sandev_reopen().

                        {
        struct quiescer *quiescer;

        /* Call all quiescers */
        for_each_table_entry ( quiescer, QUIESCERS ) {
                quiescer->unquiesce();
        }
}