Lines Matching refs:stale
506 int compact; /* compacting stale leaves */
507 int highstale = 0; /* next stale entry */
510 int lowstale = 0; /* previous stale entry */
529 * the block, if there are no stale entries it won't fit.
530 * Caller will do a split. If there are stale entries we'll do
535 if (!leafhdr.stale)
537 compact = leafhdr.stale > 1;
548 * Compact out all but one stale leaf entry. Leaves behind
554 else if (leafhdr.stale) {
684 * Skip stale leaf entries.
834 * Skip stale leaf entries.
967 int stale; /* count stale leaves copied */
989 * If the source has stale leaves, count the ones in the copy range
992 if (shdr->stale) {
995 for (i = start_s, stale = 0; i < start_s + count; i++) {
998 stale++;
1001 stale = 0;
1024 shdr->stale -= stale;
1026 dhdr->stale += stale;
1079 int oldstale; /* old count of stale leaves */
1106 oldstale = hdr1.stale + hdr2.stale;
1145 ASSERT(hdr1.stale + hdr2.stale == oldstale);
1311 * Kill the leaf entry by marking it stale.
1314 leafhdr.stale++;
1415 (uint)sizeof(leafhdr.ents) * (leafhdr.count - leafhdr.stale)) <
1519 count = leafhdr.count - leafhdr.stale;
1572 count = leafhdr.count - leafhdr.stale;
1579 count += hdr2.count - hdr2.stale;
1646 * If there are any stale leaf entries, take this opportunity
1649 if (drophdr.stale)
1651 if (savehdr.stale)