Searched defs:scheme (Results 1 - 25 of 39) sorted by relevance

12

/illumos-gate/usr/src/lib/print/libpapi-common/common/
H A Duri.h40 * scheme://[[user[:password]@]host[:port]]/path[[#fragment]|[?query]]
43 char *scheme; member in struct:__anon4324
/illumos-gate/usr/src/lib/print/libpapi-dynamic/common/
H A Dpsm.c48 psm_open(service_t *svc, char *scheme) argument
53 if ((scheme == NULL) || (strchr(scheme, '/') != NULL))
56 snprintf(path, sizeof (path), PSM_DIR "/psm-%s.so", scheme);
65 detailed_error(svc, "psm_open(%s): %s: %s", scheme, path,
H A Dservice.c92 result = strdup(uri->scheme);
105 char *scheme = default_print_service(); local
125 /* parse the URI and set the scheme(print service) */
127 scheme = (svc->uri)->scheme;
129 /* override the scheme if it was in the attributes */
131 "print-service-module", &scheme);
134 scheme = name;
136 result = psm_open(svc, scheme);
148 scheme, nam
[all...]
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/
H A Dtopo_file.c66 const char *scheme, int pmap)
78 scheme);
80 (void) snprintf(fp, MAXNAMELEN, TOPO_COMMON_FILE, scheme);
88 if ((tfp->tf_tmap = topo_xml_read(mod, tfp->tf_filenm, scheme))
65 topo_file_load(topo_mod_t *mod, tnode_t *node, const char *name, const char *scheme, int pmap) argument
H A Dtopo_tree.c29 * Toplogy trees are instantiated for each builtin (FMRI) scheme specified
31 * skeleton of the topology tree (scheme, root node, and file information).
34 * provides a handle to access static .xml files that seed scheme-specifc
39 * trees maintained in topo_hdl_t. Builtin scheme-specific enumerators are
41 * system. If a <scheme>-topology.xml file exists in a standard file
82 topo_tree_create(topo_hdl_t *thp, topo_mod_t *mod, const char *scheme) argument
92 if ((tp->tt_scheme = topo_mod_strdup(mod, scheme)) == NULL)
161 * <product-name>-<scheme>-topology
162 * <platform-name>-<scheme>-topology (uname -i)
163 * <machine-name>-<scheme>
[all...]
H A Dtopo_parse.c35 tf_info_new(topo_mod_t *mp, xmlDocPtr doc, xmlChar *scheme) argument
42 if ((r->tf_scheme = topo_mod_strdup(mp, (char *)scheme)) == NULL) {
H A Dtopo_2xml.c317 txml_print_topology(topo_hdl_t *thp, FILE *fp, char *scheme, tnode_t *node) argument
326 begin_element(fp, Topology, Name, name, Scheme, scheme,
334 topo_xml_print(topo_hdl_t *thp, FILE *fp, const char *scheme, int *err) argument
341 if (strcmp(scheme, tp->tt_scheme) == 0) {
H A Dtopo_subr.c215 topo_hdl_root(topo_hdl_t *thp, const char *scheme) argument
221 if (strcmp(scheme, tp->tt_scheme) == 0)
H A Dtopo_snap.c29 * snapshot and close a topology exported by FMRI scheme (hc, mem and cpu)
46 * may initiate topology tree walks on a scheme-tree basis. topo_walk_init()
48 * FMRI scheme trees. The walker data structure, topo_walk_t, is an opaque
53 * scheme tree. At any time, the callback may terminate the walk by returning
496 topo_walk_init(topo_hdl_t *thp, const char *scheme, topo_walk_cb_t cb_f, argument
504 if (strcmp(scheme, tp->tt_scheme) == 0) {
H A Dtopo_mod.c32 * They are loaded by our builtin scheme-specific plugins, other modules or
277 const char *scheme)
279 return (topo_file_load(mod, node, (char *)name, (char *)scheme, 0));
276 topo_mod_enummap(topo_mod_t *mod, tnode_t *node, const char *name, const char *scheme) argument
/illumos-gate/usr/src/lib/libnisdb/
H A Ddb_query.cc37 db_query::db_query(db_scheme * scheme, int size, nis_attr* attrlist) argument
51 if (!scheme->find_index(attrlist[i].zattr_ndx,
73 * along with information on the scheme given, will determine
79 db_query::db_query(db_scheme *scheme, entry_object_p obj) argument
81 num_components = scheme->numkeys(); // scheme's view of key count
82 db_key_desc *keyinfo = scheme->keyloc();
/illumos-gate/usr/src/uts/sparc/io/
H A Ddevfm_machdep.c41 char *scheme; local
48 /* Verify FMRI scheme name and version number */
49 if ((nvlist_lookup_string(nvl, FM_FMRI_SCHEME, &scheme) != 0) ||
50 (strcmp(scheme, FM_FMRI_SCHEME_MEM) != 0) ||
58 * scheme FMRI. One way is to use the "offset" and "serial"
/illumos-gate/usr/src/cmd/fm/modules/sun4v/cpumem-retire/
H A Dcma_cpu_sun4v.c86 char *scheme; local
89 * We're using topo retire if the fmri is in "hc" scheme.
91 if (nvlist_lookup_string(fmri, FM_FMRI_SCHEME, &scheme) == 0 &&
92 strcmp(scheme, FM_FMRI_SCHEME_HC) == 0) {
136 char *scheme; local
142 if (repair || nvlist_lookup_string(fmri, FM_FMRI_SCHEME, &scheme) != 0)
144 if (strcmp(scheme, FM_FMRI_SCHEME_CPU) == 0) {
147 } else if (strcmp(scheme, FM_FMRI_SCHEME_HC) != 0) {
/illumos-gate/usr/src/cmd/fm/modules/common/io-retire/
H A Drio_main.c129 char *scheme; local
188 scheme = NULL;
189 if (nvlist_lookup_string(asru, FM_FMRI_SCHEME, &scheme) != 0 ||
190 strcmp(scheme, FM_FMRI_SCHEME_DEV) != 0) {
191 fmd_hdl_debug(hdl, "rio_recv: not \"dev\" scheme: %s",
192 scheme ? scheme : "<NULL>");
246 scheme = NULL;
247 if (nvlist_lookup_string(asru, FM_FMRI_SCHEME, &scheme) != 0 ||
248 strcmp(scheme, FM_FMRI_SCHEME_DE
[all...]
/illumos-gate/usr/src/cmd/fm/modules/sun4u/datapath-retire/
H A Dcda_main.c68 char *scheme; local
72 nvlist_lookup_string(asru, FM_FMRI_SCHEME, &scheme) != 0 ||
80 strcmp(scheme, sp->subr_sname) == 0 &&
/illumos-gate/usr/src/uts/common/io/
H A Dbl.c124 const char *scheme; local
165 if (nvlist_lookup_string(fmri, FM_FMRI_SCHEME, (char **)&scheme) != 0) {
173 err = blacklist(cmd, scheme, fmri, class);
/illumos-gate/usr/src/cmd/fm/modules/common/cpumem-retire/
H A Dcma_main.c81 * On x86, the ASRUs are expected to be in hc scheme. When
141 * The ASRU for cpu faults are in cpu scheme on native and in hc
142 * scheme on xpv. So each cpu fault class needs to be listed twice.
369 * Default "fault.cpu.*" for "cpu" scheme ASRU dispatch.
382 char *scheme; local
393 nvlist_lookup_string(asru, FM_FMRI_SCHEME, &scheme) != 0 ||
401 strcmp(scheme, sp->subr_sname) == 0 &&
/illumos-gate/usr/src/cmd/fm/modules/sun4/cpumem-diagnosis/
H A Dcmd_mem.c54 const char *scheme, *unum; local
59 FM_FMRI_SCHEME, DATA_TYPE_STRING, &scheme,
62 strcmp(scheme, FM_FMRI_SCHEME_MEM) != 0)
/illumos-gate/usr/src/uts/intel/io/
H A Ddevfm_machdep.c63 char *scheme; local
66 /* Verify FMRI scheme name and version number */
67 if ((nvlist_lookup_string(nvl, FM_FMRI_SCHEME, &scheme) != 0) ||
68 (strcmp(scheme, FM_FMRI_SCHEME_HC) != 0) ||
/illumos-gate/usr/src/cmd/fm/modules/common/zfs-retire/
H A Dzfs_retire.c320 * This assumes that the ZFS scheme code associated unusable (i.e.
325 * relying on the scheme's unusable callback and instead directly
364 char *scheme, *fmri; local
459 &scheme) != 0)
462 if (strcmp(scheme, FM_FMRI_SCHEME_HC) != 0)
489 &scheme) != 0)
492 if (strcmp(scheme, FM_FMRI_SCHEME_ZFS) != 0)
/illumos-gate/usr/src/cmd/hal/probing/storage/
H A Dprobe-storage.c350 const char *scheme = ""; local
440 scheme = "mbr";
447 scheme = "smi";
457 scheme = "gpt";
465 libhal_changeset_set_property_string (cs, "storage.partitioning_scheme", scheme);
/illumos-gate/usr/src/uts/common/fs/sockfs/
H A Dnl7curi.h140 void *scheme; /* Scheme private state */ member in struct:uri_desc_s
/illumos-gate/usr/src/uts/sun4u/os/
H A Dplat_ecc_unum.c955 plat_blacklist(int cmd, const char *scheme, nvlist_t *fmri, const char *class) argument
971 if (strcmp(scheme, FM_FMRI_SCHEME_MEM) == 0) {
975 } else if (strcmp(scheme, FM_FMRI_SCHEME_CPU) == 0) {
/illumos-gate/usr/src/cmd/mdb/common/modules/libtopo/
H A Dlibtopo.c328 char scheme[36]; local
330 if (mdb_readstr(scheme, sizeof (scheme), (uintptr_t)tree->tt_scheme)
332 (void) mdb_snprintf(scheme, sizeof (scheme), "<%p>",
336 if (strncmp(tgt_scheme, scheme, 36) == 0) {
499 * "hc" scheme tree. The user can optionally specify a different tree via the
500 * "-s <scheme>" option.
555 * scheme we're interested in.
561 mdb_warn("failed to find a topo tree for scheme
[all...]
/illumos-gate/usr/src/cmd/fm/modules/common/fabric-xlate/
H A Dfx_subr.c341 char *scheme; local
344 nvlist_lookup_string(detector, FM_FMRI_SCHEME, &scheme) != 0 ||
345 ! STRCMP(scheme, FM_FMRI_SCHEME_HC))
534 char *path, *scheme; local
538 if (nvlist_lookup_string(detector, FM_FMRI_SCHEME, &scheme) != 0)
541 if (STRCMP(scheme, FM_FMRI_SCHEME_DEV)) {
546 } else if (STRCMP(scheme, FM_FMRI_SCHEME_HC)) {
549 * itself. In this case convert HC scheme to dev path.

Completed in 69 milliseconds

12