[PATCH openEuler-1.0-LTS 069/103] share_pool: Put relevant functions together