Searched refs:spare_slot (Results 1 - 1 of 1) sorted by relevance

/freebsd-9.3-release/usr.sbin/rpc.statd/
H A Dfile.c80 HostInfo *spare_slot = NULL; local
118 if (!spare_slot && !hp->monList && !hp->notifyReqd)
119 spare_slot = hp;
129 if (!spare_slot)
132 spare_slot = &status_info->hosts[status_info->noOfHosts];
133 desired_size = ((char*)spare_slot - (char*)status_info) + sizeof(HostInfo);
152 memset(spare_slot, 0, sizeof(HostInfo));
153 strncpy(spare_slot->hostname, hostname, SM_MAXSTRLEN);
154 return (spare_slot);

Completed in 81 milliseconds