Search notes:

include/linux/preempt.h

Macros for accessing and manipulating preempt_count (used for kernel preemption, interrupt count, etc).
Macros to retrieve the current execution context:

Index