Home
last modified time | relevance | path

Searched refs:stale (Results 1 - 25 of 72) sorted by relevance

123

/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/
H A 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()
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gt/
H A Dintel_gt_buffer_pool.c39 struct intel_gt_buffer_pool_node *node, *stale = NULL; in pool_free_older_than() local
67 node->free = stale; in pool_free_older_than()
68 stale = node; in pool_free_older_than()
79 while ((node = stale)) { in pool_free_older_than()
80 stale = stale->free; in pool_free_older_than()
/kernel/linux/linux-5.10/fs/xfs/libxfs/
H A 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
165 /* Check hash value order, count stale entrie in xfs_dir3_leaf_check_int()
[all...]
H A Dxfs_dir2_block.c207 * If there are stale entries we'll use one for the leaf. in xfs_dir2_block_need_space()
209 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()
245 * no stale entries, so just use free space. in xfs_dir2_block_need_space()
295 * Leave the highest-numbered stale entry stale.
312 int highstale; /* high stale index */ in xfs_dir2_block_compact()
330 *lfloglow = toidx + 1 - (be32_to_cpu(btp->stale) - 1); in xfs_dir2_block_compact()
331 *lfloghigh -= be32_to_cpu(btp->stale) in xfs_dir2_block_compact()
[all...]
H A Dxfs_dir2_node.c503 int compact; /* compacting stale leaves */ in xfs_dir2_leafn_add()
504 int highstale = 0; /* next stale entry */ in xfs_dir2_leafn_add()
507 int lowstale = 0; /* previous stale entry */ in xfs_dir2_leafn_add()
525 * the block, if there are no stale entries it won't fit. in xfs_dir2_leafn_add()
526 * Caller will do a split. If there are stale entries we'll do in xfs_dir2_leafn_add()
531 if (!leafhdr.stale) in xfs_dir2_leafn_add()
533 compact = leafhdr.stale > 1; in xfs_dir2_leafn_add()
544 * Compact out all but one stale leaf entry. Leaves behind in xfs_dir2_leafn_add()
550 else if (leafhdr.stale) { in xfs_dir2_leafn_add()
680 * Skip stale lea in xfs_dir2_leafn_lookup_for_addname()
961 int stale; /* count stale leaves copied */ xfs_dir3_leafn_moveents() local
[all...]
H A 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
/kernel/linux/linux-6.6/fs/xfs/libxfs/
H A 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()
147 int stale; in xfs_dir3_leaf_check_int() local
170 /* Check hash value order, count stale entrie in xfs_dir3_leaf_check_int()
[all...]
H A Dxfs_dir2_block.c207 * If there are stale entries we'll use one for the leaf. in xfs_dir2_block_need_space()
209 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()
245 * no stale entries, so just use free space. in xfs_dir2_block_need_space()
295 * Leave the highest-numbered stale entry stale.
312 int highstale; /* high stale index */ in xfs_dir2_block_compact()
330 *lfloglow = toidx + 1 - (be32_to_cpu(btp->stale) - 1); in xfs_dir2_block_compact()
331 *lfloghigh -= be32_to_cpu(btp->stale) in xfs_dir2_block_compact()
[all...]
H A Dxfs_dir2_node.c503 int compact; /* compacting stale leaves */ in xfs_dir2_leafn_add()
504 int highstale = 0; /* next stale entry */ in xfs_dir2_leafn_add()
507 int lowstale = 0; /* previous stale entry */ in xfs_dir2_leafn_add()
525 * the block, if there are no stale entries it won't fit. in xfs_dir2_leafn_add()
526 * Caller will do a split. If there are stale entries we'll do in xfs_dir2_leafn_add()
531 if (!leafhdr.stale) in xfs_dir2_leafn_add()
533 compact = leafhdr.stale > 1; in xfs_dir2_leafn_add()
544 * Compact out all but one stale leaf entry. Leaves behind in xfs_dir2_leafn_add()
550 else if (leafhdr.stale) { in xfs_dir2_leafn_add()
680 * Skip stale lea in xfs_dir2_leafn_lookup_for_addname()
961 int stale; /* count stale leaves copied */ xfs_dir3_leafn_moveents() local
[all...]
H A Dxfs_da_format.h415 __be16 stale; /* count of stale entries */ member
421 __be16 stale; /* count of stale entries */ member
531 __be32 stale; /* count of stale lf entries */ member
/kernel/linux/linux-5.10/fs/cachefiles/
H A 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()
305 * remove the object's xattr to mark it stale
/kernel/linux/linux-6.6/fs/iomap/
H A Diter.c19 * (processed = 0) meaning we are done and (processed = 0 && stale) meaning we
24 bool stale = iter->iomap.flags & IOMAP_F_STALE; in iomap_iter_advance() local
30 if (!iter->processed && !stale) in iomap_iter_advance()
/kernel/linux/linux-5.10/drivers/md/bcache/
H A Dextents.c15 * counter. Garbage collection is used to remove stale pointers.
85 return "stale"; in bch_ptr_status()
540 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()
556 pr_info("stale dirty pointer, stale %u, key: %s\n", 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()
561 "key too stale in bch_extent_bad()
[all...]
/kernel/linux/linux-5.10/fs/xfs/
H A Dxfs_buf_item.c132 * regions, we do not relog them in stale buffers. This has the effect of
149 * The buffer is stale, so all we need to log is the buf log in xfs_buf_item_size()
257 * The buffer is stale, so all we need to log in xfs_buf_item_format_segment()
406 int stale = bip->bli_flags & XFS_BLI_STALE; in xfs_buf_item_unpin() local
424 if (freed && !stale && remove) in xfs_buf_item_unpin()
433 if (stale) { in xfs_buf_item_unpin()
485 * been marked stale, we could end up stalling until someone else in xfs_buf_item_push()
486 * issues a log force to unpin the stale buffer. Check for the in xfs_buf_item_push()
582 bool stale = bip->bli_flags & XFS_BLI_STALE; in xfs_buf_item_release() local
598 ASSERT(!stale || (bi in xfs_buf_item_release()
[all...]
/kernel/linux/linux-6.6/drivers/md/bcache/
H A Dextents.c15 * counter. Garbage collection is used to remove stale pointers.
85 return "stale"; in bch_ptr_status()
540 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()
556 pr_info("stale dirty pointer, stale %u, key: %s\n", 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()
561 "key too stale in bch_extent_bad()
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gem/selftests/
H A Dmock_context.c28 spin_lock_init(&ctx->stale.lock); in mock_context()
29 INIT_LIST_HEAD(&ctx->stale.engines); in mock_context()
/kernel/linux/linux-6.6/fs/xfs/
H A Dxfs_buf_item.c182 * regions, we do not relog them in stale buffers. This has the effect of
202 * The buffer is stale, so all we need to log is the buf log in xfs_buf_item_size()
307 * The buffer is stale, so all we need to log in xfs_buf_item_format_segment()
513 int stale = bip->bli_flags & XFS_BLI_STALE; in xfs_buf_item_unpin() local
534 if (stale) { in xfs_buf_item_unpin()
546 * stale so we own both lock and reference exclusively here. We in xfs_buf_item_unpin()
609 * been marked stale, we could end up stalling until someone else in xfs_buf_item_push()
610 * issues a log force to unpin the stale buffer. Check for the in xfs_buf_item_push()
706 bool stale = bip->bli_flags & XFS_BLI_STALE; in xfs_buf_item_release() local
722 ASSERT(!stale || (bi in xfs_buf_item_release()
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gem/selftests/
H A Dmock_context.c31 spin_lock_init(&ctx->stale.lock); in mock_context()
32 INIT_LIST_HEAD(&ctx->stale.engines); in mock_context()
/kernel/linux/linux-5.10/fs/xfs/scrub/
H A Ddir.c499 unsigned int stale = 0; in xchk_directory_leaf1_bestfree() local
543 /* Check hash value order, count stale entries. */ in xchk_directory_leaf1_bestfree()
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()
/kernel/linux/linux-6.6/fs/xfs/scrub/
H A Ddir.c466 unsigned int stale = 0; in xchk_directory_leaf1_bestfree() local
514 /* Check hash value order, count stale entries. */ in xchk_directory_leaf1_bestfree()
522 stale++; in xchk_directory_leaf1_bestfree()
524 if (leafhdr.stale != stale) in xchk_directory_leaf1_bestfree()
573 unsigned int stale = 0; in xchk_directory_free_bestfree() local
595 stale++; in xchk_directory_free_bestfree()
608 if (freehdr.nused + stale != freehdr.nvalid) in xchk_directory_free_bestfree()
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/ice/
H A Dice_ptp.c628 * 1) check that the timestamp request is not stale
632 * 5) check if the timestamp is stale, and discard if so
656 * this case, software will set the stale bit for any outstanding Tx
750 if (test_and_clear_bit(idx, tx->stale)) in ice_ptp_process_tx_tstamp()
815 unsigned long *in_use, *stale; in ice_ptp_alloc_tx_tracker() local
820 stale = bitmap_zalloc(tx->len, GFP_KERNEL); in ice_ptp_alloc_tx_tracker()
822 if (!tstamps || !in_use || !stale) { in ice_ptp_alloc_tx_tracker()
825 bitmap_free(stale); in ice_ptp_alloc_tx_tracker()
832 tx->stale = stale; in ice_ptp_alloc_tx_tracker()
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gem/
H A 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 in engines_idle_release()
[all...]
H A Di915_gem_context_types.h187 } stale; member
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gem/
H A Di915_gem_context.c1071 spin_lock_irqsave(&ctx->stale.lock, flags); in engines_notify()
1073 spin_unlock_irqrestore(&ctx->stale.lock, flags); in engines_notify()
1422 spin_lock_irq(&ctx->stale.lock); in kill_context()
1424 list_for_each_entry_safe(pos, next, &ctx->stale.engines, link) { in kill_context()
1430 spin_unlock_irq(&ctx->stale.lock); in kill_context()
1435 spin_lock_irq(&ctx->stale.lock); in kill_context()
1442 spin_unlock_irq(&ctx->stale.lock); in kill_context()
1472 spin_lock_irq(&ctx->stale.lock); in engines_idle_release()
1474 list_add_tail(&engines->link, &ctx->stale.engines); in engines_idle_release()
1475 spin_unlock_irq(&ctx->stale in engines_idle_release()
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/disp/mdp4/
H A Dmdp4_crtc.c28 bool stale; member
372 if (mdp4_crtc->cursor.stale) { in update_cursor()
401 mdp4_crtc->cursor.stale = false; in update_cursor()
451 mdp4_crtc->cursor.stale = true; in mdp4_crtc_cursor_set()

Completed in 26 milliseconds

123