Lines Matching refs:ps_mm_instance
59 static ps_mm *ps_mm_instance = NULL; variable
275 ps_mm_instance = calloc(sizeof(*ps_mm_instance), 1); in PHP_MINIT_FUNCTION()
276 if (!ps_mm_instance) { in PHP_MINIT_FUNCTION()
281 free(ps_mm_instance); in PHP_MINIT_FUNCTION()
282 ps_mm_instance = NULL; in PHP_MINIT_FUNCTION()
301 ret = ps_mm_initialize(ps_mm_instance, ps_mm_path); in PHP_MINIT_FUNCTION()
306 free(ps_mm_instance); in PHP_MINIT_FUNCTION()
307 ps_mm_instance = NULL; in PHP_MINIT_FUNCTION()
317 if (ps_mm_instance) { in PHP_MSHUTDOWN_FUNCTION()
318 ps_mm_destroy(ps_mm_instance); in PHP_MSHUTDOWN_FUNCTION()
326 ps_mm_debug(("open: ps_mm_instance=%p\n", ps_mm_instance)); in PS_OPEN_FUNC()
328 if (!ps_mm_instance) { in PS_OPEN_FUNC()
331 PS_SET_MOD_DATA(ps_mm_instance); in PS_OPEN_FUNC()