/freebsd/contrib/bmake/ |
H A D | job.c | 1 /* $NetBSD: job.c,v 1.489 2025/03/08 20:15:03 rillig Exp $ */ 90 * a decent clip, since job table entries aren't 106 * job table is empty. 149 #include "job.h" 153 /* "@(#)job.c 8.2 (Berkeley) 3/19/94" */ 154 MAKE_RCSID("$NetBSD: job.c,v 1.489 2025/03/08 20:15:03 rillig Exp $"); 445 static char *targPrefix = NULL; /* To identify a job change in the output. */ 446 static Job tokenWaitJob; /* token wait pseudo-job */ 448 static Job childExitJob; /* child exit pseudo-job */ 489 Job_FlagsToString(const Job *job, cha in nfds_per_job() 492 Job_FlagsToString(const Job * job,char * buf,size_t bufsize) Job_FlagsToString() argument 503 Job *job; DumpJobs() local 559 JobCreatePipe(Job * job,int minfd) JobCreatePipe() argument 602 Job *job; JobCondPassSig() local 723 Job *job; JobFindPid() local 851 JobWriteSpecialsEchoCtl(Job * job,ShellWriter * wr,CommandFlags * inout_cmdFlags,const char * escCmd,const char ** inout_cmdTemplate) JobWriteSpecialsEchoCtl() argument 878 JobWriteSpecials(Job * job,ShellWriter * wr,const char * escCmd,bool run,CommandFlags * inout_cmdFlags,const char ** inout_cmdTemplate) JobWriteSpecials() argument 912 JobWriteCommand(Job * job,ShellWriter * wr,StringListNode * ln,const char * ucmd) JobWriteCommand() argument 1010 JobWriteCommands(Job * job) JobWriteCommands() argument 1040 JobSaveCommands(Job * job) JobSaveCommands() argument 1062 JobClosePipes(Job * job) JobClosePipes() argument 1074 DebugFailedJob(const Job * job) DebugFailedJob() argument 1098 JobFinishDoneExitedError(Job * job,WAIT_T * inout_status) JobFinishDoneExitedError() argument 1124 JobFinishDoneExited(Job * job,WAIT_T * inout_status) JobFinishDoneExited() argument 1138 JobFinishDoneSignaled(Job * job,WAIT_T status) JobFinishDoneSignaled() argument 1148 JobFinishDone(Job * job,WAIT_T * inout_status) JobFinishDone() argument 1172 JobFinish(Job * job,WAIT_T status) JobFinish() argument 1415 JobExec(Job * job,char ** argv) JobExec() argument 1569 JobMakeArgv(Job * job,char ** argv) JobMakeArgv() argument 1613 JobWriteShellCommands(Job * job,GNode * gn,bool * out_run) JobWriteShellCommands() argument 1645 Job *job; /* new job descriptor */ Job_Make() local 1822 CollectOutput(Job * job,bool finish) CollectOutput() argument 2004 Job *job; /* job descriptor for dead child */ JobReapChild() local 2060 Job *job; Job_CatchOutput() local 2530 Job *job; /* job descriptor in that element */ JobInterrupt() local 2619 Job *job; /* the job descriptor in that element */ Job_AbortAll() local 2651 Job *job; JobRestartJobs() local 2681 watchfd(Job * job) watchfd() argument 2702 clearfd(Job * job) clearfd() argument 2737 readyfd(Job * job) readyfd() argument [all...] |
H A D | trace.c | 84 Trace_Log(TrEvent event, Job *job) in Trace_Log() argument 104 if (job != NULL) { in Trace_Log() 107 Job_FlagsToString(job, flags, sizeof flags); in Trace_Log() 108 fprintf(trfile, " %s %d %s %x", job->node->name, in Trace_Log() 109 job->pid, flags, job->node->type); in Trace_Log()
|
/freebsd/crypto/openssl/crypto/async/ |
H A D | async.c | 82 ASYNC_JOB *job = NULL; in async_job_new() local 84 job = OPENSSL_zalloc(sizeof(*job)); in async_job_new() 85 if (job == NULL) { in async_job_new() 90 job->status = ASYNC_JOB_RUNNING; in async_job_new() 92 return job; in async_job_new() 95 static void async_job_free(ASYNC_JOB *job) in async_job_free() argument 97 if (job != NULL) { in async_job_free() 98 OPENSSL_free(job->funcargs); in async_job_free() 99 async_fibre_free(&job->fibrectx); in async_job_free() 100 OPENSSL_free(job); in async_job_free() [all …]
|
/freebsd/sys/kern/ |
H A D | vfs_aio.c | 306 static int aio_free_entry(struct kaiocb *job); 307 static void aio_process_rw(struct kaiocb *job); 308 static void aio_process_sync(struct kaiocb *job); 309 static void aio_process_mlock(struct kaiocb *job); 314 static int aio_queue_file(struct file *fp, struct kaiocb *job); 319 static int aio_qbio(struct proc *p, struct kaiocb *job); 321 static void aio_bio_done_notify(struct proc *userp, struct kaiocb *job); 322 static bool aio_clear_cancel_function_locked(struct kaiocb *job); 483 aio_free_entry(struct kaiocb *job) in aio_free_entry() argument 489 p = job->userproc; in aio_free_entry() [all …]
|
H A D | sys_socket.c | 97 static void soo_aio_cancel(struct kaiocb *job); 599 soaio_process_job(struct socket *so, sb_which which, struct kaiocb *job) in soaio_process_job() argument 605 struct file *fp = job->fd_file; in soaio_process_job() 612 aio_switch_vmspace(job); in soaio_process_job() 616 td->td_ucred = job->cred; in soaio_process_job() 618 job_total_nbytes = job->uiop->uio_resid + job->aio_done; in soaio_process_job() 619 done = job->aio_done; in soaio_process_job() 620 cnt = job->uiop->uio_resid; in soaio_process_job() 621 job->uiop->uio_offset = 0; in soaio_process_job() 622 job->uiop->uio_td = td; in soaio_process_job() [all …]
|
/freebsd/usr.sbin/yppush/ |
H A D | yppush_main.c | 112 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 D | jobs.c | 90 struct job { struct 103 struct job *next; /* job used after this one */ argument 108 static struct job *jobtab; /* array of jobs */ 111 static struct job *bgjob = NULL; /* last background process */ 113 static struct job *jobmru; /* most recently used job list */ 124 static void restartjob(struct job *); 126 static void freejob(struct job *); 127 static int waitcmdloop(struct job *); 128 static struct job *getjob_nonotfound(const char *); 129 static struct job *getjob(const char *); [all …]
|
H A D | jobs.h | 40 struct job; 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 *);
|
/freebsd/crypto/openssl/test/ |
H A D | asynctest.c | 82 ASYNC_JOB *job; in waitfd() local 84 job = ASYNC_get_current_job(); in waitfd() 85 if (job == NULL) in waitfd() 87 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 D | t4_ddp.c | 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) 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 D | t4_cpl_io.c | 77 static void t4_aiotx_cancel(struct kaiocb *job); 2027 jobtotid(struct kaiocb *job) in jobtotid() argument 2033 so = job->fd_file->f_data; in jobtotid() 2041 aiotx_free_job(struct kaiocb *job) in aiotx_free_job() argument 2046 if (refcount_release(&job->aio_refs) == 0) in aiotx_free_job() 2049 error = (intptr_t)job->aio_error; in aiotx_free_job() 2050 status = job->aio_sent; in aiotx_free_job() 2053 jobtotid(job), job, status, error); in aiotx_free_job() 2058 aio_cancel(job); in aiotx_free_job() 2060 aio_complete(job, -1, error); in aiotx_free_job() [all …]
|
/freebsd/crypto/openssl/doc/man3/ |
H A D | ASYNC_start_job.pod | 8 - asynchronous job management functions 17 int ASYNC_start_job(ASYNC_JOB **job, ASYNC_WAIT_CTX *ctx, int *ret, 22 ASYNC_WAIT_CTX *ASYNC_get_wait_ctx(ASYNC_JOB *job); 33 subsequent event indicates that the job can be resumed. 38 the pool, used, and then returned to the pool when the job completes. If the 57 An asynchronous job is started by calling the ASYNC_start_job() function. 58 Initially I<*job> should be NULL. I<ctx> should point to an B<ASYNC_WAIT_CTX> 61 be stored on completion of the job. I<func> represents the function that should 63 will be copied and then passed as an argument to I<func> when the job starts. 70 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 D | raideng.txt | 30 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/sys/contrib/openzfs/lib/libtpool/ |
H A D | thread_pool.c | 40 tpool_job_t *job; in delete_pool() local 61 for (job = tpool->tp_head; job != NULL; job = tpool->tp_head) { in delete_pool() 62 tpool->tp_head = job->tpj_next; in delete_pool() 63 free(job); in delete_pool() 128 tpool_job_t *job; in tpool_worker() local 178 if ((job = tpool->tp_head) != NULL && in tpool_worker() 181 func = job->tpj_func; in tpool_worker() 182 arg = job->tpj_arg; in tpool_worker() 183 tpool->tp_head = job->tpj_next; in tpool_worker() 184 if (job == tpool->tp_tail) in tpool_worker() [all …]
|
/freebsd/usr.sbin/cron/cron/ |
H A D | job.c | 31 } 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 D | zstdmt_compress.c | 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; in ZSTDMT_compressionJob() local 670 …ZSTD_CCtx_params jobParams = job->params; /* do not modify job->params ! copy it, modify the cop… in ZSTDMT_compressionJob() 671 ZSTD_CCtx* const cctx = ZSTDMT_getCCtx(job->cctxPool); in ZSTDMT_compressionJob() 672 rawSeqStore_t rawSeqStore = ZSTDMT_getSeq(job->seqPool); in ZSTDMT_compressionJob() 673 buffer_t dstBuff = job->dstBuff; in ZSTDMT_compressionJob() 679 dstBuff = ZSTDMT_getBuffer(job->bufPool); in ZSTDMT_compressionJob() 681 …job->dstBuff = dstBuff; /* this value can be read in ZSTDMT_flush, when it copies the whole job … in ZSTDMT_compressionJob() [all …]
|
/freebsd/sys/contrib/device-tree/src/powerpc/fsl/ |
H A D | qoriq-sec6.0-0.dtsi | 42 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 D | qoriq-sec5.2-0.dtsi | 45 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 D | qoriq-sec5.3-0.dtsi | 45 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 D | pq3-sec4.4-0.dtsi | 45 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";
|
H A D | qoriq-sec4.2-0.dtsi | 45 compatible = "fsl,sec-v4.2-job-ring", 46 "fsl,sec-v4.0-job-ring"; 52 compatible = "fsl,sec-v4.2-job-ring", 53 "fsl,sec-v4.0-job-ring"; 59 compatible = "fsl,sec-v4.2-job-ring", 60 "fsl,sec-v4.0-job-ring"; 66 compatible = "fsl,sec-v4.2-job-ring", 67 "fsl,sec-v4.0-job-ring";
|
/freebsd/sys/contrib/device-tree/Bindings/crypto/ |
H A D | fsl-sec6.txt | 84 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/sys/sys/ |
H A D | aio.h | 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);
|
/freebsd/contrib/bmake/unit-tests/ |
H A D | job-output-long-lines.mk | 22 all: job-a job-b 24 job-a: 29 job-b:
|
/freebsd/contrib/tcsh/nls/ja/ |
H A D | set1 | 61 59 カレントのjobはありません 62 60 前のjobはありません 67 65 %s中断したjobが残っています 68 66 %s止まったjobが残っています 138 136 jobが見つかりません
|