New zmalloc symbols

These are some enhancements I needed to support some developer needs at work (embedded Linux domain).  Feel free if interested.