/titanic_44/usr/src/cmd/svc/shell/ |
H A D | mfsthistory | 27 svc:/platform/sun4us/fjsvdrd:default var/svc/manifest/platform/sun4us/fjsvdrd.xml 28 svc:/platform/sun4us/fjsvdrd var/svc/manifest/platform/sun4us/fjsvdrd.xml 29 svc:/system/sar:default var/svc/manifest/system/sar.xml 30 svc:/system/sar var/svc/manifest/system/sar.xml 31 svc:/system/sysidtool:system var/svc/manifest/system/sysidtool.xml 32 svc:/system/sysidtool:net var/svc/manifest/system/sysidtool.xml 33 svc:/system/sysidtool var/svc/manifest/system/sysidtool.xml 34 svc:/network/http:apache2 var/svc/manifest/network/http-apache2.xml 35 svc:/network/http var/svc/manifest/network/http-apache2.xml 36 svc:/network/apocd/udp:default var/svc/manifest/network/apocd.xml [all …]
|
/titanic_44/usr/src/lib/print/libpapi-dynamic/common/ |
H A D | service.c | 49 service_t *svc = app_data; in interposed_auth_callback() local 51 if (svc != NULL) in interposed_auth_callback() 52 result = svc->authCB(svc, svc->app_data); in interposed_auth_callback() 102 service_load(service_t *svc, char *name) in service_load() argument 107 if (svc->so_handle != NULL) /* already loaded */ in service_load() 114 svc->attributes = getprinterbyname((char *)name, NULL); in service_load() 116 if (svc->attributes != NULL) { in service_load() 120 papiAttributeListGetString(svc->attributes, NULL, in service_load() 123 svc->name = strdup(tmp); in service_load() 126 if (uri_from_string(svc->name, &svc->uri) != -1) in service_load() [all …]
|
H A D | printer.c | 45 f = (void (*)())psm_sym(tmp->svc, "papiPrinterFree"); in papiPrinterFree() 51 papiServiceDestroy(tmp->svc); in papiPrinterFree() 70 printers_from_service(service_t *svc, char **requested_attrs, in printers_from_service() argument 77 if ((svc == NULL) || (printers == NULL)) in printers_from_service() 81 if ((result = service_connect(svc, svc->name)) != PAPI_OK) in printers_from_service() 84 f = (papi_status_t (*)())psm_sym(svc, "papiPrintersList"); in printers_from_service() 86 result = f(svc->svc_handle, requested_attrs, filter, in printers_from_service() 106 p->svc = svc; in printers_from_service() 118 printer_from_service(service_t *svc, printer_t *p, char **requested_attrs) in printer_from_service() argument 134 result = papiServiceCreate((papi_service_t *)&p_svc, psm, svc->user, in printer_from_service() [all …]
|
H A D | job.c | 45 f = (void (*)())psm_sym(tmp->svc, "papiJobFree"); in papiJobFree() 73 f = (papi_attribute_t **(*)())psm_sym(j->svc, in papiJobGetAttributeList() 91 f = (char *(*)())psm_sym(j->svc, "papiJobGetPrinterName"); in papiJobGetPrinterName() 108 f = (int32_t (*)())psm_sym(j->svc, "papiJobGetId"); in papiJobGetId() 125 f = (papi_job_ticket_t *(*)())psm_sym(j->svc, in papiJobGetJobTicket() 142 service_t *svc = handle; in _papi_job_submit_reference_or_validate() local 146 if ((svc == NULL) || (printer == NULL) || (files == NULL) || in _papi_job_submit_reference_or_validate() 150 if ((result = service_connect(svc, printer)) != PAPI_OK) in _papi_job_submit_reference_or_validate() 156 j->svc = svc; in _papi_job_submit_reference_or_validate() 157 f = (papi_status_t (*)())psm_sym(j->svc, function); in _papi_job_submit_reference_or_validate() [all …]
|
/titanic_44/usr/src/cmd/lp/lib/papi/ |
H A D | service.c | 43 int (*authCB)(papi_service_t svc, void *app_data), in papiServiceCreate() argument 46 service_t *svc = NULL; in papiServiceCreate() local 52 if ((*handle = svc = calloc(1, sizeof (*svc))) == NULL) in papiServiceCreate() 55 svc->md = mconnect(path, 0, 0); in papiServiceCreate() 56 if (svc->md == NULL) { in papiServiceCreate() 57 detailed_error(svc, in papiServiceCreate() 63 svc->msgbuf_size = MSGMAX; in papiServiceCreate() 64 if ((svc->msgbuf = calloc(1, svc->msgbuf_size)) == NULL) in papiServiceCreate() 68 papiAttributeListAddString(&svc->attributes, PAPI_ATTR_EXCL, in papiServiceCreate() 71 (void) papiServiceSetUserName(svc, user_name); in papiServiceCreate() [all …]
|
H A D | lpsched-msgs.c | 52 snd_msg(service_t *svc, int type, ...) in snd_msg() argument 57 if (svc == NULL) in snd_msg() 62 rc = _putmessage(svc->msgbuf, type, ap); in snd_msg() 65 detailed_error(svc, in snd_msg() 72 while (((rc = mwrite(svc->md, svc->msgbuf)) < 0) && (errno == EINTR)) { in snd_msg() 76 detailed_error(svc, in snd_msg() 86 rcv_msg(service_t *svc, int type, ...) in rcv_msg() argument 90 if (svc == NULL) in rcv_msg() 94 while (((rc = mread(svc->md, svc->msgbuf, svc->msgbuf_size)) < 0) && in rcv_msg() 99 detailed_error(svc, in rcv_msg() [all …]
|
H A D | papi_impl.h | 57 int (*authCB)(papi_service_t svc, void *app_data); 79 extern void lpsched_read_job_configuration(service_t *svc, job_t *j, 97 service_t *svc, printer_t *p, char *dest); 98 extern papi_status_t lpsched_class_configuration_to_attributes(service_t *svc, 102 extern papi_status_t lpsched_reject_printer(papi_service_t svc, 104 extern papi_status_t lpsched_accept_printer(papi_service_t svc, 106 extern papi_status_t lpsched_disable_printer(papi_service_t svc, 108 extern papi_status_t lpsched_enable_printer(papi_service_t svc, 111 extern papi_status_t job_attributes_to_lpsched_request(papi_service_t svc, 113 extern papi_status_t lpsched_alloc_files(papi_service_t svc, int number, [all …]
|
H A D | job.c | 53 check_job_id(papi_service_t svc, char *printer, int32_t id) in check_job_id() argument 61 status = papiPrinterListJobs(svc, printer, jattrs, PAPI_LIST_JOBS_ALL, in check_job_id() 65 detailed_error(svc, in check_job_id() 176 create_request(papi_service_t svc, char *printer, papi_attribute_t **attributes) in create_request() argument 199 job_attributes_to_lpsched_request(svc, r, attributes); in create_request() 206 authorized(service_t *svc, int32_t id) in authorized() argument 223 s = papiAttributeListGetString(svc->attributes, NULL, in authorized() 541 service_t *svc = handle; in papiJobSubmit() local 552 if ((svc == NULL) || (printer == NULL) || (files == NULL) || in papiJobSubmit() 562 detailed_error(svc, in papiJobSubmit() [all …]
|
/titanic_44/usr/src/lib/print/libpapi-lpd/common/ |
H A D | service.c | 41 service_fill_in(service_t *svc, char *name) in service_fill_in() argument 46 if (svc == NULL) in service_fill_in() 61 if (svc->uri != NULL) in service_fill_in() 62 uri_free(svc->uri); in service_fill_in() 63 svc->uri = uri; in service_fill_in() 76 int (*authCB)(papi_service_t svc, void *app_data), in papiServiceCreate() argument 80 service_t *svc = NULL; in papiServiceCreate() local 85 if ((*handle = svc = (service_t *)calloc(1, sizeof (*svc))) == NULL) in papiServiceCreate() 89 papiAttributeListAddString(&svc->attributes, PAPI_ATTR_EXCL, in papiServiceCreate() 92 (void) papiServiceSetUserName(svc, user_name); in papiServiceCreate() [all …]
|
H A D | printer.c | 57 service_t *svc = handle; in papiPrinterQuery() local 60 if ((svc == NULL) || (name == NULL) || (printer == NULL)) in papiPrinterQuery() 63 if ((status = service_fill_in(svc, name)) == PAPI_OK) { in papiPrinterQuery() 68 status = lpd_find_printer_info(svc, in papiPrinterQuery() 78 queue_name_from_uri(svc->uri)); in papiPrinterQuery() 80 if (uri_to_string(svc->uri, buf, sizeof (buf)) == 0) in papiPrinterQuery() 100 service_t *svc = handle; in papiPrinterPurgeJobs() local 102 if ((svc == NULL) || (name == NULL)) in papiPrinterPurgeJobs() 105 if ((status = service_fill_in(svc, name)) == PAPI_OK) in papiPrinterPurgeJobs() 106 status = lpd_purge_jobs(svc, (job_t ***)jobs); in papiPrinterPurgeJobs() [all …]
|
H A D | job.c | 50 service_t *svc = handle; in papiJobSubmit() local 54 if ((svc == NULL) || (name == NULL) || (files == NULL) || in papiJobSubmit() 59 detailed_error(svc, in papiJobSubmit() 64 if ((status = service_fill_in(svc, name)) != PAPI_OK) in papiJobSubmit() 68 detailed_error(svc, in papiJobSubmit() 79 (void) lpd_job_add_attributes(svc, attributes, &metadata, in papiJobSubmit() 82 if ((status = lpd_job_add_files(svc, attributes, files, &metadata, in papiJobSubmit() 88 status = lpd_submit_job(svc, metadata, &j->attributes, NULL); in papiJobSubmit() 111 service_t *svc = handle; in papiJobStreamOpen() local 115 if ((svc == NULL) || (name == NULL) || (stream == NULL)) in papiJobStreamOpen() [all …]
|
H A D | lpd-query.c | 151 parse_lpd_job(service_t *svc, job_t **job, int fd, char *line, int len) in parse_lpd_job() argument 224 s = svc->uri->host; in parse_lpd_job() 267 "printer-name", queue_name_from_uri(svc->uri)); in parse_lpd_job() 274 parse_lpd_query(service_t *svc, int fd) in parse_lpd_query() argument 285 "printer-name", queue_name_from_uri(svc->uri)); in parse_lpd_query() 287 if (uri_to_string(svc->uri, status, sizeof (status)) == 0) in parse_lpd_query() 372 svc->cache = cache; in parse_lpd_query() 380 parse_lpd_job(svc, &job, fd, line, sizeof (line)); in parse_lpd_query() 401 cache_update(service_t *svc) in cache_update() argument 405 if (svc == NULL) in cache_update() [all …]
|
H A D | papi_impl.h | 72 int (*authCB)(papi_service_t svc, void *app_data); /* unused */ 77 extern papi_status_t service_fill_in(service_t *svc, char *name); 78 extern void detailed_error(service_t *svc, char *fmt, ...); 85 extern int lpd_open(service_t *svc, char type, char **args, 88 extern papi_status_t lpd_purge_jobs(service_t *svc, job_t ***jobs); 89 extern papi_status_t lpd_cancel_job(service_t *svc, int job_id); 91 extern papi_status_t lpd_submit_job(service_t *svc, char *metadata, 93 extern papi_status_t lpd_job_add_attributes(service_t *svc, 97 extern papi_status_t lpd_job_add_files(service_t *svc, 102 extern papi_status_t lpd_find_printer_info(service_t *svc, printer_t **result); [all …]
|
/titanic_44/usr/src/lib/print/libpapi-ipp/common/ |
H A D | service.c | 64 service_connect(service_t *svc, char *service_name) in service_connect() argument 69 if (svc == NULL) in service_connect() 72 if (svc->connection != NULL) /* alread connected ? */ in service_connect() 75 if (svc->uri == NULL) in service_connect() 76 uri_from_string(service_name, &svc->uri); in service_connect() 78 if ((service_name != NULL) && (svc->uri == NULL)) { in service_connect() 100 uri_from_string(service_name, &svc->uri); in service_connect() 103 if (svc->uri == NULL) in service_connect() 106 if (svc->uri->port != NULL) in service_connect() 107 port = strtol(svc->uri->port, NULL, 10); in service_connect() [all …]
|
H A D | ipp-support.c | 44 static void ipp_add_printer_uri(service_t *svc, char *name, 153 ipp_initialize_request(service_t *svc, papi_attribute_t ***request, in ipp_initialize_request() argument 167 ipp_initialize_operational_attributes(service_t *svc, papi_attribute_t ***op, in ipp_initialize_operational_attributes() argument 189 ipp_add_printer_uri(svc, printer, op); in ipp_initialize_operational_attributes() 202 if (svc->user != NULL) in ipp_initialize_operational_attributes() 203 user = svc->user; in ipp_initialize_operational_attributes() 214 _default_destination(service_t *svc, char **uri) in _default_destination() argument 221 if ((svc == NULL) || (uri == NULL)) in _default_destination() 225 if (svc->connection == NULL) in _default_destination() 231 ipp_initialize_request(svc, &request, OPID_CUPS_GET_DEFAULT); in _default_destination() [all …]
|
H A D | job.c | 117 populate_job_request(service_t *svc, papi_attribute_t ***request, in populate_job_request() argument 128 ipp_initialize_request(svc, request, type); in populate_job_request() 131 ipp_initialize_operational_attributes(svc, &operational, printer, -1); in populate_job_request() 168 send_document_uri(service_t *svc, char *file, papi_attribute_t **attributes, in send_document_uri() argument 175 ipp_initialize_request(svc, &request, type); in send_document_uri() 178 ipp_initialize_operational_attributes(svc, &op, printer, id); in send_document_uri() 189 result = ipp_send_request_with_file(svc, request, &response, file); in send_document_uri() 206 service_t *svc = handle; in internal_job_submit() local 214 if ((svc == NULL) || (printer == NULL) || (job == NULL)) in internal_job_submit() 247 detailed_error(svc, "%s: %s", files[i], in internal_job_submit() [all …]
|
H A D | printer.c | 86 service_t *svc = handle; in papiPrintersList() local 90 if ((svc == NULL) || (printers == NULL)) in papiPrintersList() 94 if (svc->connection == NULL) in papiPrintersList() 95 if ((result = service_connect(svc, DEFAULT_DEST)) != PAPI_OK) in papiPrintersList() 97 ipp_initialize_request(svc, &request, OPID_CUPS_GET_PRINTERS); in papiPrintersList() 99 ipp_initialize_operational_attributes(svc, &op, NULL, -1); in papiPrintersList() 112 result = ipp_send_request(svc, request, &response); in papiPrintersList() 142 service_t *svc = handle; in papiPrinterQuery() local 146 if ((svc == NULL) || (name == NULL) || (printer == NULL)) in papiPrinterQuery() 150 if (svc->connection == NULL) in papiPrinterQuery() [all …]
|
/titanic_44/usr/src/cmd/avs/dscfg/ |
H A D | dscfgadm.sh | 103 MANIFEST_PATH=/lib/svc/manifest/system 625 typeset -L15 svc state en SVC="SERVICE" STATE="STATE" EN="ENABLED" 634 svc:/system/${i}:default` 636 svc:/system/${i}:default` 640 svc="${i}***" 643 svc=$i 646 echo "$svc\t$state\t$en" 861 typeset svc 863 for svc in $SMF_ENABLE 865 is_enabled $svc [all …]
|
/titanic_44/usr/src/uts/sun4v/io/ |
H A D | ds_common.c | 158 static int ds_send_reg_req(ds_svc_t *svc, ds_port_t *port); 163 static int ds_svc_isfree(ds_svc_t *svc, void *arg); 164 static int ds_svc_unregister(ds_svc_t *svc, void *arg); 165 static int ds_svc_port_up(ds_svc_t *svc, void *arg); 168 static void ds_reset_svc(ds_svc_t *svc, ds_port_t *port); 169 static int ds_svc_register_onport(ds_svc_t *svc, ds_port_t *port); 170 static int ds_svc_register_onport_walker(ds_svc_t *svc, void *arg); 188 static int ds_loopback_set_svc(ds_svc_t *svc, ds_capability_t *cap, 198 static ds_svc_t *ds_svc_clone(ds_svc_t *svc); 199 static void ds_check_for_dup_services(ds_svc_t *svc); [all …]
|
H A D | ds_drv.c | 862 ds_svc_t *svc; in ds_service_lookup() local 865 if ((svc = ds_get_svc(hdl)) == NULL) { in ds_service_lookup() 871 *servicep = svc->cap.svc_id; in ds_service_lookup() 872 *is_client = svc->flags & DSSF_ISCLIENT; in ds_service_lookup() 883 ds_svc_t *svc; in ds_domain_lookup() local 886 if ((svc = ds_get_svc(hdl)) == NULL) { in ds_domain_lookup() 892 if (svc->port == NULL) in ds_domain_lookup() 895 *dhdlp = svc->port->domain_hdl; in ds_domain_lookup() 906 ds_svc_t *svc; in ds_hdl_isready() local 909 if ((svc = ds_get_svc(hdl)) == NULL) { in ds_hdl_isready() [all …]
|
/titanic_44/usr/src/cmd/print/bsd-sysv-commands/ |
H A D | lpc.c | 45 lpc_exit(papi_service_t svc, char **args) in lpc_exit() argument 53 lpc_status(papi_service_t svc, char **args) in lpc_status() argument 61 status = papiPrinterQuery(svc, destination, pattrs, NULL, &p); in lpc_status() 84 (void) papiPrinterListJobs(svc, destination, NULL, in lpc_status() 99 verbose_papi_message(svc, status)); in lpc_status() 109 lpc_abort(papi_service_t svc, char **args) in lpc_abort() argument 119 status = papiPrinterPause(svc, destination, "paused via lpc abort"); in lpc_abort() 125 verbose_papi_message(svc, status)); in lpc_abort() 132 lpc_clean(papi_service_t svc, char **args) in lpc_clean() argument 143 status = papiPrinterPurgeJobs(svc, destination, &jobs); in lpc_clean() [all …]
|
H A D | cancel.c | 68 papi_service_t svc = NULL; in cancel_jobs_for_user() local 73 status = papiServiceCreate(&svc, NULL, NULL, NULL, in cancel_jobs_for_user() 75 printers = interest_list(svc); in cancel_jobs_for_user() 76 papiServiceDestroy(svc); in cancel_jobs_for_user() 87 status = papiServiceCreate(&svc, printer, NULL, NULL, in cancel_jobs_for_user() 93 printer, verbose_papi_message(svc, status)); in cancel_jobs_for_user() 96 exit_code = berkeley_cancel_request(svc, stdout, printer, 1, in cancel_jobs_for_user() 99 papiServiceDestroy(svc); in cancel_jobs_for_user() 138 papi_service_t svc = NULL; in main() local 143 status = papiServiceCreate(&svc, av[c], NULL, NULL, in main() [all …]
|
H A D | lpmove.c | 54 move_job(papi_service_t svc, char *src, int32_t id, char *dest) in move_job() argument 60 status = papiJobMove(svc, src, id, dest); in move_job() 62 mesg = (char *)verbose_papi_message(svc, status); in move_job() 97 papi_service_t svc = NULL; in main() local 104 status = papiServiceCreate(&svc, printer, NULL, NULL, in main() 109 printer, verbose_papi_message(svc, status)); in main() 114 if (move_job(svc, printer, id, destination) < 0) in main() 122 status = papiPrinterPause(svc, printer, message); in main() 130 result = papiServiceGetStatusMessage(svc); in main() 163 svc, status)); in main() [all …]
|
/titanic_44/usr/src/cmd/fm/dicts/ |
H A D | SMF.dict | 29 defect.sunos.smf.svc.disabled=0 30 defect.sunos.smf.svc.temporarily_disabled=1 31 defect.sunos.smf.svc.invalid_restarter=2 32 defect.sunos.smf.svc.restarter_absent=3 33 defect.sunos.smf.svc.uninitialized=4 34 defect.sunos.smf.svc.restarter_dead=5 35 defect.sunos.smf.svc.administrative_request=6 36 defect.sunos.smf.svc.fault_threshold_reached=7 37 defect.sunos.smf.svc.method_fail=8 38 defect.sunos.smf.svc.none=9 [all …]
|
/titanic_44/usr/src/lib/smbsrv/libmlrpc/common/ |
H A D | ndr_svc.c | 66 ndr_svc_register(ndr_service_t *svc) in ndr_svc_register() argument 79 if (p == svc) in ndr_svc_register() 82 if (strcasecmp(p->name, svc->name) == 0) in ndr_svc_register() 89 ndr_services[free_slot] = svc; in ndr_svc_register() 94 ndr_svc_unregister(ndr_service_t *svc) in ndr_svc_unregister() argument 99 if (ndr_services[i] == svc) in ndr_svc_unregister() 105 ndr_svc_find_stub(ndr_service_t *svc, int opnum) in ndr_svc_find_stub() argument 109 for (ste = svc->stub_table; ste->func; ste++) { in ndr_svc_find_stub() 120 ndr_service_t *svc; in ndr_svc_lookup_name() local 124 if ((svc = ndr_services[i]) == NULL) in ndr_svc_lookup_name() [all …]
|