Lines Matching refs:hn
145 const char *hn = NULL; in hostname_setup() local
155 hn = b; in hostname_setup()
163 if (!hn) { in hostname_setup()
171 hn = b; in hostname_setup()
176 if (!hn) { in hostname_setup()
192 hn = b = get_default_hostname(); in hostname_setup()
193 if (!hn) in hostname_setup()
200 r = sethostname_idempotent_full(hn, really); in hostname_setup()
202 return log_warning_errno(r, "Failed to set hostname to <%s>: %m", hn); in hostname_setup()
204 log_debug("Hostname was already set to <%s>.", hn); in hostname_setup()
208 hn); in hostname_setup()
211 hostname_update_source_hint(hn, source); in hostname_setup()