Searched refs:retaddrs (Results 1 – 5 of 5) sorted by relevance
/titanic_50/usr/src/cmd/fs.d/nfs/lib/ |
H A D | nfs_resolve.c | 284 struct nd_addrlist *retaddrs; in setup_nb_parms() local 292 if (netdir_getbyname(nconf, &hs, &retaddrs) != ND_OK) { in setup_nb_parms() 295 memcpy(tbind->addr.buf, retaddrs->n_addrs->buf, in setup_nb_parms() 296 retaddrs->n_addrs->len); in setup_nb_parms() 297 tbind->addr.len = retaddrs->n_addrs->len; in setup_nb_parms() 298 tbind->addr.maxlen = retaddrs->n_addrs->maxlen; in setup_nb_parms() 299 netdir_free((void *)retaddrs, ND_ADDRLIST); in setup_nb_parms()
|
/titanic_50/usr/src/lib/librdc/common/ |
H A D | netaddrs.c | 152 struct nd_addrlist *retaddrs; in self_check() local 175 if (netdir_getbyname(nconfp, &hs, &retaddrs) != ND_OK) { in self_check() 182 s1 = (struct sockaddr_in *)retaddrs->n_addrs->buf; in self_check() 201 netdir_free((void *)retaddrs, ND_ADDRLIST); in self_check() 206 netdir_free((void *)retaddrs, ND_ADDRLIST); in self_check()
|
/titanic_50/usr/src/cmd/fs.d/nfs/mount/ |
H A D | mount.c | 1268 struct nd_addrlist *retaddrs = NULL; in make_secure() local 1327 error = netdir_getbyname(nconf, &hs, &retaddrs); in make_secure() 1336 syncaddr = retaddrs->n_addrs; in make_secure() 1369 } else if (retaddrs) in make_secure() 1370 netdir_free((void *)retaddrs, ND_ADDRLIST); in make_secure() 1378 } else if (retaddrs) in make_secure() 1379 netdir_free((void *)retaddrs, ND_ADDRLIST); in make_secure() 1427 struct nd_addrlist *retaddrs; in get_the_addr() local 1444 if ((retval = netdir_getbyname(nconf, &hs, &retaddrs)) in get_the_addr() 1456 memcpy(tbind->addr.buf, retaddrs->n_addrs->buf, in get_the_addr() [all …]
|
/titanic_50/usr/src/cmd/fs.d/autofs/ |
H A D | nfs_cast.c | 133 struct nd_addrlist *retaddrs; in nfs_cast() local 222 if (netdir_getbyname(nconf, &hs, &retaddrs) == ND_OK) { in nfs_cast() 246 a->addr_addrs = retaddrs; in nfs_cast() 247 if_cnt = retaddrs->n_cnt; in nfs_cast()
|
H A D | autod_nfs.c | 307 struct nd_addrlist *retaddrs; in get_mysubnet_servers() local 335 if (netdir_getbyname(nconf, &hs, &retaddrs) != ND_OK) in get_mysubnet_servers() 347 nb = retaddrs->n_addrs; in get_mysubnet_servers() 348 for (i = 0; i < retaddrs->n_cnt; i++, nb++) { in get_mysubnet_servers() 356 netdir_free(retaddrs, in get_mysubnet_servers() 370 netdir_free(retaddrs, ND_ADDRLIST); in get_mysubnet_servers() 668 struct nd_addrlist *retaddrs; in nfsmount() local 1972 retaddrs = NULL; in nfsmount() 1997 error = netdir_getbyname(nconf, &hs, &retaddrs); in nfsmount() 2024 syncaddr = retaddrs->n_addrs; in nfsmount() [all …]
|