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

12

/freebsd-11.0-release/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.187 2016/05/12 20:28:34 sjg Exp $ */
73 static char rcsid[] = "$NetBSD: job.c,v 1.187 2016/05/12 20:28:34 sjg Exp $";
78 static char sccsid[] = "@(#)job.c 8.2 (Berkeley) 3/19/94";
80 __RCSID("$NetBSD: job.c,v 1.187 2016/05/12 20:28:34 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
397 Job *job; local
426 JobCreatePipe(Job *job, int minfd) argument
472 Job *job; local
652 Job *job; local
710 Job *job = (Job *)jobp; local
940 JobClose(Job *job) argument
979 JobFinish(Job *job, WAIT_T status) argument
1310 JobExec(Job *job, char **argv) argument
1474 JobMakeArgv(Job *job, char **argv) argument
1543 Job *job; /* new job descriptor */ local
1732 JobOutput(Job *job, char *cp, char *endp, int msg) argument
1807 JobDoOutput(Job *job, Boolean finish) argument
2017 Job *job; /* job descriptor for dead child */ local
2082 Job *job; local
2589 Job *job; /* job descriptor in that element */ local
2722 Job *job; /* the job descriptor in that element */ local
2765 Job *job; local
2791 watchfd(Job *job) argument
2804 clearfd(Job *job) argument
2823 readyfd(Job *job) argument
[all...]
H A Dmeta.c51 #include "job.h"
651 * In each case below we allow for job==NULL
654 meta_job_start(Job *job, GNode *gn) argument
658 if (job != NULL) {
659 pbm = &job->bm;
666 if (job == NULL)
683 meta_job_child(Job *job) argument
688 if (job != NULL) {
689 pbm = &job->bm;
708 meta_job_error(Job *job, GNod argument
738 meta_job_output(Job *job, char *cp, const char *nl) argument
796 meta_job_finish(Job *job) argument
[all...]
H A DMakefile16 job.c \
179 COPTS.job.c += -Wno-format-nonliteral
/freebsd-11.0-release/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 *);
98 static struct job *getjob_nonotfound(const char *);
99 static struct job *getjob(const char *);
101 static pid_t dowait(int, struct job *);
488 struct job *job; local
508 waitcmdloop(struct job *job) argument
1079 dowait(int mode, struct job *job) argument
[all...]
H A Deval.c430 struct job *jp;
573 struct job *jp;
622 TRACE(("evalpipe: job done exit status %d\n", exitstatus));
648 struct job *jp;
836 struct job *jp;
H A Dredir.c288 if (forkshell((struct job *)NULL, (union node *)NULL, FORK_NOJOB) == 0) {
/freebsd-11.0-release/usr.sbin/yppush/
H A Dyppush_main.c71 /* Structure for holding information about a running job. */
107 * Report state of a job.
112 struct jobs *job; local
114 job = yppush_joblist;
116 while (job != NULL) {
117 if (job->tid == tid)
119 job = job->next;
122 if (job == NULL) {
128 if (job
280 yppush_send_xfr(struct jobs *job) argument
373 struct jobs *job; local
[all...]
/freebsd-11.0-release/sys/kern/
H A Dvfs_aio.c261 TAILQ_HEAD(,kaiocb) kaio_jobqueue; /* (a) job queue for process */
293 static TAILQ_HEAD(,kaiocb) aio_jobs; /* (c) Async job list */
298 static int aio_free_entry(struct kaiocb *job);
299 static void aio_process_rw(struct kaiocb *job);
300 static void aio_process_sync(struct kaiocb *job);
301 static void aio_process_mlock(struct kaiocb *job);
306 static int aio_queue_file(struct file *fp, struct kaiocb *job);
311 static int aio_qphysio(struct proc *p, struct kaiocb *job);
313 static void aio_bio_done_notify(struct proc *userp, struct kaiocb *job);
314 static bool aio_clear_cancel_function_locked(struct kaiocb *job);
486 aio_free_entry(struct kaiocb *job) argument
569 aio_cancel_job(struct proc *p, struct kaioinfo *ki, struct kaiocb *job) argument
627 struct kaiocb *job, *jobn; local
686 struct kaiocb *job; local
744 aio_process_rw(struct kaiocb *job) argument
831 aio_process_sync(struct kaiocb *job) argument
852 aio_process_mlock(struct kaiocb *job) argument
870 aio_bio_done_notify(struct proc *userp, struct kaiocb *job) argument
942 struct kaiocb *job; local
957 aio_cancel_cleared(struct kaiocb *job) argument
972 aio_clear_cancel_function_locked(struct kaiocb *job) argument
986 aio_clear_cancel_function(struct kaiocb *job) argument
999 aio_set_cancel_function_locked(struct kaiocb *job, aio_cancel_fn_t *func) argument
1010 aio_set_cancel_function(struct kaiocb *job, aio_cancel_fn_t *func) argument
1023 aio_complete(struct kaiocb *job, long status, int error) argument
1046 aio_cancel(struct kaiocb *job) argument
1053 aio_switch_vmspace(struct kaiocb *job) argument
1066 struct kaiocb *job; local
1205 aio_qphysio(struct proc *p, struct kaiocb *job) argument
1449 struct kaiocb *job; local
1644 aio_cancel_daemon_job(struct kaiocb *job) argument
1655 aio_schedule(struct kaiocb *job, aio_handle_fn_t *func) argument
1671 aio_cancel_sync(struct kaiocb *job) argument
1684 aio_queue_file(struct file *fp, struct kaiocb *job) argument
1838 struct kaiocb *job; local
1887 struct kaiocb *firstjob, *job; local
1974 struct kaiocb *job, *jobn; local
2050 struct kaiocb *job; local
2143 struct aiocb *job; local
2346 struct kaiocb *job = (struct kaiocb *)bp->bio_caller1; local
2394 struct kaiocb *job; local
2501 struct kaiocb *job = (struct kaiocb *)kn->kn_sdata; local
2536 struct kaiocb *job = kn->kn_ptr.p_aio; local
[all...]
H A Dsys_socket.c99 static void soo_aio_cancel(struct kaiocb *job);
395 * completed by the AIO job so far.
558 soaio_process_job(struct socket *so, struct sockbuf *sb, struct kaiocb *job) argument
570 aio_switch_vmspace(job);
572 fp = job->fd_file;
575 td->td_ucred = job->cred;
577 done = job->aio_done;
578 cnt = job->uaiocb.aio_nbytes - done;
579 iov.iov_base = (void *)((uintptr_t)job->uaiocb.aio_buf + done);
605 job
674 struct kaiocb *job; local
739 soo_aio_cancel(struct kaiocb *job) argument
770 soo_aio_queue(struct file *fp, struct kaiocb *job) argument
[all...]
/freebsd-11.0-release/usr.sbin/cron/cron/
H A Djob.c20 "$FreeBSD: releng/11.0/usr.sbin/cron/cron/job.c 50479 1999-08-28 01:35:59Z peter $";
31 } 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-11.0-release/sys/dev/cxgbe/tom/
H A Dt4_ddp.c79 * received by the AIO job so far.
85 static void t4_aio_cancel_active(struct kaiocb *job);
86 static void t4_aio_cancel_queued(struct kaiocb *job);
204 ddp_complete_one(struct kaiocb *job, int error) argument
209 * If this job had copied data out of the socket buffer before
213 copied = job->aio_received;
215 aio_complete(job, copied, 0);
217 aio_complete(job, -1, error);
224 if (db->job) {
231 if (!aio_clear_cancel_function(db->job))
334 struct kaiocb *job; local
527 struct kaiocb *job; local
674 struct kaiocb *job; local
737 struct kaiocb *job; local
1100 hold_aio(struct toepcb *toep, struct kaiocb *job, struct pageset **pps) argument
1204 struct kaiocb *job; local
1217 aio_ddp_cancel_one(struct kaiocb *job) argument
1239 aio_ddp_requeue_one(struct toepcb *toep, struct kaiocb *job) argument
1258 struct kaiocb *job; local
1658 t4_aio_cancel_active(struct kaiocb *job) argument
1700 t4_aio_cancel_queued(struct kaiocb *job) argument
1720 t4_aio_queue_ddp(struct socket *so, struct kaiocb *job) argument
[all...]
H A Dt4_tom.h108 struct kaiocb *job; member in struct:ddp_buffer
/freebsd-11.0-release/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-11.0-release/sys/sys/
H A Daio.h121 int jobflags; /* (a) job flags */
129 struct aioliojob *lio; /* (*) optional lio job */
134 uint64_t seqno; /* (*) job number */
193 bool aio_cancel_cleared(struct kaiocb *job);
194 void aio_cancel(struct kaiocb *job);
195 bool aio_clear_cancel_function(struct kaiocb *job);
196 void aio_complete(struct kaiocb *job, long status, int error);
197 void aio_schedule(struct kaiocb *job, aio_handle_fn_t *func);
198 bool aio_set_cancel_function(struct kaiocb *job, aio_cancel_fn_t *func);
199 void aio_switch_vmspace(struct kaiocb *job);
[all...]
H A Dprotosw.h230 int (*pru_aio_queue)(struct socket *so, struct kaiocb *job);
237 int pru_aio_queue_notsupp(struct socket *so, struct kaiocb *job);
H A Dfile.h123 typedef int fo_aio_queue_t(struct file *fp, struct kaiocb *job);
413 fo_aio_queue(struct file *fp, struct kaiocb *job) argument
416 return ((*fp->f_ops->fo_aio_queue)(fp, job));
/freebsd-11.0-release/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-11.0-release/usr.sbin/cron/doc/
H A DMakefile.vixie92 env.c job.c user.c popen.c misc.c compat.c
95 misc.c job.c do_command.c env.c popen.c
97 CRON_OBJ = cron.o database.o user.o entry.o job.o do_command.o \
/freebsd-11.0-release/usr.bin/bmake/
H A DMakefile32 job.c \
147 COPTS.job.c += -Wno-format-nonliteral
/freebsd-11.0-release/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-11.0-release/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 */

Completed in 290 milliseconds

12