Lines Matching defs:mutex
1317 static struct mutex *annotation__get_mutex(const struct annotation *notes)
1331 struct mutex *mutex = annotation__get_mutex(notes);
1333 if (mutex)
1334 mutex_lock(mutex);
1340 struct mutex *mutex = annotation__get_mutex(notes);
1342 if (mutex)
1343 mutex_unlock(mutex);
1348 struct mutex *mutex = annotation__get_mutex(notes);
1350 if (!mutex)
1353 return mutex_trylock(mutex);