Home
last modified time | relevance | path

Searched refs:stale (Results 1 – 12 of 12) sorted by relevance

/fs/xfs/libxfs/
Dxfs_dir2_leaf.c86 int stale; in xfs_dir3_leaf_check_int() local
121 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 …]
Dxfs_dir2_block.c209 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 …]
Dxfs_dir2_node.c464 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() local
928 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 …]
Dxfs_da_format.c442 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()
Dxfs_da_format.h414 __be16 stale; /* count of stale entries */ member
420 __be16 stale; /* count of stale entries */ member
530 __be32 stale; /* count of stale lf entries */ member
Dxfs_dir2_data.c52 int stale; /* count of stale leaves */ in __xfs_dir3_data_check() local
210 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()
Dxfs_dir2_priv.h20 uint16_t stale; member
/fs/cachefiles/
Dxattr.c220 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()
/fs/xfs/scrub/
Ddir.c493 unsigned int stale = 0; in xchk_directory_leaf1_bestfree() local
545 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() local
606 stale++; in xchk_directory_free_bestfree()
619 if (freehdr.nused + stale != freehdr.nvalid) in xchk_directory_free_bestfree()
/fs/xfs/
Dxfs_buf_item.c397 int stale = bip->bli_flags & XFS_BLI_STALE; in xfs_buf_item_unpin() local
410 if (freed && stale) { in xfs_buf_item_unpin()
602 bool stale = bip->bli_flags & XFS_BLI_STALE; in xfs_buf_item_release() local
618 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()
Dxfs_inode_item.c780 bool stale) in xfs_iflush_abort() argument
787 stale ? SHUTDOWN_LOG_IO_ERROR : in xfs_iflush_abort()
/fs/overlayfs/
DKconfig81 stale.