Lines Matching refs:hostname
169 do_umntall(char *hostname) { in do_umntall() argument
176 clp = clnt_create_timed(hostname, MOUNTPROG, MOUNTVERS, "udp", in do_umntall()
179 warnx("%s: %s", hostname, clnt_spcreateerror("MOUNTPROG")); in do_umntall()
187 warnx("%s: %s", hostname, clnt_sperror(clp, "MOUNTPROC_UMNTALL")); in do_umntall()
197 do_umount(char *hostname, char *dirp) { in do_umount() argument
204 clp = clnt_create_timed(hostname, MOUNTPROG, MOUNTVERS, "udp", in do_umount()
207 warnx("%s: %s", hostname, clnt_spcreateerror("MOUNTPROG")); in do_umount()
214 warnx("%s: %s", hostname, clnt_sperror(clp, "MOUNTPROC_UMNT")); in do_umount()
224 is_mounted(char *hostname, char *dirp) { in is_mounted() argument
230 if (strlen(hostname) + strlen(dirp) >= MNAMELEN) in is_mounted()
232 snprintf(name, sizeof(name), "%s:%s", hostname, dirp); in is_mounted()