login
Header Space

 
 

__blocking_notifier_call_chain(9)

July 19, 2007 - 1:23am
Submitted by Jeremy on July 19, 2007 - 1:23am.

INDEX

    NAME, SYNOPSIS, ARGUMENTS, DESCRIPTION, COPYRIGHT

    "__BLOCKING_NOTIFIER_" "9" "July 2007" "Kernel Hackers Manual 2.6.22" "Driver Basics"

    NAME

    __blocking_notifier_call_chain - Call functions in a blocking notifier chain

    SYNOPSIS

    "int __blocking_notifier_call_chain(struct blocking_notifier_head * " "nh" ", unsigned long " "val" ", void * " "v" ", int " "nr_to_call" ", int * " "nr_calls" ");"

    ARGUMENTS

    nh

    Pointer to head of the blocking notifier chain
    val
    Value passed unmodified to notifier function

    v

    Pointer passed unmodified to notifier function
    nr_to_call
    See comment for notifier_call_chain. nr_calls See comment for notifier_call_chain.

    DESCRIPTION

    Calls each function in a notifier chain in turn. The functions run in a process context, so they are allowed to block.

    If the return value of the notifier can be and'ed with NOTIFY_STOP_MASKfR
    then blocking_notifier_call_chainfR
    will return immediately, with the return value of the notifier function which halted execution. Otherwise the return value is the return value of the last notifier function called.

    COPYRIGHT

speck-geostationary