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
171 for (i = stale = 0; i < hdr->count; i++) { in xfs_dir3_leaf_check_int()
178 stale++; in xfs_dir3_leaf_check_int()
184 if (hdr->stale != stale) in xfs_dir3_leaf_check_int()
437 leafhdr.stale = be32_to_cpu(btp->stale); in xfs_dir2_block_to_leaf()
531 if (!leafhdr->stale) { in xfs_dir3_leaf_find_entry()
586 leafhdr->stale--; in xfs_dir3_leaf_find_entry()
606 leafhdr->stale--; in xfs_dir3_leaf_find_entry()
707 if (!leafhdr.stale) in xfs_dir2_leaf_addname()
723 leafhdr.stale > 1) in xfs_dir2_leaf_addname()
785 else if (leafhdr.stale) { in xfs_dir2_leaf_addname()
932 if (!leafhdr->stale) in xfs_dir3_leaf_compact()
955 ASSERT(leafhdr->stale == from - to); in xfs_dir3_leaf_compact()
956 leafhdr->count -= leafhdr->stale; in xfs_dir3_leaf_compact()
957 leafhdr->stale = 0; in xfs_dir3_leaf_compact()
991 ASSERT(leafhdr->stale > 1); in xfs_dir3_leaf_compact_x1()
1045 leafhdr->stale = 1; in xfs_dir3_leaf_compact_x1()
1408 leafhdr.stale++; in xfs_dir2_leaf_removename()
1662 entries = hdr->count - hdr->stale; in xfs_dir3_leaf_size()
1772 if (leafhdr.stale) in xfs_dir2_node_to_leaf()