Searched refs:scheme (Results 1 - 25 of 69) sorted by relevance

123

/illumos-gate/usr/src/lib/libnisdb/
H A Ddb_scheme_c.x74 %/* A scheme is a description of the fields of a table. */
101 % STRUCTRWLOCK(scheme);
104 %/* Accessor: return number of keys in scheme. */
110 %/* Constructor: create empty scheme */
117 %/* Constructor: create new scheme by making copy of 'orig'.
118 % All items within old scheme are also copied (i.e. no shared pointers). */
124 %/* Destructor: delete all keys associated with scheme and scheme itself. */
131 % of this scheme. If so, return in 'result' the index's number. */
145 % return (WLOCK(scheme));
[all...]
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();
H A Ddb_mindex_c.x79 db_scheme *scheme;
123 % db_scheme *scheme;
140 % along with information on the scheme given, will determine
169 %/* Constructor: Create empty table (no scheme, no table or indices). */
172 %/* Constructor: Create new table using scheme defintion supplied.
173 % (Make copy of scheme and keep it with table.) */
183 %/* Returns whether there table is valid (i.e. has scheme). */
184 % bool_t good() { return scheme != NULL && table != NULL; }
196 % scheme. Reset version to 0 */
206 %/* Initialize table using information given in scheme 'ho
[all...]
H A Ddb_mindex.cc48 * Constructor: Create new table using scheme defintion supplied.
49 * (Make copy of scheme and keep it with table.)
62 /* Constructor: Create empty table (no scheme, no table or indices). */
65 scheme = NULL;
83 * Initialize table using information given in scheme 'how'.
84 * Record the scheme for later use (make copy of it);
91 scheme = new db_scheme(how); // make copy
92 if (scheme == NULL)
93 FATAL("db_mindex::init: could not allocate space for scheme",
96 if (scheme
[all...]
/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/print/libpapi-common/common/
H A Duri.h40 * scheme://[[user[:password]@]host[:port]]/path[[#fragment]|[?query]]
43 char *scheme; member in struct:__anon4324
H A Duri.c40 * scheme:scheme_data
41 * scheme://[[user[:password]@]host[:port]]/path[[#fragment]|[?query]]
54 /* find the scheme:scheme_part split */
63 u->scheme = strndup(string, ptr - string);
68 * scheme://[host_part]/[path_part]
146 } else { /* scheme:scheme_part */
167 (uri->scheme == NULL) ||
186 uri->scheme,
201 (void) snprintf(buffer, buflen, "%s:%s", uri->scheme,
212 if (uri->scheme !
[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_fmri.c45 * scheme plugin operations are supported as long as a backend method is
46 * supplied by a scheme-specific enumerator or the enumerator module that
47 * created the matching topology node. Support for fmd scheme operations
66 * - create: an FMRI nvlist by scheme type
102 char *scheme, *str; local
106 if (nvlist_lookup_string(fmri, FM_FMRI_SCHEME, &scheme) != 0)
110 if ((rnode = topo_hdl_root(thp, scheme)) == NULL)
178 char *scheme; local
182 if (nvlist_lookup_string(fmri, FM_FMRI_SCHEME, &scheme) != 0)
186 if ((rnode = topo_hdl_root(thp, scheme))
206 char *scheme; local
234 char *scheme; local
269 char *scheme; local
295 char *scheme; local
323 char *scheme; local
353 char *scheme; local
381 char *scheme; local
408 char *scheme; local
564 char *scheme; local
610 char *scheme; local
696 topo_fmri_create(topo_hdl_t *thp, const char *scheme, const char *name, topo_instance_t inst, nvlist_t *nvl, int *err) argument
1022 char *scheme; local
[all...]
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...]
/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/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/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/lib/fm/topo/maps/SUNW,Netra-X4200-M2/
H A DNetra-X4200-M2-disk-hc-topology.xmlgen31 <topology name='disk' scheme='hc'>
/illumos-gate/usr/src/lib/fm/topo/maps/SUNW,Sun-Fire-X4200-M2/
H A DSun-Fire-X4200-M2-disk-hc-topology.xmlgen32 <topology name='disk' scheme='hc'>
/illumos-gate/usr/src/lib/fm/topo/maps/SUNW,Sun-Fire-X4200-Server/
H A DSun-Fire-X4200-Server-disk-hc-topology.xmlgen32 <topology name='disk' scheme='hc'>
/illumos-gate/usr/src/lib/fm/topo/maps/SUNW,Sun-Fire-X4600-M2/
H A DSun-Fire-X4600-M2-disk-hc-topology.xmlgen31 <topology name='disk' scheme='hc'>
/illumos-gate/usr/src/cmd/fm/schemes/
H A DMakefile.com36 # For now, we assume a scheme is named after its directory and its source file
37 # is named 'scheme.c'. If schemes get more complicated this can be enhanced
41 SRCS = scheme.c
/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/lib/fm/libfmd_snmp/
H A DMakefile.com35 scheme.c
/illumos-gate/usr/src/lib/fm/topo/maps/Joyent,Joyent-Compute-Platform-1101/
H A DJoyent-Compute-Platform-1101-disk-hc-topology.xmlgenksh38 <topology name='disk' scheme='hc'>
/illumos-gate/usr/src/cmd/fm/fmdump/
H A DMakefile.com28 SRCS += fmdump.c nvlrender.c asru.c error.c fault.c scheme.c info.c
/illumos-gate/usr/src/cmd/fm/modules/common/eversholt/
H A Dplatform.c169 * hc_fmri_nodeize -- convert hc-scheme FMRI to eft compatible format
231 char *scheme; local
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_CP
1521 char *scheme = NULL; local
1863 char *scheme = NULL; local
1880 char *scheme = NULL; local
2208 char *scheme; local
[all...]

Completed in 247 milliseconds

123