How to pass variable to get_search_form()?

a more proper way to solve this as pointed in many cases would be :

//include search form in header
include(locate_template('template-header-search.php'));
//include search form in body
include(locate_template('template-body-search.php'));