[PATCH v4 2/5] dax: relocate some dax functions