Searched refs:stale (Results 1 – 12 of 12) sorted by relevance
86 int stale; in xfs_dir3_leaf_check_int() local121 for (i = stale = 0; i < hdr->count; i++) { in xfs_dir3_leaf_check_int()128 stale++; in xfs_dir3_leaf_check_int()130 if (hdr->stale != stale) in xfs_dir3_leaf_check_int()386 leafhdr.stale = be32_to_cpu(btp->stale); in xfs_dir2_block_to_leaf()479 if (!leafhdr->stale) { in xfs_dir3_leaf_find_entry()534 leafhdr->stale--; in xfs_dir3_leaf_find_entry()554 leafhdr->stale--; in xfs_dir3_leaf_find_entry()655 if (!leafhdr.stale) in xfs_dir2_leaf_addname()671 leafhdr.stale > 1) in xfs_dir2_leaf_addname()[all …]
209 if (btp->stale) { in xfs_dir2_block_need_space()234 if (be16_to_cpu(dup->length) + (be32_to_cpu(btp->stale) - 1) * in xfs_dir2_block_need_space()237 } else if ((be32_to_cpu(btp->stale) - 1) * (uint)sizeof(*blp) < len) in xfs_dir2_block_need_space()330 *lfloglow = toidx + 1 - (be32_to_cpu(btp->stale) - 1); in xfs_dir2_block_compact()331 *lfloghigh -= be32_to_cpu(btp->stale) - 1; in xfs_dir2_block_compact()332 be32_add_cpu(&btp->count, -(be32_to_cpu(btp->stale) - 1)); in xfs_dir2_block_compact()335 (xfs_dir2_data_aoff_t)((be32_to_cpu(btp->stale) - 1) * sizeof(*blp)), in xfs_dir2_block_compact()337 btp->stale = cpu_to_be32(1); in xfs_dir2_block_compact()440 } else if (btp->stale) { in xfs_dir2_block_addname()467 if (!btp->stale) { in xfs_dir2_block_addname()[all …]
464 if (!leafhdr.stale) in xfs_dir2_leafn_add()466 compact = leafhdr.stale > 1; in xfs_dir2_leafn_add()483 else if (leafhdr.stale) { in xfs_dir2_leafn_add()903 int stale; /* count stale leaves copied */ in xfs_dir3_leafn_moveents() local928 if (shdr->stale) { in xfs_dir3_leafn_moveents()931 for (i = start_s, stale = 0; i < start_s + count; i++) { in xfs_dir3_leafn_moveents()934 stale++; in xfs_dir3_leafn_moveents()937 stale = 0; in xfs_dir3_leafn_moveents()959 shdr->stale -= stale; in xfs_dir3_leafn_moveents()961 dhdr->stale += stale; in xfs_dir3_leafn_moveents()[all …]
442 to->stale = be16_to_cpu(from->hdr.stale); in xfs_dir2_leaf_hdr_from_disk()460 to->hdr.stale = cpu_to_be16(from->stale); in xfs_dir2_leaf_hdr_to_disk()474 to->stale = be16_to_cpu(hdr3->stale); in xfs_dir3_leaf_hdr_from_disk()494 hdr3->stale = cpu_to_be16(from->stale); in xfs_dir3_leaf_hdr_to_disk()
414 __be16 stale; /* count of stale entries */ member420 __be16 stale; /* count of stale entries */ member530 __be32 stale; /* count of stale lf entries */ member
52 int stale; /* count of stale leaves */ in __xfs_dir3_data_check() local210 for (i = stale = 0; i < be32_to_cpu(btp->count); i++) { in __xfs_dir3_data_check()213 stale++; in __xfs_dir3_data_check()218 if (count != be32_to_cpu(btp->count) - be32_to_cpu(btp->stale)) in __xfs_dir3_data_check()220 if (stale != be32_to_cpu(btp->stale)) in __xfs_dir3_data_check()
20 uint16_t stale; member
220 goto stale; /* no attribute - power went off in cachefiles_check_object_xattr()237 goto stale; in cachefiles_check_object_xattr()266 goto stale; in cachefiles_check_object_xattr()299 stale: in cachefiles_check_object_xattr()
493 unsigned int stale = 0; in xchk_directory_leaf1_bestfree() local545 stale++; in xchk_directory_leaf1_bestfree()547 if (leafhdr.stale != stale) in xchk_directory_leaf1_bestfree()583 unsigned int stale = 0; in xchk_directory_free_bestfree() local606 stale++; in xchk_directory_free_bestfree()619 if (freehdr.nused + stale != freehdr.nvalid) in xchk_directory_free_bestfree()
397 int stale = bip->bli_flags & XFS_BLI_STALE; in xfs_buf_item_unpin() local410 if (freed && stale) { in xfs_buf_item_unpin()602 bool stale = bip->bli_flags & XFS_BLI_STALE; in xfs_buf_item_release() local618 ASSERT(!stale || (bip->__bli_format.blf_flags & XFS_BLF_CANCEL)); in xfs_buf_item_release()634 if (hold || (stale && !released)) in xfs_buf_item_release()636 ASSERT(!stale || aborted); in xfs_buf_item_release()
780 bool stale) in xfs_iflush_abort() argument787 stale ? SHUTDOWN_LOG_IO_ERROR : in xfs_iflush_abort()
81 stale.