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()
146 int stale; in xfs_dir3_leaf_check_int() local
166 for (i = stale = 0; i < hdr->count; i++) { in xfs_dir3_leaf_check_int()
173 stale++; in xfs_dir3_leaf_check_int()
175 if (hdr->stale != stale) in xfs_dir3_leaf_check_int()
428 leafhdr.stale = be32_to_cpu(btp->stale); in xfs_dir2_block_to_leaf()
522 if (!leafhdr->stale) { in xfs_dir3_leaf_find_entry()
577 leafhdr->stale--; in xfs_dir3_leaf_find_entry()
597 leafhdr->stale--; in xfs_dir3_leaf_find_entry()
698 if (!leafhdr.stale) in xfs_dir2_leaf_addname()
714 leafhdr.stale > 1) in xfs_dir2_leaf_addname()
776 else if (leafhdr.stale) { in xfs_dir2_leaf_addname()
923 if (!leafhdr->stale) in xfs_dir3_leaf_compact()
946 ASSERT(leafhdr->stale == from - to); in xfs_dir3_leaf_compact()
947 leafhdr->count -= leafhdr->stale; in xfs_dir3_leaf_compact()
948 leafhdr->stale = 0; in xfs_dir3_leaf_compact()
982 ASSERT(leafhdr->stale > 1); in xfs_dir3_leaf_compact_x1()
1036 leafhdr->stale = 1; in xfs_dir3_leaf_compact_x1()
1399 leafhdr.stale++; in xfs_dir2_leaf_removename()
1653 entries = hdr->count - hdr->stale; in xfs_dir3_leaf_size()
1763 if (leafhdr.stale) in xfs_dir2_node_to_leaf()