Home
last modified time | relevance | path

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

1234

/Linux-v5.4/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.c180 if (btp->stale) { in xfs_dir2_block_need_space()
205 if (be16_to_cpu(dup->length) + (be32_to_cpu(btp->stale) - 1) * in xfs_dir2_block_need_space()
208 } else if ((be32_to_cpu(btp->stale) - 1) * (uint)sizeof(*blp) < len) in xfs_dir2_block_need_space()
301 *lfloglow = toidx + 1 - (be32_to_cpu(btp->stale) - 1); in xfs_dir2_block_compact()
302 *lfloghigh -= be32_to_cpu(btp->stale) - 1; in xfs_dir2_block_compact()
303 be32_add_cpu(&btp->count, -(be32_to_cpu(btp->stale) - 1)); in xfs_dir2_block_compact()
306 (xfs_dir2_data_aoff_t)((be32_to_cpu(btp->stale) - 1) * sizeof(*blp)), in xfs_dir2_block_compact()
308 btp->stale = cpu_to_be32(1); in xfs_dir2_block_compact()
411 } else if (btp->stale) { in xfs_dir2_block_addname()
438 if (!btp->stale) { in xfs_dir2_block_addname()
[all …]
Dxfs_dir2_node.c459 if (!leafhdr.stale) in xfs_dir2_leafn_add()
461 compact = leafhdr.stale > 1; in xfs_dir2_leafn_add()
478 else if (leafhdr.stale) { in xfs_dir2_leafn_add()
896 int stale; /* count stale leaves copied */ in xfs_dir3_leafn_moveents() local
921 if (shdr->stale) { in xfs_dir3_leafn_moveents()
924 for (i = start_s, stale = 0; i < start_s + count; i++) { in xfs_dir3_leafn_moveents()
927 stale++; in xfs_dir3_leafn_moveents()
930 stale = 0; in xfs_dir3_leafn_moveents()
952 shdr->stale -= stale; in xfs_dir3_leafn_moveents()
954 dhdr->stale += stale; in xfs_dir3_leafn_moveents()
[all …]
Dxfs_da_format.c441 to->stale = be16_to_cpu(from->hdr.stale); in xfs_dir2_leaf_hdr_from_disk()
459 to->hdr.stale = cpu_to_be16(from->stale); in xfs_dir2_leaf_hdr_to_disk()
473 to->stale = be16_to_cpu(hdr3->stale); in xfs_dir3_leaf_hdr_from_disk()
493 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.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()
/Linux-v5.4/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()
/Linux-v5.4/Documentation/RCU/
DlistRCU.rst19 equipment outside of the computer, it will at times contain stale data.
156 So, when readers can tolerate stale data and when entries are either added
224 The auditing examples above tolerate stale data, as do most algorithms
229 However, there are many examples where stale data cannot be tolerated.
242 If the system-call audit module were to ever need to reject stale data,
301 Read-mostly list-based data structures that can tolerate stale data are
306 If stale data cannot be tolerated, then a "deleted" flag may be used
317 then the caller will be processing stale data in any case. If it
318 is really OK to be processing stale data, then you don't need a
319 "deleted" flag. If processing stale data really is a problem,
/Linux-v5.4/drivers/md/bcache/
Dextents.c540 unsigned int i, stale; in bch_extent_bad() local
552 stale = ptr_stale(b->c, k, i); in bch_extent_bad()
554 if (stale && KEY_DIRTY(k)) { in bch_extent_bad()
557 stale, buf); in bch_extent_bad()
560 btree_bug_on(stale > BUCKET_GC_GEN_MAX, b, in bch_extent_bad()
562 stale, b->c->need_gc); in bch_extent_bad()
564 if (stale) in bch_extent_bad()
Dbtree.c1237 uint8_t stale = 0; in __bch_btree_mark_key() local
1247 return stale; in __bch_btree_mark_key()
1259 stale = max(stale, ptr_stale(c, k, i)); in __bch_btree_mark_key()
1283 return stale; in __bch_btree_mark_key()
1315 uint8_t stale = 0; in btree_gc_mark_node() local
1324 stale = max(stale, btree_mark_key(b, k)); in btree_gc_mark_node()
1346 if (stale > 10) in btree_gc_mark_node()
/Linux-v5.4/fs/xfs/scrub/
Ddir.c490 unsigned int stale = 0; in xchk_directory_leaf1_bestfree() local
542 stale++; in xchk_directory_leaf1_bestfree()
544 if (leafhdr.stale != stale) in xchk_directory_leaf1_bestfree()
580 unsigned int stale = 0; in xchk_directory_free_bestfree() local
603 stale++; in xchk_directory_free_bestfree()
616 if (freehdr.nused + stale != freehdr.nvalid) in xchk_directory_free_bestfree()
/Linux-v5.4/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.c783 bool stale) in xfs_iflush_abort() argument
790 stale ? SHUTDOWN_LOG_IO_ERROR : in xfs_iflush_abort()
/Linux-v5.4/drivers/gpu/drm/msm/disp/mdp4/
Dmdp4_crtc.c28 bool stale; member
363 if (mdp4_crtc->cursor.stale) { in update_cursor()
392 mdp4_crtc->cursor.stale = false; in update_cursor()
442 mdp4_crtc->cursor.stale = true; in mdp4_crtc_cursor_set()
/Linux-v5.4/mm/
Dz3fold.c158 struct list_head stale; member
456 list_add(&zhdr->buddy, &pool->stale); in __release_z3fold_page()
495 while (!list_empty(&pool->stale)) { in free_pages_work()
496 struct z3fold_header *zhdr = list_first_entry(&pool->stale, in free_pages_work()
791 INIT_LIST_HEAD(&pool->stale); in z3fold_create_pool()
914 zhdr = list_first_entry_or_null(&pool->stale, in z3fold_alloc()
Dksm.c707 goto stale; in get_ksm_page()
729 goto stale; in get_ksm_page()
735 goto stale; in get_ksm_page()
750 goto stale; in get_ksm_page()
755 stale: in get_ksm_page()
/Linux-v5.4/Documentation/filesystems/
Dceph.txt171 After reconnect, file locks become stale because the MDS loses track
172 of them. If an inode contains any stale file locks, read/write on the
173 inode is not allowed until applications release all stale file locks.
Dfiles.txt108 fdtable and making the earlier fdtable pointer stale.
/Linux-v5.4/Documentation/scsi/
Dhpsa.txt76 and not be disrupted in any way by stale commands or other stale state
/Linux-v5.4/Documentation/x86/
Dmds.rst29 deallocated it can retain the stale data of the preceding operations which
37 contain stale data from a previous operation which can be forwarded to
177 that stale data from the idling CPU from spilling to the Hyper-Thread
Dtsx_async_abort.rst16 fault or assist condition. Such loads may speculatively expose stale data from
/Linux-v5.4/drivers/net/wireless/ath/ath9k/
Dxmit.c404 tbf->bf_state.stale = false; in ath_clone_txbuf()
476 if (!bf->bf_state.stale || bf_next != NULL) in ath_tx_complete_aggr()
568 if (bf_next != NULL || !bf_last->bf_state.stale) in ath_tx_complete_aggr()
596 if (bf->bf_next == NULL && bf_last->bf_state.stale) { in ath_tx_complete_aggr()
914 bf->bf_state.stale = false; in ath_tx_get_tid_subframe()
1821 if (bf->bf_state.stale) { in ath_drain_txq_list()
2588 if (bf->bf_state.stale) { in ath_tx_processq()
2612 lastbf->bf_state.stale = true; in ath_tx_processq()
2693 if (bf->bf_state.stale) { in ath_tx_edma_tasklet()
2715 lastbf->bf_state.stale = true; in ath_tx_edma_tasklet()
/Linux-v5.4/arch/arm/kvm/
Dinit.S84 @ Invalidate the stale TLBs from Bootloader
/Linux-v5.4/drivers/net/ethernet/intel/iavf/
Diavf_txrx.c2164 const skb_frag_t *frag, *stale; in __iavf_chk_linearize() local
2196 for (stale = &skb_shinfo(skb)->frags[0];; stale++) { in __iavf_chk_linearize()
2197 int stale_size = skb_frag_size(stale); in __iavf_chk_linearize()
2208 int align_pad = -(skb_frag_off(stale)) & in __iavf_chk_linearize()
/Linux-v5.4/Documentation/vm/
Dksm.rst76 "chains" is scanned periodically in order to prune stale stable_nodes.

1234