Home
last modified time | relevance | path

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

1234

/Linux-v5.10/drivers/gpu/drm/i915/gt/
Dintel_gt_buffer_pool.c43 struct intel_gt_buffer_pool_node *node, *stale = NULL; in pool_free_older_than() local
71 node->free = stale; in pool_free_older_than()
72 stale = node; in pool_free_older_than()
83 while ((node = stale)) { in pool_free_older_than()
84 stale = stale->free; in pool_free_older_than()
/Linux-v5.10/fs/xfs/libxfs/
Dxfs_dir2_leaf.c47 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()
146 int stale; in xfs_dir3_leaf_check_int() local
166 for (i = stale = 0; i < hdr->count; i++) { in xfs_dir3_leaf_check_int()
173 stale++; in xfs_dir3_leaf_check_int()
175 if (hdr->stale != stale) in xfs_dir3_leaf_check_int()
428 leafhdr.stale = be32_to_cpu(btp->stale); in xfs_dir2_block_to_leaf()
522 if (!leafhdr->stale) { in xfs_dir3_leaf_find_entry()
[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.c531 if (!leafhdr.stale) in xfs_dir2_leafn_add()
533 compact = leafhdr.stale > 1; in xfs_dir2_leafn_add()
550 else if (leafhdr.stale) { in xfs_dir2_leafn_add()
961 int stale; /* count stale leaves copied */ in xfs_dir3_leafn_moveents() local
986 if (shdr->stale) { in xfs_dir3_leafn_moveents()
989 for (i = start_s, stale = 0; i < start_s + count; i++) { in xfs_dir3_leafn_moveents()
992 stale++; in xfs_dir3_leafn_moveents()
995 stale = 0; in xfs_dir3_leafn_moveents()
1018 shdr->stale -= stale; in xfs_dir3_leafn_moveents()
1020 dhdr->stale += stale; in xfs_dir3_leafn_moveents()
[all …]
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.c114 int stale; /* count of stale leaves */ in __xfs_dir3_data_check() local
256 for (i = stale = 0; i < be32_to_cpu(btp->count); i++) { in __xfs_dir3_data_check()
259 stale++; in __xfs_dir3_data_check()
264 if (count != be32_to_cpu(btp->count) - be32_to_cpu(btp->stale)) in __xfs_dir3_data_check()
266 if (stale != be32_to_cpu(btp->stale)) in __xfs_dir3_data_check()
Dxfs_dir2_priv.h20 uint16_t stale; member
/Linux-v5.10/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.10/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.c1194 uint8_t stale = 0; in __bch_btree_mark_key() local
1204 return stale; in __bch_btree_mark_key()
1216 stale = max(stale, ptr_stale(c, k, i)); in __bch_btree_mark_key()
1240 return stale; in __bch_btree_mark_key()
1272 uint8_t stale = 0; in btree_gc_mark_node() local
1281 stale = max(stale, btree_mark_key(b, k)); in btree_gc_mark_node()
1303 if (stale > 10) in btree_gc_mark_node()
/Linux-v5.10/Documentation/RCU/
DlistRCU.rst68 equipment outside of the computer, it will at times contain stale data.
204 So, when readers can tolerate stale data and when entries are either added or
283 The auditing example above tolerates stale data, as do most algorithms
288 However, there are many examples where stale data cannot be tolerated.
303 If the system-call audit module were to ever need to reject stale data, one way
364 For some usecases, reader performance can be improved by skipping stale objects
414 the ``cancel_list``, the ``might_cancel`` flag is consulted to skip stale
446 Read-mostly list-based data structures that can tolerate stale data are
451 If stale data cannot be tolerated, then a *deleted* flag may be used
462 then the caller will be processing stale data in any case. If it
[all …]
/Linux-v5.10/fs/xfs/
Dxfs_buf_item.c416 int stale = bip->bli_flags & XFS_BLI_STALE; in xfs_buf_item_unpin() local
429 if (freed && stale) { in xfs_buf_item_unpin()
595 bool stale = bip->bli_flags & XFS_BLI_STALE; in xfs_buf_item_release() local
611 ASSERT(!stale || (bip->__bli_format.blf_flags & XFS_BLF_CANCEL)); in xfs_buf_item_release()
627 if (hold || (stale && !released)) in xfs_buf_item_release()
629 ASSERT(!stale || aborted); in xfs_buf_item_release()
/Linux-v5.10/drivers/gpu/drm/i915/gem/selftests/
Dmock_context.c28 spin_lock_init(&ctx->stale.lock); in mock_context()
29 INIT_LIST_HEAD(&ctx->stale.engines); in mock_context()
/Linux-v5.10/fs/xfs/scrub/
Ddir.c499 unsigned int stale = 0; in xchk_directory_leaf1_bestfree() local
551 stale++; in xchk_directory_leaf1_bestfree()
553 if (leafhdr.stale != stale) in xchk_directory_leaf1_bestfree()
602 unsigned int stale = 0; in xchk_directory_free_bestfree() local
624 stale++; in xchk_directory_free_bestfree()
637 if (freehdr.nused + stale != freehdr.nvalid) in xchk_directory_free_bestfree()
/Linux-v5.10/drivers/gpu/drm/i915/gem/
Di915_gem_context_types.h187 } stale; member
Di915_gem_context.c272 spin_lock_irqsave(&ctx->stale.lock, flags); in engines_notify()
274 spin_unlock_irqrestore(&ctx->stale.lock, flags); in engines_notify()
530 spin_lock_irq(&ctx->stale.lock); in kill_context()
532 list_for_each_entry_safe(pos, next, &ctx->stale.engines, link) { in kill_context()
538 spin_unlock_irq(&ctx->stale.lock); in kill_context()
542 spin_lock_irq(&ctx->stale.lock); in kill_context()
549 spin_unlock_irq(&ctx->stale.lock); in kill_context()
579 spin_lock_irq(&ctx->stale.lock); in engines_idle_release()
581 list_add_tail(&engines->link, &ctx->stale.engines); in engines_idle_release()
582 spin_unlock_irq(&ctx->stale.lock); in engines_idle_release()
[all …]
/Linux-v5.10/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.10/Documentation/filesystems/
Dceph.rst175 After reconnect, file locks become stale because the MDS loses track
176 of them. If an inode contains any stale file locks, read/write on the
177 inode is not allowed until applications release all stale file locks.
/Linux-v5.10/drivers/md/
Ddm-historical-service-time.c343 u64 *out, u64 *stale) in hst_fill_compare() argument
350 *stale = pi->stale_after; in hst_fill_compare()
/Linux-v5.10/mm/
Dz3fold.c161 struct list_head stale; member
558 list_add(&zhdr->buddy, &pool->stale); in __release_z3fold_page()
598 while (!list_empty(&pool->stale)) { in free_pages_work()
599 struct z3fold_header *zhdr = list_first_entry(&pool->stale, in free_pages_work()
1018 INIT_LIST_HEAD(&pool->stale); in z3fold_create_pool()
1141 zhdr = list_first_entry_or_null(&pool->stale, in z3fold_alloc()
/Linux-v5.10/Documentation/scsi/
Dhpsa.rst80 and not be disrupted in any way by stale commands or other stale state
/Linux-v5.10/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
/Linux-v5.10/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()
2591 if (bf->bf_state.stale) { in ath_tx_processq()
2615 lastbf->bf_state.stale = true; in ath_tx_processq()
2696 if (bf->bf_state.stale) { in ath_tx_edma_tasklet()
2718 lastbf->bf_state.stale = true; in ath_tx_edma_tasklet()
/Linux-v5.10/drivers/net/ethernet/intel/iavf/
Diavf_txrx.c2159 const skb_frag_t *frag, *stale; in __iavf_chk_linearize() local
2191 for (stale = &skb_shinfo(skb)->frags[0];; stale++) { in __iavf_chk_linearize()
2192 int stale_size = skb_frag_size(stale); in __iavf_chk_linearize()
2203 int align_pad = -(skb_frag_off(stale)) & in __iavf_chk_linearize()
/Linux-v5.10/drivers/net/ethernet/intel/ice/
Dice_txrx.c2269 const skb_frag_t *frag, *stale; in __ice_chk_linearize() local
2301 for (stale = &skb_shinfo(skb)->frags[0];; stale++) { in __ice_chk_linearize()
2302 int stale_size = skb_frag_size(stale); in __ice_chk_linearize()
2313 int align_pad = -(skb_frag_off(stale)) & in __ice_chk_linearize()

1234