Home
last modified time | relevance | path

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

123

/Linux-v4.19/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.c465 if (!leafhdr.stale) in xfs_dir2_leafn_add()
467 compact = leafhdr.stale > 1; in xfs_dir2_leafn_add()
484 else if (leafhdr.stale) { in xfs_dir2_leafn_add()
901 int stale; /* count stale leaves copied */ in xfs_dir3_leafn_moveents() local
926 if (shdr->stale) { in xfs_dir3_leafn_moveents()
929 for (i = start_s, stale = 0; i < start_s + count; i++) { in xfs_dir3_leafn_moveents()
932 stale++; in xfs_dir3_leafn_moveents()
935 stale = 0; in xfs_dir3_leafn_moveents()
957 shdr->stale -= stale; in xfs_dir3_leafn_moveents()
959 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-v4.19/fs/cachefiles/
Dxattr.c223 goto stale; /* no attribute - power went off in cachefiles_check_object_xattr()
240 goto stale; in cachefiles_check_object_xattr()
269 goto stale; in cachefiles_check_object_xattr()
302 stale: in cachefiles_check_object_xattr()
/Linux-v4.19/Documentation/RCU/
DlistRCU.txt17 equipment outside of the computer, it will at times contain stale data.
154 So, when readers can tolerate stale data and when entries are either added
222 The auditing examples above tolerate stale data, as do most algorithms
227 However, there are many examples where stale data cannot be tolerated.
237 If the system-call audit module were to ever need to reject stale data,
296 Read-mostly list-based data structures that can tolerate stale data are
301 If stale data cannot be tolerated, then a "deleted" flag may be used
311 then the caller will be processing stale data in any case. If it
312 is really OK to be processing stale data, then you don't need a
313 "deleted" flag. If processing stale data really is a problem,
/Linux-v4.19/drivers/md/bcache/
Dextents.c540 unsigned int i, stale; in bch_extent_bad() local
554 stale = ptr_stale(b->c, k, i); in bch_extent_bad()
556 btree_bug_on(stale > 96, b, in bch_extent_bad()
558 stale, b->c->need_gc); in bch_extent_bad()
560 btree_bug_on(stale && KEY_DIRTY(k) && KEY_SIZE(k), in bch_extent_bad()
563 if (stale) in bch_extent_bad()
Dbtree.c1190 uint8_t stale = 0; in __bch_btree_mark_key() local
1200 return stale; in __bch_btree_mark_key()
1212 stale = max(stale, ptr_stale(c, k, i)); in __bch_btree_mark_key()
1236 return stale; in __bch_btree_mark_key()
1268 uint8_t stale = 0; in btree_gc_mark_node() local
1277 stale = max(stale, btree_mark_key(b, k)); in btree_gc_mark_node()
1299 if (stale > 10) in btree_gc_mark_node()
/Linux-v4.19/fs/xfs/scrub/
Ddir.c494 unsigned int stale = 0; in xchk_directory_leaf1_bestfree() local
546 stale++; in xchk_directory_leaf1_bestfree()
548 if (leafhdr.stale != stale) in xchk_directory_leaf1_bestfree()
584 unsigned int stale = 0; in xchk_directory_free_bestfree() local
607 stale++; in xchk_directory_free_bestfree()
620 if (freehdr.nused + stale != freehdr.nvalid) in xchk_directory_free_bestfree()
/Linux-v4.19/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-v4.19/mm/
Dz3fold.c130 struct list_head stale; member
263 list_add(&zhdr->buddy, &pool->stale); in __release_z3fold_page()
301 while (!list_empty(&pool->stale)) { in free_pages_work()
302 struct z3fold_header *zhdr = list_first_entry(&pool->stale, in free_pages_work()
481 INIT_LIST_HEAD(&pool->stale); in z3fold_create_pool()
633 zhdr = list_first_entry_or_null(&pool->stale, in z3fold_alloc()
Dksm.c700 goto stale; in get_ksm_page()
721 goto stale; in get_ksm_page()
727 goto stale; in get_ksm_page()
735 goto stale; in get_ksm_page()
740 stale: in get_ksm_page()
/Linux-v4.19/drivers/gpu/drm/msm/disp/mdp4/
Dmdp4_crtc.c38 bool stale; member
379 if (mdp4_crtc->cursor.stale) { in update_cursor()
408 mdp4_crtc->cursor.stale = false; in update_cursor()
458 mdp4_crtc->cursor.stale = true; in mdp4_crtc_cursor_set()
/Linux-v4.19/Documentation/scsi/
Dhpsa.txt76 and not be disrupted in any way by stale commands or other stale state
/Linux-v4.19/arch/arm/kvm/
Dinit.S96 @ Invalidate the stale TLBs from Bootloader
/Linux-v4.19/drivers/net/wireless/ath/ath9k/
Dxmit.c446 tbf->bf_state.stale = false; in ath_clone_txbuf()
523 if (!bf->bf_state.stale || bf_next != NULL) in ath_tx_complete_aggr()
615 if (bf_next != NULL || !bf_last->bf_state.stale) in ath_tx_complete_aggr()
643 if (bf->bf_next == NULL && bf_last->bf_state.stale) { in ath_tx_complete_aggr()
969 bf->bf_state.stale = false; in ath_tx_get_tid_subframe()
1886 if (bf->bf_state.stale) { in ath_drain_txq_list()
2685 if (bf->bf_state.stale) { in ath_tx_processq()
2709 lastbf->bf_state.stale = true; in ath_tx_processq()
2790 if (bf->bf_state.stale) { in ath_tx_edma_tasklet()
2812 lastbf->bf_state.stale = true; in ath_tx_edma_tasklet()
/Linux-v4.19/drivers/net/ethernet/intel/i40evf/
Di40e_txrx.c2147 const struct skb_frag_struct *frag, *stale; in __i40evf_chk_linearize() local
2179 for (stale = &skb_shinfo(skb)->frags[0];; stale++) { in __i40evf_chk_linearize()
2180 int stale_size = skb_frag_size(stale); in __i40evf_chk_linearize()
2191 int align_pad = -(stale->page_offset) & in __i40evf_chk_linearize()
/Linux-v4.19/Documentation/vm/
Dksm.rst76 "chains" is scanned periodically in order to prune stale stable_nodes.
/Linux-v4.19/drivers/net/ethernet/intel/ice/
Dice_txrx.c1608 const struct skb_frag_struct *frag, *stale; in __ice_chk_linearize() local
1640 stale = &skb_shinfo(skb)->frags[0]; in __ice_chk_linearize()
1651 sum -= skb_frag_size(stale++); in __ice_chk_linearize()
/Linux-v4.19/Documentation/filesystems/
Dfiles.txt108 fdtable and making the earlier fdtable pointer stale.
/Linux-v4.19/Documentation/filesystems/pohmelfs/
Dinfo.txt14 trees looking for stale requests, which have to be resent, or if number of
/Linux-v4.19/drivers/net/ethernet/8390/
Daxnet_cs.c114 int stale, fast_poll; member
544 PRIV(dev)->stale = 0; in ei_irq_wrapper()
560 if (info->stale++ && (inb_p(nic_base + EN0_ISR) & ENISR_ALL)) { in ei_watchdog()

123