Lines Matching refs:__lock_annotate
839 #define __lock_annotate(x) __attribute__((x)) macro
841 #define __lock_annotate(x) macro
845 #define __lockable __lock_annotate(lockable)
849 __lock_annotate(exclusive_lock_function(__VA_ARGS__))
851 __lock_annotate(shared_lock_function(__VA_ARGS__))
855 __lock_annotate(exclusive_trylock_function(__VA_ARGS__))
857 __lock_annotate(shared_trylock_function(__VA_ARGS__))
860 #define __unlocks(...) __lock_annotate(unlock_function(__VA_ARGS__))
864 __lock_annotate(assert_exclusive_lock(__VA_ARGS__))
866 __lock_annotate(assert_shared_lock(__VA_ARGS__))
870 __lock_annotate(exclusive_locks_required(__VA_ARGS__))
872 __lock_annotate(shared_locks_required(__VA_ARGS__))
874 __lock_annotate(locks_excluded(__VA_ARGS__))
877 #define __no_lock_analysis __lock_annotate(no_thread_safety_analysis)
900 #define __guarded_by(x) __lock_annotate(guarded_by(x))
901 #define __pt_guarded_by(x) __lock_annotate(pt_guarded_by(x))