Lines Matching refs:hostp

473 	char *hostp, *delimp, *errstr;  in getnfsargs()  local
478 hostp = spec; in getnfsargs()
482 hostp = delimp + 1; in getnfsargs()
498 if (strlen(hostp) + strlen(spec) + 1 > MNAMELEN) { in getnfsargs()
499 warnx("%s:%s: %s", hostp, spec, strerror(ENAMETOOLONG)); in getnfsargs()
503 if (*hostp != '\0') { in getnfsargs()
504 len = strlen(hostp); in getnfsargs()
505 memmove(nam, hostp, len); in getnfsargs()
517 if (getaddrinfo(hostp, portspec, &hints, &ai_nfs) != 0) { in getnfsargs()
519 if ((ecode = getaddrinfo(hostp, portspec, &hints, &ai_nfs)) in getnfsargs()
522 errx(1, "%s: %s", hostp, gai_strerror(ecode)); in getnfsargs()
524 errx(1, "%s:%s: %s", hostp, portspec, in getnfsargs()
538 ret = nfs_tryproto(nfsargsp, ai, hostp, spec, &errstr); in getnfsargs()
562 hostp, spec); in getnfsargs()
572 if (!add_mtab(hostp, spec)) in getnfsargs()
573 warnx("can't update %s for %s:%s", PATH_MOUNTTAB, hostp, spec); in getnfsargs()
590 nfs_tryproto(struct nfs_args *nfsargsp, struct addrinfo *ai, char *hostp, in nfs_tryproto() argument
643 hostp)) { in nfs_tryproto()
650 netid, hostp, spec, in nfs_tryproto()
662 hostp, spec, clnt_spcreateerror("nfsd: RPCPROG_NFS")); in nfs_tryproto()
677 "[%s] %s:%s: CLSET_CONNECT failed", netid, hostp, in nfs_tryproto()
695 hostp, spec, clnt_sperror(clp, "NFSPROC_NULL")); in nfs_tryproto()
704 clp = clnt_tp_create(hostp, RPCPROG_MNT, mntvers, nconf_mnt); in nfs_tryproto()
707 hostp, spec, clnt_spcreateerror("RPCMNT: clnt_create")); in nfs_tryproto()
725 hostp, spec, clnt_sperror(clp, "RPCPROG_MNT")); in nfs_tryproto()
733 hostp, spec, strerror(nfhret.stat)); in nfs_tryproto()