Home
last modified time | relevance | path

Searched refs:smtx1 (Results 1 – 1 of 1) sorted by relevance

/external/llvm-project/clang/test/Analysis/
Dfuchsia_lock.c66 sync_mutex_t smtx1; variable
71 sync_mutex_lock(&smtx1); // no-warning in bad11()
72 sync_mutex_lock(&smtx1); // expected-warning{{This lock has already been acquired}} in bad11()
76 sync_mutex_lock_with_waiter(&smtx1); in bad12()
77 sync_mutex_unlock(&smtx1); in bad12()
78 sync_mutex_unlock(&smtx1); // expected-warning {{This lock has already been unlocked}} in bad12()
82 sync_mutex_unlock(&smtx1); in bad13()
83 if (sync_mutex_trylock(&smtx1) != 0) in bad13()
84 sync_mutex_unlock(&smtx1); // expected-warning {{This lock has already been unlocked}} in bad13()
88 sync_mutex_lock(&smtx1); in bad14()
[all …]