Home
last modified time | relevance | path

Searched refs:scheme (Results 1 – 25 of 92) sorted by relevance

1234

/titanic_50/usr/src/lib/fm/topo/libtopo/common/
H A Dtopo_fmri.c102 char *scheme, *str; in topo_fmri_nvl2str() local
106 if (nvlist_lookup_string(fmri, FM_FMRI_SCHEME, &scheme) != 0) in topo_fmri_nvl2str()
110 if ((rnode = topo_hdl_root(thp, scheme)) == NULL) in topo_fmri_nvl2str()
178 char *scheme; in topo_fmri_present() local
182 if (nvlist_lookup_string(fmri, FM_FMRI_SCHEME, &scheme) != 0) in topo_fmri_present()
186 if ((rnode = topo_hdl_root(thp, scheme)) == NULL) in topo_fmri_present()
206 char *scheme; in topo_fmri_replaced() local
210 if (nvlist_lookup_string(fmri, FM_FMRI_SCHEME, &scheme) != 0) in topo_fmri_replaced()
214 if ((rnode = topo_hdl_root(thp, scheme)) == NULL) in topo_fmri_replaced()
234 char *scheme; in topo_fmri_contains() local
[all …]
H A Dtopo_file.c66 const char *scheme, int pmap) in topo_file_load() argument
78 scheme); in topo_file_load()
80 (void) snprintf(fp, MAXNAMELEN, TOPO_COMMON_FILE, scheme); in topo_file_load()
88 if ((tfp->tf_tmap = topo_xml_read(mod, tfp->tf_filenm, scheme)) in topo_file_load()
H A Dtopo_2xml.c317 txml_print_topology(topo_hdl_t *thp, FILE *fp, char *scheme, tnode_t *node) in txml_print_topology() argument
326 begin_element(fp, Topology, Name, name, Scheme, scheme, in txml_print_topology()
334 topo_xml_print(topo_hdl_t *thp, FILE *fp, const char *scheme, int *err) in topo_xml_print() argument
341 if (strcmp(scheme, tp->tt_scheme) == 0) { in topo_xml_print()
H A Dtopo_tree.c82 topo_tree_create(topo_hdl_t *thp, topo_mod_t *mod, const char *scheme) in topo_tree_create() argument
92 if ((tp->tt_scheme = topo_mod_strdup(mod, scheme)) == NULL) in topo_tree_create()
/titanic_50/usr/src/cmd/fm/modules/common/io-retire/
H A Drio_main.c129 char *scheme; in rio_recv() local
188 scheme = NULL; in rio_recv()
189 if (nvlist_lookup_string(asru, FM_FMRI_SCHEME, &scheme) != 0 || in rio_recv()
190 strcmp(scheme, FM_FMRI_SCHEME_DEV) != 0) { in rio_recv()
192 scheme ? scheme : "<NULL>"); in rio_recv()
246 scheme = NULL; in rio_recv()
247 if (nvlist_lookup_string(asru, FM_FMRI_SCHEME, &scheme) != 0 || in rio_recv()
248 strcmp(scheme, FM_FMRI_SCHEME_DEV) != 0) { in rio_recv()
250 scheme ? scheme : "<NULL>"); in rio_recv()
/titanic_50/usr/src/lib/print/libpapi-dynamic/common/
H A Dpsm.c48 psm_open(service_t *svc, char *scheme) in psm_open() argument
53 if ((scheme == NULL) || (strchr(scheme, '/') != NULL)) in psm_open()
56 snprintf(path, sizeof (path), PSM_DIR "/psm-%s.so", scheme); in psm_open()
65 detailed_error(svc, "psm_open(%s): %s: %s", scheme, path, in psm_open()
H A Dservice.c92 result = strdup(uri->scheme); in default_print_service()
105 char *scheme = default_print_service(); in service_load() local
127 scheme = (svc->uri)->scheme; in service_load()
131 "print-service-module", &scheme); in service_load()
134 scheme = name; in service_load()
136 result = psm_open(svc, scheme); in service_load()
148 scheme, name); in service_load()
/titanic_50/usr/src/lib/libnisdb/
H A Ddb_scheme_c.x101 % STRUCTRWLOCK(scheme);
145 % return (WLOCK(scheme));
149 % return (WULOCK(scheme));
153 % return (RLOCK(scheme));
157 % return (RULOCK(scheme));
H A Ddb_query.cc37 db_query::db_query(db_scheme * scheme, int size, nis_attr* attrlist) in db_query() argument
51 if (!scheme->find_index(attrlist[i].zattr_ndx, in db_query()
79 db_query::db_query(db_scheme *scheme, entry_object_p obj) in db_query() argument
81 num_components = scheme->numkeys(); // scheme's view of key count in db_query()
82 db_key_desc *keyinfo = scheme->keyloc(); in db_query()
H A Ddb_mindex.cc65 scheme = NULL; in db_mindex()
91 scheme = new db_scheme(how); // make copy in init()
92 if (scheme == NULL) in init()
96 if (scheme->numkeys() == 0) { in init()
108 delete scheme; in init()
110 scheme = NULL; in init()
119 delete scheme; in init()
120 scheme = NULL; in init()
387 if (scheme->numkeys() != indices.indices_len) { // probably built wrong in extract_index_values_from_object()
390 scheme->numkeys(), indices.indices_len); in extract_index_values_from_object()
[all …]
H A Ddb_mindex_c.x79 db_scheme *scheme; member
123 % db_scheme *scheme;
184 % bool_t good() { return scheme != NULL && table != NULL; }
346 % db_scheme *getScheme(void) {return (scheme);}
H A Ddb_scheme.cc88 INITRW(scheme); in db_scheme()
163 INITRW(scheme); in db_scheme()
193 DESTROYRW(scheme); in ~db_scheme()
/titanic_50/usr/src/lib/fm/libfmd_msg/common/
H A Dfmd_msg_test.out29 …ntry tests variable expansion for event payload members: uuid = %<uuid>, de scheme = %<de.scheme>>>
38 … entry tests variable expansion for event payload members: uuid = %<uuid>, de scheme = %<de.scheme>
45 …<<This entry tests variable expansion for event payload members: uuid = 12345678, de scheme = fmd>>
54 IMPACT: This entry tests variable expansion for event payload members: uuid = 12345678, de scheme =…
63 IMPACT: This entry tests variable expansion for event payload members: uuid = 12345678, de scheme =…
70 …ntry tests variable expansion for event payload members: uuid = %<uuid>, de scheme = %<de.scheme>>>
79 … entry tests variable expansion for event payload members: uuid = %<uuid>, de scheme = %<de.scheme>
86 …<<This entry tests variable expansion for event payload members: uuid = 12345678, de scheme = fmd>>
95 IMPACT: This entry tests variable expansion for event payload members: uuid = 12345678, de scheme =…
104 IMPACT: This entry tests variable expansion for event payload members: uuid = 12345678, de scheme =…
/titanic_50/usr/src/cmd/fm/modules/sun4v/cpumem-retire/
H A Dcma_cpu_sun4v.c86 char *scheme; in cpu_cmd() local
91 if (nvlist_lookup_string(fmri, FM_FMRI_SCHEME, &scheme) == 0 && in cpu_cmd()
92 strcmp(scheme, FM_FMRI_SCHEME_HC) == 0) { in cpu_cmd()
136 char *scheme; in cma_cpu_start_retry() local
142 if (repair || nvlist_lookup_string(fmri, FM_FMRI_SCHEME, &scheme) != 0) in cma_cpu_start_retry()
144 if (strcmp(scheme, FM_FMRI_SCHEME_CPU) == 0) { in cma_cpu_start_retry()
147 } else if (strcmp(scheme, FM_FMRI_SCHEME_HC) != 0) { in cma_cpu_start_retry()
/titanic_50/usr/src/lib/print/libpapi-common/common/
H A Duri.c63 u->scheme = strndup(string, ptr - string); in uri_from_string()
167 (uri->scheme == NULL) || in uri_to_string()
186 uri->scheme, in uri_to_string()
201 (void) snprintf(buffer, buflen, "%s:%s", uri->scheme, in uri_to_string()
212 if (uri->scheme != NULL) in uri_free()
213 free(uri->scheme); in uri_free()
247 if (uri->scheme != NULL) in uri_dump()
248 fprintf(fp, "scheme: %s\n", uri->scheme); in uri_dump()
/titanic_50/usr/src/uts/sparc/io/
H A Ddevfm_machdep.c41 char *scheme; in fm_get_paddr() local
49 if ((nvlist_lookup_string(nvl, FM_FMRI_SCHEME, &scheme) != 0) || in fm_get_paddr()
50 (strcmp(scheme, FM_FMRI_SCHEME_MEM) != 0) || in fm_get_paddr()
/titanic_50/usr/src/uts/common/io/
H A Dbl.c124 const char *scheme; in bl_ioctl() local
165 if (nvlist_lookup_string(fmri, FM_FMRI_SCHEME, (char **)&scheme) != 0) { in bl_ioctl()
173 err = blacklist(cmd, scheme, fmri, class); in bl_ioctl()
/titanic_50/usr/src/cmd/fm/modules/common/eversholt/
H A Dplatform.c231 char *scheme; in platform_getpath() local
247 if (nvlist_lookup_string(dfmri, FM_FMRI_SCHEME, &scheme) != 0) { in platform_getpath()
253 if (strcmp(scheme, FM_FMRI_SCHEME_HC) == 0) { in platform_getpath()
256 } else if (strcmp(scheme, FM_FMRI_SCHEME_DEV) == 0) { in platform_getpath()
275 } else if (strcmp(scheme, FM_FMRI_SCHEME_CPU) == 0) { in platform_getpath()
286 scheme, FM_FMRI_SCHEME_HC, FM_FMRI_SCHEME_DEV, in platform_getpath()
291 out(O_ALTFP|O_VERB, "Received ereport in scheme %s", scheme); in platform_getpath()
1521 char *scheme = NULL; in platform_payloadprop() local
1618 if (nvlist_lookup_string(embnvp, FM_FMRI_SCHEME, &scheme) == 0) { in platform_payloadprop()
1619 if (strcmp(scheme, FM_FMRI_SCHEME_HC) == 0) { in platform_payloadprop()
[all …]
/titanic_50/usr/src/cmd/fm/modules/sun4u/datapath-retire/
H A Dcda_main.c68 char *scheme; in cda_get_subr() local
72 nvlist_lookup_string(asru, FM_FMRI_SCHEME, &scheme) != 0 || in cda_get_subr()
80 strcmp(scheme, sp->subr_sname) == 0 && in cda_get_subr()
/titanic_50/usr/src/cmd/hal/probing/storage/
H A Dprobe-storage.c350 const char *scheme = ""; in main() local
440 scheme = "mbr"; in main()
447 scheme = "smi"; in main()
457 scheme = "gpt"; in main()
465 libhal_changeset_set_property_string (cs, "storage.partitioning_scheme", scheme); in main()
/titanic_50/usr/src/cmd/fm/modules/common/zfs-retire/
H A Dzfs_retire.c364 char *scheme, *fmri; in zfs_retire_recv() local
459 &scheme) != 0) in zfs_retire_recv()
462 if (strcmp(scheme, FM_FMRI_SCHEME_HC) != 0) in zfs_retire_recv()
489 &scheme) != 0) in zfs_retire_recv()
492 if (strcmp(scheme, FM_FMRI_SCHEME_ZFS) != 0) in zfs_retire_recv()
/titanic_50/usr/src/cmd/fm/modules/sun4/cpumem-diagnosis/
H A Dcmd_mem.c54 const char *scheme, *unum; in cmd_fmri_get_unum() local
59 FM_FMRI_SCHEME, DATA_TYPE_STRING, &scheme, in cmd_fmri_get_unum()
62 strcmp(scheme, FM_FMRI_SCHEME_MEM) != 0) in cmd_fmri_get_unum()
/titanic_50/usr/src/cmd/fm/dicts/
H A DTEST.po38 …entry tests variable expansion for event payload members: uuid = %<uuid>, de scheme = %<de.scheme>"
/titanic_50/usr/src/cmd/fm/modules/common/fabric-xlate/
H A Dfx_subr.c341 char *scheme; in fab_get_hcpath() local
344 nvlist_lookup_string(detector, FM_FMRI_SCHEME, &scheme) != 0 || in fab_get_hcpath()
345 ! STRCMP(scheme, FM_FMRI_SCHEME_HC)) in fab_get_hcpath()
534 char *path, *scheme; in fab_get_rcpath() local
538 if (nvlist_lookup_string(detector, FM_FMRI_SCHEME, &scheme) != 0) in fab_get_rcpath()
541 if (STRCMP(scheme, FM_FMRI_SCHEME_DEV)) { in fab_get_rcpath()
546 } else if (STRCMP(scheme, FM_FMRI_SCHEME_HC)) { in fab_get_rcpath()
/titanic_50/usr/src/uts/intel/io/
H A Ddevfm_machdep.c63 char *scheme; in fm_get_paddr() local
67 if ((nvlist_lookup_string(nvl, FM_FMRI_SCHEME, &scheme) != 0) || in fm_get_paddr()
68 (strcmp(scheme, FM_FMRI_SCHEME_HC) != 0) || in fm_get_paddr()

1234