Home
last modified time | relevance | path

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

/fs/xfs/libxfs/
A Dxfs_dir2_leaf.c48 to->stale = be16_to_cpu(from3->hdr.stale); in xfs_dir2_leaf_hdr_from_disk()
58 to->stale = be16_to_cpu(from->hdr.stale); in xfs_dir2_leaf_hdr_from_disk()
82 to3->hdr.stale = cpu_to_be16(from->stale); in xfs_dir2_leaf_hdr_to_disk()
91 to->hdr.stale = cpu_to_be16(from->stale); in xfs_dir2_leaf_hdr_to_disk()
148 int stale; in xfs_dir3_leaf_check_int() local
179 stale++; in xfs_dir3_leaf_check_int()
185 if (hdr->stale != stale) in xfs_dir3_leaf_check_int()
488 leafhdr.stale = be32_to_cpu(btp->stale); in xfs_dir2_block_to_leaf()
637 leafhdr->stale--; in xfs_dir3_leaf_find_entry()
657 leafhdr->stale--; in xfs_dir3_leaf_find_entry()
[all …]
A Dxfs_dir2_block.c216 if (btp->stale) { in xfs_dir2_block_need_space()
337 *lfloglow = toidx + 1 - (be32_to_cpu(btp->stale) - 1); in xfs_dir2_block_compact()
338 *lfloghigh -= be32_to_cpu(btp->stale) - 1; in xfs_dir2_block_compact()
339 be32_add_cpu(&btp->count, -(be32_to_cpu(btp->stale) - 1)); in xfs_dir2_block_compact()
344 btp->stale = cpu_to_be32(1); in xfs_dir2_block_compact()
447 } else if (btp->stale) { in xfs_dir2_block_addname()
474 if (!btp->stale) { in xfs_dir2_block_addname()
553 be32_add_cpu(&btp->stale, -1); in xfs_dir2_block_addname()
833 be32_add_cpu(&btp->stale, 1); in xfs_dir2_block_removename()
1034 btp->stale = 0; in xfs_dir2_leaf_to_block()
[all …]
A Dxfs_dir2_node.c539 if (!leafhdr.stale) in xfs_dir2_leafn_add()
996 if (shdr->stale) { in xfs_dir3_leafn_moveents()
1002 stale++; in xfs_dir3_leafn_moveents()
1005 stale = 0; in xfs_dir3_leafn_moveents()
1028 shdr->stale -= stale; in xfs_dir3_leafn_moveents()
1030 dhdr->stale += stale; in xfs_dir3_leafn_moveents()
1110 oldstale = hdr1.stale + hdr2.stale; in xfs_dir2_leafn_rebalance()
1149 ASSERT(hdr1.stale + hdr2.stale == oldstale); in xfs_dir2_leafn_rebalance()
1318 leafhdr.stale++; in xfs_dir2_leafn_remove()
1654 if (drophdr.stale) in xfs_dir2_leafn_unbalance()
[all …]
A Dxfs_da_format.h426 __be16 stale; /* count of stale entries */ member
432 __be16 stale; /* count of stale entries */ member
542 __be32 stale; /* count of stale lf entries */ member
A Dxfs_dir2_data.c115 int stale; /* count of stale leaves */ in __xfs_dir3_data_check() local
278 for (i = stale = 0; i < be32_to_cpu(btp->count); i++) { in __xfs_dir3_data_check()
281 stale++; in __xfs_dir3_data_check()
286 if (count != be32_to_cpu(btp->count) - be32_to_cpu(btp->stale)) in __xfs_dir3_data_check()
288 if (stale != be32_to_cpu(btp->stale)) in __xfs_dir3_data_check()
A Dxfs_dir2_priv.h20 uint16_t stale; member
/fs/xfs/scrub/
A Ddirtree.c295 dl->stale = true; in xchk_dirpath_revalidate()
382 if (dl->stale) { in xchk_dirpath_step_up()
482 if (dl->stale) { in xchk_dirpath_step_up()
583 if (!error && dl->stale) in xchk_dirpath_walk_upwards()
711 if (dl->stale || dl->aborted) in xchk_dirtree_live_update()
721 dl->stale = true; in xchk_dirtree_live_update()
751 dl->stale = false; in xchk_dirtree_reset()
841 ASSERT(dl->stale); in xchk_dirtree_find_paths_to_root()
849 } while (dl->stale); in xchk_dirtree_find_paths_to_root()
865 ASSERT(!dl->stale); in xchk_dirtree_evaluate()
A Ddirtree_repair.c413 if (dl->stale) { in xrep_dirtree_unlink()
543 if (!error && dl->stale) in xrep_dirtree_delete_path()
684 if (dl->stale) { in xrep_dirtree_adopt()
747 if (!error && dl->stale) in xrep_dirtree_move_to_orphanage()
805 if (!dl->stale) { in xrep_dirtree()
A Ddir.c636 unsigned int stale = 0; in xchk_directory_leaf1_bestfree() local
692 stale++; in xchk_directory_leaf1_bestfree()
694 if (leafhdr.stale != stale) in xchk_directory_leaf1_bestfree()
742 unsigned int stale = 0; in xchk_directory_free_bestfree() local
764 stale++; in xchk_directory_free_bestfree()
777 if (freehdr.nused + stale != freehdr.nvalid) in xchk_directory_free_bestfree()
A Ddirtree.h147 bool stale:1; member
/fs/xfs/
A Dxfs_buf_item.c510 int stale = bip->bli_flags & XFS_BLI_STALE; in xfs_buf_item_unpin() local
531 if (stale) { in xfs_buf_item_unpin()
688 bool stale = bip->bli_flags & XFS_BLI_STALE; in xfs_buf_item_release() local
706 ASSERT(!stale || (bip->__bli_format.blf_flags & XFS_BLF_CANCEL)); in xfs_buf_item_release()
728 if (stale) { in xfs_buf_item_release()
763 if (stale || hold) in xfs_buf_item_release()
/fs/iomap/
A Diter.c61 bool stale = iter->iomap.flags & IOMAP_F_STALE; in iomap_iter() local
99 else if (iter->len == 0 || (!advanced && !stale)) in iomap_iter()
/fs/bcachefs/
A Dec.c719 int stale = dev_ptr_stale(ca, ptr); in ec_block_endio() local
720 if (stale) { in ec_block_endio()
724 stale); in ec_block_endio()
753 int stale = dev_ptr_stale(ca, ptr); in ec_block_io() local
754 if (stale) { in ec_block_io()
758 stale); in ec_block_io()
A Dio_write.c1319 int stale, ret; in bch2_nocow_write() local
1399 stale = gen < 0 ? gen : gen_after(gen, i->gen); in bch2_nocow_write()
1400 if (unlikely(stale)) { in bch2_nocow_write()
1480 if (bch2_fs_inconsistent_on(stale < 0, c, in bch2_nocow_write()
A Dextents.c1247 int stale = dev_ptr_stale_rcu(ca, ptr); in bch2_extent_ptr_to_text() local
1248 if (stale > 0) in bch2_extent_ptr_to_text()
1250 else if (stale) in bch2_extent_ptr_to_text()
A Dbuckets.c801 bool stale = ret > 0; in __trigger_extent() local
803 if (p.ptr.cached && stale) in __trigger_extent()
/fs/overlayfs/
A DKconfig82 stale.
/fs/nfsd/
A Dtrace.h895 DEFINE_CLIENTID_EVENT(stale);

Completed in 50 milliseconds