Searched refs:req_id (Results 1 - 25 of 36) sorted by relevance

12

/illumos-gate/usr/src/cmd/lp/lib/secure/
H A Dllib-llpsec44 char *req_id;
H A Dsecure.c85 secp->req_id = Strdup(buf);
169 !secbufp->req_id ||
179 (void)fdprintf(fd, "%s\n", secbufp->req_id);
262 if (secbufp->req_id)
263 Free (secbufp->req_id);
/illumos-gate/usr/src/cmd/lp/cmd/lpsched/
H A Ddisp1.c84 char *req_id = 0; local
220 rp->secure->req_id = NULL;
241 if ((err = validate_request(rp, &req_id, 0)) != MOK)
245 * "req_id" will be supplied if this is from a
248 if (rp->secure->req_id == NULL) {
249 req_id = makestr(req_id, "-",
251 rp->secure->req_id = req_id;
253 req_id
338 char *req_id; local
444 char *req_id; local
647 _cancel(MESG *md, char *dest, char *user, char *req_id) argument
731 char *req_id, *rid; local
751 char *req_id; local
798 char *req_id; local
995 char *req_id; local
[all...]
H A Ddisp4.c177 *req_id = 0; local
204 req_id = Strdup(pps->request->secure->req_id);
207 if (req_id) {
208 Free (req_id);
209 req_id = 0;
218 mputm (md, R_DISABLE_DEST, status, NB(req_id));
219 if (req_id)
220 Free (req_id);
H A Dlog.c183 ep->ex.printer->request->secure->req_id);
187 ep->ex.request->secure->req_id);
211 ep->ex.request->secure->req_id);
H A Dnotify.c122 fdprintf(fd, N_Msg[0], prs->secure->req_id, prs->secure->req_id,
H A Drstatus.c103 if (STREQU(id, prs->secure->req_id))
114 char *tmp = strrchr(prs->secure->req_id, '-');
H A Dfiles.c147 if (log_it && rp->secure && rp->secure->req_id) {
157 rp->secure->req_id, rp->secure->uid, rp->secure->gid,
215 if (rp->secure && rp->secure->req_id) {
217 p = getreqno(rp->secure->req_id);
H A Dexec.c599 getreqno(request->secure->req_id),
633 getreqno(request->secure->req_id), LP_PAPIATTRNAME);
817 * is not set so read the request->secure->req_id
821 request->secure->req_id);
824 * From request->secure->req_id extract the
826 * request->secure->req_id = <printer-name>-<req_id>
831 r1 = r2 = tmp = strdup(request->secure->req_id);
857 request->secure->req_id);
861 request->secure->req_id);
[all...]
H A Dinit.c175 syslog(LOG_DEBUG, "Loaded secure: %s", s->req_id);
H A Dfncs.c769 getreqno(char *req_id) argument
774 if (!(cp = strrchr(req_id, '-')))
775 cp = req_id;
831 * req_id fields in the strucure
836 if (strcmp(pls->req_id, secbufp->req_id) != 0) {
/illumos-gate/usr/src/cmd/lp/include/
H A Dsecure.h63 char *req_id; member in struct:SECURE
/illumos-gate/usr/src/cmd/lp/cmd/lpadmin/
H A Ddo_align.c87 char *req_id = 0, local
280 if (req_id && *req_id)
281 cancel (req_id);
298 (void)getmessage (buffer, R_PRINT_REQUEST, &status, &req_id, &printer_chk);
450 cancel (req_id);
597 static void cancel (req_id)
598 char *req_id;
603 send_message (S_CANCEL_REQUEST, req_id);
/illumos-gate/usr/src/cmd/lp/lib/papi/
H A Dprinter.c389 char *req_id; local
401 if (rcv_msg(svc, R_CANCEL, &more, &status, &req_id) < 0)
407 "canceled-jobs", req_id);
413 "cancel-failed", req_id);
418 "cancel-failed", req_id);
456 *req_id = NULL, local
466 if (rcv_msg(svc, R_INQUIRE_REQUEST_RANK, &rc, &req_id,
485 /* Request file is <req_id>-0 */
486 if ((ptr = strrchr(req_id, '-')) != NULL) {
494 job_status_to_attributes(job, req_id, owne
[all...]
H A Dlpsched-msgs.c305 char *req_id; local
313 (rcv_msg(svc, R_ACCEPT_DEST, &status, &req_id) < 0))
331 char *req_id; local
342 (rcv_msg(svc, R_REJECT_DEST, &status, &req_id) < 0))
360 char *req_id; local
368 (rcv_msg(svc, R_ENABLE_DEST, &status, &req_id) < 0))
386 char *req_id; local
397 (rcv_msg(svc, R_DISABLE_DEST, &status, &req_id) < 0))
H A Djob.c942 char req_id[32]; local
959 snprintf(req_id, sizeof (req_id), "%s-%d", dest, job_id);
962 rc = snd_msg(svc, S_INQUIRE_REQUEST_RANK, 0, "", "", req_id, "", "");
980 snprintf(req_id, sizeof (req_id), "%d-0", job_id);
981 lpsched_read_job_configuration(svc, j, req_id);
996 char req_id[64]; local
1005 snprintf(req_id, sizeof (req_id), "
1039 char req_id[64]; local
[all...]
H A Dlpsched-jobs.c470 job_status_to_attributes(job_t *job, char *req_id, char *user, char *slabel, argument
482 if ((p = strrchr(req_id, '-')) != NULL) {
508 "lpsched-request-id", req_id);
H A Dpapi_impl.h83 extern void job_status_to_attributes(job_t *job, char *req_id, char *user,
/illumos-gate/usr/src/uts/common/xen/public/io/
H A Dxs_wire.h89 uint32_t req_id;/* Request identifier, echoed in daemon's response. */ member in struct:xsd_sockmsg
/illumos-gate/usr/src/uts/sun4v/io/
H A Dds_snmp.c96 uint64_t req_id; member in struct:ds_snmp_state
455 sp->req_id = 0;
717 if (sp->req_id == (((uint64_t)1 << DS_SNMP_MINOR_SHIFT) - 1))
718 sp->req_id = 0; /* Reset */
720 hdr.seq_num = ((uint64_t)minor << DS_SNMP_MINOR_SHIFT) | sp->req_id;
722 (sp->req_id)++;
858 sp->req_id = 0;
H A Dvsw_hio.c104 uint64_t cookie, uint64_t macaddr, uint32_t req_id);
507 uint32_t req_id; local
533 req_id = VSW_DDS_NEXT_REQID(vsharep);
535 vsharep->vs_macaddr, req_id);
588 uint32_t req_id; local
607 req_id = VSW_DDS_NEXT_REQID(vsharep);
609 cookie, macaddr, req_id);
624 cookie, uint64_t macaddr, uint32_t req_id)
638 vmsg.dds_req_id = req_id;
682 DWARN(vswp, "%s: invalid req_id i
623 vsw_send_dds_msg(vsw_ldc_t *ldcp, uint8_t dds_subclass, uint64_t cookie, uint64_t macaddr, uint32_t req_id) argument
[all...]
H A Dds_pri.c114 uint64_t req_id; member in struct:ds_pri_state
356 sp->req_id = 0;
704 reqmsg.hdr.seq_num = ++(sp->req_id);
707 DS_PRI_DBG("request_pri: request id 0x%lx\n", sp->req_id);
719 sp->last_req_id = sp->req_id;
/illumos-gate/usr/src/uts/sun4v/sys/
H A Dvdc.h148 #define VDC_GET_NEXT_REQ_ID(vdc) ((vdc)->req_id++)
328 uint64_t req_id; /* Most recent Request ID generated */ member in struct:vdc
/illumos-gate/usr/src/lib/libidmap/common/
H A Didmap_api.c1436 idmap_id *req_id; local
1466 req_id = &gh->batch.idmap_mapping_batch_val[i].id1;
1478 req_id->idmap_id_u.sid.prefix,
1479 req_id->idmap_id_u.sid.rid,
1484 req_id->idmap_id_u.sid.prefix,
1485 req_id->idmap_id_u.sid.rid,
1501 req_id->idmap_id_u.sid.prefix,
1502 req_id->idmap_id_u.sid.rid,
1507 req_id->idmap_id_u.sid.prefix,
1508 req_id
[all...]
/illumos-gate/usr/src/uts/common/io/mr_sas/
H A Dmr_sas.h1322 uint8_t req_id; /* 0Ch */ member in struct:mrsas_header
1345 uint8_t req_id; /* 0Ch */ member in struct:mrsas_init_frame
1385 uint8_t req_id; /* 0Ch */ member in struct:mrsas_io_frame
1414 uint8_t req_id; /* 0Ch */ member in struct:mrsas_pthru_frame
1437 uint8_t req_id; /* 0Ch */ member in struct:mrsas_dcmd_frame
1466 uint8_t req_id; /* 0Ch */ member in struct:mrsas_abort_frame
1493 uint8_t req_id; /* 0Ch */ member in struct:mrsas_smp_frame
1518 uint8_t req_id; /* 0Ch */ member in struct:mrsas_stp_frame

Completed in 120 milliseconds

12