Lines Matching defs:EXCLUSIVE_LOCKS_REQUIRED
25 #define EXCLUSIVE_LOCKS_REQUIRED(...) __attribute__((exclusive_locks_required(__VA_ARGS__)))
49 MutexLock(Mutex *mu, bool adopt) EXCLUSIVE_LOCKS_REQUIRED(mu);
544 void foo() __attribute__((exclusive_locks_required(mu))) { }
726 void aa_elr_fun() __attribute__((exclusive_locks_required(aa_mu)));
733 void test() __attribute__((exclusive_locks_required(sls_mu)));
737 void elr_fun() __attribute__((exclusive_locks_required(sls_mu)));
800 void es_fun_10() __attribute__((exclusive_locks_required(aa_mu)));
875 static int func1() EXCLUSIVE_LOCKS_REQUIRED(mu1_);
935 int method1(int i) SHARED_LOCKS_REQUIRED(mu2) EXCLUSIVE_LOCKS_REQUIRED(mu1);
943 int foo(int i) EXCLUSIVE_LOCKS_REQUIRED(mu2) SHARED_LOCKS_REQUIRED(mu1);
948 static int bar(int i) EXCLUSIVE_LOCKS_REQUIRED(mu1);
997 int GetA() EXCLUSIVE_LOCKS_REQUIRED(foo_->mu_) { return a_; }
1193 virtual void func1() EXCLUSIVE_LOCKS_REQUIRED(mu_);
1200 virtual void func1() EXCLUSIVE_LOCKS_REQUIRED(mu_);
1234 int foo() SHARED_LOCKS_REQUIRED(mu_) EXCLUSIVE_LOCKS_REQUIRED(mu2);
1374 void bar(int y) EXCLUSIVE_LOCKS_REQUIRED(lock_) {
1398 void bar(int y) EXCLUSIVE_LOCKS_REQUIRED(lock_);
1444 void f1() EXCLUSIVE_LOCKS_REQUIRED(mu2) EXCLUSIVE_LOCKS_REQUIRED(mu1) {
1464 virtual void func1() EXCLUSIVE_LOCKS_REQUIRED(mu_);
1471 virtual void func1() EXCLUSIVE_LOCKS_REQUIRED(mu_);
1529 void doSomething() __attribute__((exclusive_locks_required(mu))) { }
1542 void foo(MyData* d) __attribute__((exclusive_locks_required(d->mu))) { }
1694 void foo() EXCLUSIVE_LOCKS_REQUIRED(fooObj.mu_);
1854 void barND(Foo1 *foo, T *fooT) EXCLUSIVE_LOCKS_REQUIRED(foo->mu_) {
1860 void barD(Foo1 *foo, T *fooT) EXCLUSIVE_LOCKS_REQUIRED(fooT->mu_) {
1873 void barND() EXCLUSIVE_LOCKS_REQUIRED(fooBase.mu_) {
1878 void barD() EXCLUSIVE_LOCKS_REQUIRED(fooBaseT.mu_) {
1884 void barTD(T2 *fooT) EXCLUSIVE_LOCKS_REQUIRED(fooBaseT.mu_, fooT->mu_) {
1897 void fooEx() EXCLUSIVE_LOCKS_REQUIRED(mu_) {
1951 void fooEx(CellDelayed<T> *other) EXCLUSIVE_LOCKS_REQUIRED(mu_, other->mu_) {
1956 void fooExT(CellDelayed<T2> *otherT) EXCLUSIVE_LOCKS_REQUIRED(mu_, otherT->mu_) {
1994 virtual void foo1(Foo *f_declared) EXCLUSIVE_LOCKS_REQUIRED(f_declared->mu_);
1997 // EXCLUSIVE_LOCKS_REQUIRED should be applied, and rewritten to f_defined->mu_
2056 void fooT2(const T& dummy2) EXCLUSIVE_LOCKS_REQUIRED(mu_);
2076 void Foo::foo2() EXCLUSIVE_LOCKS_REQUIRED(mu_) {
2080 void Foo::foo3(Foo *other) EXCLUSIVE_LOCKS_REQUIRED(other->mu_) {
2085 void Foo::fooT1(const T& dummy1) EXCLUSIVE_LOCKS_REQUIRED(mu_) {
2096 void fooF1(Foo *f) EXCLUSIVE_LOCKS_REQUIRED(f->mu_) {
2101 void fooF2(Foo *f) EXCLUSIVE_LOCKS_REQUIRED(f->mu_) {
2105 void fooF3(Foo *f) EXCLUSIVE_LOCKS_REQUIRED(f->mu_);
2111 void FooT<T>::foo() EXCLUSIVE_LOCKS_REQUIRED(mu_) {
2172 void doSomethingElse() EXCLUSIVE_LOCKS_REQUIRED(this) {
2262 exclusive_locks_required(a))); // \
2263 // expected-warning {{attribute exclusive_locks_required ignored}}
2401 void foo() EXCLUSIVE_LOCKS_REQUIRED(mu_);
2402 void foo2(Foo* f) EXCLUSIVE_LOCKS_REQUIRED(mu_, f->mu_);
2404 static void sfoo(Foo* f) EXCLUSIVE_LOCKS_REQUIRED(f->mu_);
2446 void bar() EXCLUSIVE_LOCKS_REQUIRED(getMu());
2447 void bar2(Bar* g) EXCLUSIVE_LOCKS_REQUIRED(getMu(this), g->getMu());
2449 static void sbar(Bar* g) EXCLUSIVE_LOCKS_REQUIRED(g->getMu());
2450 static void sbar2(Bar* g) EXCLUSIVE_LOCKS_REQUIRED(getFooMu(g));
2595 void foo1() EXCLUSIVE_LOCKS_REQUIRED(mu_);
2600 void Foo::foo1() EXCLUSIVE_LOCKS_REQUIRED(mu_) {
2618 void foo1() EXCLUSIVE_LOCKS_REQUIRED(mutex_) { // expected-note {{mutex acquired here}}
3152 void foo() EXCLUSIVE_LOCKS_REQUIRED(&Graph::mu_) {
3206 void goober() EXCLUSIVE_LOCKS_REQUIRED("");
3235 void foo(Inner* i) EXCLUSIVE_LOCKS_REQUIRED(getLock(i));
3243 void doSomething() EXCLUSIVE_LOCKS_REQUIRED(lock_);
3298 void w_foo() EXCLUSIVE_LOCKS_REQUIRED(mu_);
3379 void baseMethod() EXCLUSIVE_LOCKS_REQUIRED(get_mutex()) {
3432 Foo() EXCLUSIVE_LOCKS_REQUIRED(mu_) { }
3433 ~Foo() EXCLUSIVE_LOCKS_REQUIRED(mu_) { }
3435 int operator[](int i) EXCLUSIVE_LOCKS_REQUIRED(mu_) { return 0; }
3480 void test1() EXCLUSIVE_LOCKS_REQUIRED(fatalmu_) {
3484 void test2() EXCLUSIVE_LOCKS_REQUIRED(fatalmu_) {
3490 void test3() EXCLUSIVE_LOCKS_REQUIRED(fatalmu_) {
3499 void test4() EXCLUSIVE_LOCKS_REQUIRED(fatalmu_) {
3528 void baseFun(Base *b) EXCLUSIVE_LOCKS_REQUIRED(b->getMutex()) { }
3530 void derivedFun(Derived *d) EXCLUSIVE_LOCKS_REQUIRED(d->getMutex()) {
3548 void elr(Cell<T>* c) __attribute__((exclusive_locks_required(c->mu_)));
3564 void globalELR(Cell<T>* c) __attribute__((exclusive_locks_required(c->mu_)));
3577 void globalELR2(Cell<T>* c) __attribute__((exclusive_locks_required(c->mu_)));
3600 void elr(Cell<T>* c) __attribute__((exclusive_locks_required(c->mu_)));
3623 void foo() EXCLUSIVE_LOCKS_REQUIRED(mu_);
3633 void foo() EXCLUSIVE_LOCKS_REQUIRED(this);
3660 void foo1() EXCLUSIVE_LOCKS_REQUIRED(mu1_)
3661 EXCLUSIVE_LOCKS_REQUIRED(mu2_);
3958 void bar() EXCLUSIVE_LOCKS_REQUIRED(getMutex1());
3960 void bar2() EXCLUSIVE_LOCKS_REQUIRED(getMutex1(), getMutex2());
4066 void test4() EXCLUSIVE_LOCKS_REQUIRED(mu_) {
4389 void RunHelper() __attribute__((exclusive_locks_required(M)));
4415 void LockedFunction() EXCLUSIVE_LOCKS_REQUIRED(mu_);
4418 auto func1 = [this]() EXCLUSIVE_LOCKS_REQUIRED(mu_) {
4453 void test2() EXCLUSIVE_LOCKS_REQUIRED(getUniv()) {
4457 void foo(Mutex* mu) EXCLUSIVE_LOCKS_REQUIRED(mu);
4506 void test() EXCLUSIVE_LOCKS_REQUIRED(mu);
4507 void test2() EXCLUSIVE_LOCKS_REQUIRED(mu.get());
4508 void test3() EXCLUSIVE_LOCKS_REQUIRED(mu.get());
4512 void SmartRedeclare::test() EXCLUSIVE_LOCKS_REQUIRED(mu.get()) {
4516 void SmartRedeclare::test2() EXCLUSIVE_LOCKS_REQUIRED(mu) {
4536 static void doSomethingRequiringLock() EXCLUSIVE_LOCKS_REQUIRED(custMu) { }
4569 void baz() EXCLUSIVE_LOCKS_REQUIRED(!mu) {
4593 void bar2() EXCLUSIVE_LOCKS_REQUIRED(!mu) {
4597 void baz() EXCLUSIVE_LOCKS_REQUIRED(!mu) {
4885 void test4() EXCLUSIVE_LOCKS_REQUIRED(mu1) {
4890 void test5() EXCLUSIVE_LOCKS_REQUIRED(mu2) {
4895 void test6() EXCLUSIVE_LOCKS_REQUIRED(mu2) {
4899 void test7() EXCLUSIVE_LOCKS_REQUIRED(mu1, mu2, mu3) { }
4901 void test8() EXCLUSIVE_LOCKS_REQUIRED(mu3, mu2, mu1) { }
5080 void test3() EXCLUSIVE_LOCKS_REQUIRED(mu) { // expected-note {{mutex acquired here}}