Home
last modified time | relevance | path

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

/linux-4.19.296/fs/xfs/libxfs/
Dxfs_dir2_block.c183 if (btp->stale) { in xfs_dir2_block_need_space()
208 if (be16_to_cpu(dup->length) + (be32_to_cpu(btp->stale) - 1) * in xfs_dir2_block_need_space()
211 } else if ((be32_to_cpu(btp->stale) - 1) * (uint)sizeof(*blp) < len) in xfs_dir2_block_need_space()
304 *lfloglow = toidx + 1 - (be32_to_cpu(btp->stale) - 1); in xfs_dir2_block_compact()
305 *lfloghigh -= be32_to_cpu(btp->stale) - 1; in xfs_dir2_block_compact()
306 be32_add_cpu(&btp->count, -(be32_to_cpu(btp->stale) - 1)); in xfs_dir2_block_compact()
309 (xfs_dir2_data_aoff_t)((be32_to_cpu(btp->stale) - 1) * sizeof(*blp)), in xfs_dir2_block_compact()
311 btp->stale = cpu_to_be32(1); in xfs_dir2_block_compact()
414 } else if (btp->stale) { in xfs_dir2_block_addname()
441 if (!btp->stale) { in xfs_dir2_block_addname()
[all …]
Dxfs_dir2_leaf.c89 int stale; in xfs_dir3_leaf_check_int() local
124 for (i = stale = 0; i < hdr->count; i++) { in xfs_dir3_leaf_check_int()
131 stale++; in xfs_dir3_leaf_check_int()
133 if (hdr->stale != stale) in xfs_dir3_leaf_check_int()
447 leafhdr.stale = be32_to_cpu(btp->stale); in xfs_dir2_block_to_leaf()
540 if (!leafhdr->stale) { in xfs_dir3_leaf_find_entry()
595 leafhdr->stale--; in xfs_dir3_leaf_find_entry()
615 leafhdr->stale--; in xfs_dir3_leaf_find_entry()
719 if (!leafhdr.stale) in xfs_dir2_leaf_addname()
735 leafhdr.stale > 1) in xfs_dir2_leaf_addname()
[all …]
Dxfs_dir2_node.c466 if (!leafhdr.stale) in xfs_dir2_leafn_add()
468 compact = leafhdr.stale > 1; in xfs_dir2_leafn_add()
485 else if (leafhdr.stale) { in xfs_dir2_leafn_add()
902 int stale; /* count stale leaves copied */ in xfs_dir3_leafn_moveents() local
927 if (shdr->stale) { in xfs_dir3_leafn_moveents()
930 for (i = start_s, stale = 0; i < start_s + count; i++) { in xfs_dir3_leafn_moveents()
933 stale++; in xfs_dir3_leafn_moveents()
936 stale = 0; in xfs_dir3_leafn_moveents()
958 shdr->stale -= stale; in xfs_dir3_leafn_moveents()
960 dhdr->stale += stale; in xfs_dir3_leafn_moveents()
[all …]
Dxfs_da_format.c444 to->stale = be16_to_cpu(from->hdr.stale); in xfs_dir2_leaf_hdr_from_disk()
462 to->hdr.stale = cpu_to_be16(from->stale); in xfs_dir2_leaf_hdr_to_disk()
476 to->stale = be16_to_cpu(hdr3->stale); in xfs_dir3_leaf_hdr_from_disk()
496 hdr3->stale = cpu_to_be16(from->stale); in xfs_dir3_leaf_hdr_to_disk()
Dxfs_da_format.h427 __be16 stale; /* count of stale entries */ member
433 __be16 stale; /* count of stale entries */ member
442 uint16_t stale; member
564 __be32 stale; /* count of stale lf entries */ member
Dxfs_dir2_data.c55 int stale; /* count of stale leaves */ in __xfs_dir3_data_check() local
214 for (i = stale = 0; i < be32_to_cpu(btp->count); i++) { in __xfs_dir3_data_check()
217 stale++; in __xfs_dir3_data_check()
222 if (count != be32_to_cpu(btp->count) - be32_to_cpu(btp->stale)) in __xfs_dir3_data_check()
224 if (stale != be32_to_cpu(btp->stale)) in __xfs_dir3_data_check()
/linux-4.19.296/fs/cachefiles/
Dxattr.c224 goto stale; /* no attribute - power went off in cachefiles_check_object_xattr()
241 goto stale; in cachefiles_check_object_xattr()
270 goto stale; in cachefiles_check_object_xattr()
303 stale: in cachefiles_check_object_xattr()
/linux-4.19.296/fs/xfs/scrub/
Ddir.c497 unsigned int stale = 0; in xchk_directory_leaf1_bestfree() local
549 stale++; in xchk_directory_leaf1_bestfree()
551 if (leafhdr.stale != stale) in xchk_directory_leaf1_bestfree()
587 unsigned int stale = 0; in xchk_directory_free_bestfree() local
610 stale++; in xchk_directory_free_bestfree()
623 if (freehdr.nused + stale != freehdr.nvalid) in xchk_directory_free_bestfree()
/linux-4.19.296/fs/xfs/
Dxfs_buf_item.c399 int stale = bip->bli_flags & XFS_BLI_STALE; in xfs_buf_item_unpin() local
412 if (freed && stale) { in xfs_buf_item_unpin()
604 bool stale = bip->bli_flags & XFS_BLI_STALE; in xfs_buf_item_unlock() local
618 ASSERT(!stale || (bip->__bli_format.blf_flags & XFS_BLF_CANCEL)); in xfs_buf_item_unlock()
634 if (hold || (stale && !released)) in xfs_buf_item_unlock()
636 ASSERT(!stale || test_bit(XFS_LI_ABORTED, &lip->li_flags)); in xfs_buf_item_unlock()
Dxfs_inode_item.c785 bool stale) in xfs_iflush_abort() argument
792 stale ? SHUTDOWN_LOG_IO_ERROR : in xfs_iflush_abort()
/linux-4.19.296/fs/overlayfs/
DKconfig80 stale.