Searched refs:spare_slot (Results 1 – 1 of 1) sorted by relevance
78 HostInfo *spare_slot = NULL; in find_host() local89 if (!spare_slot && !hp->monList && !hp->notifyReqd) in find_host()90 spare_slot = hp; in find_host()98 if (!spare_slot) in find_host()101 spare_slot = &status_info->hosts[status_info->noOfHosts]; in find_host()102 desired_size = ((char*)spare_slot - (char*)status_info) + sizeof(HostInfo); in find_host()121 memset(spare_slot, 0, sizeof(HostInfo)); in find_host()122 strncpy(spare_slot->hostname, hostname, SM_MAXSTRLEN); in find_host()123 return (spare_slot); in find_host()