/illumos-gate/usr/src/uts/common/klm/ |
H A D | nlm_rpc_handle.c | 112 mutex_exit(&hostp->nh_lock); in update_host_rpcbinding() 114 stat = rpcbind_getaddr(&hostp->nh_knc, NLM_PROG, vers, &hostp->nh_addr); in update_host_rpcbinding() 115 mutex_enter(&hostp->nh_lock); in update_host_rpcbinding() 120 hostp->nh_rpcb_ustat = stat; in update_host_rpcbinding() 139 ret = clnt_tli_kcreate(&hostp->nh_knc, &hostp->nh_addr, in refresh_nlm_rpc() 204 mutex_enter(&hostp->nh_lock); in nlm_host_get_rpc() 216 rc = cv_wait_sig(&hostp->nh_rpcb_cv, &hostp->nh_lock); in nlm_host_get_rpc() 246 mutex_exit(&hostp->nh_lock); in nlm_host_get_rpc() 292 mutex_enter(&hostp->nh_lock); in nlm_host_rele_rpc() 294 mutex_exit(&hostp->nh_lock); in nlm_host_rele_rpc() [all …]
|
H A D | nlm_impl.c | 373 for (hostp = avl_first(&g->nlm_hosts_tree); hostp != NULL; in nlm_gc() 374 hostp = AVL_NEXT(&g->nlm_hosts_tree, hostp)) { in nlm_gc() 619 for (hostp = avl_first(&g->nlm_hosts_tree); hostp != NULL; in nlm_suspend_zone() 620 hostp = AVL_NEXT(&g->nlm_hosts_tree, hostp)) { in nlm_suspend_zone() 1189 bzero(hostp, sizeof (*hostp)); in nlm_host_ctor() 1228 kmem_free(hostp->nh_addr.buf, hostp->nh_addr.maxlen); in nlm_host_destroy() 2481 if (hostp->nh_refs > 0 || nlm_host_has_locks(hostp)) { in nlm_svc_stopping() 2489 hostp = AVL_NEXT(&g->nlm_hosts_tree, hostp); in nlm_svc_stopping() 2495 hostp = AVL_NEXT(&g->nlm_hosts_tree, hostp); in nlm_svc_stopping() 2558 hostp = AVL_NEXT(&g->nlm_hosts_tree, hostp); in nlm_vp_active() [all …]
|
H A D | nlm_client.c | 266 struct nlm_host *hostp; in nlm_frlock() local 281 if (hostp == NULL) in nlm_frlock() 304 nlm_host_monitor(g, hostp, 0); in nlm_frlock() 312 nlm_host_release(g, hostp); in nlm_frlock() 624 if (hostp == NULL) { in nlm_register_lock_locally() 640 if (hostp != NULL) { in nlm_register_lock_locally() 644 nlm_host_release(g, hostp); in nlm_register_lock_locally() 770 oh.oh_sysid = hostp->nh_sysid; in nlm_call_lock() 792 nlm_host_rele_rpc(hostp, rpcp); in nlm_call_lock() 1048 oh.oh_sysid = hostp->nh_sysid; in nlm_call_unlock() [all …]
|
H A D | nlm_service.c | 81 struct nlm_host *hostp; member 241 nvp = nlm_vhold_get(hostp, vp); in nlm_fh_to_vhold() 742 cb_data.hostp = host; in nlm_block() 1092 struct nlm_host *hostp; in nlm_do_free_all() local 1105 for (hostp = avl_first(&g->nlm_hosts_tree); hostp != NULL; in nlm_do_free_all() 1106 hostp = AVL_NEXT(&g->nlm_hosts_tree, hostp)) { in nlm_do_free_all() 1112 if (hostp->nh_flags & NLM_NH_INIDLE) { in nlm_do_free_all() 1115 hostp->nh_flags &= ~NLM_NH_INIDLE; in nlm_do_free_all() 1117 hostp->nh_refs++; in nlm_do_free_all() 1126 hostp = TAILQ_FIRST(&host_list); in nlm_do_free_all() [all …]
|
H A D | klmmod.c | 432 struct nlm_host *hostp; in lm_get_sysid() local 441 hostp = nlm_host_findcreate(g, name, netid, addr); in lm_get_sysid() 442 if (hostp == NULL) in lm_get_sysid() 445 return ((struct lm_sysid *)hostp); in lm_get_sysid()
|
/illumos-gate/usr/src/cmd/ipf/lib/ |
H A D | gethost.c | 12 int gethost(name, hostp, use_inet6) in gethost() argument 14 i6addr_t *hostp; 22 hostp->in4.s_addr = htonl(0xfedcba98); 41 hostp->in4 = ((struct sockaddr_in *) 45 hostp->in6 = ((struct sockaddr_in6 *) 61 hostp->in4.s_addr = htonl(n->n_net);
|
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | open.c | 642 *hostp = nsldapi_strdup( "127.0.0.1" ); in ldap_x_hostlist_first() 643 if ( NULL == *hostp ) { in ldap_x_hostlist_first() 671 ldap_x_hostlist_next( char **hostp, int *portp, in ldap_x_hostlist_next() argument 677 if ( NULL == hostp || NULL == portp ) { in ldap_x_hostlist_next() 682 *hostp = NULL; in ldap_x_hostlist_next() 698 *hostp = NSLDAPI_MALLOC( len + 1 ); in ldap_x_hostlist_next() 699 if ( NULL == *hostp ) { in ldap_x_hostlist_next() 702 strncpy( *hostp, status->lhs_nexthost, len ); in ldap_x_hostlist_next() 703 (*hostp)[len] = '\0'; in ldap_x_hostlist_next() 707 if ( NULL == *hostp ) { in ldap_x_hostlist_next() [all …]
|
/illumos-gate/usr/src/cmd/fs.d/nfs/nfslog/ |
H A D | nfslog_ipaddr.c | 246 struct hostdata *hostp; in addrtoname() local 251 hostp = iplookup(&((struct sockaddr_in *)sockp)->sin_addr); in addrtoname() 254 hostp = ip6lookup(&((struct sockaddr_in6 *)sockp)->sin6_addr); in addrtoname() 259 hostp = NULL; in addrtoname() 261 return ((hostp != NULL) ? hostp->h_hostname : NULL); in addrtoname()
|
/illumos-gate/usr/src/cmd/fm/fmadm/common/ |
H A D | faulty.c | 276 host_id_list_t *hostp; in find_hostid_in_list() local 282 hostp = host_list; in find_hostid_in_list() 283 while (hostp) { in find_hostid_in_list() 284 if (hostp->hostid.platform && in find_hostid_in_list() 286 hostp->hostid.server && in find_hostid_in_list() 294 rt = &hostp->hostid; in find_hostid_in_list() 297 hostp = hostp->next; in find_hostid_in_list() 302 hostp->hostid.product_sn = in find_hostid_in_list() 307 hostp->next = host_list; in find_hostid_in_list() 308 host_list = hostp; in find_hostid_in_list() [all …]
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/telnet/ |
H A D | commands.c | 2909 char *hostp = NULL; in tn() local 2988 if (hostp == 0) { in tn() 2989 hostp = *argv++; in tn() 3011 if (hostp == 0) in tn() 3018 real_host = hostp; in tn() 3019 hostp = itelnet_host; in tn() 3027 hostp = hostname_list[num_gw]; in tn() 3058 if (inet_addr(hostp) != (in_addr_t)-1) { in tn() 3060 (void) strlcpy(_hostname, hostp, sizeof (_hostname)); in tn() 3061 } else if ((inet_pton(AF_INET6, hostp, &addr6) > 0) && in tn() [all …]
|
/illumos-gate/usr/src/cmd/fs.d/ufs/quota/ |
H A D | quota.c | 762 getnfsquota(char *hostp, char *path, uid_t uid, struct dqblk *dqp) in getnfsquota() argument 772 rpc_err = callaurpc(hostp, RQUOTAPROG, RQUOTAVERS, in getnfsquota() 813 fprintf(stderr, "quota permission error, host: %s\n", hostp); in getnfsquota() 817 fprintf(stderr, "bad rpc result, host: %s\n", hostp); in getnfsquota()
|
/illumos-gate/usr/src/cmd/sendmail/src/ |
H A D | parseaddr.c | 1965 char **hostp; local 2015 hostp = ++tv; 2019 hostp = NULL; 2031 if (tv == hostp) 2032 hostp = NULL; 2033 else if (hostp != NULL) 2034 cataddr(hostp, tv - 1, hbuf, sizeof(hbuf), '\0', false); 2046 if (hostp != NULL) 2121 if (hostp == NULL)
|
/illumos-gate/usr/src/lib/libldap5/include/ldap/ |
H A D | solaris-int.h | 282 int defport, char **hostp, int *portp /* host byte order */, 284 LDAP_API(int) LDAP_CALL ldap_x_hostlist_next( char **hostp,
|
/illumos-gate/usr/src/lib/libresolv2/common/irs/ |
H A D | irpmarshall.c | 1215 irp_unmarshall_ng(const char **hostp, const char **userp, const char **domainp, in irp_unmarshall_ng() argument 1223 if (userp == NULL || hostp == NULL || in irp_unmarshall_ng() 1274 *hostp = host; in irp_unmarshall_ng()
|