Searched refs:host_list (Results 1 – 6 of 6) sorted by relevance
/titanic_41/usr/src/cmd/avs/rdc/ |
H A D | sndrsyncd.c | 81 host_list_t *host_list; variable 104 host_list = calloc(1, sizeof (host_list_t)); in init_host_list() 105 if (host_list == NULL) { in init_host_list() 110 (void) mutex_init(&host_list->hosts_mutex, USYNC_THREAD, NULL); in init_host_list() 1016 (void) mutex_lock(&host_list->hosts_mutex); in cleanup_hostlist() 1017 for (i = 0; i < host_list->numhosts; i++) { in cleanup_hostlist() 1022 if ((!host_list->configured[i]) || in cleanup_hostlist() 1023 (host_list->hosts[i] == '\0')) { in cleanup_hostlist() 1024 (void) mutex_unlock(&host_list->hosts_mutex); in cleanup_hostlist() 1029 if (strcmp(host_list->hosts[i], host) == 0) in cleanup_hostlist() [all …]
|
/titanic_41/usr/src/uts/common/klm/ |
H A D | nlm_service.c | 1023 struct nlm_host_list host_list; in nlm_do_free_all() local 1026 TAILQ_INIT(&host_list); in nlm_do_free_all() 1051 TAILQ_INSERT_TAIL(&host_list, hostp, nh_link); in nlm_do_free_all() 1057 while (!TAILQ_EMPTY(&host_list)) { in nlm_do_free_all() 1058 hostp = TAILQ_FIRST(&host_list); in nlm_do_free_all() 1059 TAILQ_REMOVE(&host_list, hostp, nh_link); in nlm_do_free_all()
|
/titanic_41/usr/src/cmd/krb5/ldap_util/ |
H A D | kdb5_ldap_services.c | 64 static int process_host_list(char **host_list, int servicetype) in process_host_list() argument 72 for (j = 0; host_list[j]; j++) { in process_host_list() 74 if ((pchr = strchr(host_list[j], HOST_INFO_DELIMITER))) { in process_host_list() 75 unsigned int hostname_len = pchr - host_list[j]; in process_host_list() 84 strncpy (host_str, host_list[j], hostname_len); in process_host_list() 104 strncpy (host_str, host_list[j], MAX_LEN_LIST_ENTRY - 1); in process_host_list() 144 free (host_list[j]); in process_host_list() 145 host_list[j] = (char*) malloc(sizeof(char) * in process_host_list() 147 if (host_list[j] == NULL) { in process_host_list() 151 snprintf (host_list[j], strlen(host_str) + strlen(proto_str) + strlen(port_str) + 2 + 1, in process_host_list()
|
/titanic_41/usr/src/cmd/syslogd/ |
H A D | syslogd.h | 68 typedef struct host_list { struct
|
/titanic_41/usr/src/lib/smbsrv/libsmbns/common/ |
H A D | smbns_ads.c | 646 smb_ads_hlist_free(smb_ads_host_list_t *host_list) in smb_ads_hlist_free() argument 648 if (host_list == NULL) in smb_ads_hlist_free() 651 free(host_list->ah_list); in smb_ads_hlist_free() 652 free(host_list); in smb_ads_hlist_free()
|
/titanic_41/usr/src/cmd/fm/fmadm/common/ |
H A D | faulty.c | 244 static host_id_list_t *host_list; variable 282 hostp = host_list; in find_hostid_in_list() 307 hostp->next = host_list; in find_hostid_in_list() 308 host_list = hostp; in find_hostid_in_list()
|