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

/ast/src/lib/libcs/
H A Dcsnote.c73 m = (((sp->load >> 3) & 0377) << 24) | ((sp->pctsys & 0377) << 16) | ((sp->pctusr & 0377) << 8) | (sp->users & 0377);
74 error(-1, "csnote: <%lu,%lu> load=%lu:%lu pctsys=%lu:%lu pctusr=%lu:%lu users=%lu:%lu idle=%lu:%lu", sp->load, ((m >> 24) & 0xff) << 3, sp->pctsys, (m >> 16) & 0xff, sp->pctusr, (m >> 8) & 0xff, sp->users, m & 0xff, sp->idle, sp->users ? ((a & 0x7ff) << ((a >> 11) & 0x1f)) : ~0, a, m);
77 return touch(name, (encode(up) << 16) | encode(idle), (((sp->load >> 3) & 0377) << 24) | ((sp->pctsys & 0377) << 16) | ((sp->pctusr & 0377) << 8) | (sp->users & 0377), -1);
H A Dcsattr.c40 * load the info from the local info file
44 load(register Cs_t* state) function
101 if (!tp && !(tp = load(state)))
H A Dcsstat.c116 sp->load = ((m >> 24) & 0xff) << 3;
H A Dcs.h169 int load; /* load average */ member in struct:__anon335
/ast/src/cmd/ss/
H A Dss.c48 "[l:load?Sort by load average.]"
155 if (a->stat.load < b->stat.load)
157 if (a->stat.load > b->stat.load)
248 sfprintf(sfstdout, "%-12s%4s%7s,%3d user%s idle%7s, load%3d.%02d, %%usr%3d, %%sys%3d\n", sp->name, sp->stat.up < 0 ? "down" : "up", fmtelapsed(sp->stat.up < 0 ? -sp->stat.up : sp->stat.up, 1), sp->stat.users, sp->stat.users == 1 ? ", " : "s,", sp->stat.idle > sp->stat.up ? "%" : fmtelapsed(sp->stat.idle, 1), sp->stat.load / 100, sp->stat.load % 100, sp->stat.pctusr, sp->stat.pctsys);
H A Dssd.c63 long wd_loadav[3]; /* load average as in uptime(1) */
590 ss.load = (avenrun * 100) / FSCALE;
599 ss.load = who.wd_loadav[0];
618 ss.load = strton(s + 1, NiL, NiL, 100);
/ast/src/cmd/mailx/
H A Dmain.c482 load(expand(state.var.master, 1));
484 * Expand returns a savestr, but load only uses the file name
487 load(expand(state.var.mailrc, 1));
H A Dlex.c372 * for abort. A 1 or -1 aborts a load or source. A -1 aborts
714 load(char* name) function
H A Dmailx.h979 extern void load(char*);
/ast/src/cmd/coshell/
H A Dschedule.c34 #define T_LOAD 10 /* load truncation */
35 #define W_LOAD (X_RANK/75) /* load weight */
46 #define RNK(p,a) (((p)->mode&SHELL_DISABLE)?INT_MAX:((p)->flags&IGN)?(INT_MAX/2):((((p)->stat.load/(p)->scale)+((p)->running*BIAS+CPU((p)->cpu,(a)->bias)))*(p)->bias*(((p)==state.home&&(p)->cpu==1)?400:100)/(p)->rating))
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)))
410 if (a->global.set & SETLOAD) sp->stat.load = a->stat.load;
476 sp->stat.load = LOAD;
499 n += W_LOAD * (((sp->stat.load / sp->scale) + CPU(sp->cpu, W_JOB * LOAD)) / T_LOAD) * sp->bias / sp->rating;
525 message((-4, "%s: %s=%s idle=%s load=%s users=%d rank=%s", sp->name, sp->stat.up < 0 ? "down" : "up", fmtelapsed(sp->stat.up < 0 ? -sp->stat.up : sp->stat.up, 1), fmtelapsed(sp->stat.idle, 1), fmtfloat(sp->stat.load), s
[all...]
/ast/src/cmd/at/
H A Datd.c95 int load; member in struct:__anon35
301 que->load = LOAD;
330 que->load = n;
619 message((-2, "schedule job=%s start=%lu time=%lu queue=%s load=%d.%02d/%d.%02d%s", job->name, job->start, cs.time, job->queue->name, job->queue->load / 100, job->queue->load % 100, st.load / 100, st.load % 100, job->run ? " RUNNING" : job->start <= cs.time ? " READY" : ""));
626 (que->load <= 0 || st.load < qu
[all...]
/ast/src/lib/libast/tm/
H A Dtmlocale.c338 * load the native LC_TIME data for the current locale
550 * load the LC_TIME data for the current locale
554 load(Lc_info_t* li) function
642 load(li);
/ast/src/cmd/nmake/
H A Dread.c64 * of load() on internal list pointers
115 * load if object file
125 if (load(sp, r->name, 0, 0) > 0)
182 n = load(fp, s, 1, 0);
H A Dstate.c113 error(2, "STATEVIEW %d %s state file load delayed until after makefile read", view, name);
139 * NOTE: this load should not be a problem for
147 if (load(fp, file, 0, 0) > 0)
641 if (load(fp, file, 0, 10) > 0)
H A Dmake.h355 #define D_index (1L<<23) /* load time index consistency */
986 extern int load(Sfio_t*, const char*, int, int);
H A Dobject.c119 * old rule load() replacement puns on struct rule
121 * rule.mark is not used as load() may be triggered
157 typedef struct Loadstate_s /* load state */
707 * if v->oldvalue is set in load() then the
1201 * load a string
1415 * load compiled rules and variables from objfile
1423 load(register Sfio_t* sp, const char* objfile, int source, int ucheck) function
1646 * load the variables and check for any frozen
1764 * load and enter the rules
2167 * load th
[all...]
/ast/src/cmd/tw/
H A Dfind.c1142 error(2, "%s: cannot load magic file", MAGIC_FILE);
/ast/src/lib/libdll/
H A Ddlfcn.c137 if (!(dll = (void*)load((char*)path, mode, getenv("LIBPATH"))))
/ast/src/cmd/sortlib/sync/
H A Dss.c1415 * load user exit usr function fun from library lib
1419 load(Ss_t* ss, const char* usr, const char* fun, const char* lib, Ssdisc_t* disc) function
1630 if (load(ss, usr[0], usr[1], usr[3], disc))

Completed in 72 milliseconds