Searched refs:scheme (Results 1 - 25 of 74) 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.c46 psm_open(service_t *svc, char *scheme) argument
51 if ((scheme == NULL) || (strchr(scheme, '/') != NULL))
54 snprintf(path, sizeof (path), PSM_DIR "/psm-%s.so", scheme);
63 detailed_error(svc, "psm_open(%s): %s: %s", scheme, path,
H A Dservice.c87 result = strdup(uri->scheme);
100 char *scheme = default_print_service(); local
120 /* parse the URI and set the scheme(print service) */
122 scheme = (svc->uri)->scheme;
124 /* override the scheme if it was in the attributes */
126 "print-service-module", &scheme);
129 scheme = name;
131 result = psm_open(svc, scheme);
143 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:__anon4571
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.c49 * scheme plugin operations are supported as long as a backend method is
50 * supplied by a scheme-specific enumerator or the enumerator module that
51 * created the matching topology node. Support for fmd scheme operations
70 * - create: an FMRI nvlist by scheme type
106 char *scheme, *str; local
110 if (nvlist_lookup_string(fmri, FM_FMRI_SCHEME, &scheme) != 0)
114 if ((rnode = topo_hdl_root(thp, scheme)) == NULL)
145 * For path FMRI's the scheme is encoded in the authority portion of
148 * path://scheme=<scheme>/
218 char *scheme; local
246 char *scheme; local
274 char *scheme; local
309 char *scheme; local
335 char *scheme; local
363 char *scheme; local
393 char *scheme; local
421 char *scheme; local
448 char *scheme; local
604 char *scheme; local
650 char *scheme; local
736 topo_fmri_create(topo_hdl_t *thp, const char *scheme, const char *name, topo_instance_t inst, nvlist_t *nvl, int *err) argument
1062 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/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/sun4u/datapath-retire/
H A Dcda_main.c70 char *scheme; local
74 nvlist_lookup_string(asru, FM_FMRI_SCHEME, &scheme) != 0 ||
82 strcmp(scheme, sp->subr_sname) == 0 &&
/illumos-gate/usr/src/lib/fm/libfmd_snmp/
H A DMakefile.com37 scheme.c
/illumos-gate/usr/src/boot/sys/boot/common/
H A Ddev_net.c102 const char *scheme; member in struct:uri_scheme
361 * <scheme>://IPv4/path
362 * <scheme>:/path
364 * For compatibility with previous behaviour it also accepts as an NFS scheme
373 * If no global default scheme has been specified and no scheme has been
389 if (strncmp(rootpath, uri_schemes[i].scheme,
390 strlen(uri_schemes[i].scheme)) != 0)
410 ptr += strlen(uri_schemes[i].scheme);
412 /* we are in the form <scheme>
[all...]
/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

Completed in 95 milliseconds

123