Searched refs:job (Results 1 - 25 of 30) sorted by relevance

12

/freebsd-10-stable/bin/sh/
H A Djobs.h44 * A job structure contains information about a job. A job is either a
62 struct job { struct
66 pid_t pgrp; /* process group of this job */
67 char state; /* true if job is finished */
73 char jobctl; /* job running under job control */
74 struct job *next; /* job use
[all...]
H A Deval.h46 struct job *jp; /* job structure for command */
H A Djobs.c78 static struct job *jobtab; /* array of jobs */
81 static struct job *bgjob = NULL; /* last background process */
83 static struct job *jobmru; /* most recently used job list */
94 static void restartjob(struct job *);
96 static void freejob(struct job *);
97 static int waitcmdloop(struct job *);
99 static struct job *getjob_nonotfound(const char *);
100 static struct job *getjob(const char *);
101 static pid_t dowait(int, struct job *);
462 struct job *job; local
482 waitcmdloop(struct job *job) argument
1036 dowait(int mode, struct job *job) argument
[all...]
H A Dredir.c279 if (forkshell((struct job *)NULL, (union node *)NULL, FORK_NOJOB) == 0) {
H A Deval.c429 struct job *jp;
569 struct job *jp;
618 TRACE(("evalpipe: job done exit status %d\n", exitstatus));
644 struct job *jp;
835 struct job *jp;
/freebsd-10-stable/contrib/bmake/
H A Dtrace.c52 * Trace_Log Log an event about a particular make job.
61 #include "job.h"
90 Trace_Log(TrEvent event, Job *job) argument
103 if (job != NULL) {
104 fprintf(trfile, " %s %d %x %x", job->node->name,
105 job->pid, job->flags, job->node->type);
H A Djob.c1 /* $NetBSD: job.c,v 1.191 2017/07/20 19:29:54 sjg Exp $ */
73 static char rcsid[] = "$NetBSD: job.c,v 1.191 2017/07/20 19:29:54 sjg Exp $";
78 static char sccsid[] = "@(#)job.c 8.2 (Berkeley) 3/19/94";
80 __RCSID("$NetBSD: job.c,v 1.191 2017/07/20 19:29:54 sjg Exp $");
86 * job.c --
95 * a decent clip, since job table entries aren't
121 * job table is empty.
168 #include "job.h"
227 #define JOB_ERROR 1 /* Error in starting the job */
228 #define JOB_FINISHED 2 /* The job i
395 Job *job; local
439 JobCreatePipe(Job *job, int minfd) argument
491 Job *job; local
671 Job *job; local
729 Job *job = (Job *)jobp; local
960 JobClose(Job *job) argument
999 JobFinish(Job *job, WAIT_T status) argument
1336 JobExec(Job *job, char **argv) argument
1515 JobMakeArgv(Job *job, char **argv) argument
1584 Job *job; /* new job descriptor */ local
1773 JobOutput(Job *job, char *cp, char *endp, int msg) argument
1848 JobDoOutput(Job *job, Boolean finish) argument
2058 Job *job; /* job descriptor for dead child */ local
2123 Job *job; local
2630 Job *job; /* job descriptor in that element */ local
2758 Job *job; /* the job descriptor in that element */ local
2801 Job *job; local
2827 watchfd(Job *job) argument
2840 clearfd(Job *job) argument
2859 readyfd(Job *job) argument
[all...]
H A Dmeta.c51 #include "job.h"
660 * In each case below we allow for job==NULL
663 meta_job_start(Job *job, GNode *gn) argument
667 if (job != NULL) {
668 pbm = &job->bm;
675 if (job == NULL)
692 meta_job_child(Job *job) argument
697 if (job != NULL) {
698 pbm = &job->bm;
717 meta_job_error(Job *job, GNod argument
747 meta_job_output(Job *job, char *cp, const char *nl) argument
806 meta_job_finish(Job *job) argument
[all...]
H A DMakefile16 job.c \
182 COPTS.job.c += -Wno-format-nonliteral
/freebsd-10-stable/usr.bin/make/
H A Djob.c39 * @(#)job.c 8.2 (Berkeley) 3/19/94
46 * job.c --
55 * whole make going at a decent clip, since job table
71 * Job_Full Return TRUE if the job table is filled.
73 * Job_Empty Return TRUE if the job table is completely empty.
78 * be called when the job table is empty.
131 #include "job.h"
157 * The job "table" is kept as a linked Lst in 'jobs', with the number of
161 * When a job is finished, the Make_Update function is called on each of the
172 * A LstNode for the first command to be saved after the job complete
559 Job *job; local
650 JobPrintCommand(LstNode *cmdNode, Job *job) argument
821 JobClose(Job *job) argument
858 JobFinish(Job *job, int *status) argument
1295 JobExec(Job *job, char **argv) argument
1418 JobMakeArgv(Job *job, char **argv) argument
1466 JobRestart(Job *job) argument
1570 Job *job; /* new job descriptor */ local
1851 JobOutput(Job *job, char *cp, char *endp, int msg) argument
1918 JobDoOutput(Job *job, Boolean finish) argument
2120 Job *job; /* job descriptor for dead child */ local
2211 Job *job; local
2505 Job *job; /* job descriptor in that element */ local
2612 Job *job; /* the job descriptor in that element */ local
2647 Job *job; local
[all...]
H A DMakefile9 SRCS= arch.c buf.c cond.c dir.c for.c hash.c hash_tables.c job.c \
/freebsd-10-stable/usr.sbin/yppush/
H A Dyppush_main.c71 /* Structure for holding information about a running job. */
108 * Report state of a job.
113 struct jobs *job; local
115 job = yppush_joblist;
117 while (job != NULL) {
118 if (job->tid == tid)
120 job = job->next;
123 if (job == NULL) {
129 if (job
281 yppush_send_xfr(struct jobs *job) argument
374 struct jobs *job; local
[all...]
/freebsd-10-stable/usr.sbin/cron/cron/
H A Djob.c31 } job; typedef in typeref:struct:_job
34 static job *jhead = NULL, *jtail = NULL;
42 register job *j;
48 /* build a job queue element */
49 if ((j = (job*)malloc(sizeof(job))) == NULL)
51 j->next = (job*) NULL;
65 register job *j, *jn;
H A DMakefile5 SRCS= cron.c database.c do_command.c job.c user.c popen.c
/freebsd-10-stable/cddl/compat/opensolaris/misc/
H A Dthread_pool.c42 tpool_job_t *job; local
47 for (job = tpool->tp_head; job != NULL; job = tpool->tp_head) {
48 tpool->tp_head = job->tpj_next;
49 free(job);
86 * Called by a worker thread on return from a tpool_dispatch()d job.
114 tpool_job_t *job; local
163 if ((job = tpool->tp_head) != NULL &&
166 func = job
267 tpool_job_t *job; local
[all...]
/freebsd-10-stable/share/examples/printing/
H A Dmake-ps-header19 echo "Usage: `basename $0` <user> <host> <job>" 1>&2
28 job=$3
38 % Make sure we do not interfere with user's job that will follow
70 [ ($job) ($host) ($date) ] {
/freebsd-10-stable/contrib/ntp/scripts/calc_tickadj/
H A Dcalc_tickadj-opts.def36 tick value. Generally, ntpd can do better job if the drift value is the
/freebsd-10-stable/usr.bin/bmake/
H A DMakefile32 job.c \
150 COPTS.job.c += -Wno-format-nonliteral
/freebsd-10-stable/usr.sbin/lpr/lpc/
H A Dcmds.c283 * Kill the current daemon, to stop printing of the active job.
486 * `tf', it sorts by job number and machine, then by `cf', `df', `rf', or
511 * same for 'a' vs 'b', so define a macro for the job.
515 * file-sequence letter, and start the job number in position 5.]
566 * or `tf' files. Compare them by job-number and machine name.
573 * We have two files which belong to the same job. Sort based
585 * Two files in the same category for a single job. Sort based
1035 printf("\t a job is actively printing on it.\n");
1126 * Stop the specified daemon after completing the current job and disable
1209 * get lpd to rebuild the queue after the current job
1242 doarg(char *job) argument
[all...]
/freebsd-10-stable/contrib/ntp/scripts/update-leap/
H A Dupdate-leap-opts.def136 This can be run as a cron job. As the file is rarely updated, and leap
H A Dupdate-leap.in446 This can be run as a cron job. As the file is rarely updated, and
/freebsd-10-stable/contrib/llvm/tools/clang/include/clang/AST/
H A DRecursiveASTVisitor.h450 EnqueueJob &job = Queue.back(); local
451 Stmt *CurrS = job.S;
458 if (job.StmtIt == Stmt::child_iterator()) {
465 job.StmtIt = CurrS->child_begin();
467 ++job.StmtIt;
470 if (job.StmtIt != CurrS->child_end())
471 Queue.push_back(*job.StmtIt);
/freebsd-10-stable/sys/kern/
H A Dvfs_aio.c233 int jobflags; /* (a) job flags */
234 int jobstate; /* (b) job state */
244 struct aioliojob *lio; /* (*) optional lio job */
249 uint64_t seqno; /* (*) job number */
302 TAILQ_HEAD(,aiocblist) kaio_jobqueue; /* (a) job queue for process */
303 TAILQ_HEAD(,aiocblist) kaio_bufqueue; /* (a) buffer job queue for process */
337 static TAILQ_HEAD(,aiocblist) aio_jobs; /* (c) Async job list */
347 int aio_aqueue(struct thread *td, struct aiocb *job,
374 * aiol list io job pointer - internal to aio_suspend XXX
636 * Free a job entr
1584 aio_aqueue(struct thread *td, struct aiocb *job, struct aioliojob *lj, int type, struct aiocb_ops *ops) argument
[all...]
/freebsd-10-stable/usr.bin/at/
H A Dat.c105 char atverify = 0; /* verify time instead of queuing job */
207 /* This does most of the work if at or batch are invoked for writing a job.
263 perr("cannot generate job number");
286 perr("error in dup() of job file");
442 in_job_list(long job, long *joblist, int len) argument
447 if (job == joblist[i])
530 /* Delete every argument (job - ID) given
721 panic("invalid job number");
781 case 'm': /* send mail when job is complete */
/freebsd-10-stable/contrib/llvm/tools/clang/lib/AST/
H A DExprConstant.cpp6498 Job &job = Queue.back();
6500 switch (job.Kind) {
6502 if (const BinaryOperator *Bop = dyn_cast<BinaryOperator>(job.E)) {
6504 job.Kind = Job::BinOpKind;
6510 EvaluateExpr(job.E, Result);
6516 const BinaryOperator *Bop = cast<BinaryOperator>(job.E);
6523 job.startSpeculativeEval(Info);
6524 job.LHSResult.swap(Result);
6525 job.Kind = Job::BinOpVisitedLHSKind;
6531 const BinaryOperator *Bop = cast<BinaryOperator>(job
[all...]

Completed in 517 milliseconds

12