Home
last modified time | relevance | path

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

1234

/openbsd/usr.sbin/cron/
H A Djob.c40 static SIMPLEQ_HEAD(job_queue, _job) jobs = SIMPLEQ_HEAD_INITIALIZER(jobs);
48 SIMPLEQ_FOREACH(j, &jobs, entries) { in job_add()
66 SIMPLEQ_INSERT_TAIL(&jobs, j, entries); in job_add()
74 SIMPLEQ_FOREACH(j, &jobs, entries) { in job_remove()
77 SIMPLEQ_REMOVE_HEAD(&jobs, entries); in job_remove()
79 SIMPLEQ_REMOVE_AFTER(&jobs, prev, entries); in job_remove()
93 SIMPLEQ_FOREACH(j, &jobs, entries) { in job_exit()
96 SIMPLEQ_REMOVE_HEAD(&jobs, entries); in job_exit()
113 while ((j = SIMPLEQ_FIRST(&jobs))) { in job_runqueue()
114 SIMPLEQ_REMOVE_HEAD(&jobs, entries); in job_runqueue()
[all …]
H A Datrun.c98 TAILQ_INIT(&new_db->jobs); in scan_atjobs()
122 while ((job = TAILQ_FIRST(&new_db->jobs))) { in scan_atjobs()
123 TAILQ_REMOVE(&new_db->jobs, job, entries); in scan_atjobs()
134 TAILQ_INSERT_TAIL(&new_db->jobs, job, entries); in scan_atjobs()
142 while ((job = TAILQ_FIRST(&old_db->jobs))) { in scan_atjobs()
143 TAILQ_REMOVE(&old_db->jobs, job, entries); in scan_atjobs()
182 TAILQ_REMOVE(&db->jobs, job, entries); in atrun()
188 TAILQ_REMOVE(&db->jobs, job, entries); in atrun()
195 TAILQ_REMOVE(&db->jobs, job, entries); in atrun()
213 TAILQ_REMOVE(&db->jobs, job, entries); in atrun()
[all …]
H A Dstructs.h73 TAILQ_HEAD(atjob_list, _atjob) jobs;
/openbsd/usr.sbin/smtpd/
H A Drunq.c31 TAILQ_HEAD(, job) jobs;
47 job = TAILQ_FIRST(&runq->jobs); in runq_reset()
70 while((job = TAILQ_FIRST(&runq->jobs))) { in runq_timeout()
73 TAILQ_REMOVE(&runq->jobs, job, entry); in runq_timeout()
92 TAILQ_INIT(&runq->jobs); in runq_init()
121 TAILQ_FOREACH(tmpjob, &runq->jobs, entry) { in runq_schedule_at()
127 TAILQ_INSERT_TAIL(&runq->jobs, job, entry); in runq_schedule_at()
142 first = TAILQ_FIRST(&runq->jobs); in runq_cancel()
143 TAILQ_FOREACH(job, &runq->jobs, entry) { in runq_cancel()
145 TAILQ_REMOVE(&runq->jobs, job, entry); in runq_cancel()
[all …]
/openbsd/gnu/usr.bin/perl/cpan/Test-Harness/t/
H A Dscheduler.t39 jobs => 1,
44 jobs => 1,
49 jobs => 2,
54 jobs => 1000,
58 jobs => 1000,
63 jobs => 1,
68 jobs => 2,
73 jobs => 1000,
84 $test->{jobs}
193 my ( $name, $tests, $rules, $jobs ) = @_;
[all …]
H A Dharness-bailout.t182 my @jobs = map
186 my $self = { %args, jobs => [ @jobs ] };
190 sub get_all { @{ shift->{jobs} || [] }; }
191 sub get_job { shift( @{ shift->{jobs} } ); }
210 jobs => $arg{jobs} || 1,
216 my $harness = create_harness( jobs => 1 );
222 $harness = create_harness( jobs => 2 );
H A Denv_opts.t22 is( $harness->jobs, 4, "set jobs correctly" );
34 is( $harness->jobs, 4, "set jobs correctly" );
48 is( $harness->jobs, 4, "set jobs correctly" );
/openbsd/gnu/usr.bin/perl/cpan/Test-Harness/lib/TAP/
H A DHarness.pm80 jobs => sub { shift; shift },
448 $self->jobs(1) unless defined $self->jobs;
466 my %formatter_args = ( jobs => $self->jobs );
615 my $jobs = $self->jobs;
622 while ( $mux->parsers < $jobs ) {
742 my $jobs = $self->jobs;
752 if ( $self->jobs > 1 ) {
/openbsd/gnu/usr.bin/perl/Porting/
H A Dbisect.pl16 my ($start, $end, $validate, $usage, $bad, $jobs, $make, $gold,
23 'jobs|j=i' => \$jobs, 'make=s' => \$make, 'gold=s' => \$gold,
55 if (!defined $jobs &&
71 $jobs = defined $cpus ? $cpus + 1 : 2;
74 unshift @ARGV, '--jobs', $jobs if defined $jobs;
H A Dbench.pl464 jobs => 1,
491 'jobs|j=i' => \$OPTS{jobs},
1165 my @jobs;
1197 push @jobs, {
1216 my $max_jobs = $OPTS{jobs};
1222 my $njobs = scalar @jobs;
1226 while (@jobs or $running) {
1230 scalar(@jobs), $running;
1235 while (@jobs && $running < $max_jobs) {
1236 my $job = shift @jobs;
/openbsd/usr.sbin/pkg_add/OpenBSD/
H A DPkgSign.pm120 my $jobs = {};
124 if (!defined $jobs->{$pid}) {
129 $jobs->{$pid});
132 &$display($jobs->{$pid});
134 delete $jobs->{$pid};
145 $jobs->{$pid} = $name;
/openbsd/gnu/llvm/llvm/utils/
H A Dllvm-compilers-check254 def __init__(self, work_queue, jobs, argument
259 self.jobs = jobs
404 llvm=dict(debug=["-j" + str(self.jobs)],
405 release=["-j" + str(self.jobs)],
406 paranoid=["-j" + str(self.jobs)]),
407 dragonegg=dict(debug=["-j" + str(self.jobs)],
408 release=["-j" + str(self.jobs)],
596 jobs = options.jobs // options.threads variable
597 if jobs == 0:
598 jobs = 1 variable
[all …]
H A Dupdate_any_test_checks.py63 with ThreadPoolExecutor(max_workers=config.jobs) as executor:
64 jobs = []
85 jobs.append((testname, future))
87 for testname, future in jobs:
/openbsd/gnu/usr.bin/perl/cpan/Test-Harness/t/compat/
H A Denv_opts.t22 is( $harness->jobs, 4, "set jobs correctly" );
33 is( $harness->jobs, 4, "set jobs correctly" );
47 is( $harness->jobs, 4, "set jobs correctly" );
/openbsd/gnu/usr.bin/perl/cpan/Test-Harness/lib/TAP/Parser/
H A DScheduler.pm314 my @jobs = $self->_find_next_job( $self->{schedule} );
315 if (@jobs) {
317 return $jobs[0];
368 if ( my @jobs = $self->_find_next_job( $seq->[0] ) ) {
369 return @jobs;
/openbsd/usr.bin/at/
H A Dat.c440 char **jobs; in list_jobs() local
452 jobs = NULL; in list_jobs()
465 jobs[jobs_len++] = argv[i]; in list_jobs()
617 char **jobs, *ep; in process_jobs() local
628 jobs = NULL; in process_jobs()
640 jobs[jobs_len++] = argv[i]; in process_jobs()
672 if (jobs[i] != NULL && in process_jobs()
674 jobs[i] = NULL; in process_jobs()
730 if (jobs[i] != NULL) { in process_jobs()
732 warnx("%s: no such job", jobs[i]); in process_jobs()
[all …]
/openbsd/gnu/llvm/libcxx/docs/
H A DAddingNewCIJobs.rst13 libc++ uses Buildkite for running its CI. Setting up new CI jobs is easy, and
14 these jobs can run either on our existing infrastructure, or on your own.
24 Take a look at how the surrounding jobs are defined and do something similar.
63 for all CI jobs. This allows the overall pipeline to finish in a reasonable
65 velocity. We also try to make sure that jobs run on reliable infrastructure in
68 We may be reluctant to add and support CI jobs that take a long time to finish
/openbsd/sys/dev/pci/drm/amd/amdgpu/
H A Damdgpu_cs.c296 num_ibs[i], &p->jobs[i]); in amdgpu_cs_pass1()
347 job = p->jobs[r]; in amdgpu_cs_p2_ib()
583 p->jobs[i]->csa_va = shadow->csa_va; in amdgpu_cs_p2_shadow()
585 p->jobs[i]->init_shadow = in amdgpu_cs_p2_shadow()
1171 job = p->jobs[i]; in amdgpu_cs_vm_handling()
1290 if (p->jobs[i] == leader) in amdgpu_cs_submit()
1335 if (p->jobs[i] == leader) in amdgpu_cs_submit()
1363 trace_amdgpu_cs_ioctl(p->jobs[i]); in amdgpu_cs_submit()
1365 p->jobs[i] = NULL; in amdgpu_cs_submit()
1400 if (parser->jobs[i]) in amdgpu_cs_parser_fini()
[all …]
H A Damdgpu_cs.h62 struct amdgpu_job *jobs[AMDGPU_CS_GANG_SIZE]; member
/openbsd/gnu/usr.bin/perl/cpan/Test-Harness/lib/App/
H A DProve.pm239 'j|jobs=i' => \$self->{jobs},
309 if ( my $jobs = $self->jobs ) {
310 $args{jobs} = $jobs;
/openbsd/gnu/llvm/llvm/tools/opt-viewer/
H A Dopt-diff.py58 all_remarks1, _, _ = optrecord.gather_results(files1, args.jobs, print_progress)
59 all_remarks2, _, _ = optrecord.gather_results(files2, args.jobs, print_progress)
/openbsd/gnu/llvm/compiler-rt/lib/fuzzer/
H A DFuzzerFlags.def114 FUZZER_FLAG_UNSIGNED(jobs, 0, "Number of jobs to run. If jobs >= 1 we spawn"
115 " this number of jobs in separate worker processes"
118 "Number of simultaneous worker processes to run the jobs."
119 " If zero, \"min(jobs,NumberOfCpuCores()/2)\" is used.")
/openbsd/gnu/usr.bin/perl/dist/Devel-PPPort/devel/
H A Dbuildperl.pl43 jobs => 1,
174 $job_string = "-j$opt{jobs}" if $opt{jobs} != 1;
/openbsd/gnu/llvm/clang/utils/analyzer/
H A DSATestBuild.py238 def __init__(self, jobs: int, projects: List[ProjectInfo],
242 self.jobs = jobs
261 if self.jobs <= 1:
296 for _ in range(self.jobs):
/openbsd/gnu/usr.bin/perl/cpan/Test-Harness/lib/TAP/Formatter/
H A DConsole.pm39 = $self->jobs > 1

1234