2 calls to comment_get_display_page()

comment_form_submit in modules/comment/comment.module
Process comment form submissions; prepare the comment, store it, and set a redirection target.
comment_permalink in modules/comment/comment.module
Redirects comment links to the correct page depending on comment settings.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.