Lines Matching refs:ps_mm_instance
65 static ps_mm *ps_mm_instance = NULL; variable
282 ps_mm_instance = calloc(sizeof(*ps_mm_instance), 1); in PHP_MINIT_FUNCTION()
283 if (!ps_mm_instance) { in PHP_MINIT_FUNCTION()
288 free(ps_mm_instance); in PHP_MINIT_FUNCTION()
289 ps_mm_instance = NULL; in PHP_MINIT_FUNCTION()
308 ret = ps_mm_initialize(ps_mm_instance, ps_mm_path); in PHP_MINIT_FUNCTION()
313 free(ps_mm_instance); in PHP_MINIT_FUNCTION()
314 ps_mm_instance = NULL; in PHP_MINIT_FUNCTION()
324 if (ps_mm_instance) { in PHP_MSHUTDOWN_FUNCTION()
325 ps_mm_destroy(ps_mm_instance); in PHP_MSHUTDOWN_FUNCTION()
333 ps_mm_debug(("open: ps_mm_instance=%p\n", ps_mm_instance)); in PS_OPEN_FUNC()
335 if (!ps_mm_instance) { in PS_OPEN_FUNC()
338 PS_SET_MOD_DATA(ps_mm_instance); in PS_OPEN_FUNC()