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