Searched refs:spares (Results 1 - 18 of 18) sorted by relevance

/macosx-10.10/BerkeleyDB-21/db/dbinc/
H A Dhash.h100 * The spares table indicates the page number at which each doubling begins.
104 #define BS_TO_PAGE(bucket, spares) \
105 ((bucket) + (spares)[__db_log2((bucket) + 1)])
106 #define BUCKET_TO_PAGE(I, B) (BS_TO_PAGE((B), (I)->hdr->spares))
H A Ddb_upgrade.h68 u_int32_t spares[NCACHED]; member in struct:_hashmeta31
157 u_int32_t spares[NCACHED30]; member in struct:_hashmeta30
236 u_int32_t spares[NCACHED2X]; member in struct:hashhdr
H A Ddb_page.h138 u_int32_t spares[NCACHED]; member in struct:_hashmeta33
/macosx-10.10/BerkeleyDB-21/db/hash/
H A Dhash_upgrade.c81 * We now have to convert the spares array. The old spares array
83 * the bucket that begins the next doubling. The new spares array
87 o_spares = oldmeta->spares;
88 n_spares = newmeta.spares;
89 max_entry = __db_log2(maxb + 1); /* highest spares entry in use */
144 last_desired = BS_TO_PAGE(meta->high_mask, meta->spares);
191 memmove(newmeta->spares, oldmeta->spares, sizeof(oldmeta->spares));
[all...]
H A Dhash_open.c300 * meta-data header (spares[0]).
302 meta->spares[0] = pgno + 1;
306 meta->spares[i] = meta->spares[0];
308 meta->spares[i] = PGNO_INVALID;
503 meta->spares[0] = mmeta->last_pgno + 1;
504 for (i = 0; i < NCACHED && meta->spares[i] != PGNO_INVALID; i++)
505 meta->spares[i] = meta->spares[0];
519 &LSN(mmeta), 0, &LSN(mmeta), meta->spares[
[all...]
H A Dhash_verify.c148 /* spares array */
149 for (i = 0; m->spares[i] != 0 && i < NCACHED; i++) {
152 * spares entry; we want to ensure that it's always less
156 if (BS_TO_PAGE(mbucket, m->spares) > vdp->last_pgno) {
158 "Page %lu: spares array entry %d is invalid",
447 * Loop through them, as far as the spares array defines them,
451 * that the spares array is sane.
454 spares_entry < NCACHED && m->spares[spares_entry] != 0; bucket++) {
455 pgno = BS_TO_PAGE(bucket, m->spares);
548 pgno = BS_TO_PAGE(bucket, m->spares);
[all...]
H A Dhash_rec.c748 * Now we need to fix up the spares array. Each entry in the
749 * spares array indicates the beginning page number for the
751 * spares array is invalid, if we never reclaim pages then
752 * we have to allocate the pages to the spares array in both
756 hcp->hdr->spares[__db_log2(argp->bucket + 1) + 1] == PGNO_INVALID) {
758 hcp->hdr->spares[__db_log2(argp->bucket + 1) + 1] =
763 hcp->hdr->spares[
1314 * Now we need to fix up the spares array. Each entry in the
1315 * spares array indicates the beginning page number for the
1317 * spares arra
[all...]
H A Dhash_stat.c416 * bucket) until the corresponding spares array entries
422 hcp->hdr->spares[spares_entry] == 0)
H A Dhash.c1170 if (!new_double || hcp->hdr->spares[logn + 1] != PGNO_INVALID) {
1213 if (new_double && hcp->hdr->spares[logn + 1] == PGNO_INVALID) {
1218 * above is the first page allocated. The entry in spares is
1230 hcp->hdr->spares[logn + 1] =
/macosx-10.10/Libc-1044.1.2/db/hash/FreeBSD/
H A Dhash.h84 int32_t spares[NCACHED];/* spare pages for overflow */ member in struct:hashhdr
287 #define SPARES hdr.spares
H A Dhash.c398 "spares[%d] = %d\n", i, hashp->SPARES[i]);
928 P_32_COPY(srcp->spares[i], destp->spares[i]);
959 M_32_SWAP(hdrp->spares[i]);
/macosx-10.10/AppleRAID-4.0.6/
H A Dartest.c515 bool spares = false; local
536 if (!spares) {
539 if (memberCount) printf("spares: (%d)\n", (int)memberCount);
540 spares = true;
543 spares = false;
H A DAppleRAIDSet.cpp369 // this also removes spares
379 // spares are not open
587 IOLog1("AppleRAIDSet::startSet %p called with %u of %u members (%u spares).\n",
803 // zero headers on spares
825 // remove the spares from the set
1503 // we don't worry about losing spares from this spare uuid list,
1505 OSArray * spares = OSArray::withCapacity(arMemberCount); local
1507 if (spares && iter) {
1514 // skip spares that are in the member list
1525 spares
[all...]
/macosx-10.10/BerkeleyDB-21/db/db_dump185/
H A Ddb_dump185.c70 int32_t spares[NCACHED];/* spare pages for overflow */ member in struct:hashhdr186
/macosx-10.10/Security-57031.1.35/Security/libsecurity_apple_csp/lib/
H A DopensshWrap.cpp336 /* spares */
337 UInt8 spares[4] = {0}; local
338 CFDataAppendBytes(cfOut, spares, 4);
549 /* skip cipher, spares */
/macosx-10.10/Security-57031.1.35/SecurityTests/cspxutils/sshKey/
H A DsshKey.cpp470 /* skip cipher, spares */
680 /* spares */
681 UInt8 spares[4] = {0}; local
682 CFDataAppendBytes(cfOut, spares, 4);
/macosx-10.10/BerkeleyDB-21/db/db/
H A Ddb_pr.c398 __db_msgadd(env, &mb, "%lu ", (u_long)h->spares[i]);
H A Ddb_vrfy.c1742 pgno = BS_TO_PAGE(bucket, hmeta->spares);

Completed in 150 milliseconds