Home
last modified time | relevance | path

Searched refs:bc_flags (Results 1 – 11 of 11) sorted by relevance

/linux-6.1.9/fs/xfs/libxfs/
Dxfs_btree_staging.c92 ASSERT(cur->bc_flags & XFS_BTREE_STAGING); in xfs_btree_fakeroot_init_ptr_from_cur()
121 ASSERT(cur->bc_flags & XFS_BTREE_STAGING); in xfs_btree_afakeroot_set_root()
138 ASSERT(!(cur->bc_flags & XFS_BTREE_STAGING)); in xfs_btree_stage_afakeroot()
139 ASSERT(!(cur->bc_flags & XFS_BTREE_ROOT_IN_INODE)); in xfs_btree_stage_afakeroot()
153 cur->bc_flags |= XFS_BTREE_STAGING; in xfs_btree_stage_afakeroot()
169 ASSERT(cur->bc_flags & XFS_BTREE_STAGING); in xfs_btree_commit_afakeroot()
177 cur->bc_flags &= ~XFS_BTREE_STAGING; in xfs_btree_commit_afakeroot()
219 ASSERT(!(cur->bc_flags & XFS_BTREE_STAGING)); in xfs_btree_stage_ifakeroot()
220 ASSERT(cur->bc_flags & XFS_BTREE_ROOT_IN_INODE); in xfs_btree_stage_ifakeroot()
233 cur->bc_flags |= XFS_BTREE_STAGING; in xfs_btree_stage_ifakeroot()
[all …]
Dxfs_btree.c261 if (cur->bc_flags & XFS_BTREE_LONG_PTRS) in xfs_btree_check_block()
302 if (cur->bc_flags & XFS_BTREE_LONG_PTRS) { in xfs_btree_check_ptr()
453 if (unlikely(cur->bc_flags & XFS_BTREE_STAGING)) in xfs_btree_del_cursor()
455 if (!(cur->bc_flags & XFS_BTREE_LONG_PTRS) && cur->bc_ag.pag) in xfs_btree_del_cursor()
592 if (cur->bc_flags & XFS_BTREE_LONG_PTRS) { in xfs_btree_block_len()
593 if (cur->bc_flags & XFS_BTREE_CRC_BLOCKS) in xfs_btree_block_len()
597 if (cur->bc_flags & XFS_BTREE_CRC_BLOCKS) in xfs_btree_block_len()
607 return (cur->bc_flags & XFS_BTREE_LONG_PTRS) ? in xfs_btree_ptr_len()
721 ASSERT(cur->bc_flags & XFS_BTREE_ROOT_IN_INODE); in xfs_btree_ifork_ptr()
723 if (cur->bc_flags & XFS_BTREE_STAGING) in xfs_btree_ifork_ptr()
[all …]
Dxfs_alloc_btree.c489 cur->bc_flags = XFS_BTREE_LASTREC_UPDATE; in xfs_allocbt_init_common()
500 cur->bc_flags |= XFS_BTREE_CRC_BLOCKS; in xfs_allocbt_init_common()
558 ASSERT(cur->bc_flags & XFS_BTREE_STAGING); in xfs_allocbt_commit_staged_btree()
567 cur->bc_flags |= XFS_BTREE_LASTREC_UPDATE; in xfs_allocbt_commit_staged_btree()
Dxfs_btree.h234 unsigned int bc_flags; /* btree features - below */ member
561 if (cur->bc_flags & XFS_BTREE_LONG_PTRS) in xfs_btree_islastblock()
Dxfs_refcount_btree.c340 cur->bc_flags |= XFS_BTREE_CRC_BLOCKS; in xfs_refcountbt_init_common()
396 ASSERT(cur->bc_flags & XFS_BTREE_STAGING); in xfs_refcountbt_commit_staged_btree()
Dxfs_rmap_btree.c459 cur->bc_flags = XFS_BTREE_CRC_BLOCKS | XFS_BTREE_OVERLAPPING; in xfs_rmapbt_init_common()
514 ASSERT(cur->bc_flags & XFS_BTREE_STAGING); in xfs_rmapbt_commit_staged_btree()
Dxfs_bmap_btree.c563 cur->bc_flags = XFS_BTREE_LONG_PTRS | XFS_BTREE_ROOT_IN_INODE; in xfs_bmbt_init_cursor()
565 cur->bc_flags |= XFS_BTREE_CRC_BLOCKS; in xfs_bmbt_init_cursor()
Dxfs_ialloc_btree.c448 cur->bc_flags |= XFS_BTREE_CRC_BLOCKS; in xfs_inobt_init_common()
506 ASSERT(cur->bc_flags & XFS_BTREE_STAGING); in xfs_inobt_commit_staged_btree()
/linux-6.1.9/fs/xfs/scrub/
Dbtree.c49 if (cur->bc_flags & XFS_BTREE_ROOT_IN_INODE) in __xchk_btree_process_error()
93 if (cur->bc_flags & XFS_BTREE_ROOT_IN_INODE) in __xchk_btree_set_corrupt()
159 if (!(cur->bc_flags & XFS_BTREE_OVERLAPPING)) in xchk_btree_rec()
205 if (!(cur->bc_flags & XFS_BTREE_OVERLAPPING)) in xchk_btree_key()
229 if ((bs->cur->bc_flags & XFS_BTREE_ROOT_IN_INODE) && in xchk_btree_ptr_ok()
234 if (bs->cur->bc_flags & XFS_BTREE_LONG_PTRS) in xchk_btree_ptr_ok()
375 init_sa = bs->cur->bc_flags & XFS_BTREE_LONG_PTRS; in xchk_btree_check_block_owner()
420 if (!(cur->bc_flags & XFS_BTREE_ROOT_IN_INODE)) in xchk_btree_check_owner()
496 if ((cur->bc_flags & XFS_BTREE_ROOT_IN_INODE) && in xchk_btree_check_minrecs()
543 if (bs->cur->bc_flags & XFS_BTREE_LONG_PTRS) in xchk_btree_get_block()
[all …]
Dtrace.c29 (cur->bc_flags & XFS_BTREE_ROOT_IN_INODE)) in xchk_btree_cur_fsbno()
/linux-6.1.9/fs/xfs/
Dxfs_trace.h4009 if (cur->bc_flags & XFS_BTREE_LONG_PTRS) {