Searched refs:spare_slot (Results 1 – 1 of 1) sorted by relevance
80 HostInfo *spare_slot = NULL; in find_host() local121 if (!spare_slot && !hp->monList && !hp->notifyReqd) in find_host()122 spare_slot = hp; in find_host()132 if (!spare_slot) in find_host()135 spare_slot = &status_info->hosts[status_info->noOfHosts]; in find_host()136 desired_size = ((char*)spare_slot - (char*)status_info) + sizeof(HostInfo); in find_host()154 memset(spare_slot, 0, sizeof(HostInfo)); in find_host()155 strncpy(spare_slot->hostname, hostname, SM_MAXSTRLEN); in find_host()156 return (spare_slot); in find_host()