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

/ast/src/cmd/coshell/
H A Dservice.h168 #define SETPERCPU (1<<10) /* global.percpu was set */
218 int percpu; member in struct:__anon58::__anon59
310 int percpu; member in struct:__anon66
H A Dcommand.c552 sfprintf(state.string, " percpu %-6d ", state.percpu);
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 Djob.c172 if (state.running < (state.perserver + state.jobwait) && state.con[jp->fd].info.user.running < (state.peruser + 1) && (sp == &state.wait || sp->running < ((state.perhost ? state.perhost : sp->cpu * state.percpu) + 1)))
H A Dschedule.c131 state.percpu = a->global.percpu;
281 if (v < sv && ap->running < (state.perhost ? state.perhost : ap->cpu * state.percpu) && (!state.maxload || (ap->stat.load / ap->scale) < state.maxload) && (!sp || bypass || IDLE(ap->stat.idle, ap->idle) || !IDLE(sp->stat.idle, sp->idle)))
H A Dmain.c164 if (state.percpu <= 0 && (state.percpu = state.peruser / 4) <= 2)
165 state.percpu = 2;
/ast/src/cmd/ss/
H A Dssd.c178 static struct percpu percpu[NCPU]; variable in typeref:struct:percpu
201 "_percpu", (char*)&percpu[0], sizeof(percpu), 0,

Completed in 114 milliseconds