Lines Matching refs:stale
47 to->stale = be16_to_cpu(from3->hdr.stale); in xfs_dir2_leaf_hdr_from_disk()
57 to->stale = be16_to_cpu(from->hdr.stale); in xfs_dir2_leaf_hdr_from_disk()
81 to3->hdr.stale = cpu_to_be16(from->stale); in xfs_dir2_leaf_hdr_to_disk()
90 to->hdr.stale = cpu_to_be16(from->stale); in xfs_dir2_leaf_hdr_to_disk()
147 int stale; in xfs_dir3_leaf_check_int() local
170 for (i = stale = 0; i < hdr->count; i++) { in xfs_dir3_leaf_check_int()
177 stale++; in xfs_dir3_leaf_check_int()
179 if (hdr->stale != stale) in xfs_dir3_leaf_check_int()
432 leafhdr.stale = be32_to_cpu(btp->stale); in xfs_dir2_block_to_leaf()
526 if (!leafhdr->stale) { in xfs_dir3_leaf_find_entry()
581 leafhdr->stale--; in xfs_dir3_leaf_find_entry()
601 leafhdr->stale--; in xfs_dir3_leaf_find_entry()
702 if (!leafhdr.stale) in xfs_dir2_leaf_addname()
718 leafhdr.stale > 1) in xfs_dir2_leaf_addname()
780 else if (leafhdr.stale) { in xfs_dir2_leaf_addname()
927 if (!leafhdr->stale) in xfs_dir3_leaf_compact()
950 ASSERT(leafhdr->stale == from - to); in xfs_dir3_leaf_compact()
951 leafhdr->count -= leafhdr->stale; in xfs_dir3_leaf_compact()
952 leafhdr->stale = 0; in xfs_dir3_leaf_compact()
986 ASSERT(leafhdr->stale > 1); in xfs_dir3_leaf_compact_x1()
1040 leafhdr->stale = 1; in xfs_dir3_leaf_compact_x1()
1403 leafhdr.stale++; in xfs_dir2_leaf_removename()
1657 entries = hdr->count - hdr->stale; in xfs_dir3_leaf_size()
1767 if (leafhdr.stale) in xfs_dir2_node_to_leaf()