HomeSort by: relevance | last modified time | path
    Searched defs:job (Results 1 - 25 of 27) sorted by relevancy

1 2

  /src/usr.bin/make/unit-tests/
job-output-long-lines.mk 1 # $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-b
    [all...]
  /src/sys/external/bsd/drm2/dist/drm/amd/amdgpu/
amdgpu_job.c 39 struct amdgpu_job *job = to_amdgpu_job(s_job); local in function:amdgpu_job_timedout
44 if (amdgpu_ring_soft_recovery(ring, job->vmid, s_job->s_fence->parent)) {
50 amdgpu_vm_get_task_info(ring->adev, job->pasid, &ti);
52 job->base.sched->name, atomic_read(&ring->fence_drv.last_seq),
58 amdgpu_device_gpu_recover(ring->adev, job);
64 struct amdgpu_job **job, struct amdgpu_vm *vm)
73 *job = kzalloc(size, GFP_KERNEL);
74 if (!*job)
81 (*job)->base.sched = &adev->rings[0]->sched;
82 (*job)->vm = vm
126 struct amdgpu_job *job = to_amdgpu_job(s_job); local in function:amdgpu_job_free_cb
191 struct amdgpu_job *job = to_amdgpu_job(sched_job); local in function:amdgpu_job_dependency
223 struct amdgpu_job *job; local in function:amdgpu_job_run
    [all...]
amdgpu_jpeg.c 146 struct amdgpu_job *job; local in function:amdgpu_jpeg_dec_set_reg
152 r = amdgpu_job_alloc_with_ib(ring->adev, ib_size_dw * 4, &job);
156 ib = &job->ibs[0];
166 r = amdgpu_job_submit_direct(job, ring, &f);
177 amdgpu_job_free(job);
amdgpu_vcn.c 393 struct amdgpu_job *job; local in function:amdgpu_vcn_dec_send_msg
398 r = amdgpu_job_alloc_with_ib(adev, 64, &job);
402 ib = &job->ibs[0];
416 r = amdgpu_job_submit_direct(job, ring, &f);
431 amdgpu_job_free(job);
561 struct amdgpu_job *job; local in function:amdgpu_vcn_enc_get_create_msg
567 r = amdgpu_job_alloc_with_ib(ring->adev, ib_size_dw * 4, &job);
571 ib = &job->ibs[0];
594 r = amdgpu_job_submit_direct(job, ring, &f);
605 amdgpu_job_free(job);
614 struct amdgpu_job *job; local in function:amdgpu_vcn_enc_get_destroy_msg
    [all...]
