Home
last modified time | relevance | path

Searched refs:spares (Results 1 – 20 of 20) sorted by relevance

/titanic_44/usr/src/lib/krb5/plugins/kdb/db2/libdb2/hash/
H A Dhash_page.c1087 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[splitnum] =
1173 hashp->hdr.spares[splitnum - 1];
[all …]
H A Dhash.c198 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[i], destp->spares[i]);
1092 M_32_SWAP(hdrp->spares[i]);
H A Dhash.h96 int32_t spares[NCACHED];/* spare pages for overflow */ member
173 ? hashp->hdr.spares[__log2((B)+1)-1] : 0))
/titanic_44/usr/src/cmd/zpool/
H A Dzpool_vdev.c991 nvlist_t **spares; in is_spare() local
1015 &spares, &nspares) == 0) { in is_spare()
1017 verify(nvlist_lookup_uint64(spares[i], in is_spare()
1163 nvlist_t *nvroot, *nv, **top, **spares, **l2cache; in construct_spec() local
1171 spares = NULL; in construct_spec()
1191 if (spares != NULL) { in construct_spec()
1274 spares = child; in construct_spec()
1344 spares, nspares) == 0); in construct_spec()
1352 nvlist_free(spares[t]); in construct_spec()
1355 if (spares) in construct_spec()
[all …]
H A Dzpool_main.c3898 print_spares(zpool_handle_t *zhp, nvlist_t **spares, uint_t nspares, in print_spares() argument
3910 name = zpool_vdev_name(g_zfs, zhp, spares[i], B_FALSE); in print_spares()
3911 print_status_config(zhp, name, spares[i], in print_spares()
4232 nvlist_t **spares, **l2cache; in status_callback() local
4257 &spares, &nspares) == 0) in status_callback()
4258 print_spares(zhp, spares, nspares, namewidth); in status_callback()
/titanic_44/usr/src/cmd/sendmail/db/hash/
H A Dhash_rec.c507 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 Dhash_auto.c410 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 Dhash_page.c1639 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 Dhash.c824 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];
/titanic_44/usr/src/cmd/fm/modules/common/zfs-retire/
H A Dzfs_retire.c222 nvlist_t **spares; in replace_with_spare() local
235 &spares, &nspares) != 0) in replace_with_spare()
252 if (nvlist_lookup_string(spares[s], ZPOOL_CONFIG_PATH, in replace_with_spare()
257 ZPOOL_CONFIG_CHILDREN, &spares[s], 1); in replace_with_spare()
/titanic_44/usr/src/uts/common/fs/zfs/
H A Dspa.c1330 nvlist_t **spares; in spa_load_spares() local
1359 ZPOOL_CONFIG_SPARES, &spares, &nspares) == 0); in spa_load_spares()
1379 VERIFY(spa_config_parse(spa, &vd, spares[i], NULL, 0, in spa_load_spares()
1424 spares = kmem_alloc(spa->spa_spares.sav_count * sizeof (void *), in spa_load_spares()
1427 spares[i] = vdev_config_generate(spa, in spa_load_spares()
1430 ZPOOL_CONFIG_SPARES, spares, spa->spa_spares.sav_count) == 0); in spa_load_spares()
1432 nvlist_free(spares[i]); in spa_load_spares()
1433 kmem_free(spares, spa->spa_spares.sav_count * sizeof (void *)); in spa_load_spares()
3090 nvlist_t **spares; in spa_add_spares() local
3106 ZPOOL_CONFIG_SPARES, &spares, &nspares) == 0); in spa_add_spares()
[all …]
H A Dzfs_ioctl.c1892 nvlist_t *config, **l2cache, **spares; in zfs_ioc_vdev_add() local
1905 &spares, &nspares); in zfs_ioc_vdev_add()
/titanic_44/usr/src/cmd/sendmail/db/include/
H A Dhash_auto.h55 u_int32_t spares; member
H A Dhash.h163 ((B) + 1 + ((B) ? (I)->hdr->spares[__db_log2((B)+1)-1] : 0))
H A Ddb_page.h95 u_int32_t spares[NCACHED]; member
/titanic_44/usr/src/lib/libzfs/common/
H A Dlibzfs_import.c442 nvlist_t **spares, **l2cache; in get_configs() local
786 &spares, &nspares) == 0) { in get_configs()
788 if (fix_paths(spares[i], pl->names) != 0) in get_configs()
H A Dlibzfs_pool.c1227 nvlist_t **spares, **l2cache; in zpool_add() local
1236 &spares, &nspares) == 0) { in zpool_add()
/titanic_44/usr/src/cmd/cmd-inet/usr.sbin/in.routed/
H A Dtable.c1248 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()
/titanic_44/usr/src/cmd/sendmail/db/db/
H A Ddb_pr.c304 fprintf(fp, "%lu ", (u_long)hcp->hdr->spares[i]);
/titanic_44/usr/src/test/zfs-tests/include/
H A Dlibtest.shlib1471 cur_state=$(get_device_state $pool $disk "spares")
2380 function get_device_state #pool disk field("", "spares","logs")
2393 ($1==field || $1 ~ "^spares$" || $1 ~ "^logs$") {startfield=0}')