Lines Matching refs:scheme

169  * hc_fmri_nodeize -- convert hc-scheme FMRI to eft compatible format
231 char *scheme;
246 /* get the scheme from the detector */
247 if (nvlist_lookup_string(dfmri, FM_FMRI_SCHEME, &scheme) != 0) {
248 out(O_ALTFP, "XFILE: detector FMRI missing scheme");
252 /* based on scheme, determine type */
253 if (strcmp(scheme, FM_FMRI_SCHEME_HC) == 0) {
254 /* already in hc scheme */
256 } else if (strcmp(scheme, FM_FMRI_SCHEME_DEV) == 0) {
275 } else if (strcmp(scheme, FM_FMRI_SCHEME_CPU) == 0) {
285 "(scheme is %s, expect %s or %s or %s)",
286 scheme, FM_FMRI_SCHEME_HC, FM_FMRI_SCHEME_DEV,
291 out(O_ALTFP|O_VERB, "Received ereport in scheme %s", scheme);
300 * If hc-scheme use the fmri that was passed in.
311 * For hc scheme, if we can find the resource from the tolopogy, use
601 * scheme ereports from platform_getpath(), as this is called before
603 * ereports are all in hc scheme.
1521 char *scheme = NULL;
1618 if (nvlist_lookup_string(embnvp, FM_FMRI_SCHEME, &scheme) == 0) {
1619 if (strcmp(scheme, FM_FMRI_SCHEME_HC) == 0) {
1863 char *scheme = NULL;
1867 &scheme) == 0) {
1868 if (strcmp(scheme, FM_FMRI_SCHEME_HC) == 0) {
1880 char *scheme = NULL;
1896 &scheme) == 0 &&
1897 strcmp(scheme, FM_FMRI_SCHEME_HC) == 0) {
1911 &scheme) == 0 &&
1912 strcmp(scheme, FM_FMRI_SCHEME_HC) == 0) {
2201 * to an instanced path. Only hc scheme is supported.
2208 char *scheme;
2214 } else if (nvlist_lookup_string(rsrc, FM_FMRI_SCHEME, &scheme) != 0) {
2215 out(O_ALTFP, "platform_fault2ipath: no scheme type for rsrc");
2219 if (strncmp(scheme, FM_FMRI_SCHEME_HC,
2222 "scheme %s", scheme);