Interface DECL_IOCALL

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 IORQ handler. Macro DECL_IOCALL 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 IORQ being posted.

Arguments

See also

DECL_AST, IORQ, AST_HEAD, IORQ_HEAD