Lines Matching refs:m
51 sqlite3_mutex_methods m; /* Interface to "real" mutex system */ member
58 return g.m.xMutexHeld(p->pReal); in counterMutexHeld()
63 return g.m.xMutexNotheld(p->pReal); in counterMutexNotheld()
74 rc = g.m.xMutexInit(); in counterMutexInit()
84 return g.m.xMutexEnd(); in counterMutexEnd()
98 pReal = g.m.xMutexAlloc(eType); in counterMutexAlloc()
120 g.m.xMutexFree(p->pReal); in counterMutexFree()
134 g.m.xMutexEnter(p->pReal); in counterMutexEnter()
146 return g.m.xMutexTry(p->pReal); in counterMutexTry()
153 g.m.xMutexLeave(p->pReal); in counterMutexLeave()
239 assert( g.m.xMutexAlloc==0 ); in test_install_mutex_counters()
240 rc = sqlite3_config(SQLITE_CONFIG_GETMUTEX, &g.m); in test_install_mutex_counters()
246 assert( g.m.xMutexAlloc ); in test_install_mutex_counters()
247 rc = sqlite3_config(SQLITE_CONFIG_MUTEX, &g.m); in test_install_mutex_counters()
248 memset(&g.m, 0, sizeof(sqlite3_mutex_methods)); in test_install_mutex_counters()