Lines Matching refs:Mutex
27 class LOCKABLE Mutex { class
45 Mutex mu;
46 Mutex getMu() { in getMu()
49 Mutex * getMuPointer() { in getMuPointer()
63 Mutex mu1;
65 Mutex mu2;
68 Mutex* muPointer;
69 Mutex** muDoublePointer = & muPointer;
70 Mutex& muRef = mu1;
77 Mutex foomu;
83 Mutex foomu;
87 Mutex barmu;
88 Mutex barmu2 ACQUIRED_AFTER(barmu);
446 Mutex mu_aa ACQUIRED_AFTER(mu1);
448 Mutex aa_var_noargs __attribute__((acquired_after)); // \
453 Mutex aa_field_noargs __attribute__((acquired_after)); // \
455 Mutex aa_field_args ACQUIRED_AFTER(mu1);
469 Mutex x ACQUIRED_AFTER(mu1) = Mutex(); // \ in aa_testfn()
476 Mutex aa_var_arg_1 ACQUIRED_AFTER(muWrapper.mu);
477 Mutex aa_var_arg_2 ACQUIRED_AFTER(muDoubleWrapper.muWrapper->mu);
478 Mutex aa_var_arg_3 ACQUIRED_AFTER(muWrapper.getMu());
479 Mutex aa_var_arg_4 ACQUIRED_AFTER(*muWrapper.getMuPointer());
480 Mutex aa_var_arg_5 ACQUIRED_AFTER(&mu1);
481 Mutex aa_var_arg_6 ACQUIRED_AFTER(muRef);
482 Mutex aa_var_arg_7 ACQUIRED_AFTER(muDoubleWrapper.getWrapper()->getMu());
483 Mutex aa_var_arg_8 ACQUIRED_AFTER(muPointer);
487 Mutex aa_var_arg_bad_1 ACQUIRED_AFTER(1); // \
489 Mutex aa_var_arg_bad_2 ACQUIRED_AFTER("mu"); // \
491 Mutex aa_var_arg_bad_3 ACQUIRED_AFTER(muDoublePointer); // \
493 Mutex aa_var_arg_bad_4 ACQUIRED_AFTER(umu); // \
506 Mutex mu_ab ACQUIRED_BEFORE(mu1);
508 Mutex ab_var_noargs __attribute__((acquired_before)); // \
513 Mutex ab_field_noargs __attribute__((acquired_before)); // \
515 Mutex ab_field_args ACQUIRED_BEFORE(mu1);
529 Mutex x ACQUIRED_BEFORE(mu1) = Mutex(); // \ in ab_testfn()
539 Mutex ab_var_arg_1 ACQUIRED_BEFORE(muWrapper.mu);
540 Mutex ab_var_arg_2 ACQUIRED_BEFORE(muDoubleWrapper.muWrapper->mu);
541 Mutex ab_var_arg_3 ACQUIRED_BEFORE(muWrapper.getMu());
542 Mutex ab_var_arg_4 ACQUIRED_BEFORE(*muWrapper.getMuPointer());
543 Mutex ab_var_arg_5 ACQUIRED_BEFORE(&mu1);
544 Mutex ab_var_arg_6 ACQUIRED_BEFORE(muRef);
545 Mutex ab_var_arg_7 ACQUIRED_BEFORE(muDoubleWrapper.getWrapper()->getMu());
546 Mutex ab_var_arg_8 ACQUIRED_BEFORE(muPointer);
550 Mutex ab_var_arg_bad_1 ACQUIRED_BEFORE(1); // \
552 Mutex ab_var_arg_bad_2 ACQUIRED_BEFORE("mu"); // \
554 Mutex ab_var_arg_bad_3 ACQUIRED_BEFORE(muDoublePointer); // \
556 Mutex ab_var_arg_bad_4 ACQUIRED_BEFORE(umu); // \
612 int elf_function_9(Mutex x) EXCLUSIVE_LOCK_FUNCTION(1);
613 int elf_function_9(Mutex x, Mutex y) EXCLUSIVE_LOCK_FUNCTION(1,2);
626 int elf_function_bad_5(Mutex x) EXCLUSIVE_LOCK_FUNCTION(0); // \
628 int elf_function_bad_6(Mutex x, Mutex y) EXCLUSIVE_LOCK_FUNCTION(0); // \
684 int slf_function_9(Mutex x) SHARED_LOCK_FUNCTION(1);
685 int slf_function_9(Mutex x, Mutex y) SHARED_LOCK_FUNCTION(1,2);
698 int slf_function_bad_5(Mutex x) SHARED_LOCK_FUNCTION(0); // \
700 int slf_function_bad_6(Mutex x, Mutex y) SHARED_LOCK_FUNCTION(0); // \
903 int uf_function_9(Mutex x) UNLOCK_FUNCTION(1);
904 int uf_function_9(Mutex x, Mutex y) UNLOCK_FUNCTION(1,2);
917 int uf_function_bad_5(Mutex x) UNLOCK_FUNCTION(0); // \
919 int uf_function_bad_6(Mutex x, Mutex y) UNLOCK_FUNCTION(0); // \
1255 Mutex gmu;
1258 static Mutex statmu;
1265 void foo3(Mutex *m) EXCLUSIVE_LOCKS_REQUIRED(m) { } in foo3()
1282 Mutex mu;
1300 Mutex mu_;
1308 Mutex mu_;
1331 Mutex mu_;
1348 Mutex mu;
1352 Mutex fooMu;
1353 static Mutex fooMuStatic;
1366 Mutex mu_;
1368 static Mutex* get_static_mu() LOCK_RETURNED(&Graph::mu_);
1393 Mutex gmu;
1399 Mutex mu_;
1400 smart_ptr<Mutex> smu_;
1448 void Foo::bar(Mutex* mu) LOCKS_EXCLUDED(mu) { } // \ in bar()
1461 mutable Mutex mu;