Lines Matching refs:stale
503 int compact; /* compacting stale leaves */
504 int highstale = 0; /* next stale entry */
507 int lowstale = 0; /* previous stale entry */
525 * the block, if there are no stale entries it won't fit.
526 * Caller will do a split. If there are stale entries we'll do
531 if (!leafhdr.stale)
533 compact = leafhdr.stale > 1;
544 * Compact out all but one stale leaf entry. Leaves behind
550 else if (leafhdr.stale) {
680 * Skip stale leaf entries.
828 * Skip stale leaf entries.
961 int stale; /* count stale leaves copied */
983 * If the source has stale leaves, count the ones in the copy range
986 if (shdr->stale) {
989 for (i = start_s, stale = 0; i < start_s + count; i++) {
992 stale++;
995 stale = 0;
1018 shdr->stale -= stale;
1020 dhdr->stale += stale;
1073 int oldstale; /* old count of stale leaves */
1100 oldstale = hdr1.stale + hdr2.stale;
1139 ASSERT(hdr1.stale + hdr2.stale == oldstale);
1305 * Kill the leaf entry by marking it stale.
1308 leafhdr.stale++;
1409 (uint)sizeof(leafhdr.ents) * (leafhdr.count - leafhdr.stale)) <
1513 count = leafhdr.count - leafhdr.stale;
1566 count = leafhdr.count - leafhdr.stale;
1573 count += hdr2.count - hdr2.stale;
1640 * If there are any stale leaf entries, take this opportunity
1643 if (drophdr.stale)
1645 if (savehdr.stale)