Home
last modified time | relevance | path

Searched refs:__guard_ptr (Results 1 – 3 of 3) sorted by relevance

/linux/include/linux/
H A Dcleanup.h424 #define __guard_ptr(_name) class_##_name##_lock_ptr macro
442 __guard_ptr(_name)(&scope) || !__is_cond_ptr(_name); \
454 if (!__guard_ptr(_name)(&scope)) { \
H A Dtty_port.h284 #define scoped_tty() ((struct tty_struct *)(__guard_ptr(tty_port_tty)(&scope)))
/linux/kernel/irq/
H A Dinternals.h193 #define scoped_irqdesc ((struct irq_desc *)(__guard_ptr(irqdesc_lock)(&scope)))