/illumos-gate/usr/src/lib/libnisdb/ |
H A D | db_query.cc | 41 components = new db_qcomp[size]; 43 if (components == NULL) { 46 "db_query::db_query: cannot allocate space for components", 52 &(components[i].which_index))) { 58 components[i].index_value = new 61 if (components[i].index_value == NULL) { 87 /* components of query to be returned */ 88 components = new db_qcomp[num_components]; 91 if (components == NULL) { 93 "db_query::db_query: cannot allocate space for components", [all...] |
H A D | db_query_c.x | 36 %/* db_query is the structure that contains the components of a query. 60 db_qcomp components<>; 71 % db_qcomp* components; 73 %/* Accessor: returns number of components */ 77 % db_qcomp* queryloc() { return components; } 81 % db_query() { num_components = 0; components = NULL; } 97 % /* destructor (frees all components) */ 103 %/* Print all components of this query to stdout. */
|
H A D | ldap_scheme.c | 50 for (i = 0; i < q->components.components_len; i++) { 51 int index = q->components.components_val[i].which_index; 59 q->components.components_val[i].which_index = 70 * columns, space for a nis_attr array with at least q->components-> 106 for (i = 0, na = 0; i < q->components.components_len; i++) { 109 if (q->components.components_val[i].which_index >= 114 q->components.components_val[i].which_index, 128 a[na].zattr_val.zattr_val_val = q->components. 130 a[na].zattr_val.zattr_val_len = q->components.
|
H A D | ldap_nisdbquery.c | 108 buildQuery(int num_components, db_qcomp *components) { argument 115 q->components.components_len = num_components; 116 q->components.components_val = components; 123 * the number of db_qcomp's to allocate (in the 'components.components_val' 124 * array), if 'components.components_len' hasn't yet reached its expected 140 if (old->components.components_len > numComps) 141 numComps = old->components.components_len; 143 new->components.components_val = am(myself, 144 sizeof (new->components [all...] |
H A D | ldap_nisdbquery.h | 46 db_query *buildQuery(int num_components, db_qcomp *components);
|
H A D | ldap_ruleval.c | 437 for (i = 0; i < q->components.components_len; i++) { 440 if (q->components.components_val[i].which_index >= 449 t->column[q->components.components_val[i]. 451 q->components.components_val[i].index_value-> 453 q->components.components_val[i].index_value-> 881 * components. (Yes, this is a bit round-about, but leverages
|
/illumos-gate/usr/src/cmd/pools/poold/com/sun/solaris/service/pools/ |
H A D | Resource.java | 102 * Transfer the specified resource components from the donor to this 106 * @param components A list of resource components to be donated. 108 * resource components. 110 public void transfer(Resource donor, List components) argument 114 donor.getResource(), getResource(), components) != 120 * Get a list of components which match the supplied selection 121 * criteria in values. Only components which are controlled by 126 * @return a list of components which match the supplied criteria 130 List components; [all...] |
H A D | Configuration.java | 513 * Get a list of components which match the supplied selection criteria 518 * @return a list of components which match the supplied criteria 522 List components; 524 if ((components = PoolInternal.pool_query_components(getConf(), 532 ArrayList aList = new ArrayList(components.size()); 533 for (int i = 0; i < components.size(); i++) { 540 ((Long)components.get(i)).longValue(), "type", 551 ((Long)components.get(i)).longValue(), 564 aList.add(new Component(this, ((Long)components. 582 List components; [all...] |
H A D | PoolInternal.java | 103 long src, long tgt, java.util.List components); 102 pool_resource_xtransfer(long conf, long src, long tgt, java.util.List components) argument
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4v/pri/ |
H A D | io_dev_label.c | 52 mde_cookie_t *components, md_rootnode; local 77 components = (mde_cookie_t *)malloc(node_count * 79 if (components == NULL) { 87 md_find_name(mdp, "fwd"), components); 96 if (md_get_prop_str(mdp, components[i], "type", &type) == 98 if (md_get_prop_data(mdp, components[i], "type", 107 * Isolate components of type "io". 119 if (md_get_prop_str(mdp, components[i], "nac", &nac) == -1) { 127 if (md_get_prop_str(mdp, components[i], "path", &pri_path) == 143 * components ar [all...] |
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/krb5/krb/ |
H A D | parse.c | 48 * Conventions: / is used to separate components. If @ is present in the 79 int components = 0; local 96 * Pass 1. Find out how many components there are to the name, 97 * and get string sizes for the first FCOMPNUM components. For 150 components = i + 1; 159 principal->data = (krb5_data *)MALLOC(sizeof(krb5_data) * components); 164 principal->length = components; 205 if (components >= FCOMPNUM) { 231 if (i + 1 != components) { 237 ASSERT(i + 1 == components); [all...] |
/illumos-gate/usr/src/lib/fm/topo/modules/sun4v/sun4vpi/ |
H A D | sun4vpi.c | 126 mde_cookie_t *components; local 153 * Find the top of the components graph in the PRI using the machine 157 MD_STR_COMPONENTS, MD_STR_FWD, &components, &csize); 158 if (num_components < 0 || components == NULL) { 161 topo_mod_dprintf(mod, "could not find components in PRI\n"); 167 * There should be a single components node. But scan all of the 171 * We continue to walk components nodes until they are all exhausted 176 topo_mod_dprintf(mod, "enumerating %d components hierarchies\n", 189 skip = pi_skip_node(mod, pi.mdp, components[idx]); 192 * We have found a components nod [all...] |
/illumos-gate/usr/src/lib/krb5/kdb/ |
H A D | kdb_convert.c | 164 kdbe_data_t *components; local 181 p->k_components.k_components_val = components 189 memset(components, 0, princ->length * sizeof(kdbe_data_t)); 191 components[i].k_data.utf8str_t_val = NULL; 193 components[i].k_magic = princ->data[i].magic; 194 if (data_to_utf8str(&components[i].k_data, 198 free(components[j].k_data.utf8str_t_val); 199 components[j].k_data.utf8str_t_val = NULL; 201 free(components); 246 kdbe_data_t *components; local [all...] |
/illumos-gate/usr/src/cmd/lvm/metassist/common/ |
H A D | volume_devconfig.h | 161 dlist_t *components; member in struct:devconfig 278 * @param components 281 extern void devconfig_set_components(devconfig_t *device, dlist_t *components); 725 * Set the minimum number of components in stripe 731 * the value to set as the minimum number of components 744 * Get minimum number of components in stripe 750 * RETURN: minimum number of components in stripe 762 * Set the maximum number of components in stripe 768 * the value to set as the maximum number of components 781 * Get maximum number of components i [all...] |
H A D | volume_devconfig.c | 120 /* Free the components */ 121 if (devconfig->components != NULL) { 122 dlist_free_items(devconfig->components, free_devconfig); 301 * @param components 307 dlist_t *components) 309 device->components = components; 324 return (device->components); 1052 * Set the minimum number of components in stripe 1058 * the value to set as the minimum number of components 305 devconfig_set_components( devconfig_t *device, dlist_t *components) argument [all...] |
/illumos-gate/usr/src/man/man9p/ |
H A D | Makefile | 24 pm-components.9p \
|
/illumos-gate/usr/src/lib/libhotplug/common/ |
H A D | libhotplug.c | 446 char components[MAXPATHLEN]; local 458 (void) memset(components, 0, MAXPATHLEN); 465 /* Trace back to the root node, accumulating components */ 468 (void) strlcat(components, "/", MAXPATHLEN); 469 (void) strlcat(components, parent->hp_name, MAXPATHLEN); 483 * node, then append the accumulated components in reverse order. 491 for (i = strlen(components) - 1; i >= 0; i--) { 492 if (components[i] == '/') { 493 (void) strlcat(path, &components[i], MAXPATHLEN); 494 components[ [all...] |
/illumos-gate/usr/src/tools/cscope-fast/ |
H A D | global.h | 86 extern int dispcomponents; /* file path components to display */ 228 char *pathcomponents(char *path, int components);
|
H A D | display.c | 255 /* display the requested path components */ 657 /* get the requested path components */ 660 pathcomponents(char *path, int components) argument 666 for (i = 0; i < components; ++i) {
|
/illumos-gate/usr/src/cmd/lvm/metassist/xml/ |
H A D | xml_convert.c | 504 /* Get the components of the global devconfig_t */ 858 dlist_t *components; local 942 for (components = devconfig_get_components(device); 943 components != NULL && error == 0; 944 components = components->next) { 946 devconfig_t *component = (devconfig_t *)components->obj; 1768 gettext("invalid minimum stripe components (%s): %s"), 1803 gettext("invalid maximum stripe components (%s): %s"),
|
/illumos-gate/usr/src/lib/libpool/common/ |
H A D | pool.c | 74 * libpool users manipulate configuration components via the API 87 * The key components in a libpool configuration are : 2243 * When transferring resource components using pool_resource_transfer, 2244 * this function is invoked to choose which actual components will be 2250 pool_component_t **components = NULL, *moved[] = { NULL, NULL }; local 2260 if ((components = pool_query_resource_components(conf, src, &ncomponent, 2265 qsort(components, ncomponent, sizeof (pool_elem_t *), 2271 for (i = 0; size > 0 && components[i] != NULL; i++) { 2272 if (!cpu_is_requested(components[i])) { 2273 moved[0] = components[ [all...] |
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | memcache.c | 1138 char **components = NULL; 1141 components = ldap_explode_dn(dn, 0); 1144 if (!components || !main_components) { 1152 i = ldap_count_values(components) - 1; 1155 if (strcasecmp(main_components[main_i], components[i])) 1183 if (components) 1184 ldap_value_free(components);
|
/illumos-gate/usr/src/cmd/pools/poold/libjpool/ |
H A D | jpool.c | 886 pool_component_t **components; local 895 components = NULL; 907 /* Allocate space for the components array */ 909 if ((components = calloc(size + 1, 932 components[i] = 940 components); 941 free(components); 952 1components(JNIEnv *jenv, jclass jcls, jlong jconf, jlong jresource, function
|
/illumos-gate/usr/src/cmd/pools/poolcfg/ |
H A D | poolcfg.y | 82 " transfer one or more discreet components to a resource\n" \ 1152 * components will be assigned to the target resource. 1468 * get_cpu() takes the name of a CPU components and attempts to locate 1471 * execution. If the components cannot be uniquely identified by the 1477 pool_component_t **components; 1518 if ((components = pool_query_components(conf, &nelem, vals)) == 1525 free(components); 1532 ret = components[0]; 1533 free(components);
|
/illumos-gate/usr/src/cmd/lvm/metassist/layout/ |
H A D | layout_hsp.c | 117 * c. if the request specifies components, use them 290 * c. if the request specifies components, use them 390 * Iterate each device and its components and see if the 397 * If spares are found for all device components, add 500 dlist_t *components = devconfig_get_components(device); local 506 for (iter1 = components; (iter1 != NULL) && (error == 0); 555 * PURPOSE: Final assembly of an HSP. Attach new spare components 622 * PURPOSE: Examine each device's slice components and build a list 675 * large enough for the device components which need spares. 759 * of the components i [all...] |