/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/hash/ |
H A D | hash_page.c | 1087 max_free = hashp->hdr.spares[splitnum]; 1122 hashp->hdr.last_freed = hashp->hdr.spares[splitnum]; 1123 hashp->hdr.spares[splitnum]++; 1124 offset = hashp->hdr.spares[splitnum] - 1125 (splitnum ? hashp->hdr.spares[splitnum - 1] : 0); 1135 hashp->hdr.spares[splitnum] = hashp->hdr.spares[splitnum - 1]; 1136 hashp->hdr.spares[splitnum - 1]--; 1160 hashp->hdr.spares[splitnum]++; 1172 hashp->hdr.spares[splitnu [all...] |
H A D | hash.h | 96 int32_t spares[NCACHED];/* spare pages for overflow */ member in struct:hashhdr 173 ? hashp->hdr.spares[__log2((B)+1)-1] : 0))
|
H A D | hash.c | 198 bpages = (hashp->hdr.spares[hashp->hdr.ovfl_point] + 341 memset(hashp->hdr.spares, 0, sizeof(hashp->hdr.spares)); 397 hashp->hdr.spares[l2] = l2 + 1; 398 hashp->hdr.spares[l2 + 1] = l2 + 1; 525 "spares[%d] = %d\n", i, hashp->hdr.spares[i]); 1006 hashp->hdr.spares[spare_ndx] = hashp->hdr.spares[hashp->hdr.ovfl_point]; 1063 P_32_COPY(srcp->spares[ [all...] |
/illumos-gate/usr/src/cmd/zpool/ |
H A D | zpool_vdev.c | 40 * Hot spares 47 * Hot spares are a special case, and passed down as an array of disk vdevs, at 324 * Allow hot spares to be shared between pools. 814 * for spares there may be no children, and therefore no 991 nvlist_t **spares; local 1015 &spares, &nspares) == 0) { 1017 verify(nvlist_lookup_uint64(spares[i], 1163 nvlist_t *nvroot, *nv, **top, **spares, **l2cache; local 1171 spares = NULL; 1191 if (spares ! [all...] |
H A D | zpool_main.c | 591 * spares, cache, and log devices from the pool. 930 /* make_root_vdev() allows 0 toplevel children if there are spares */ 1343 * For hot spares, we use the terms 'INUSE' and 'AVAILABLE' for 4021 print_spares(zpool_handle_t *zhp, nvlist_t **spares, uint_t nspares, argument 4033 name = zpool_vdev_name(g_zfs, zhp, spares[i], B_FALSE); 4034 print_status_config(zhp, name, spares[i], 4355 nvlist_t **spares, **l2cache; local 4380 &spares, &nspares) == 0) 4381 print_spares(zhp, spares, nspares, namewidth); 4882 (void) printf(gettext(" 3 Hot spares an [all...] |
/illumos-gate/usr/src/cmd/fm/modules/common/zfs-retire/ |
H A D | zfs_retire.c | 26 * The ZFS retire agent is responsible for managing hot spares across all pools. 28 * pool and look for any hot spares. We iterate over any available hot spares 222 nvlist_t **spares; local 232 * Find out if there are any hot spares available in the pool. 235 &spares, &nspares) != 0) 252 if (nvlist_lookup_string(spares[s], ZPOOL_CONFIG_PATH, 257 ZPOOL_CONFIG_CHILDREN, &spares[s], 1);
|
/illumos-gate/usr/src/cmd/sendmail/db/include/ |
H A D | hash_auto.h | 55 u_int32_t spares; member in struct:_ham_splitmeta_args
|
H A D | hash.h | 163 ((B) + 1 + ((B) ? (I)->hdr->spares[__db_log2((B)+1)-1] : 0))
|
H A D | db_page.h | 95 u_int32_t spares[NCACHED]; member in struct:hashhdr
|
/illumos-gate/usr/src/cmd/sendmail/db/hash/ |
H A D | hash_rec.c | 507 hcp->hdr->spares[hcp->hdr->ovfl_point]++; 518 hcp->hdr->spares[hcp->hdr->ovfl_point]--; 630 hcp->hdr->spares[pow] = 631 hcp->hdr->spares[hcp->hdr->ovfl_point]; 644 hcp->hdr->spares[hcp->hdr->ovfl_point] = argp->spares; 794 hcp->hdr->spares[argp->ovflpoint] += argp->npages; 799 hcp->hdr->spares[argp->ovflpoint] -= argp->npages;
|
H A D | hash_auto.c | 410 fileid, bucket, ovflpoint, spares, metalsn) 418 u_int32_t spares; 438 + sizeof(spares) 456 memcpy(bp, &spares, sizeof(spares)); 457 bp += sizeof(spares); 509 printf("\tspares: %lu\n", (u_long)argp->spares); 547 memcpy(&argp->spares, bp, sizeof(argp->spares)); 548 bp += sizeof(argp->spares); [all...] |
H A D | hash_page.c | 1639 hcp->hdr->spares[splitnum]++; 1640 offset = hcp->hdr->spares[splitnum] - 1641 (splitnum ? hcp->hdr->spares[splitnum - 1] : 0); 1645 hcp->hdr->spares[splitnum]--; 1698 ret_val += hcp->hdr->spares[__db_log2(n + 1) - 1]; 1721 curpages = hcp->hdr->spares[hcp->hdr->ovfl_point] - 1722 hcp->hdr->spares[hcp->hdr->ovfl_point - 1]; 1735 hcp->hdr->spares[hcp->hdr->ovfl_point] += numpages;
|
H A D | hash.c | 824 hcp->hdr->spares[hcp->hdr->ovfl_point] < 825 hcp->hdr->spares[hcp->hdr->ovfl_point - 1] + 835 hcp->hdr->spares[hcp->hdr->ovfl_point], 852 hcp->hdr->spares[spare_ndx] = 853 hcp->hdr->spares[hcp->hdr->ovfl_point];
|
/illumos-gate/usr/src/cmd/lvm/metassist/layout/ |
H A D | layout_svm_util.c | 159 * 5. the spares in the HSPs 668 * add the named spare slice to its list of spares. 730 dlist_t *spares; local 731 spares = devconfig_get_components(hsp); 732 spares = dlist_append(item, spares, AT_TAIL); 733 devconfig_set_components(hsp, spares);
|
H A D | layout_hsp.c | 178 * c. add spares to the HSP to service the list of input devices. 230 dlist_t *spares = devconfig_get_components(default_hsp); local 237 devconfig_set_components(*hsp, spares); 291 * otherwise, add new spares to handle the input list 336 /* does the hsprequest specify spares? */ 340 /* put requested spares into HSP */ 362 /* select new spares */ 381 * PURPOSE: Processes the input HSP request and add spares sufficient 388 * too small to serve as spares. 397 * If spares ar [all...] |
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | spa.c | 1332 * Load (or re-load) the current list of vdevs describing the active spares for 1340 nvlist_t **spares; local 1369 ZPOOL_CONFIG_SPARES, &spares, &nspares) == 0); 1380 * structures associated with it: one in the list of spares (used only 1389 VERIFY(spa_config_parse(spa, &vd, spares[i], NULL, 0, 1428 * Recompute the stashed list of spares, with status information 1434 spares = kmem_alloc(spa->spa_spares.sav_count * sizeof (void *), 1437 spares[i] = vdev_config_generate(spa, 1440 ZPOOL_CONFIG_SPARES, spares, spa->spa_spares.sav_count) == 0); 1442 nvlist_free(spares[ 3206 nvlist_t **spares; local 3600 nvlist_t **spares, **l2cache; local 4055 nvlist_t **spares, **l2cache; local 4478 nvlist_t **spares, **l2cache; local 5462 nvlist_t **spares, **l2cache, *nv; local [all...] |
H A D | zfs_ioctl.c | 1842 nvlist_t *config, **l2cache, **spares; local 1855 &spares, &nspares);
|
/illumos-gate/usr/src/lib/libzfs/common/ |
H A D | libzfs_import.c | 442 nvlist_t **spares, **l2cache; local 780 * Go through and update the paths for spares, now that we have 786 &spares, &nspares) == 0) { 788 if (fix_paths(spares[i], pl->names) != 0) 1643 * Due to the shared nature of spares, we don't actually report 1645 * can freely create pools on the hot spares of exported pools,
|
H A D | libzfs_pool.c | 1281 nvlist_t **spares, **l2cache; local 1290 &spares, &nspares) == 0) { 1292 "upgraded to add hot spares")); 2920 * Unlike cache & spares, slogs are stored in the 3065 * Remove the given device. Currently, this is supported only for hot spares 3090 "only inactive hot spares, cache, top-level, " 3141 * Don't allow error clearing for hot spares. Do allow
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.routed/ |
H A D | table.c | 1248 int i, spares; local 1259 spares = 0; 1267 spares++; 1277 if (spares == 0) { 1286 trace_act("Got RTM_LOSING. Found a route with %d alternates", spares); 2412 /* check for a better route among the spares */ 2419 /* find the best alternative among the spares */ 2443 /* find the best alternative among the spares */
|
/illumos-gate/usr/src/cmd/sendmail/db/db/ |
H A D | db_pr.c | 304 fprintf(fp, "%lu ", (u_long)hcp->hdr->spares[i]);
|
/illumos-gate/usr/src/uts/common/sys/lvm/ |
H A D | md_mddb.h | 518 int spares[7]; member in struct:mddb_mb
|