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

/ast/src/cmd/coshell/
H A Djob.c98 * check the job table for hogs running on busy shells
125 if (sp->stat.idle < state.busy && (!sp->bypass || !miscmatch(sp, sp->bypass)))
127 if (!jp->busy && state.grace) jp->busy = cs.time + state.grace;
128 else if (jp->busy < cs.time)
151 jp->busy = HOG;
157 if (jp->busy == HOG)
164 jp->busy = 0;
183 else if (!state.busy || !state.running) cswakeup(state.wakeup = 0L);
200 jp->busy
[all...]
H A Dservice.h42 unsigned long busy; /* time when job becomes hog */ \
98 #define BUSY ((UPDATE)*2) /* default max busy */
102 #define GRACE BUSY /* default busy grace */
103 #define HOG (~0L) /* hog job busy time */
158 #define SETBUSY (1<<0) /* global.busy was set */
212 int busy; member in struct:__anon58::__anon59
285 unsigned long busy; member in struct:__anon66
H A Dcotest.c63 state.busy = BUSY;
H A Dshell.c284 jp->busy = 0;
291 if (state.busy) cswakeup(state.wakeup = UPDATE * 1000L);
H A Dcommand.c550 sfprintf(state.string, " busy %-6s ", fmtelapsed(state.busy, 1));
675 sfprintf(state.string, "HOST CONF\n%-12.12s busy=%s grace=%s name=%s percpu=%d perserver=%d peruser=%d pool=%d\n", CS_HOST_LOCAL, fmtelapsed(state.busy, 1), fmtelapsed(state.grace, 1), state.shell->name, state.percpu, state.perserver, state.peruser, state.pool);
H A Dschedule.c117 state.busy = a->global.busy;
222 * non-busy shells failing idle criteria are marked for close
H A Dmain.c134 state.busy = BUSY;
720 * wake up to check for hung shells and jobs on busy hosts
/ast/src/lib/libvcodex/
H A Dvcbuffer.c65 vc->busy -= b->size;
87 vc->busy -= n->size - size; /* n->size is old b->size */
116 vc->busy = 0;
136 vc->busy += b->size;
H A Dvchdr.h29 unsigned int busy; /* total buffer size */ \
/ast/src/lib/libast/vmalloc/
H A Dvmmopen.c92 ssize_t busy; /* amount in use */ member in struct:_mmvm_s
127 sprintf(mesg, "Busy: %10d\n", mmdc->mmvm->busy); write(fd, mesg, strlen(mesg));
214 mmvm->busy = 0;
317 /* this region allows only a single busy block! */
320 { mmvm->busy = nsize;
326 { if(mmvm->busy == 0 )
327 { mmvm->busy = nsize;

Completed in 31 milliseconds