Home
last modified time | relevance | path

Searched refs:job (Results 1 – 25 of 244) sorted by relevance

12345678910

/freebsd/contrib/bmake/
H A Djob.c573 Job_FlagsToString(const Job *job, char *buf, size_t bufsize) in Job_FlagsToString() argument
576 job->ignerr ? 'i' : '-', in Job_FlagsToString()
577 !job->echo ? 's' : '-', in Job_FlagsToString()
578 job->special ? 'S' : '-'); in Job_FlagsToString()
583 Job_BuildMon(Job *job) in Job_BuildMon() argument
585 return &job->bm; in Job_BuildMon()
590 Job_Node(Job *job) in Job_Node() argument
592 return job->node; in Job_Node()
596 Job_Pid(Job *job) in Job_Pid() argument
598 return job->pid; in Job_Pid()
[all …]
H A Dtrace.c84 Trace_Log(TrEvent event, Job *job) in Trace_Log() argument
104 if (job != NULL) { in Trace_Log()
105 GNode *gn = Job_Node(job); in Trace_Log()
108 Job_FlagsToString(job, flags, sizeof flags); in Trace_Log()
110 gn->name, Job_Pid(job), flags, type); in Trace_Log()
/freebsd/crypto/openssl/crypto/async/
H A Dasync.c80 ASYNC_JOB *job = NULL; in async_job_new() local
82 job = OPENSSL_zalloc(sizeof(*job)); in async_job_new()
83 if (job == NULL) in async_job_new()
86 job->status = ASYNC_JOB_RUNNING; in async_job_new()
88 return job; in async_job_new()
91 static void async_job_free(ASYNC_JOB *job) in async_job_free() argument
93 if (job != NULL) { in async_job_free()
94 OPENSSL_free(job->funcargs); in async_job_free()
95 async_fibre_free(&job->fibrectx); in async_job_free()
96 OPENSSL_free(job); in async_job_free()
[all …]
/freebsd/sys/contrib/zstd/programs/
H A Dfileio_asyncio.c147 IOJob_t* const job = (IOJob_t*) malloc(sizeof(IOJob_t)); in AIO_IOPool_createIoJob() local
149 if(!job || !buffer) in AIO_IOPool_createIoJob()
151 job->buffer = buffer; in AIO_IOPool_createIoJob()
152 job->bufferSize = bufferSize; in AIO_IOPool_createIoJob()
153 job->usedBufferSize = 0; in AIO_IOPool_createIoJob()
154 job->file = NULL; in AIO_IOPool_createIoJob()
155 job->ctx = ctx; in AIO_IOPool_createIoJob()
156 job->offset = 0; in AIO_IOPool_createIoJob()
157 return job; in AIO_IOPool_createIoJob()
221 static void AIO_IOPool_releaseIoJob(IOJob_t* job) { in AIO_IOPool_releaseIoJob() argument
[all …]
/freebsd/sys/kern/
H A Dvfs_aio.c307 static int aio_free_entry(struct kaiocb *job);
308 static void aio_process_rw(struct kaiocb *job);
309 static void aio_process_sync(struct kaiocb *job);
310 static void aio_process_mlock(struct kaiocb *job);
315 static int aio_queue_file(struct file *fp, struct kaiocb *job);
320 static int aio_qbio(struct proc *p, struct kaiocb *job);
322 static void aio_bio_done_notify(struct proc *userp, struct kaiocb *job);
323 static bool aio_clear_cancel_function_locked(struct kaiocb *job);
499 aio_free_entry(struct kaiocb *job) in aio_free_entry() argument
505 p = job->userproc; in aio_free_entry()
[all …]
H A Dsys_socket.c98 static void soo_aio_cancel(struct kaiocb *job);
619 soaio_process_job(struct socket *so, sb_which which, struct kaiocb *job) in soaio_process_job() argument
625 struct file *fp = job->fd_file; in soaio_process_job()
632 aio_switch_vmspace(job); in soaio_process_job()
636 td->td_ucred = job->cred; in soaio_process_job()
638 job_total_nbytes = job->uiop->uio_resid + job->aio_done; in soaio_process_job()
639 done = job->aio_done; in soaio_process_job()
640 cnt = job->uiop->uio_resid; in soaio_process_job()
641 job->uiop->uio_offset = 0; in soaio_process_job()
642 job->uiop->uio_td = td; in soaio_process_job()
[all …]
/freebsd/usr.sbin/yppush/
H A Dyppush_main.c112 struct jobs *job; in yppush_show_status() local
114 job = yppush_joblist; in yppush_show_status()
116 while (job != NULL) { in yppush_show_status()
117 if (job->tid == tid) in yppush_show_status()
119 job = job->next; in yppush_show_status()
122 if (job == NULL) { in yppush_show_status()
128 if (job->polled) { in yppush_show_status()
136 job->tid); in yppush_show_status()
141 job->map, job->server, status == YPXFR_SUCC ? in yppush_show_status()
148 job->polled = 1; in yppush_show_status()
[all …]
/freebsd/bin/sh/
H A Djobs.c92 struct job { struct
105 struct job *next; /* job used after this one */ argument
110 static struct job *jobtab; /* array of jobs */
113 static struct job *bgjob = NULL; /* last background process */
115 static struct job *jobmru; /* most recently used job list */
126 static void restartjob(struct job *);
128 static void freejob(struct job *);
129 static int waitcmdloop(struct job *);
130 static struct job *getjob_nonotfound(const char *);
131 static struct job *getjob(const char *);
[all …]
H A Djobs.h42 struct job;
55 struct job *makejob(union node *, int);
56 pid_t forkshell(struct job *, union node *, int);
57 pid_t vforkexecshell(struct job *, char **, char **, const char *, int, int [2]);
58 int waitforjob(struct job *, int *);
/freebsd/crypto/openssl/test/
H A Dasynctest.c83 ASYNC_JOB *job; in waitfd() local
85 job = ASYNC_get_current_job(); in waitfd()
86 if (job == NULL) in waitfd()
88 waitctx = ASYNC_get_wait_ctx(job); in waitfd()
198 ASYNC_JOB *job = NULL; in test_ASYNC_start_job() local
206 || ASYNC_start_job(&job, waitctx, &funcret, add_two, NULL, 0) in test_ASYNC_start_job()
209 || ASYNC_start_job(&job, waitctx, &funcret, add_two, NULL, 0) in test_ASYNC_start_job()
226 ASYNC_JOB *job = NULL; in test_ASYNC_get_current_job() local
234 || ASYNC_start_job(&job, waitctx, &funcret, save_current, NULL, 0) in test_ASYNC_get_current_job()
236 || currjob != job in test_ASYNC_get_current_job()
[all …]
/freebsd/sys/dev/cxgbe/tom/
H A Dt4_ddp.c82 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) in ddp_complete_one() argument
173 copied = job->aio_received; in ddp_complete_one()
175 aio_complete(job, copied, 0); in ddp_complete_one()
177 aio_complete(job, -1, error); in ddp_complete_one()
275 if (db->job) { in free_ddp_buffer()
282 if (!aio_clear_cancel_function(db->job)) in free_ddp_buffer()
283 ddp_complete_one(db->job, 0); in free_ddp_buffer()
285 db->job = NULL; in free_ddp_buffer()
[all …]
H A Dt4_cpl_io.c78 static void t4_aiotx_cancel(struct kaiocb *job);
2385 jobtotid(struct kaiocb *job) in jobtotid() argument
2391 so = job->fd_file->f_data; in jobtotid()
2399 aiotx_free_job(struct kaiocb *job) in aiotx_free_job() argument
2404 if (refcount_release(&job->aio_refs) == 0) in aiotx_free_job()
2407 error = (intptr_t)job->aio_error; in aiotx_free_job()
2408 status = job->aio_sent; in aiotx_free_job()
2411 jobtotid(job), job, status, error); in aiotx_free_job()
2416 aio_cancel(job); in aiotx_free_job()
2418 aio_complete(job, -1, error); in aiotx_free_job()
[all …]
/freebsd/crypto/openssl/doc/man3/
H A DASYNC_start_job.pod9 - asynchronous job management functions
18 int ASYNC_start_job(ASYNC_JOB **job, ASYNC_WAIT_CTX *ctx, int *ret,
23 ASYNC_WAIT_CTX *ASYNC_get_wait_ctx(ASYNC_JOB *job);
41 subsequent event indicates that the job can be resumed. It's OpenSSL
47 the pool, used, and then returned to the pool when the job completes. If the
66 An asynchronous job is started by calling the ASYNC_start_job() function.
67 Initially I<*job> should be NULL. I<ctx> should point to an B<ASYNC_WAIT_CTX>
70 be stored on completion of the job. I<func> represents the function that should
72 will be copied and then passed as an argument to I<func> when the job starts.
79 An error occurred trying to start the job. Check the OpenSSL error queue (e.g.
[all …]
/freebsd/sys/contrib/device-tree/Bindings/powerpc/fsl/
H A Draideng.txt30 There must be a sub-node for each job queue present in RAID Engine
33 - compatible: Should contain "fsl,raideng-v1.0-job-queue" as the value
34 This identifies the job queue interface
35 - reg: offset and length of the register set for job queue
42 compatible = "fsl,raideng-v1.0-job-queue";
48 There must be a sub-node for each job ring present in RAID Engine
49 This node must be a sub-node of job queue node
51 - compatible: Must contain "fsl,raideng-v1.0-job-ring" as the value
52 This identifies job ring. Should contain either
55 - reg: offset and length of the register set for job rin
[all...]
/freebsd/usr.sbin/cron/cron/
H A Djob.c31 } job; typedef
34 static job *jhead = NULL, *jtail = NULL;
40 job *j; in job_add()
48 if ((j = (job*)malloc(sizeof(job))) == NULL) in job_add()
50 j->next = (job*) NULL; in job_add()
66 job *j, *jn; in job_runqueue()
/freebsd/sys/contrib/zstd/lib/compress/
H A Dzstdmt_compress.c686 ZSTD_PTHREAD_MUTEX_LOCK(&job->job_mutex); \
687 job->cSize = e; \
688 ZSTD_pthread_mutex_unlock(&job->job_mutex); \
695 ZSTDMT_jobDescription* const job = (ZSTDMT_jobDescription*)jobDescription; in ZSTDMT_compressionJob() local
696 …ZSTD_CCtx_params jobParams = job->params; /* do not modify job->params ! copy it, modify the cop… in ZSTDMT_compressionJob()
697 ZSTD_CCtx* const cctx = ZSTDMT_getCCtx(job->cctxPool); in ZSTDMT_compressionJob()
698 RawSeqStore_t rawSeqStore = ZSTDMT_getSeq(job->seqPool); in ZSTDMT_compressionJob()
699 Buffer dstBuff = job->dstBuff; in ZSTDMT_compressionJob()
702 DEBUGLOG(5, "ZSTDMT_compressionJob: job %u", job->jobID); in ZSTDMT_compressionJob()
706 dstBuff = ZSTDMT_getBuffer(job->bufPool); in ZSTDMT_compressionJob()
[all …]
/freebsd/sys/contrib/device-tree/src/powerpc/fsl/
H A Dqoriq-sec6.0-0.dtsi42 compatible = "fsl,sec-v6.0-job-ring",
43 "fsl,sec-v5.2-job-ring",
44 "fsl,sec-v5.0-job-ring",
45 "fsl,sec-v4.4-job-ring",
46 "fsl,sec-v4.0-job-ring";
51 compatible = "fsl,sec-v6.0-job-ring",
52 "fsl,sec-v5.2-job-ring",
53 "fsl,sec-v5.0-job-ring",
54 "fsl,sec-v4.4-job-ring",
55 "fsl,sec-v4.0-job-ring";
H A Dqoriq-sec5.2-0.dtsi45 compatible = "fsl,sec-v5.2-job-ring",
46 "fsl,sec-v5.0-job-ring",
47 "fsl,sec-v4.0-job-ring";
53 compatible = "fsl,sec-v5.2-job-ring",
54 "fsl,sec-v5.0-job-ring",
55 "fsl,sec-v4.0-job-ring";
61 compatible = "fsl,sec-v5.2-job-ring",
62 "fsl,sec-v5.0-job-ring",
63 "fsl,sec-v4.0-job-ring";
69 compatible = "fsl,sec-v5.2-job-ring",
[all …]
H A Dqoriq-sec5.3-0.dtsi45 compatible = "fsl,sec-v5.3-job-ring",
46 "fsl,sec-v5.0-job-ring",
47 "fsl,sec-v4.0-job-ring";
53 compatible = "fsl,sec-v5.3-job-ring",
54 "fsl,sec-v5.0-job-ring",
55 "fsl,sec-v4.0-job-ring";
61 compatible = "fsl,sec-v5.3-job-ring",
62 "fsl,sec-v5.0-job-ring",
63 "fsl,sec-v4.0-job-ring";
69 compatible = "fsl,sec-v5.3-job-ring",
[all …]
H A Dpq3-sec4.4-0.dtsi45 compatible = "fsl,sec-v4.4-job-ring", "fsl,sec-v4.0-job-ring";
51 compatible = "fsl,sec-v4.4-job-ring", "fsl,sec-v4.0-job-ring";
57 compatible = "fsl,sec-v4.4-job-ring", "fsl,sec-v4.0-job-ring";
63 compatible = "fsl,sec-v4.4-job-ring", "fsl,sec-v4.0-job-ring";
/freebsd/sys/sys/
H A Daio.h214 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);
/freebsd/sys/contrib/device-tree/Bindings/crypto/
H A Dfsl-sec6.txt84 Definition: Must include "fsl,sec-v6.0-job-ring".
103 compatible = "fsl,sec-v6.0-job-ring";
123 compatible = "fsl,sec-v6.0-job-ring",
124 "fsl,sec-v5.2-job-ring",
125 "fsl,sec-v5.0-job-ring",
126 "fsl,sec-v4.4-job-ring",
127 "fsl,sec-v4.0-job-ring";
132 compatible = "fsl,sec-v6.0-job-ring",
133 "fsl,sec-v5.2-job-ring",
134 "fsl,sec-v5.0-job-ring",
[all …]
/freebsd/contrib/bmake/unit-tests/
H A Djob-output-long-lines.mk22 all: job-a job-b
24 job-a:
29 job-b:
/freebsd/sys/contrib/device-tree/src/arm64/freescale/
H A Dimx8qxp-ss-security.dtsi11 compatible = "fsl,imx8qxp-job-ring", "fsl,sec-v4.0-job-ring";
15 compatible = "fsl,imx8qxp-job-ring", "fsl,sec-v4.0-job-ring";
/freebsd/contrib/tcsh/nls/ja/
H A Dset161 59 カレントのjobはありません
62 60 前のjobはありません
67 65 %s中断したjobが残っています
68 66 %s止まったjobが残っています
138 136 jobが見つかりません

12345678910