Searched refs:adh (Results 1 – 3 of 3) sorted by relevance
/titanic_44/usr/src/lib/libadutils/common/ |
H A D | adutils.c | 474 adutils_host_t *adh; in adutils_reap_idle_connections() local 479 for (adh = host_head; adh != NULL; adh = adh->next) { in adutils_reap_idle_connections() 480 (void) pthread_mutex_lock(&adh->lock); in adutils_reap_idle_connections() 481 if (adh->ref == 0 && adh->idletime != 0 && in adutils_reap_idle_connections() 482 adh->idletime + ADCONN_TIME < now) { in adutils_reap_idle_connections() 483 if (adh->ld) { in adutils_reap_idle_connections() 484 (void) ldap_unbind(adh->ld); in adutils_reap_idle_connections() 485 adh->ld = NULL; in adutils_reap_idle_connections() 486 adh->idletime = 0; in adutils_reap_idle_connections() 487 adh->ref = 0; in adutils_reap_idle_connections() [all …]
|
/titanic_44/usr/src/cmd/idmap/idmap/ |
H A D | namemaps.c | 188 idmap_open_ad_conn(idmap_nm_handle_t *adh) in idmap_open_ad_conn() argument 196 adh->ad = ldap_init(adh->ad_host, adh->ad_port); in idmap_open_ad_conn() 197 if (adh->ad == NULL) { in idmap_open_ad_conn() 200 CHECK_NULL(adh->ad_host), in idmap_open_ad_conn() 201 adh->ad_port, strerror(errno)); in idmap_open_ad_conn() 206 (void) ldap_set_option(adh->ad, LDAP_OPT_PROTOCOL_VERSION, &ldversion); in idmap_open_ad_conn() 207 (void) ldap_set_option(adh->ad, LDAP_OPT_REFERRALS, LDAP_OPT_OFF); in idmap_open_ad_conn() 208 (void) ldap_set_option(adh->ad, LDAP_OPT_TIMELIMIT, &zero); in idmap_open_ad_conn() 209 (void) ldap_set_option(adh->ad, LDAP_OPT_SIZELIMIT, &zero); in idmap_open_ad_conn() 210 (void) ldap_set_option(adh->ad, LDAP_X_OPT_CONNECT_TIMEOUT, &timeoutms); in idmap_open_ad_conn() [all …]
|
/titanic_44/usr/src/uts/intel/io/dktp/dcdev/ |
H A D | dadk.c | 729 STRUCT_DECL(defect_header, adh); in dadk_ioctl() 731 STRUCT_INIT(adh, flag & FMODELS); in dadk_ioctl() 737 if (ddi_copyin((caddr_t)arg, STRUCT_BUF(adh), STRUCT_SIZE(adh), in dadk_ioctl() 740 head = STRUCT_FGET(adh, head); in dadk_ioctl() 769 STRUCT_FGETP(adh, buffer), NBPSCTR, flag)) in dadk_ioctl()
|