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

123

/freebsd-current/bin/sh/
H A Djobs.h40 struct job;
43 SHOWJOBS_DEFAULT, /* job number, status, command */
44 SHOWJOBS_VERBOSE, /* job number, PID, status, command */
53 struct job *makejob(union node *, int);
54 pid_t forkshell(struct job *, union node *, int);
55 pid_t vforkexecshell(struct job *, char **, char **, const char *, int, int [2]);
56 int waitforjob(struct job *, int *);
H A Deval.h43 struct job *jp; /* job structure for command */
H A Djobs.c72 * A job structure contains information about a job. A job is either a
90 struct job { struct
94 pid_t pgrp; /* process group of this job */
95 char state; /* true if job is finished */
102 char jobctl; /* job running under job control */
103 struct job *next; /* job use
534 struct job *job; local
554 waitcmdloop(struct job *job) argument
1135 dowait(int mode, struct job *job) argument
[all...]
/freebsd-current/crypto/openssl/crypto/async/
H A Dasync.c82 ASYNC_JOB *job = NULL; local
84 job = OPENSSL_zalloc(sizeof(*job));
85 if (job == NULL) {
90 job->status = ASYNC_JOB_RUNNING;
92 return job;
95 static void async_job_free(ASYNC_JOB *job) argument
97 if (job != NULL) {
98 OPENSSL_free(job->funcargs);
99 async_fibre_free(&job
105 ASYNC_JOB *job; local
137 async_release_job(ASYNC_JOB *job) argument
152 ASYNC_JOB *job; local
177 ASYNC_start_job(ASYNC_JOB **job, ASYNC_WAIT_CTX *wctx, int *ret, int (*func)(void *), void *args, size_t size) argument
293 ASYNC_JOB *job; local
322 ASYNC_JOB *job; local
385 ASYNC_JOB *job; local
449 ASYNC_get_wait_ctx(ASYNC_JOB *job) argument
[all...]
/freebsd-current/contrib/bmake/
H A Djob.c1 /* $NetBSD: job.c,v 1.471 2024/05/07 18:26:22 sjg Exp $ */
90 * a decent clip, since job table entries aren't
109 * job table is empty.
152 #include "job.h"
156 /* "@(#)job.c 8.2 (Berkeley) 3/19/94" */
157 MAKE_RCSID("$NetBSD: job.c,v 1.471 2024/05/07 18:26:22 sjg Exp $");
291 JOB_ERROR, /* Error in starting the job */
292 JOB_FINISHED /* The job is already finished */
454 static char *targPrefix = NULL; /* To identify a job change in the output. */
455 static Job tokenWaitJob; /* token wait pseudo-job */
498 Job_FlagsToString(const Job *job, char *buf, size_t bufsize) argument
509 Job *job; local
565 JobCreatePipe(Job *job, int minfd) argument
608 Job *job; local
731 Job *job; local
859 JobWriteSpecialsEchoCtl(Job *job, ShellWriter *wr, CommandFlags *inout_cmdFlags, const char *escCmd, const char **inout_cmdTemplate) argument
886 JobWriteSpecials(Job *job, ShellWriter *wr, const char *escCmd, bool run, CommandFlags *inout_cmdFlags, const char **inout_cmdTemplate) argument
920 JobWriteCommand(Job *job, ShellWriter *wr, StringListNode *ln, const char *ucmd) argument
1020 JobWriteCommands(Job *job) argument
1050 JobSaveCommands(Job *job) argument
1073 JobClosePipes(Job *job) argument
1085 DebugFailedJob(const Job *job) argument
1109 JobFinishDoneExitedError(Job *job, WAIT_T *inout_status) argument
1135 JobFinishDoneExited(Job *job, WAIT_T *inout_status) argument
1149 JobFinishDoneSignaled(Job *job, WAIT_T status) argument
1159 JobFinishDone(Job *job, WAIT_T *inout_status) argument
1183 JobFinish(Job *job, WAIT_T status) argument
1426 JobExec(Job *job, char **argv) argument
1580 JobMakeArgv(Job *job, char **argv) argument
1624 JobWriteShellCommands(Job *job, GNode *gn, bool *out_run) argument
1670 Job *job; /* new job descriptor */ local
1843 CollectOutput(Job *job, bool finish) argument
2044 Job *job; /* job descriptor for dead child */ local
2100 Job *job; local
2579 Job *job; /* job descriptor in that element */ local
2668 Job *job; /* the job descriptor in that element */ local
2700 Job *job; local
2730 watchfd(Job *job) argument
2751 clearfd(Job *job) argument
2786 readyfd(Job *job) argument
[all...]
H A Dtrace.c42 * Trace_Log Log an event about a particular make job.
48 #include "job.h"
84 Trace_Log(TrEvent event, Job *job) argument
104 if (job != NULL) {
107 Job_FlagsToString(job, flags, sizeof flags);
108 fprintf(trfile, " %s %d %s %x", job->node->name,
109 job->pid, flags, job->node->type);
H A Dmake-bootstrap.sh.in95 do_compile job.o ${MDEFS}
97 do_link bmake main.o job.o ${BASE_OBJECTS} ${LST_OBJECTS} ${LIB_OBJECTS}
/freebsd-current/contrib/bmake/unit-tests/
H A Djob-output-long-lines.mk1 # $NetBSD: job-output-long-lines.mk,v 1.4 2020/11/01 17:29:13 rillig Exp $
10 # As of 2020-09-27, the default job buffer size is 1024. When a job produces
12 # not terminated by a newline. Because of this missing newline, the job
13 # markers "--- job-a ---" and "--- job-b ---" are not always written at the
22 all: job-a job-b
24 job-a:
29 job
[all...]
H A Dsh-errctl.exp20 job table @ job started
21 job 0, status 3, flags ---, pid <pid>
H A Dopt-debug-jobs.exp18 job table @ job started
19 job 0, status 3, flags ---, pid <pid>
/freebsd-current/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
279 yppush_send_xfr(struct jobs *job) argument
372 struct jobs *job; local
[all...]
/freebsd-current/usr.sbin/cron/cron/
H A Djob.c31 } job; typedef in typeref:struct:_job
34 static job *jhead = NULL, *jtail = NULL;
40 job *j;
47 /* build a job queue element */
48 if ((j = (job*)malloc(sizeof(job))) == NULL)
50 j->next = (job*) NULL;
66 job *j, *jn;
H A DMakefile6 SRCS= cron.c database.c do_command.c job.c user.c popen.c
/freebsd-current/sys/kern/
H A Dvfs_aio.c275 TAILQ_HEAD(,kaiocb) kaio_jobqueue; /* (a) job queue for process */
307 static TAILQ_HEAD(,kaiocb) aio_jobs; /* (c) Async job list */
313 static int aio_free_entry(struct kaiocb *job);
314 static void aio_process_rw(struct kaiocb *job);
315 static void aio_process_sync(struct kaiocb *job);
316 static void aio_process_mlock(struct kaiocb *job);
321 static int aio_queue_file(struct file *fp, struct kaiocb *job);
326 static int aio_qbio(struct proc *p, struct kaiocb *job);
328 static void aio_bio_done_notify(struct proc *userp, struct kaiocb *job);
329 static bool aio_clear_cancel_function_locked(struct kaiocb *job);
491 aio_free_entry(struct kaiocb *job) argument
576 aio_cancel_job(struct proc *p, struct kaioinfo *ki, struct kaiocb *job) argument
634 struct kaiocb *job, *jobn; local
693 struct kaiocb *job; local
754 aio_process_rw(struct kaiocb *job) argument
833 aio_process_sync(struct kaiocb *job) argument
856 aio_process_mlock(struct kaiocb *job) argument
871 aio_bio_done_notify(struct proc *userp, struct kaiocb *job) argument
944 struct kaiocb *job; local
959 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
1206 aio_qbio(struct proc *p, struct kaiocb *job) argument
1504 struct kaiocb *job; local
1746 aio_cancel_daemon_job(struct kaiocb *job) argument
1757 aio_schedule(struct kaiocb *job, aio_handle_fn_t *func) argument
1773 aio_cancel_sync(struct kaiocb *job) argument
1786 aio_queue_file(struct file *fp, struct kaiocb *job) argument
1914 struct kaiocb *job; local
1963 struct kaiocb *firstjob, *job; local
2049 struct kaiocb *job, *jobn; local
2124 struct kaiocb *job; local
2231 struct aiocb *job; local
2443 struct kaiocb *job = (struct kaiocb *)bp->bio_caller1; local
2470 struct kaiocb *job = (struct kaiocb *)bp->bio_caller1; local
2514 struct kaiocb *job; local
2626 struct kaiocb *job; local
2663 struct kaiocb *job = kn->kn_ptr.p_aio; local
[all...]
H A Dsys_socket.c96 static void soo_aio_cancel(struct kaiocb *job);
423 * completed by the AIO job so far.
584 soaio_process_job(struct socket *so, sb_which which, struct kaiocb *job) argument
590 struct file *fp = job->fd_file;
597 aio_switch_vmspace(job);
601 td->td_ucred = job->cred;
603 job_total_nbytes = job->uiop->uio_resid + job->aio_done;
604 done = job->aio_done;
605 cnt = job
692 struct kaiocb *job; local
754 soo_aio_cancel(struct kaiocb *job) argument
788 soo_aio_queue(struct file *fp, struct kaiocb *job) argument
[all...]
/freebsd-current/crypto/openssl/test/
H A Dasynctest.c82 ASYNC_JOB *job; local
84 job = ASYNC_get_current_job();
85 if (job == NULL)
87 waitctx = ASYNC_get_wait_ctx(job);
198 ASYNC_JOB *job = NULL; local
206 || ASYNC_start_job(&job, waitctx, &funcret, add_two, NULL, 0)
209 || ASYNC_start_job(&job, waitctx, &funcret, add_two, NULL, 0)
226 ASYNC_JOB *job = NULL; local
234 || ASYNC_start_job(&job, waitctx, &funcret, save_current, NULL, 0)
236 || currjob != job
253 ASYNC_JOB *job = NULL; local
320 ASYNC_JOB *job = NULL; local
344 ASYNC_JOB *job = NULL; local
[all...]
/freebsd-current/sys/sys/
H A Daio.h140 int jobflags; /* (a) job flags */
149 struct aioliojob *lio; /* (*) optional lio job */
157 uint64_t seqno; /* (*) job number */
214 bool aio_cancel_cleared(struct kaiocb *job);
215 void aio_cancel(struct kaiocb *job);
216 bool aio_clear_cancel_function(struct kaiocb *job);
217 void aio_complete(struct kaiocb *job, long status, int error);
218 void aio_schedule(struct kaiocb *job, aio_handle_fn_t *func);
219 bool aio_set_cancel_function(struct kaiocb *job, aio_cancel_fn_t *func);
220 void aio_switch_vmspace(struct kaiocb *job);
[all...]
/freebsd-current/sys/contrib/openzfs/lib/libtpool/
H A Dthread_pool.c40 tpool_job_t *job; local
61 for (job = tpool->tp_head; job != NULL; job = tpool->tp_head) {
62 tpool->tp_head = job->tpj_next;
63 free(job);
100 * Called by a worker thread on return from a tpool_dispatch()d job.
128 tpool_job_t *job; local
178 if ((job = tpool->tp_head) != NULL &&
181 func = job
414 tpool_job_t *job; local
[all...]
/freebsd-current/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-current/sys/dev/cxgbe/tom/
H A Dt4_ddp.c76 * received by the AIO job so far.
82 static void t4_aio_cancel_active(struct kaiocb *job);
83 static void t4_aio_cancel_queued(struct kaiocb *job);
164 ddp_complete_one(struct kaiocb *job, int error) argument
169 * If this job had copied data out of the socket buffer before
173 copied = job->aio_received;
175 aio_complete(job, copied, 0);
177 aio_complete(job, -1, error);
275 if (db->job) {
282 if (!aio_clear_cancel_function(db->job))
467 struct kaiocb *job; local
648 struct kaiocb *job; local
1023 struct kaiocb *job; local
1095 struct kaiocb *job; local
2165 hold_aio(struct toepcb *toep, struct kaiocb *job, struct pageset **pps) argument
2270 struct kaiocb *job; local
2284 aio_ddp_cancel_one(struct kaiocb *job) argument
2306 aio_ddp_requeue_one(struct toepcb *toep, struct kaiocb *job) argument
2325 struct kaiocb *job; local
2732 t4_aio_cancel_active(struct kaiocb *job) argument
2773 t4_aio_cancel_queued(struct kaiocb *job) argument
2793 t4_aio_queue_ddp(struct socket *so, struct kaiocb *job) argument
[all...]
H A Dt4_cpl_io.c77 static void t4_aiotx_cancel(struct kaiocb *job);
2012 * be reported when the job is completed, the 'backend3' field to
2013 * store the amount of data sent by the AIO job so far, and the
2014 * 'backend4' field to hold a reference count on the job.
2016 * Each unmapped mbuf holds a reference on the job as does the queue
2017 * so long as the job is queued.
2025 jobtotid(struct kaiocb *job) argument
2031 so = job->fd_file->f_data;
2039 aiotx_free_job(struct kaiocb *job) argument
2044 if (refcount_release(&job
2068 struct kaiocb *job; local
2091 alloc_aiotx_mbuf(struct kaiocb *job, int len) argument
2172 t4_aiotx_process_job(struct toepcb *toep, struct socket *so, struct kaiocb *job) argument
2352 struct kaiocb *job; local
2394 t4_aiotx_cancel(struct kaiocb *job) argument
2417 t4_aio_queue_aiotx(struct socket *so, struct kaiocb *job) argument
[all...]
/freebsd-current/crypto/openssl/include/openssl/
H A Dasync.h83 int ASYNC_start_job(ASYNC_JOB **job, ASYNC_WAIT_CTX *ctx, int *ret,
88 ASYNC_WAIT_CTX *ASYNC_get_wait_ctx(ASYNC_JOB *job);
/freebsd-current/sys/contrib/zstd/lib/compress/
H A Dzstdmt_compress.c572 /* A future job may error and skip our job */
617 DEBUGLOG(5, "Skipping past job %u because of error", jobID);
660 ZSTD_PTHREAD_MUTEX_LOCK(&job->job_mutex); \
661 job->cSize = e; \
662 ZSTD_pthread_mutex_unlock(&job->job_mutex); \
669 ZSTDMT_jobDescription* const job = (ZSTDMT_jobDescription*)jobDescription; local
670 ZSTD_CCtx_params jobParams = job->params; /* do not modify job->params ! copy it, modify the copy */
671 ZSTD_CCtx* const cctx = ZSTDMT_getCCtx(job
1333 ZSTDMT_writeLastEmptyBlock(ZSTDMT_jobDescription* job) argument
[all...]
/freebsd-current/usr.sbin/cron/doc/
H A DMakefile.vixie86 env.c job.c user.c popen.c misc.c
89 misc.c job.c do_command.c env.c popen.c
91 CRON_OBJ = cron.o database.o user.o entry.o job.o do_command.o \
/freebsd-current/sys/contrib/openzfs/module/zfs/
H A Dzvol.c953 minors_job_t *job = arg; local
954 char *dsname = job->name;
957 job->error = dmu_objset_own(dsname, DMU_OST_ZVOL, B_TRUE, B_TRUE,
959 if (job->error == 0) {
986 minors_job_t *job; local
991 job = kmem_alloc(sizeof (minors_job_t), KM_SLEEP);
992 job->name = n;
993 job->list = minors_list;
994 job->error = 0;
995 list_insert_tail(minors_list, job);
1037 minors_job_t *job; local
1089 minors_job_t *job; local
1143 minors_job_t *job; local
[all...]

Completed in 370 milliseconds

123