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

/ast/src/cmd/coshell/
H A Dcotest.c51 state.fdtotal = (int)strtol(astconf("OPEN_MAX", NiL, NiL), NiL, 0);
52 if (!(state.con = newof(0, Connection_t, state.fdtotal, 0)))
55 if (!(state.job = state.jobnext = newof(0, Cojob_t, state.fdtotal / 2, 0)))
57 state.jobmax = state.jobnext += state.fdtotal / 2 - 1;
H A Dservice.h292 int fdtotal; member in struct:__anon66
H A Dmain.c112 state.fdtotal = fdmax;
113 if (!(state.con = newof(0, Connection_t, state.fdtotal, 0)))
125 n = state.fdtotal / 2;
H A Dcommand.c442 for (n = 0; n <= state.fdtotal; n++)
491 else if (arg >= state.fdtotal || !con[arg].type) error(ERROR_OUTPUT|2, con[fd].info.user.fds[2], "cannot drop CON %d", arg);
540 sfprintf(state.string, " fdtotal %-6d ", state.fdtotal);
777 for (n = u = 0; n <= state.fdtotal; n++)
791 for (n = 0; n <= state.fdtotal; n++)
H A Dschedule.c295 if (!xp->running && (nopen - xp->cpu >= state.pool + noverride || state.open - xp->cpu >= state.fdtotal / 2 || xp == dp && cs.time > dt && (!xm || !mp || mp->rank < PCT(xp->rank, H_RANK))))

Completed in 28 milliseconds