/osnet-11/usr/src/lib/rad/pysmf/common/ |
H A D | rad.py | 87 svc = ("service", service) variable in class:Repository 89 kvs = [_RAD_TYPE_INSTANCE, svc, ("instance", instance)] 91 kvs = [_RAD_TYPE_SERVICE, svc] 111 """ Look up a service/instance object by svc: FMRI string """ 115 """ Look up a service/instance object by svc and/or inst """
|
/osnet-11/usr/src/lib/efcode/fcdriver/ |
H A D | build_tree.c | 43 fc_nodeop(common_data_t *cdp, fc_phandle_t node, char *svc) argument 48 error = fc_run_priv(cdp, svc, 1, 1, fc_phandle2cell(node), &hcell);
|
/osnet-11/usr/src/lib/librdc/common/ |
H A D | rdcpersist.c | 136 sv_conf_t svc; local 139 bzero(&svc, sizeof (svc)); 150 svc.svc_major = major(sb.st_rdev); 151 svc.svc_minor = minor(sb.st_rdev); 152 strncpy(svc.svc_path, vol, sizeof (svc.svc_path)); 160 svc.svc_flag = (NSC_DEVICE | NSC_CACHE); 161 svc.svc_error = spcs_s_ucreate(); 163 if (ioctl(fd, SVIOC_ENABLE, &svc) < [all...] |
/osnet-11/usr/src/lib/libsmbns/common/ |
H A D | smbns_netbios.c | 373 boolean_t *svc = NULL; local 381 svc = &nbtd.nbs_ns.s_up; 387 svc = &nbtd.nbs_dgm.s_up; 393 svc = &nbtd.nbs_browser.s_up; 402 while (*svc != desired_state) {
|
/osnet-11/usr/src/lib/libndr/common/ |
H A D | ndr_svc.c | 64 ndr_svc_register(ndr_service_t *svc) argument 77 if (p == svc) 80 if (strcasecmp(p->name, svc->name) == 0) 87 ndr_services[free_slot] = svc; 92 ndr_svc_unregister(ndr_service_t *svc) argument 97 if (ndr_services[i] == svc) 103 ndr_svc_find_stub(ndr_service_t *svc, int opnum) argument 107 for (ste = svc->stub_table; ste->func; ste++) { 118 ndr_service_t *svc; local 122 if ((svc 139 ndr_service_t *svc; local 233 ndr_service_t *svc = xa->binding->service; local 267 ndr_service_t *svc = xa->binding->service; local [all...] |
/osnet-11/usr/src/lib/libfedfs/common/ |
H A D | smf_params.c | 251 scf_service_t *svc = NULL; local 263 (svc = scf_service_create(h)) == NULL || 267 scf_handle_decode_fmri(h, FEDFS_CLIENT, NULL, svc, 272 if (scf_iter_service_pgs_typed(iter, svc, SCF_GROUP_APPLICATION) != 0) 321 scf_service_destroy(svc); 341 scf_service_t *svc = NULL; local 350 (svc = scf_service_create(h)) == NULL || 352 scf_handle_decode_fmri(h, FEDFS_CLIENT, NULL, svc, 354 scf_service_get_pg(svc, pgname, pg) != 0) 369 scf_service_destroy(svc); 463 scf_service_t *svc = NULL; local 667 scf_service_t *svc = NULL; local 725 scf_service_t *svc = NULL; local [all...] |
/osnet-11/usr/src/lib/rpcsec_gss/ |
H A D | rpcsec_gss_utils.c | 107 __rpc_gss_svc_to_num(char *svc, rpc_gss_service_t *num) argument 109 if (strcasecmp(svc, SVC_INTEGRITY) == 0) 111 else if (strcasecmp(svc, SVC_PRIVACY) == 0) 113 else if (strcasecmp(svc, SVC_NONE) == 0) 115 else if (strcasecmp(svc, SVC_DEFAULT) == 0)
|
/osnet-11/usr/src/lib/libntsvcs/common/ |
H A D | svcctl_svc.c | 354 svcctl_svc_node_t *svc; local 389 svc = svcctl_scm_find_service(mgr_ctx, svc_ctx->sc_svcname); 390 if (svc == NULL || svc->sn_state == NULL) { 397 param->service_status.cur_state = svcctl_scm_map_status(svc->sn_state); 621 svcctl_svc_node_t *svc; local 638 svc = svcctl_scm_find_service(mgr_ctx, svc_ctx->sc_svcname); 639 if (svc == NULL || svc->sn_state == NULL) { 646 param->service_status.cur_state = svcctl_scm_map_status(svc 670 svcctl_svc_node_t *svc; local 827 svcctl_svc_node_t *svc; local 894 svcctl_svc_node_t *svc; local 932 svcctl_svc_node_t *svc; local 979 svcctl_svc_node_t *svc; local 1195 svcctl_svc_node_t *svc; local 1309 svcctl_svc_node_t *svc; local [all...] |
H A D | ntsvcs_clnt.c | 320 ndr_service_t *svc; local 334 if ((svc = ndr_svc_lookup_name(service)) == NULL) { 412 ndr_rpc_uncgen(server, svc->endpoint, uncpath, MAXPATHLEN); 790 ndr_service_t *svc; local 813 svc = handle->clnt->binding->service; 814 name = svc->name;
|
H A D | svcctl_scm.c | 564 svc_enum_status_t *svc = (svc_enum_status_t *)buf; local 603 svc[ns].svc_name = LE_IN32(&offset); 620 svc[ns].display_name = LE_IN32(&offset); 625 svc[ns].svc_status.cur_state = LE_IN32(&s_status); 627 svc[ns].svc_status.service_type = LE_IN32(&s_type); 628 svc[ns].svc_status.ctrl_accepted = 0; 629 svc[ns].svc_status.w32_exitcode = 0; 630 svc[ns].svc_status.svc_specified_exitcode = 0; 631 svc[ns].svc_status.check_point = 0; 632 svc[n [all...] |
/osnet-11/usr/src/lib/libfcoe/common/ |
H A D | libfcoe.c | 181 scf_service_t *svc = NULL; local 204 ret = fcoe_cfg_scf_init(&handle, &svc, is_target); 219 if (scf_service_get_pg(svc, FCOE_PG_NAME, pg) == -1) { 221 if (scf_service_add_pg(svc, FCOE_PG_NAME, 434 if (svc != NULL) { 435 scf_service_destroy(svc); 841 scf_service_t *svc = NULL; local 855 commitRet = fcoe_cfg_scf_init(&handle, &svc, portType); 868 if (scf_service_get_pg(svc, FCOE_PG_NAME, pg) == -1) { 952 if (svc ! [all...] |
/osnet-11/usr/src/lib/fm/topo/libtopo/common/ |
H A D | svc.c | 28 * the service schema. The official version of a svc FMRI has the form: 30 * svc://[scope@][system-fqn]/service[:instance][@contract-id] 36 * svc:///network/ssh:default 39 * authority is elided (svc:/network/ssh:default). As this module deals with 54 #include <svc.h> 93 { "svc", FM_FMRI_SCHEME_SVC, SVC_VERSION, &svc_ops }; 170 * the scf_{x}_to_fmri interfaces return short-hand svc-scheme FMRI's 173 * svc:/service[:instance] 175 * But all our other code assumes a proper svc-scheme FMRI, so we 236 scf_service_t *svc local 692 scf_service_t *svc = NULL; local [all...] |
/osnet-11/usr/src/lib/cfgadm_plugins/ib/common/ |
H A D | cfga_conf.c | 67 { "port-svc-list", IB_PORT_SERVICE }, 68 { "vppa-svc-list", IB_VPPA_SERVICE }, 69 { "hca-svc-list", IB_HCASVC_SERVICE }, 1150 * svc - Service being added/deleted 1160 ib_conf_control_ioctl(char *svc, uint_t cmd) argument 1166 DPRINTF("Service = %s len = %x, type = %x\n", svc, 1167 strlen(svc), service_type); 1180 ioctl_data.buf = (caddr_t)svc; 1181 ioctl_data.bufsiz = strlen(svc);
|
/osnet-11/usr/src/lib/libnsl/rpc/ |
H A D | rpc_soc.c | 195 SVCXPRT *svc; local 212 "svc%s_create: could not open connection : %s", netid, 221 svc = svc_tli_create(fd, nconf, NULL, 224 if (svc == NULL) { 230 port = (((struct sockaddr_in *)svc->xp_ltaddr.buf)->sin_port); 231 svc->xp_port = ntohs(port); 232 return (svc);
|
/osnet-11/usr/src/lib/libnwam/common/ |
H A D | libnwam_util.c | 832 scf_service_t *svc = NULL; local 849 if ((svc = scf_service_create(h)) == NULL) { 856 if (scf_handle_decode_fmri(h, valstr[i], NULL, svc, 866 scf_service_destroy(svc);
|
/osnet-11/usr/src/lib/libdscfg/common/ |
H A D | cfg_vols.c | 983 sv_conf_t svc; local 1013 bzero(&svc, sizeof (svc)); 1021 svc.svc_major = major(statinfo->rdev); 1022 svc.svc_minor = minor(statinfo->rdev); 1029 svc.svc_major = major(stb.st_rdev); 1030 svc.svc_minor = minor(stb.st_rdev); 1033 strncpy(svc.svc_path, path, sizeof (svc.svc_path)); 1039 svc [all...] |
/osnet-11/usr/src/lib/libipadm/common/ |
H A D | ipadm_cong.c | 43 #define IPADM_CONG_SVC "svc:/network/%s/congestion-control" 44 #define IPADM_CONG_SVC_INST "svc:/network/%s/congestion-control:%s" 61 scf_service_t *svc; member in struct:ipadm_scf_state 178 scf_service_destroy(ss->svc); 196 ss->svc = NULL; 202 (ss->svc = scf_service_create(ss->h)) == NULL) { 257 if (scf_handle_decode_fmri(ss->h, ss->fmri, NULL, ss->svc, NULL, 261 scfrtn = scf_service_get_pg(ss->svc, IPADM_CONG_PG, pg); 273 scfrtn = scf_service_add_pg(ss->svc, IPADM_CONG_PG, 386 if (scf_handle_decode_fmri(ss.h, ss.fmri, NULL, ss.svc, 805 ipadm_svc_is_online(scf_handle_t *h, const char *svc) argument 830 ipadm_svc_is_enabled(scf_handle_t *h, const char *svc) argument [all...] |
/osnet-11/usr/src/lib/fm/libasr/common/ |
H A D | asr_audit.c | 719 add_software_module(asr_buf_t *out, char *fmri, scf_service_t *svc) argument 728 CHECK_NOT_NULL(svc); 771 scf_service_t *svc = NULL; local 786 svc = scf_service_create(handle); 787 CHECK_NOT_NULL(svc); 807 while ((r = scf_iter_next_service(svc_iter, svc)) > 0) { 808 err = scf_iter_service_instances(inst_iter, svc); 817 (void) add_software_module(out, fmri, svc); 833 if (svc != NULL) 834 scf_service_destroy(svc); [all...] |
/osnet-11/usr/src/lib/fm/libfmnotify/common/ |
H A D | libfmnotify.c | 144 scf_service_t *svc = NULL; local 148 svc = scf_service_create(handle); 151 if (sc == NULL || svc == NULL || pg == NULL) { 159 scf_scope_get_service(sc, svcname, svc) != -1 && 160 scf_service_get_pg(svc, pgname, pg) != -1) 166 scf_service_destroy(svc); 269 nvlist_lookup_string(attr_nvl, "svc-string", &svcname)) {
|
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/os/ |
H A D | locate_kdc.c | 411 enum locate_service_type svc, int socktype, int family) 464 code = vtbl->lookup(blob, svc, realmz, socktype, family, 503 enum locate_service_type svc) 512 switch (svc) { 563 enum locate_service_type svc, int socktype, int family) 575 switch (svc) { 628 * thru NSS (name svc switch) to get the net addrs. 633 enum locate_service_type svc, 741 enum locate_service_type svc, 757 switch (svc) { 409 module_locate_server(krb5_context ctx, const krb5_data *realm, struct addrlist *addrlist, enum locate_service_type svc, int socktype, int family) argument 501 prof_locate_server(krb5_context context, const krb5_data *realm, char ***hostlist, enum locate_service_type svc) argument 561 dns_locate_server(krb5_context context, const krb5_data *realm, struct srv_dns_entry **dns_list_head, enum locate_service_type svc, int socktype, int family) argument 631 dns_hostnames2netaddrs( struct srv_dns_entry *head, enum locate_service_type svc, int socktype, int family, struct addrlist *addrlist) argument 739 prof_hostnames2netaddrs( char **hostlist, enum locate_service_type svc, int socktype, int family, struct addrlist *addrlist) argument 833 krb5int_locate_server(krb5_context context, const krb5_data *realm, struct addrlist *addrlist, enum locate_service_type svc, int socktype, int family) argument [all...] |
/osnet-11/usr/src/lib/libscf/inc/ |
H A D | libscf_priv.h | 84 #define VARSVC_DIR "/var/svc/manifest/" 85 #define LIBSVC_DIR "/lib/svc/manifest/" 90 #define SCF_FMRI_SVC_PREFIX "svc:" 104 #define CT_CREATOR_STARTD "svc.startd" 105 #define CT_CREATOR_CONFIGD "svc.configd" 112 #define SVC_SULOGIN_FMRI ((const char *)"svc:/system/sulogin") 220 * of a svc: fmri, and returns pointers to the applicable portions. Omitted 224 * Parsing is attempted in the order of: svc:, file:. The identified type 271 * the fmri "svc:/system/filesystem/local:default", any of the following would 322 #define REPOSITORY_DB "/etc/svc/repositor 332 scf_service_t *svc; member in struct:scf_walkinfo [all...] |
/osnet-11/usr/src/lib/fm/libldom/sparc/ |
H A D | ldmsvcs_utils.c | 689 fds_svc_t *svc; local 692 svc = NULL; 695 svc = lsp->fmas_svcs.tbl[i]; 700 if (svc == NULL) 709 if (svc->state == DS_SVC_ACTIVE) { 712 svc->state = DS_SVC_ACTIVE; 713 svc->hdl = req->svc_handle; 714 svc->ver.major = req->major_vers; 715 svc->ver.minor = minor; 1012 fds_svc_t *svc; local 1289 fds_svc_t *svc; local [all...] |
/osnet-11/usr/src/lib/nsswitch/pynss/common/ |
H A D | nssscf.c | 55 scf_service_t *svc; /* smf service handle */ member in struct:__anon2791 92 if (self->svc != NULL) { 93 scf_service_destroy(self->svc); 94 self->svc = NULL; 148 self->svc = v; 252 if (scf_iter_service_pgs(iter, self->svc) < 0) { 396 if (scf_service_get_pg(self->svc, pgname, pg_handle) != 0) { 411 if (scf_service_get_instance(self->svc, 574 if (scf_service_get_instance(self->svc, 747 ret = scf_service_get_pg(self->svc, p [all...] |
/osnet-11/usr/src/lib/libscf/common/ |
H A D | midlevel.c | 1567 scf_service_t *svc = NULL; local 1579 ((svc = scf_service_create(h)) == NULL) || 1594 while ((svc_iter_ret = scf_iter_next_service(svc_iter, svc)) > 0) { 1596 if ((scf_iter_service_instances(inst_iter, svc)) != 1637 scf_service_destroy(svc); 1652 scf_service_t *svc = NULL; local 1673 if ((svc = scf_service_create(h)) == NULL || 1687 if (scf_handle_decode_fmri(h, fmri_buf, NULL, svc, 1694 if (scf_service_to_fmri(svc, fmri_buf, fmri_sz) == -1) 1720 scf_service_destroy(svc); 1802 scf_service_t *svc = NULL; local [all...] |
/osnet-11/usr/src/lib/libsldap/common/ |
H A D | ns_writes.c | 99 ldap_service_t svc; local 102 svc = LDAP_SVC_SHADOW; 104 svc = LDAP_SVC_PASSWD; 106 svc = LDAP_SVC_USERATTR; 108 svc = LDAP_SVC_AUTHATTR; 110 svc = LDAP_SVC_EXECATTR; 112 svc = LDAP_SVC_PROFATTR; 114 svc = LDAP_SVC_PROJECT; 116 svc = LDAP_SVC_GROUP; 118 svc 1189 do_cachemgr_operation(const char *dn, ns_ldap_attr_t **attr, ns_ldap_error_t ** errorp, int opcode, ldap_service_t svc) argument 4347 send_to_cachemgr( const char *dn, ns_ldap_attr_t **attr, ns_ldap_error_t **errorp, int opcode, ldap_service_t svc) argument [all...] |