Interface DECL_AST

Preprocessor macro expanding to a function header

SpaceUser/kernel
ContextAsync
May blockNo
SPLAny
Dynamic memoryNo

#include <ARCH/AC.H>

DECL_AST(function_name, spl, structure)
{
        function code...
        RETURN or RETURN_AST or RETURN_IORQ or RETURN_IORQ_LSTAT or RETURN_IORQ_CANCELABLE
}

Description

Declares function usable for AST handler. Macro DECL_AST expands to machine-dependent and compiler-dependent function header. The function must return with one of RETURN* macros (they expand to machine- and compiler-dependent return code). There may be more RETURN statements. The function has one argument, RQ, that points to AST being called.

Arguments

See also

DECL_IOCALL, AST, IORQ, AST_HEAD, IORQ_HEAD