Home
last modified time | relevance | path

Searched refs:jobs (Results 1 – 25 of 63) sorted by relevance

123

/linux-6.15/scripts/
H A Djobserver-exec15 jobs = b"" variable
48 jobs += slot
54 if len(jobs):
55 os.write(writer, jobs)
59 claim = len(jobs) + 1
74 if len(jobs):
75 os.write(writer, jobs)
H A Dgenerate_initcall_order.pl18 my $jobs = {}; # child process pid -> file handle
169 if (!exists($jobs->{$pid})) {
173 my $fh = $jobs->{$pid};
181 delete($jobs->{$pid});
202 $jobs->{$pid} = $fh;
213 if (scalar(keys(%{$jobs})) >= $njobs) {
219 while (scalar(keys(%{$jobs})) > 0) {
/linux-6.15/drivers/gpu/drm/panfrost/
H A Dpanfrost_job.c173 pfdev->jobs[slot][0] = pfdev->jobs[slot][1]; in panfrost_dequeue_job()
174 pfdev->jobs[slot][1] = NULL; in panfrost_dequeue_job()
186 if (!pfdev->jobs[slot][0]) { in panfrost_enqueue_job()
187 pfdev->jobs[slot][0] = job; in panfrost_enqueue_job()
191 WARN_ON(pfdev->jobs[slot][1]); in panfrost_enqueue_job()
192 pfdev->jobs[slot][1] = job; in panfrost_enqueue_job()
584 if (!failed[j] || !pfdev->jobs[j][0]) in panfrost_job_handle_irq()
587 if (pfdev->jobs[j][0]->jc == 0) { in panfrost_job_handle_irq()
700 for (j = 0; j < ARRAY_SIZE(pfdev->jobs[0]) && pfdev->jobs[i][j]; j++) { in panfrost_reset()
702 pfdev->jobs[i][j]->is_profiled) in panfrost_reset()
[all …]
H A DTODO11 - Compute job support. So called 'compute only' jobs need to be plumbed up to
/linux-6.15/drivers/gpu/drm/panthor/
H A Dpanthor_drv.c302 struct panthor_job_ctx *jobs; member
457 ctx->jobs[idx].job = job; in panthor_submit_ctx_add_job()
463 ctx->jobs[idx].syncop_count = syncs->count; in panthor_submit_ctx_add_job()
681 drm_sched_job_arm(ctx->jobs[i].job); in panthor_submit_ctx_add_deps_and_arm_jobs()
702 upd_resvs(&ctx->exec, ctx->jobs[i].job); in panthor_submit_ctx_push_jobs()
706 ctx->jobs[i].job = NULL; in panthor_submit_ctx_push_jobs()
723 ctx->jobs = kvmalloc_array(job_count, sizeof(*ctx->jobs), in panthor_submit_ctx_init()
725 if (!ctx->jobs) in panthor_submit_ctx_init()
754 job_put(ctx->jobs[i].job); in panthor_submit_ctx_cleanup()
755 kvfree(ctx->jobs[i].syncops); in panthor_submit_ctx_cleanup()
[all …]
/linux-6.15/drivers/md/
H A Ddm-kcopyd.c417 static struct kcopyd_job *pop_io_job(struct list_head *jobs, in pop_io_job() argument
426 list_for_each_entry(job, jobs, list) { in pop_io_job()
443 static struct kcopyd_job *pop(struct list_head *jobs, in pop() argument
450 if (!list_empty(jobs)) { in pop()
451 if (jobs == &kc->io_jobs) in pop()
452 job = pop_io_job(jobs, kc); in pop()
454 job = list_entry(jobs->next, struct kcopyd_job, list); in pop()
469 list_add_tail(&job->list, jobs); in push()
479 list_add(&job->list, jobs); in push_head()
617 while ((job = pop(jobs, kc))) { in process_jobs()
[all …]
/linux-6.15/Documentation/core-api/
H A Dpadata.rst9 Padata is a mechanism by which the kernel can farm jobs out to be done in
16 Padata also supports multithreaded jobs, splitting up the job evenly while load
25 The first step in using padata to run serialized jobs is to set up a
26 padata_instance structure for overall control of how jobs are to be run::
39 jobs to be serialized independently. A padata_instance may have one or more
40 padata_shells associated with it, each allowing a separate series of jobs.
45 The CPUs used to run jobs can be changed in two ways, programmatically with
52 parallel cpumask describes which processors will be used to execute jobs
116 true parallelism is achieved by submitting multiple jobs. parallel() runs with
141 pains to ensure that jobs are completed in the order in which they were
[all …]
/linux-6.15/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_cs.c296 num_ibs[i], &p->jobs[i]); in amdgpu_cs_pass1()
348 job = p->jobs[r]; in amdgpu_cs_p2_ib()
584 p->jobs[i]->csa_va = shadow->csa_va; in amdgpu_cs_p2_shadow()
586 p->jobs[i]->init_shadow = in amdgpu_cs_p2_shadow()
1178 job = p->jobs[i]; in amdgpu_cs_vm_handling()
1298 if (p->jobs[i] == leader) in amdgpu_cs_submit()
1343 if (p->jobs[i] == leader) in amdgpu_cs_submit()
1371 trace_amdgpu_cs_ioctl(p->jobs[i]); in amdgpu_cs_submit()
1373 p->jobs[i] = NULL; in amdgpu_cs_submit()
1408 if (parser->jobs[i]) in amdgpu_cs_parser_fini()
[all …]
H A Damdgpu_cs.h62 struct amdgpu_job *jobs[AMDGPU_CS_GANG_SIZE]; member
/linux-6.15/drivers/gpu/drm/imagination/
H A Dpvr_job.c714 if (!args->jobs.count) in pvr_submit_jobs()
717 err = PVR_UOBJ_GET_ARRAY(job_args, &args->jobs); in pvr_submit_jobs()
721 job_data = kvmalloc_array(args->jobs.count, sizeof(*job_data), in pvr_submit_jobs()
728 err = pvr_job_data_init(pvr_dev, pvr_file, job_args, &args->jobs.count, in pvr_submit_jobs()
733 jobs_alloced = args->jobs.count; in pvr_submit_jobs()
747 err = prepare_job_syncs_for_each(pvr_file, job_data, &args->jobs.count, in pvr_submit_jobs()
752 err = prepare_job_resvs_for_each(&exec, job_data, args->jobs.count); in pvr_submit_jobs()
756 err = pvr_jobs_link_geom_frag(job_data, &args->jobs.count); in pvr_submit_jobs()
763 update_job_resvs_for_each(job_data, args->jobs.count); in pvr_submit_jobs()
764 push_jobs(job_data, args->jobs.count); in pvr_submit_jobs()
/linux-6.15/Documentation/ABI/testing/
H A Dsysfs-driver-panthor-profiling9 1: Enable GPU cycle measurements for running jobs.
10 2: Enable GPU timestamp sampling for running jobs.
/linux-6.15/Documentation/gpu/
H A Ddrm-compute.rst10 Some hardware may schedule compute jobs, and have no way to pre-empt them, or
16 As with normal compute jobs, dma-fence may not be used at all. In this case,
34 older compute jobs to start a new one.
43 into cgroups, that will allow jobs to run next to each other without
H A Dautomated_testing.rst115 5. The various jobs will be run and when the pipeline is finished, all jobs
154 jobs from a branch in the target tree that is named as
165 otherwise pass, one can disable all jobs that would be submitted to that farm
/linux-6.15/tools/testing/kunit/
H A Dkunit.py46 jobs: int
94 success = linux.build_kernel(request.jobs,
474 jobs=cli_args.jobs,
512 jobs=cli_args.jobs)
H A Dkunit_kernel.py74 def make(self, jobs: int, build_dir: str, make_options: Optional[List[str]]) -> None:
76 'ARCH=' + self._linux_arch, 'O=' + build_dir, '--jobs=' + str(jobs)]
331 def build_kernel(self, jobs: int, build_dir: str, make_options: Optional[List[str]]) -> bool:
334 self._ops.make(jobs, build_dir, make_options)
/linux-6.15/Documentation/admin-guide/device-mapper/
H A Dkcopyd.rst10 to set aside for their copy jobs. This is done with a call to
43 When a user is done with all their copy jobs, they should call
/linux-6.15/tools/testing/selftests/net/
H A Dudpgso_bench.sh52 if [[ "${jobs}" != "" ]]; then
H A Dudpgro_bench.sh16 [ -n "${jobs}" ] && kill -INT ${jobs} 2>/dev/null
H A Dudpgro_frglist.sh16 [ -n "${jobs}" ] && kill -INT ${jobs} 2>/dev/null
/linux-6.15/Documentation/dev-tools/kunit/
H A Drun_wrapper.rst33 ./tools/testing/kunit/kunit.py run --timeout=30 --jobs=`nproc --all`
36 - ``--jobs`` sets the number of threads to build the kernel.
231 --jobs=12 \
304 - ``--jobs``: Specifies the number of jobs (commands) to run simultaneously.
/linux-6.15/tools/perf/scripts/python/
H A Dparallel-perf.py724 if self.jobs < 0 or self.nr < 0 or self.interval < 0:
728 if self.jobs == 0:
729 self.jobs = NumberOfCPUs()
734 self.nr = self.jobs
835 result = RunWork(self.worklist, self.jobs, verbosity=self.verbosity)
/linux-6.15/Documentation/admin-guide/cgroup-v1/
H A Dcpusets.rst87 can benefit from explicitly placing jobs on properly sized subsets of
100 executing jobs. The location of the running jobs pages may also be moved
252 jobs can share common kernel data, such as file system pages, while
254 construct a large mem_exclusive cpuset to hold all the jobs, and
268 This enables batch managers monitoring jobs running in dedicated
273 submitted jobs, which may choose to terminate or re-prioritize jobs that
381 This policy can provide substantial improvements for jobs that need
384 the several nodes in the jobs cpuset in order to fit. Without this
385 policy, especially for jobs that might have one thread reading in the
386 data set, the memory allocation across the nodes in the jobs cpuset
[all …]
H A Dmemcg_test.rst223 run jobs under child_a and child_b
225 create/delete following groups at random while jobs are running::
231 running new jobs in new group is also good.
/linux-6.15/drivers/gpu/drm/ci/
H A Dcontainer.yml22 # Disable container jobs that we won't use
/linux-6.15/Documentation/translations/zh_CN/mm/
H A Dhwpoison.rst127 echo `jobs -p` > /sys/fs/cgroup/mem/hwpoison/tasks

123