Lines Matching refs:ps_mm_instance
61 static ps_mm *ps_mm_instance = NULL; variable
277 ps_mm_instance = calloc(sizeof(*ps_mm_instance), 1); in PHP_MINIT_FUNCTION()
278 if (!ps_mm_instance) { in PHP_MINIT_FUNCTION()
283 free(ps_mm_instance); in PHP_MINIT_FUNCTION()
284 ps_mm_instance = NULL; in PHP_MINIT_FUNCTION()
303 ret = ps_mm_initialize(ps_mm_instance, ps_mm_path); in PHP_MINIT_FUNCTION()
308 free(ps_mm_instance); in PHP_MINIT_FUNCTION()
309 ps_mm_instance = NULL; in PHP_MINIT_FUNCTION()
319 if (ps_mm_instance) { in PHP_MSHUTDOWN_FUNCTION()
320 ps_mm_destroy(ps_mm_instance); in PHP_MSHUTDOWN_FUNCTION()
328 ps_mm_debug(("open: ps_mm_instance=%p\n", ps_mm_instance)); in PS_OPEN_FUNC()
330 if (!ps_mm_instance) { in PS_OPEN_FUNC()
333 PS_SET_MOD_DATA(ps_mm_instance); in PS_OPEN_FUNC()