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