/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/hash/ |
H A D | hash_page.c | 1078 max_free = hashp->hdr.spares[splitnum]; 1113 hashp->hdr.last_freed = hashp->hdr.spares[splitnum]; 1114 hashp->hdr.spares[splitnum]++; 1115 offset = hashp->hdr.spares[splitnum] - 1116 (splitnum ? hashp->hdr.spares[splitnum - 1] : 0); 1126 hashp->hdr.spares[splitnum] = hashp->hdr.spares[splitnum - 1]; 1127 hashp->hdr.spares[splitnum - 1]--; 1151 hashp->hdr.spares[splitnum]++; 1163 hashp->hdr.spares[splitnum] = 1164 hashp->hdr.spares[splitnum - 1]; [all …]
|
H A D | hash.c | 194 bpages = (hashp->hdr.spares[hashp->hdr.ovfl_point] + 335 memset(hashp->hdr.spares, 0, sizeof(hashp->hdr.spares)); 391 hashp->hdr.spares[l2] = l2 + 1; 392 hashp->hdr.spares[l2 + 1] = l2 + 1; 518 "spares[%d] = %d\n", i, hashp->hdr.spares[i]); 999 hashp->hdr.spares[spare_ndx] = hashp->hdr.spares[hashp->hdr.ovfl_point]; 1056 P_32_COPY(srcp->spares[i], destp->spares[i]); 1085 M_32_SWAP(hdrp->spares[i]);
|
H A D | hash.h | 94 int32_t spares[NCACHED];/* spare pages for overflow */ member 171 ? hashp->hdr.spares[__log2((B)+1)-1] : 0))
|
/illumos-gate/usr/src/cmd/zpool/ |
H A D | zpool_vdev.c | 1118 nvlist_t **spares; in is_spare() local 1142 &spares, &nspares) == 0) { in is_spare() 1144 verify(nvlist_lookup_uint64(spares[i], in is_spare() 1297 nvlist_t *nvroot, *nv, **top, **spares, **l2cache; in construct_spec() local 1305 spares = NULL; in construct_spec() 1326 if (spares != NULL) { in construct_spec() 1434 spares = child; in construct_spec() 1530 spares, nspares) == 0); in construct_spec() 1539 nvlist_free(spares[t]); in construct_spec() 1543 free(spares); in construct_spec()
|
H A D | zpool_main.c | 6950 print_spares(zpool_handle_t *zhp, status_cbdata_t *cb, nvlist_t **spares, in print_spares() argument 6962 name = zpool_vdev_name(g_zfs, zhp, spares[i], in print_spares() 6964 print_status_config(zhp, cb, name, spares[i], 2, B_TRUE); in print_spares() 7341 nvlist_t **spares, **l2cache; in status_callback() local 7384 &spares, &nspares) == 0) in status_callback() 7385 print_spares(zhp, cbp, spares, nspares); in status_callback()
|
/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) in __ham_splitmeta_log() argument 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);
|
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/fm/modules/common/zfs-retire/ |
H A D | zfs_retire.c | 264 nvlist_t **spares, **sorted_spares; in replace_with_spare() local 282 &spares, &nspares) != 0) { in replace_with_spare() 305 sorted_spares[s] = spares[s]; in replace_with_spare()
|
/illumos-gate/usr/src/cmd/sendmail/db/include/ |
H A D | hash_auto.h | 53 u_int32_t spares; member
|
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
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | spa.c | 1588 nvlist_t **spares; in spa_load_spares() local 1629 ZPOOL_CONFIG_SPARES, &spares, &nspares) == 0); in spa_load_spares() 1649 VERIFY(spa_config_parse(spa, &vd, spares[i], NULL, 0, in spa_load_spares() 1694 spares = kmem_alloc(spa->spa_spares.sav_count * sizeof (void *), in spa_load_spares() 1697 spares[i] = vdev_config_generate(spa, in spa_load_spares() 1700 ZPOOL_CONFIG_SPARES, spares, spa->spa_spares.sav_count) == 0); in spa_load_spares() 1702 nvlist_free(spares[i]); in spa_load_spares() 1703 kmem_free(spares, spa->spa_spares.sav_count * sizeof (void *)); in spa_load_spares() 4683 nvlist_t **spares; local 4699 ZPOOL_CONFIG_SPARES, &spares, &nspares) == 0); [all …]
|
H A D | vdev_removal.c | 2068 nvlist_t **spares, **l2cache, *nv; in spa_vdev_remove() local 2095 ZPOOL_CONFIG_SPARES, &spares, &nspares) == 0 && in spa_vdev_remove() 2096 (nv = spa_nvlist_lookup_by_guid(spares, nspares, guid)) != NULL) { in spa_vdev_remove() 2112 ZPOOL_CONFIG_SPARES, spares, nspares, nv); in spa_vdev_remove()
|
/illumos-gate/usr/src/lib/libzutil/common/ |
H A D | zutil_import.c | 476 nvlist_t **spares, **l2cache; in get_configs() local 826 &spares, &nspares) == 0) { in get_configs() 828 if (fix_paths(spares[i], pl->names) != 0) in get_configs()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.routed/ |
H A D | table.c | 1248 int i, spares; in rtm_lose() local 1259 spares = 0; in rtm_lose() 1267 spares++; in rtm_lose() 1277 if (spares == 0) { in rtm_lose() 1286 trace_act("Got RTM_LOSING. Found a route with %d alternates", spares); in rtm_lose()
|
/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/test/zfs-tests/include/ |
H A D | libtest.shlib | 1621 cur_state=$(get_device_state $pool $disk "spares") 2354 function get_device_state #pool disk field("", "spares","logs") 2367 ($1==field || $1 ~ "^spares$" || $1 ~ "^logs$") {startfield=0}')
|
/illumos-gate/usr/src/lib/libzfs/common/ |
H A D | libzfs_pool.c | 1446 nvlist_t **spares, **l2cache; in zpool_add() local 1455 &spares, &nspares) == 0) { in zpool_add()
|