zcp_cleanup_handler_t
zcp_cleanup_handler_t *zcp_register_cleanup(lua_State *, zcp_cleanup_t, void *);
void zcp_deregister_cleanup(lua_State *, zcp_cleanup_handler_t *);
zcp_cleanup_handler_t *
zcp_cleanup_handler_t *zch = kmem_alloc(sizeof (*zch), KM_SLEEP);
zcp_deregister_cleanup(lua_State *state, zcp_cleanup_handler_t *zch)
for (zcp_cleanup_handler_t *zch =
list_create(&ri->zri_cleanup_handlers, sizeof (zcp_cleanup_handler_t),
offsetof(zcp_cleanup_handler_t, zch_node));
zcp_cleanup_handler_t *zch = zcp_register_cleanup(state,
zcp_cleanup_handler_t *zch = zcp_register_cleanup(state,
zcp_cleanup_handler_t *zch = zcp_register_cleanup(state,
zcp_cleanup_handler_t *zch;