Lines Matching refs:ps_mm_instance
63 static ps_mm *ps_mm_instance = NULL; variable
279 ps_mm_instance = calloc(sizeof(*ps_mm_instance), 1); in PHP_MINIT_FUNCTION()
280 if (!ps_mm_instance) { in PHP_MINIT_FUNCTION()
285 free(ps_mm_instance); in PHP_MINIT_FUNCTION()
286 ps_mm_instance = NULL; in PHP_MINIT_FUNCTION()
305 ret = ps_mm_initialize(ps_mm_instance, ps_mm_path); in PHP_MINIT_FUNCTION()
310 free(ps_mm_instance); in PHP_MINIT_FUNCTION()
311 ps_mm_instance = NULL; in PHP_MINIT_FUNCTION()
321 if (ps_mm_instance) { in PHP_MSHUTDOWN_FUNCTION()
322 ps_mm_destroy(ps_mm_instance); in PHP_MSHUTDOWN_FUNCTION()
330 ps_mm_debug(("open: ps_mm_instance=%p\n", ps_mm_instance)); in PS_OPEN_FUNC()
332 if (!ps_mm_instance) { in PS_OPEN_FUNC()
335 PS_SET_MOD_DATA(ps_mm_instance); in PS_OPEN_FUNC()