Lines Matching refs:up
9 cnid_dbd metadaemon to start up cnid_dbd upon request from afpd.
158 struct server *up;
168 up = test_usockfn(volinfo);
169 if (up && up->pid) {
171 if (send_fd(up->control_fd, rqstfd) < 0) {
181 if (!up) {
185 up = &srv[i];
186 up->volinfo = volinfo;
188 up->tm = t;
189 up->count = 0;
195 if (!up) {
201 if (up->count > 0) {
203 if (t < (up->tm + TESTTIME)) {
205 if (up->count > MAXSPAWN) {
213 up->count = 0;
216 up->count++;
217 up->tm = t;
218 LOG(log_maxdebug, logtype_cnid, "maybe_start_dbd: respawn count: %u", up->count);
219 if (up->count > MAXSPAWN) {
252 if (srv[i].pid && up != &srv[i]) {
260 if (up->count == MAXSPAWN) {
264 up->volinfo->v_path);
276 up->pid = pid;
278 up->control_fd = sv[0];