Searched refs:jobs (Results 1 - 25 of 42) sorted by relevance

12

/openbsd-current/usr.sbin/cron/
H A Djob.c40 static SIMPLEQ_HEAD(job_queue, _job) jobs = SIMPLEQ_HEAD_INITIALIZER(jobs);
48 SIMPLEQ_FOREACH(j, &jobs, entries) {
66 SIMPLEQ_INSERT_TAIL(&jobs, j, entries);
74 SIMPLEQ_FOREACH(j, &jobs, entries) {
77 SIMPLEQ_REMOVE_HEAD(&jobs, entries);
79 SIMPLEQ_REMOVE_AFTER(&jobs, prev, entries);
93 SIMPLEQ_FOREACH(j, &jobs, entries) {
96 SIMPLEQ_REMOVE_HEAD(&jobs, entries);
98 SIMPLEQ_REMOVE_AFTER(&jobs, pre
[all...]
H A Datrun.c57 * Scan the at jobs dir and build up a list of jobs found.
98 TAILQ_INIT(&new_db->jobs);
107 * at jobs are named as RUNTIME.QUEUE
122 while ((job = TAILQ_FIRST(&new_db->jobs))) {
123 TAILQ_REMOVE(&new_db->jobs, job, entries);
134 TAILQ_INSERT_TAIL(&new_db->jobs, job, entries);
142 while ((job = TAILQ_FIRST(&old_db->jobs))) {
143 TAILQ_REMOVE(&old_db->jobs, job, entries);
154 * Loop through the at job database and run jobs whos
[all...]
H A Dstructs.h73 TAILQ_HEAD(atjob_list, _atjob) jobs; member in struct:_at_db
/openbsd-current/usr.sbin/smtpd/
H A Drunq.c31 TAILQ_HEAD(, job) jobs;
47 job = TAILQ_FIRST(&runq->jobs);
70 while((job = TAILQ_FIRST(&runq->jobs))) {
73 TAILQ_REMOVE(&runq->jobs, job, entry);
92 TAILQ_INIT(&runq->jobs);
121 TAILQ_FOREACH(tmpjob, &runq->jobs, entry) {
127 TAILQ_INSERT_TAIL(&runq->jobs, job, entry);
130 if (runq != active && job == TAILQ_FIRST(&runq->jobs)) {
142 first = TAILQ_FIRST(&runq->jobs);
143 TAILQ_FOREACH(job, &runq->jobs, entr
[all...]
/openbsd-current/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-current/gnu/llvm/llvm/utils/
H A Dupdate_any_test_checks.py43 '--jobs', '-j', default=1, type=int,
44 help='Run the given number of jobs in parallel')
63 with ThreadPoolExecutor(max_workers=config.jobs) as executor:
64 jobs = []
85 jobs.append((testname, future))
87 for testname, future in jobs:
/openbsd-current/sys/dev/pci/drm/amd/amdgpu/
H A Damdgpu_cs.h62 struct amdgpu_job *jobs[AMDGPU_CS_GANG_SIZE]; member in struct:amdgpu_cs_parser
H A Damdgpu_cs.c292 num_ibs[i], &p->jobs[i]);
296 p->gang_leader = p->jobs[p->gang_leader_idx];
343 job = p->jobs[r];
578 p->jobs[i]->shadow_va = shadow->shadow_va;
579 p->jobs[i]->csa_va = shadow->csa_va;
580 p->jobs[i]->gds_va = shadow->gds_va;
581 p->jobs[i]->init_shadow =
982 amdgpu_job_set_resources(p->jobs[i], p->bo_list->gds_obj,
1010 struct amdgpu_job *job = p->jobs[i];
1080 r = amdgpu_cs_patch_ibs(p, p->jobs[
[all...]
/openbsd-current/gnu/llvm/llvm/tools/opt-viewer/
H A Dopt-diff.py34 '--jobs',
58 all_remarks1, _, _ = optrecord.gather_results(files1, args.jobs, print_progress)
59 all_remarks2, _, _ = optrecord.gather_results(files2, args.jobs, print_progress)
H A Dopt-stats.py31 '--jobs',
52 files, args.jobs, print_progress)
/openbsd-current/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.pl212 --jobs=I<N>
214 Run I<N> jobs in parallel (default 1). This determines how many cachegrind
410 -j|--jobs=N Run N jobs in parallel [default 1].
464 jobs => 1,
491 'jobs|j=i' => \$OPTS{jobs},
1163 # Build a list of all the jobs to run
1165 my @jobs;
1197 push @jobs, {
[all...]
/openbsd-current/gnu/usr.bin/perl/cpan/Test-Harness/lib/TAP/Parser/Scheduler/
H A DSpinner.pm48 when the scheduler still has pending jobs but can't (because of locking)
/openbsd-current/gnu/usr.bin/perl/cpan/Test-Harness/lib/TAP/Parser/
H A DScheduler.pm113 =item * Specifying a rule to allow tests to run in parallel does not make the run in parallel. You still need specify the number of parallel C<jobs> in your Harness object.
142 # construct jobs here?
307 the scheduler still has pending jobs but none are available to run right now.
314 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-current/usr.bin/at/
H A Dat.c76 static char atqueue = 0; /* which queue to examine for jobs (atq) */
77 static char vflag = 0; /* show completed but unremoved jobs (atq) */
426 * List all of a user's jobs in the queue, by looping through
427 * _PATH_AT_SPOOL, or all jobs if we are root. If argc is > 0, argv
428 * contains the list of users whose jobs shall be displayed. By
430 * csort is non-zero jobs will be sorted by creation/submission date.
440 char **jobs; local
451 /* Convert argv into a list of jobs and uids. */
452 jobs = NULL;
457 if ((jobs
617 char **jobs, *ep; local
[all...]
/openbsd-current/gnu/usr.bin/perl/cpan/Test-Harness/lib/TAP/Formatter/
H A DConsole.pm39 = $self->jobs > 1
H A DBase.pm21 jobs => sub { shift; shift },
189 =item * C<jobs>
191 The number of concurrent jobs this formatter will handle.
/openbsd-current/usr.sbin/lpd/
H A Dlp.h127 int jobs[LP_MAXREQUESTS]; member in struct:lp_jobfilter
H A Dlp_rmjob.c106 /* The "-all" agent means remove all jobs from the client host. */
147 if (jf->jobs[i] == LP_JOBNUM(cfname))
H A Dengine_lpr.c99 m_get_int(proc, &jf.jobs[i]);
160 m_get_int(proc, &jf.jobs[i]);
179 /* Cleanup incoming jobs. */
414 snprintf(buf, sizeof(buf), " %d", jf->jobs[i]);
463 snprintf(buf, sizeof(buf), " %d", jf->jobs[i]);
/openbsd-current/gnu/usr.bin/perl/dist/Devel-PPPort/devel/
H A Dbuildperl.pl43 jobs => 1,
168 jobs=i
174 $job_string = "-j$opt{jobs}" if $opt{jobs} != 1;
371 run("TEST_JOBS=$opt{jobs} make $job_string test") if $opt{test};
574 -j N Build and test with N parallel jobs
/openbsd-current/gnu/usr.bin/perl/cpan/Test-Harness/lib/TAP/Harness/
H A DEnv.pm98 $args{jobs} = $1 || 9;
178 Run <n> (default 9) parallel jobs.
/openbsd-current/gnu/usr.bin/perl/cpan/Test-Harness/lib/App/
H A DProve.pm57 formatter harness includes modules plugins jobs lib merge parse quiet
239 'j|jobs=i' => \$self->{jobs},
309 if ( my $jobs = $self->jobs ) {
310 $args{jobs} = $jobs;
692 =item C<jobs>
814 for my $attr (qw( jobs quiet really_quiet recurse verbose )) {
/openbsd-current/gnu/usr.bin/perl/cpan/Test-Harness/lib/TAP/
H A DHarness.pm80 jobs => sub { shift; shift },
323 =item * C<jobs>
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 ) {
704 jobs
[all...]
/openbsd-current/gnu/usr.bin/perl/cpan/Test-Harness/lib/TAP/Parser/SourceHandler/
H A DFile.pm39 This is a I<raw TAP stored in a file> L<TAP::Parser::SourceHandler> - it has 2 jobs:

Completed in 339 milliseconds

12