amdgpu_amdkfd.c 571 struct amdgpu_job *job; local in function:amdgpu_amdkfd_submit_ib
593 ret = amdgpu_job_alloc(adev, 1, &job, NULL);
597 ib = &job->ibs[0];
604 job->vmid = vmid;
606 ret = amdgpu_ib_schedule(ring, 1, ib, job, &f);
616 amdgpu_job_free(job);
amdgpu_gmc_v10_0.c 346 struct amdgpu_job *job; local in function:gmc_v10_0_flush_gpu_tlb
377 r = amdgpu_job_alloc_with_ib(adev, 16 * 4, &job);
381 job->vm_pd_addr = amdgpu_gmc_pd_addr(adev->gart.bo);
382 job->vm_needs_flush = true;
383 job->ibs->ptr[job->ibs->length_dw++] = ring->funcs->nop;
384 amdgpu_ring_pad_ib(ring, &job->ibs[0]);
385 r = amdgpu_job_submit(job, &adev->mman.entity,
398 amdgpu_job_free(job);
amdgpu_vce.c 450 struct amdgpu_job *job; local in function:amdgpu_vce_get_create_msg
456 r = amdgpu_job_alloc_with_ib(ring->adev, ib_size_dw * 4, &job);
460 ib = &job->ibs[0];
501 r = amdgpu_job_submit_direct(job, ring, &f);
511 amdgpu_job_free(job);
529 struct amdgpu_job *job; local in function:amdgpu_vce_get_destroy_msg
534 r = amdgpu_job_alloc_with_ib(ring->adev, ib_size_dw * 4, &job);
538 ib = &job->ibs[0];
562 r = amdgpu_job_submit_direct(job, ring, &f);
564 r = amdgpu_job_submit(job, &ring->adev->vce.entity
    [all...]
amdgpu_cs.c 61 /* One for TTM and one for the CS job */
137 /* skip guilty context job */
235 ret = amdgpu_job_alloc(p->adev, num_ibs, &p->job, vm);
239 if (p->ctx->vram_lost_counter != p->job->vram_lost_counter) {
245 p->job->uf_addr = uf_offset;
549 /* One for TTM and one for the CS job */
639 p->job->gds_base = amdgpu_bo_gpu_offset(gds) >> PAGE_SHIFT;
640 p->job->gds_size = amdgpu_bo_size(gds) >> PAGE_SHIFT;
643 p->job->gws_base = amdgpu_bo_gpu_offset(gws) >> PAGE_SHIFT;
644 p->job->gws_size = amdgpu_bo_size(gws) >> PAGE_SHIFT
1220 struct amdgpu_job *job; local in function:amdgpu_cs_submit
    [all...]
amdgpu_debugfs.c 1116 struct amdgpu_job *job; local in function:amdgpu_ib_preempt_mark_partial_job
1136 job = to_amdgpu_job(s_job);
1137 if (job->fence == fence)
1138 /* mark the job as preempted */
1139 job->preemption_status |= AMDGPU_IB_PREEMPTED;
amdgpu_uvd_v6_0.c 218 struct amdgpu_job *job; local in function:uvd_v6_0_enc_get_create_msg
224 r = amdgpu_job_alloc_with_ib(ring->adev, ib_size_dw * 4, &job);
228 ib = &job->ibs[0];
251 r = amdgpu_job_submit_direct(job, ring, &f);
261 amdgpu_job_free(job);
281 struct amdgpu_job *job; local in function:uvd_v6_0_enc_get_destroy_msg
287 r = amdgpu_job_alloc_with_ib(ring->adev, ib_size_dw * 4, &job);
291 ib = &job->ibs[0];
314 r = amdgpu_job_submit_direct(job, ring, &f);
324 amdgpu_job_free(job);
    [all...]
amdgpu_uvd_v7_0.c 228 struct amdgpu_job *job; local in function:uvd_v7_0_enc_get_create_msg
234 r = amdgpu_job_alloc_with_ib(ring->adev, ib_size_dw * 4, &job);
238 ib = &job->ibs[0];
261 r = amdgpu_job_submit_direct(job, ring, &f);
271 amdgpu_job_free(job);
290 struct amdgpu_job *job; local in function:uvd_v7_0_enc_get_destroy_msg
296 r = amdgpu_job_alloc_with_ib(ring->adev, ib_size_dw * 4, &job);
300 ib = &job->ibs[0];
323 r = amdgpu_job_submit_direct(job, ring, &f);
333 amdgpu_job_free(job);
    [all...]
amdgpu_uvd.c 912 struct amdgpu_ib *ib = &ctx->parser->job->ibs[ctx->ib_idx];
959 struct amdgpu_ib *ib = &ctx->parser->job->ibs[ctx->ib_idx];
1001 struct amdgpu_ib *ib = &parser->job->ibs[ib_idx];
1004 parser->job->vm = NULL;
1043 struct amdgpu_job *job; local in function:amdgpu_uvd_send_msg
1065 r = amdgpu_job_alloc_with_ib(adev, 64, &job);
1080 ib = &job->ibs[0];
1103 r = amdgpu_job_submit_direct(job, ring, &f);
1107 r = amdgpu_sync_resv(adev, &job->sync, bo->tbo.base.resv,
1112 r = amdgpu_job_submit(job, &adev->uvd.entity
    [all...]
amdgpu_vm.h 224 * @job: job to used for hw submission
226 struct amdgpu_job *job; member in struct:amdgpu_vm_update_params
388 int amdgpu_vm_flush(struct amdgpu_ring *ring, struct amdgpu_job *job, bool need_pipe_sync);
436 struct amdgpu_job *job);
amdgpu_ttm.c 2181 struct amdgpu_job *job; local in function:amdgpu_map_buffer
2199 r = amdgpu_job_alloc_with_ib(adev, num_dw * 4 + num_bytes, &job);
2204 src_addr += job->ibs[0].gpu_addr;
2208 amdgpu_emit_copy_buffer(adev, &job->ibs[0], src_addr,
2211 amdgpu_ring_pad_ib(ring, &job->ibs[0]);
2212 WARN_ON(job->ibs[0].length_dw > num_dw);
2218 flags, &job->ibs[0].ptr[num_dw]);
2223 &job->ibs[0].ptr[num_dw]);
2228 r = amdgpu_job_submit(job, &adev->mman.entity,
2238 amdgpu_job_free(job);
2249 struct amdgpu_job *job; local in function:amdgpu_copy_buffer
2325 struct amdgpu_job *job; local in function:amdgpu_fill_buffer
    [all...]
  /src/tests/rump/kernspace/
threadpool.c 99 struct threadpool_job job; member in struct:test_job_data
105 test_job_func_schedule(struct threadpool_job *job)
108 container_of(job, struct test_job_data, job);
114 threadpool_job_done(job);
119 test_job_func_cancel(struct threadpool_job *job)
122 container_of(job, struct test_job_data, job);
133 threadpool_job_done(job);
142 threadpool_job_init(&data->job, fn, &data->mutex, "testjob")
    [all...]
  /src/sys/external/bsd/drm2/dist/drm/scheduler/
sched_entity.c 50 * @guilty: atomic_t set to 1 when a job on this queue
114 * Return true if entity could provide a job.
240 struct drm_sched_job *job = container_of(cb, struct drm_sched_job, local in function:drm_sched_entity_kill_jobs_cb
243 drm_sched_fence_finished(job->s_fence);
244 WARN_ON(job->s_fence->parent);
245 job->sched->ops->free_job(job);
258 struct drm_sched_job *job; local in function:drm_sched_entity_kill_jobs
261 while ((job = to_drm_sched_job(spsc_queue_pop(&entity->job_queue)))) {
262 struct drm_sched_fence *s_fence = job->s_fence
    [all...]
sched_main.c 34 * backend operations to the scheduler like submitting a job to hardware run queue,
35 * returning the dependencies of a job etc.
127 * drm_sched_rq_select_entity - Select an entity which could provide a job to run
224 * drm_sched_suspend_timeout - Suspend scheduler job timeout
261 * drm_sched_resume_timeout - Resume scheduler job timeout
299 struct drm_sched_job *job; local in function:drm_sched_job_timedout
306 job = list_first_entry_or_null(&sched->ring_mirror_list,
309 if (job) {
311 * Remove the bad job so it cannot be freed by concurrent
315 list_del_init(&job->node)
694 struct drm_sched_job *job; local in function:drm_sched_get_cleanup_job
    [all...]
  /src/bin/sh/
jobs.h 50 #define SHOW_ISSIG 0x20 /* job was signalled */
51 #define SHOW_NO_FREE 0x40 /* do not free job */
56 * A job structure contains information about a job. A job is either a
69 struct job { struct
74 pid_t pgrp; /* process group of this job */
82 #define JOBWANTED 2 /* set if this is a job being sought */
83 #define JPIPEFAIL 4 /* set if -o pipefail when job created */
85 char jobctl; /* job running under job control *
    [all...]
jobs.c 95 static struct job *jobtab; /* array of jobs */
101 static int curjob = -1; /* current job */
105 STATIC void restartjob(struct job *);
106 STATIC void freejob(struct job *);
107 STATIC struct job *getjob(const char *, int);
108 STATIC int dowait(int, struct job *, struct job **);
112 STATIC int jobstatus(const struct job *, int);
113 STATIC int waitproc(int, struct job *, int *);
154 * Turn job control on and off
702 struct job *job, *last; local in function:waitcmd
944 int pg = 0, onep = 0, job = 0; local in function:jobidcmd
    [all...]
  /src/sys/arch/mips/atheros/dev/
arspi.c 93 #define JOB_WAIT 0x8 /* job must wait for WIP bits */
260 struct arspi_job *job = st->st_busprivate; local in function:arspi_transfer
262 kmem_free(job, sizeof(*job));
283 struct arspi_job *job; local in function:arspi_sched
297 job = st->st_busprivate;
306 if (job->job_flags & JOB_WAIT) {
312 } else if (job->job_flags & JOB_WREN) {
319 PUTREG(sc, ARSPI_REG_DATA, job->job_data);
322 PUTREG(sc, ARSPI_REG_OPCODE, job->job_opcode
347 struct arspi_job *job; local in function:arspi_done
466 struct arspi_job *job; local in function:arspi_make_job
579 struct arspi_job *job = st->st_busprivate; local in function:arspi_update_job
609 struct arspi_job *job = st->st_busprivate; local in function:arspi_finish_job
    [all...]
  /src/usr.sbin/rpc.pcnfsd/
pcnfsd_print.c 624 ** If the first job is actually printing the first line
632 ** job ID, field 2 is the submitter, and field 3 is the size.
646 char *job; local in function:build_pr_queue
667 job = strtok(buff, delims);
668 if (!job)
693 curr->id = strdup(job);
725 char *job; local in function:build_pr_queue
776 job = cp;
792 curr->id = strdup(job);
1036 * pr_cancel: cancel a print job
    [all...]
  /src/sys/kern/
kern_threadpool.c 37 * can be given jobs to assign to a worker thread. Scheduling a job in
76 * touching remote CPUs' memory when scheduling a job, but that still
141 "struct threadpool *"/*pool*/, "struct threadpool_job *"/*job*/);
143 "struct threadpool *"/*pool*/, "struct threadpool_job *"/*job*/);
145 "struct threadpool *"/*pool*/, "struct threadpool_job *"/*job*/);
148 "struct threadpool_job *"/*job*/,
159 "struct threadpool_job *"/*job*/);
162 "struct threadpool_job *"/*job*/,
172 "struct threadpool *"/*pool*/, "struct threadpool_job *"/*job*/);
752 threadpool_job_init(struct threadpool_job *job, threadpool_job_fn_t fn
1043 struct threadpool_job *const job = TAILQ_FIRST(&pool->tp_jobs); local in function:threadpool_dispatcher_thread
1136 struct threadpool_job *const job = thread->tpt_job; local in function:threadpool_thread
    [all...]
  /src/bin/ksh/
jobs.c 4 * Process and job control
109 #define JP_MEDIUM 2 /* print [job-num] -/+ command */
110 #define JP_LONG 3 /* print [job-num] -/+ pid command */
117 /* Job.flags values */
118 #define JF_STARTED 0x001 /* set when all processes in job are started */
119 #define JF_WAITING 0x002 /* set if j_waitj() is waiting on job */
131 typedef struct job Job;
132 struct job { struct
133 Job *next; /* next job in list *
134 int job; \/* job number: %n *\/ member in struct:job
1548 int len, job = 0; local in function:j_lookup
    [all...]
sh.h 294 FMONITOR, /* -m: job control monitoring */
301 FNOTIFY, /* -b: asynchronous job completion notification */
473 void *job; /* 0 or job of co-process using input pipe */ member in struct:coproc
  /src/usr.bin/make/
job.c 1 /* $NetBSD: job.c,v 1.519 2025/08/04 15:40:39 sjg Exp $ */
93 * job table is empty.
119 #include "job.h"
126 /* "@(#)job.c 8.2 (Berkeley) 3/19/94" */
127 MAKE_RCSID("$NetBSD: job.c,v 1.519 2025/08/04 15:40:39 sjg Exp $");
155 JOB_ST_FREE, /* Job is available */
156 JOB_ST_SET_UP, /* Job is allocated but otherwise invalid */
157 JOB_ST_RUNNING, /* Job is running, pid valid */
158 JOB_ST_FINISHED /* Job is done (i.e. after SIGCHLD) */
169 * A Job manages the shell commands that are run to create a single target
575 const Job *job; local in function:JobTable_Dump
680 Job *job; local in function:JobCondPassSig
794 Job *job; local in function:JobFindPid
1676 Job *job; local in function:Job_Make
1906 Job *job; local in function:JobReapChild
1966 Job *job; local in function:ContinueJobs
1982 Job *job; local in function:Job_CatchOutput
2397 Job *job; local in function:JobInterrupt
2475 Job *job; local in function:Job_AbortAll
    [all...]

Completed in 216 milliseconds

1 2