[RFC PATCH 22/28] env: Add a priv pointer to hwalk_r