/illumos-gate/usr/src/lib/libshell/common/sh/ |
H A D | defs.c | 27 #include "jobs.h" 45 struct jobs job = {0};
|
H A D | jobs.c | 35 #include "jobs.h" 363 /* if process in current jobs terminates from 608 * see if there are any stopped jobs 731 void job_bwait(char **jobs) argument 736 if(*jobs==0) 738 else while(jp = *jobs++) 767 register char *jobid, **jobs=joblist; local 774 if(jobs==0) 776 /* do all jobs */ 786 else if(*jobs [all...] |
H A D | subshell.c | 35 #include "jobs.h" 78 void *jobs; /* save job info */ member in struct:subshell 505 sp->jobs = job_subsave(); 656 job_subrestore(sp->jobs);
|
/illumos-gate/usr/src/lib/print/libipp-listener/common/ |
H A D | purge-jobs.c | 28 /* $Id: purge-jobs.c 146 2006-03-24 00:26:54Z njacobs $ */ 42 papi_job_t *jobs = NULL; local 62 if ((status = papiPrinterPurgeJobs(svc, queue, &jobs)) != PAPI_OK) { 68 papiJobListFree(jobs);
|
/illumos-gate/usr/src/lib/print/libpapi-lpd/common/ |
H A D | papi_impl.h | 65 job_t **jobs; member in struct:__anon4335 88 extern papi_status_t lpd_purge_jobs(service_t *svc, job_t ***jobs); 104 extern papi_status_t lpd_find_jobs_info(service_t *svc, job_t ***jobs);
|
H A D | lpd-query.c | 161 * first check for solaris jobs 162 * if there is no-match check for windows jobs 216 "number-of-intervening-jobs", atoi(s) - 1); 383 list_append(&cache->jobs, job); 409 if (svc->cache->jobs == NULL) { 444 lpd_find_jobs_info(service_t *svc, job_t ***jobs) argument 452 *jobs = svc->cache->jobs; 458 * cache jobs is free()-ed in 475 job_t **jobs; local [all...] |
H A D | printer.c | 89 "printer-is-accepting-jobs", PAPI_TRUE); 97 papiPrinterPurgeJobs(papi_service_t handle, char *name, papi_job_t **jobs) argument 106 status = lpd_purge_jobs(svc, (job_t ***)jobs); 114 int max_num_jobs, papi_job_t **jobs) 119 if ((svc == NULL) || (name == NULL) || (jobs == NULL)) 123 status = lpd_find_jobs_info(svc, (job_t ***)jobs); 112 papiPrinterListJobs(papi_service_t handle, char *name, char **requested_attrs, int type_mask, int max_num_jobs, papi_job_t **jobs) argument
|
H A D | lpd-cancel.c | 74 lpd_purge_jobs(service_t *svc, job_t ***jobs) argument 112 list_append(jobs, job);
|
H A D | job.c | 303 papiJobListFree(papi_job_t *jobs) argument 305 if (jobs != NULL) { 308 for (i = 0; jobs[i] != NULL; i++) 309 papiJobFree(jobs[i]); 310 free(jobs);
|
/illumos-gate/usr/src/cmd/print/bsd-sysv-commands/ |
H A D | common.c | 231 "number-of-intervening-jobs", &rank); 307 papi_job_t *jobs = NULL; local 313 "number-of-intervening-jobs", NULL }; 325 0, &jobs); 328 "Failed to query service for jobs on %s: %s\n"), 332 if (jobs != NULL) { 333 while (jobs[num_jobs] != NULL) 343 for (i = 0; jobs[i] != NULL; i++) 344 print_job_line(fp, i, jobs[i], fmt, ac, av); 348 papiJobListFree(jobs); 358 papi_job_t *jobs = NULL; local 621 papi_job_t *jobs = NULL; local [all...] |
H A D | lpmove.c | 98 papi_job_t *jobs = NULL; local 120 snprintf(message, sizeof (message), "moved jobs to %s", 179 0, 0, &jobs); 189 while ((jobs != NULL) && (*jobs != NULL)) { 190 id = papiJobGetId(*jobs++); 202 papiJobListFree(jobs);
|
H A D | cancel.c | 139 papi_job_t *jobs = NULL; local 203 NULL, NULL, 0, &jobs); 212 if (jobs != NULL && *jobs != NULL) { 214 id = papiJobGetId(*jobs); 232 rid = get_job_id_requested(*jobs); 240 papiJobListFree(jobs); 243 /* Purging user's print jobs */
|
H A D | lpc.c | 58 "printer-is-accepting-jobs", NULL }; 70 "printer-is-accepting-jobs", &accepting); 81 papi_job_t *jobs = NULL; local 85 PAPI_LIST_JOBS_ALL, 0, &jobs); 86 if (jobs != NULL) { 87 for (i = 0; jobs[i] != NULL; i++); 88 papiJobListFree(jobs); 135 papi_job_t *jobs = NULL; local 143 status = papiPrinterPurgeJobs(svc, destination, &jobs); 150 if (jobs ! [all...] |
H A D | lpstat.c | 247 "printer-uri-supported", "printer-is-accepting-jobs", 271 "printer-is-accepting-jobs", &boolean); 977 "number-of-intervening-jobs", &rank); 1081 papi_job_t *jobs = NULL; local 1084 0, 0, &jobs); 1093 if (jobs != NULL) { 1096 for (i = 0; jobs[i] != NULL; i++) 1098 jobs[i], show_rank, 1102 papiJobListFree(jobs); 1422 if (ac == 1) { /* report on my jobs */ [all...] |
/illumos-gate/usr/src/lib/print/libpapi-dynamic/common/ |
H A D | printer.c | 405 papiPrinterPurgeJobs(papi_service_t handle, char *name, papi_job_t **jobs) argument 429 if ((result == PAPI_OK) && (svc_jobs != NULL) && (jobs != NULL)) { 432 *jobs = NULL; 441 list_append(jobs, j); 451 int type_mask, int max_num_jobs, papi_job_t **jobs) 458 if ((svc == NULL) || (name == NULL) || (jobs == NULL)) 479 *jobs = NULL; 488 list_append(jobs, j); 450 papiPrinterListJobs(papi_service_t handle, char *name, char **requested_attrs, int type_mask, int max_num_jobs, papi_job_t **jobs) argument
|
H A D | job.c | 53 papiJobListFree(papi_job_t *jobs) argument 55 if (jobs != NULL) { 58 for (i = 0; jobs[i] != NULL; i++) 59 papiJobFree(jobs[i]); 60 free(jobs);
|
/illumos-gate/usr/src/lib/libshell/common/include/ |
H A D | jobs.h | 76 struct jobs struct 86 int numpost; /* number of posted jobs */ 88 int numbjob; /* number of background jobs */ 97 char waitall; /* wait for all jobs in pipe */ 99 unsigned char *freejobs; /* free jobs numbers */ 108 extern struct jobs job; 156 * The following are defined in jobs.c
|
/illumos-gate/usr/src/lib/print/libpapi-ipp/common/ |
H A D | printer.c | 318 papi_job_t **jobs) 357 list_append(jobs, j); 367 int max_num_jobs, papi_job_t **jobs) 413 list_append(jobs, j); 317 papiPrinterPurgeJobs(papi_service_t handle, char *name, papi_job_t **jobs) argument 365 papiPrinterListJobs(papi_service_t handle, char *name, char **requested_attrs, int type_mask, int max_num_jobs, papi_job_t **jobs) argument
|
H A D | job.c | 59 papiJobListFree(papi_job_t *jobs) argument 61 if (jobs != NULL) { 64 for (i = 0; jobs[i] != NULL; i++) 65 papiJobFree(jobs[i]); 66 free(jobs);
|
/illumos-gate/usr/src/cmd/lp/lib/papi/ |
H A D | printer.c | 382 papiPrinterPurgeJobs(papi_service_t handle, char *name, papi_job_t **jobs) argument 407 "canceled-jobs", req_id); 434 int max_num_jobs, papi_job_t **jobs) 441 if ((handle == NULL) || (name == NULL) || (jobs == NULL)) 497 list_append(jobs, job); 501 if (rc == MNOINFO) /* If no jobs are found, it's still ok */ 432 papiPrinterListJobs(papi_service_t handle, char *name, char **requested_attrs, int type_mask, int max_num_jobs, papi_job_t **jobs) argument
|
H A D | job.c | 55 papi_job_t *jobs = NULL; local 62 0, &jobs); 71 if (jobs != NULL) { 74 for (i = 0; jobs[i] != NULL; i++) { 78 papiJobGetAttributeList(jobs[i]); 126 papiJobListFree(papi_job_t *jobs) argument 128 if (jobs != NULL) { 131 for (i = 0; jobs[i] != NULL; i++) { 132 papiJobFree(jobs[i]); 134 free(jobs); [all...] |
/illumos-gate/usr/src/lib/print/libpapi-common/common/ |
H A D | papi.h | 350 char *name, papi_job_t **jobs); 354 papi_job_t **jobs); 408 extern void papiJobListFree(papi_job_t *jobs);
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4v/lib/snmp/ |
H A D | snmplib.c | 132 static uint_t n_refreshq_jobs = 0; /* # of unprocessed jobs */ 1326 * Expand the refreshq to hold more cache refresh jobs. Caller must already 1364 * Complex case. The jobs in the refresh queue wrap 1367 * array, we need to copy the jobs at the end of the old 1369 * jobs from the beginning of the old array after them. 1376 /* Copy the jobs from the end of the old array */ 1381 /* Copy the jobs from the beginning of the old array */ 1527 * is purely internal, and should be hidden from clients.) If there are no jobs 1558 * processing jobs and then sleeping, return a suggestion for the number of jobs 1568 int jobs; local [all...] |
/illumos-gate/usr/src/lib/libshell/common/data/ |
H A D | builtins.c | 31 # include "jobs.h" 103 "jobs", NV_BLTIN|BLT_ENV, bltin(jobs), 168 "[m?When enabled, the shell runs background jobs in a separate process " 181 "[+bgnice?Runs background jobs at lower priorities.]" 795 "[+NAME?bg - resume jobs in the background]" 813 "[+0?If all background jobs are started.]" 814 "[+>0?If one more jobs does not exist or there are no background " 815 "jobs.]" 824 "[+NAME?fg - move jobs t [all...] |
/illumos-gate/usr/src/cmd/picl/plugins/sun4v/snmp/ |
H A D | snmpplugin.c | 105 * queue and processes jobs from it to keep cache entries from expiring. It 107 * processing cache refresh jobs and then sleeping for the remainder of the 1909 int jobs; local 1929 * Process jobs from the snmp cache refresh work queue until one 1932 * 2) we have processed at least as many jobs as recommended by 1936 jobs = snmp_refresh_get_cycle_hint(CACHE_REFRESH_CYCLE); 1937 while ((cache_refresh_thr_exit == B_FALSE) && (jobs > 0)) { 1939 jobs--;
|