Lines Matching refs:__lock_annotate
735 #define __lock_annotate(x) __attribute__((x)) macro
737 #define __lock_annotate(x) macro
743 #define __lockable __lock_annotate(lockable)
747 __lock_annotate(exclusive_lock_function(__VA_ARGS__))
749 __lock_annotate(shared_lock_function(__VA_ARGS__))
753 __lock_annotate(exclusive_trylock_function(__VA_ARGS__))
755 __lock_annotate(shared_trylock_function(__VA_ARGS__))
758 #define __unlocks(...) __lock_annotate(unlock_function(__VA_ARGS__))
762 __lock_annotate(assert_exclusive_lock(__VA_ARGS__))
764 __lock_annotate(assert_shared_lock(__VA_ARGS__))
768 __lock_annotate(exclusive_locks_required(__VA_ARGS__))
770 __lock_annotate(shared_locks_required(__VA_ARGS__))
772 __lock_annotate(locks_excluded(__VA_ARGS__))
775 #define __no_lock_analysis __lock_annotate(no_thread_safety_analysis)
811 #define __guarded_by(x) __lock_annotate(guarded_by(x))
812 #define __pt_guarded_by(x) __lock_annotate(pt_guarded_by(x))