/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...] |
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_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_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_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...] |
/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...] |
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_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...] |
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.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...] |
/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...] |
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...] |