Lines Matching refs:host

100  * host cache states
187 * host cache counters. These variables do not need to be protected
295 * Using the new ioctl SIOCTONLINK to determine if a host is on the same
340 * For each host address see if it's on our
364 } /* end of every host */
366 trace_prt(1, "get_mysubnet_servers: host=%s "
680 char *p, *host, *rhost, *dir;
861 * If the host is '[a:d:d:r:e:s:s'],
864 host = strdup(mfs->mfs_host);
865 if (host == NULL) {
870 unbracket(&host);
939 argp->addr = get_pubfh(host, pubvers, &mfssnego,
981 host);
1010 i = pingnfs(host, get_retry(opts) + 1, &vers, versmin,
1016 host);
1019 "responding", host);
1030 nfsvers, host);
1036 nfsvers, nfs_proto, host);
1043 free(host);
1160 host = mfs->mfs_host;
1168 rhost = strdup(host);
1174 unbracket(&host);
1301 while ((cl = clnt_create_vers(host, MOUNTPROG, &outvers,
1346 syslog(loglevel, "%s %s", host,
1377 syslog(loglevel, "mount %s: %s", host,
1404 syslog(loglevel, "mount %s: %s", host,
1551 host);
1569 host);
1608 host);
1612 host, clnt_sperror(cl, ""));
1635 host);
1642 errno, host, dir);
1698 host);
1732 errno, host, dir);
1865 argp->hostname = strdup(host);
1894 host, NFS_PROGRAM, nfsvers, NULL,
1898 argp->addr = get_addr(host, NFS_PROGRAM,
1920 syslog(loglevel, "%s: no NFS service", host);
2036 host, RPCBPROG, RPCBVERS, NULL, &nconf,
2047 hs.h_host = host;
2055 host);
2083 host2netname(netname, host, NULL)) {
2116 if (!(secdata = nfs_clnt_secdata(&nfs_sec, host, argp->knconf,
2245 * Decide whether to use remote host's lockd or local locking.
2252 remote_lock(host, argp->fh)) {
2254 "contact admin to install server change", host);
2618 * Use a smaller factor (100 vs 1000 for the host cache) since
2620 * host cache.
3218 * Sends a null call to the remote host's (NFS program, versp). versp
3239 rpcvers_t outvers; /* version supported by host on last call */
3240 rpcvers_t vers_to_try; /* to try different versions against host */
3272 * Probable end point of host string.
3281 * Actual end point of host string.
3361 * check the host's version within the timeout
3636 char *host, *path;
3686 host = list[i].host;
3693 if (strcmp(host, "nfs") == 0 && strncmp(path, "//", 2) == 0)
3696 cl = clnt_create(host, MOUNTPROG, MOUNTVERS, "datagram_v");
3707 host, path,
3719 host, path,
3733 host, clnt_sperror(cl, "unmount"));
3751 cache_enter(host, reqvers, outvers, proto, state)
3752 char *host;
3767 entry->cache_host = strdup(host);
3779 host_cache_accesses++; /* up host cache access counter */
3787 cache_check(host, versp, proto)
3788 char *host;
3800 /* Increment the lookup and access counters for the host cache */
3825 if (strcmp(host, ce->cache_host) != 0)
3841 /* increment the host cache hit counters */
4014 * traces the host cache values at desired points