Lines Matching refs:THREAD_ANNOTATION_ATTRIBUTE__
12 #define THREAD_ANNOTATION_ATTRIBUTE__(x) __attribute__((x)) macro
14 #define THREAD_ANNOTATION_ATTRIBUTE__(x) // no-op macro
17 #define CAPABILITY(x) THREAD_ANNOTATION_ATTRIBUTE__(capability(x))
19 #define SCOPED_CAPABILITY THREAD_ANNOTATION_ATTRIBUTE__(scoped_lockable)
21 #define GUARDED_BY(x) THREAD_ANNOTATION_ATTRIBUTE__(guarded_by(x))
23 #define PT_GUARDED_BY(x) THREAD_ANNOTATION_ATTRIBUTE__(pt_guarded_by(x))
26 THREAD_ANNOTATION_ATTRIBUTE__(acquired_before(__VA_ARGS__))
29 THREAD_ANNOTATION_ATTRIBUTE__(acquired_after(__VA_ARGS__))
32 THREAD_ANNOTATION_ATTRIBUTE__(requires_capability(__VA_ARGS__))
35 THREAD_ANNOTATION_ATTRIBUTE__(requires_shared_capability(__VA_ARGS__))
38 THREAD_ANNOTATION_ATTRIBUTE__(acquire_capability(__VA_ARGS__))
41 THREAD_ANNOTATION_ATTRIBUTE__(acquire_shared_capability(__VA_ARGS__))
44 THREAD_ANNOTATION_ATTRIBUTE__(release_capability(__VA_ARGS__))
47 THREAD_ANNOTATION_ATTRIBUTE__(release_shared_capability(__VA_ARGS__))
50 THREAD_ANNOTATION_ATTRIBUTE__(try_acquire_capability(__VA_ARGS__))
53 THREAD_ANNOTATION_ATTRIBUTE__(try_acquire_shared_capability(__VA_ARGS__))
55 #define EXCLUDES(...) THREAD_ANNOTATION_ATTRIBUTE__(locks_excluded(__VA_ARGS__))
57 #define ASSERT_CAPABILITY(x) THREAD_ANNOTATION_ATTRIBUTE__(assert_capability(x))
60 THREAD_ANNOTATION_ATTRIBUTE__(assert_shared_capability(x))
62 #define RETURN_CAPABILITY(x) THREAD_ANNOTATION_ATTRIBUTE__(lock_returned(x))
65 THREAD_ANNOTATION_ATTRIBUTE__(no_thread_safety_analysis)