/kernel/linux/linux-5.10/fs/xfs/libxfs/ |
H A D | xfs_dir2.c | 230 args->geo = dp->i_mount->m_dir_geo; in xfs_dir_init() 260 XFS_STATS_INC(dp->i_mount, xs_dir_create); in xfs_dir_createname() 267 args->geo = dp->i_mount->m_dir_geo; in xfs_dir_createname() 271 args->hashval = xfs_dir2_hashname(dp->i_mount, name); in xfs_dir_createname() 352 XFS_STATS_INC(dp->i_mount, xs_dir_lookup); in xfs_dir_lookup() 363 args->geo = dp->i_mount->m_dir_geo; in xfs_dir_lookup() 367 args->hashval = xfs_dir2_hashname(dp->i_mount, name); in xfs_dir_lookup() 429 XFS_STATS_INC(dp->i_mount, xs_dir_remove); in xfs_dir_removename() 435 args->geo = dp->i_mount->m_dir_geo; in xfs_dir_removename() 439 args->hashval = xfs_dir2_hashname(dp->i_mount, nam in xfs_dir_removename() [all...] |
H A D | xfs_dir2_node.c | 67 xfs_dir2_leaf_hdr_from_disk(dp->i_mount, &leafhdr, leaf); in xfs_dir3_leafn_check() 76 return xfs_dir3_leaf_check_int(dp->i_mount, &leafhdr, leaf); in xfs_dir3_leafn_check() 89 xfs_corruption_error(__func__, XFS_ERRLEVEL_LOW, dp->i_mount, in xfs_dir3_leaf_check() 181 struct xfs_mount *mp = dp->i_mount; in xfs_dir3_free_header_check() 324 struct xfs_mount *mp = dp->i_mount; in xfs_dir3_free_get_buf() 440 xfs_dir2_free_hdr_from_disk(dp->i_mount, &freehdr, fbp->b_addr); in xfs_dir2_leaf_to_node() 467 xfs_dir2_free_hdr_to_disk(dp->i_mount, fbp->b_addr, &freehdr); in xfs_dir2_leaf_to_node() 511 xfs_dir2_leaf_hdr_from_disk(dp->i_mount, &leafhdr, leaf); in xfs_dir2_leafn_add() 568 xfs_dir2_leaf_hdr_to_disk(dp->i_mount, leaf, &leafhdr); in xfs_dir2_leafn_add() 584 xfs_dir2_free_hdr_from_disk(dp->i_mount, in xfs_dir2_free_hdr_check() [all...] |
H A D | xfs_da_btree.c | 89 state->mp = args->dp->i_mount; in xfs_da_state_alloc() 393 struct xfs_mount *mp = dp->i_mount; in xfs_da3_node_read_mapped() 458 xfs_da3_node_hdr_to_disk(dp->i_mount, node, &ichdr); in xfs_da3_node_create() 674 xfs_da3_node_hdr_from_disk(dp->i_mount, &icnodehdr, oldroot); in xfs_da3_root_split() 688 xfs_dir2_leaf_hdr_from_disk(dp->i_mount, &leafhdr, leaf); in xfs_da3_root_split() 733 xfs_da3_node_hdr_from_disk(dp->i_mount, &nodehdr, node); in xfs_da3_root_split() 740 xfs_da3_node_hdr_to_disk(dp->i_mount, node, &nodehdr); in xfs_da3_root_split() 782 xfs_da3_node_hdr_from_disk(dp->i_mount, &nodehdr, node); in xfs_da3_node_split() 829 xfs_da3_node_hdr_from_disk(dp->i_mount, &nodehdr, node); in xfs_da3_node_split() 884 xfs_da3_node_hdr_from_disk(dp->i_mount, in xfs_da3_node_rebalance() [all...] |
H A D | xfs_trans_inode.c | 36 xfs_inode_item_init(ip, ip->i_mount); in xfs_trans_ijoin() 139 xfs_sb_version_hasbigtime(&ip->i_mount->m_sb) && in xfs_trans_log_inode() 167 error = xfs_imap_to_bp(ip->i_mount, tp, &ip->i_imap, NULL, in xfs_trans_log_inode() 170 xfs_force_shutdown(ip->i_mount, SHUTDOWN_META_IO_ERROR); in xfs_trans_log_inode()
|
H A D | xfs_inode_fork.c | 80 if (unlikely(size > XFS_DFORK_SIZE(dip, ip->i_mount, whichfork))) { in xfs_iformat_local() 81 xfs_warn(ip->i_mount, in xfs_iformat_local() 84 XFS_DFORK_SIZE(dip, ip->i_mount, whichfork)); in xfs_iformat_local() 105 struct xfs_mount *mp = ip->i_mount; in xfs_iformat_extents() 120 xfs_warn(ip->i_mount, "corrupt inode %Lu ((a)extents = %d).", in xfs_iformat_extents() 170 struct xfs_mount *mp = ip->i_mount; in xfs_iformat_btree() 212 xfs_bmdr_to_bmbt(ip, dfp, XFS_DFORK_SIZE(dip, ip->i_mount, whichfork), in xfs_iformat_btree() 351 struct xfs_mount *mp = ip->i_mount; in xfs_iroot_realloc() 421 XFS_BMBT_BLOCK_LEN(ip->i_mount)); in xfs_iroot_realloc() 605 mp = ip->i_mount; in xfs_iflush_fork() [all...] |
H A D | xfs_dir2_leaf.c | 107 xfs_dir2_leaf_hdr_from_disk(dp->i_mount, &leafhdr, leaf); in xfs_dir3_leaf1_check() 116 return xfs_dir3_leaf_check_int(dp->i_mount, &leafhdr, leaf); in xfs_dir3_leaf1_check() 129 xfs_corruption_error(__func__, XFS_ERRLEVEL_LOW, dp->i_mount, in xfs_dir3_leaf_check() 349 struct xfs_mount *mp = dp->i_mount; in xfs_dir3_leaf_get_buf() 421 bf = xfs_dir2_data_bestfree_p(dp->i_mount, hdr); in xfs_dir2_block_to_leaf() 426 xfs_dir2_leaf_hdr_from_disk(dp->i_mount, &leafhdr, leaf); in xfs_dir2_block_to_leaf() 429 xfs_dir2_leaf_hdr_to_disk(dp->i_mount, leaf, &leafhdr); in xfs_dir2_block_to_leaf() 461 xfs_dir2_data_freescan(dp->i_mount, hdr, &needlog); in xfs_dir2_block_to_leaf() 653 xfs_dir2_leaf_hdr_from_disk(dp->i_mount, &leafhdr, leaf); in xfs_dir2_leaf_addname() 656 length = xfs_dir2_data_entsize(dp->i_mount, arg in xfs_dir2_leaf_addname() [all...] |
/kernel/linux/linux-6.6/fs/xfs/libxfs/ |
H A D | xfs_dir2_node.c | 67 xfs_dir2_leaf_hdr_from_disk(dp->i_mount, &leafhdr, leaf); in xfs_dir3_leafn_check() 76 return xfs_dir3_leaf_check_int(dp->i_mount, &leafhdr, leaf, false); in xfs_dir3_leafn_check() 89 xfs_corruption_error(__func__, XFS_ERRLEVEL_LOW, dp->i_mount, in xfs_dir3_leaf_check() 181 struct xfs_mount *mp = dp->i_mount; in xfs_dir3_free_header_check() 324 struct xfs_mount *mp = dp->i_mount; in xfs_dir3_free_get_buf() 440 xfs_dir2_free_hdr_from_disk(dp->i_mount, &freehdr, fbp->b_addr); in xfs_dir2_leaf_to_node() 467 xfs_dir2_free_hdr_to_disk(dp->i_mount, fbp->b_addr, &freehdr); in xfs_dir2_leaf_to_node() 511 xfs_dir2_leaf_hdr_from_disk(dp->i_mount, &leafhdr, leaf); in xfs_dir2_leafn_add() 568 xfs_dir2_leaf_hdr_to_disk(dp->i_mount, leaf, &leafhdr); in xfs_dir2_leafn_add() 584 xfs_dir2_free_hdr_from_disk(dp->i_mount, in xfs_dir2_free_hdr_check() [all...] |
H A D | xfs_dir2.c | 243 args->geo = dp->i_mount->m_dir_geo; in xfs_dir_init() 273 XFS_STATS_INC(dp->i_mount, xs_dir_create); in xfs_dir_createname() 280 args->geo = dp->i_mount->m_dir_geo; in xfs_dir_createname() 284 args->hashval = xfs_dir2_hashname(dp->i_mount, name); in xfs_dir_createname() 365 XFS_STATS_INC(dp->i_mount, xs_dir_lookup); in xfs_dir_lookup() 376 args->geo = dp->i_mount->m_dir_geo; in xfs_dir_lookup() 380 args->hashval = xfs_dir2_hashname(dp->i_mount, name); in xfs_dir_lookup() 442 XFS_STATS_INC(dp->i_mount, xs_dir_remove); in xfs_dir_removename() 448 args->geo = dp->i_mount->m_dir_geo; in xfs_dir_removename() 452 args->hashval = xfs_dir2_hashname(dp->i_mount, nam in xfs_dir_removename() [all...] |
H A D | xfs_da_btree.c | 90 state->mp = args->dp->i_mount; in xfs_da_state_alloc() 128 state->mp = state->args->dp->i_mount; in xfs_da_state_reset() 405 struct xfs_mount *mp = dp->i_mount; in xfs_da3_node_read_mapped() 470 xfs_da3_node_hdr_to_disk(dp->i_mount, node, &ichdr); in xfs_da3_node_create() 689 xfs_da3_node_hdr_from_disk(dp->i_mount, &icnodehdr, oldroot); in xfs_da3_root_split() 703 xfs_dir2_leaf_hdr_from_disk(dp->i_mount, &leafhdr, leaf); in xfs_da3_root_split() 748 xfs_da3_node_hdr_from_disk(dp->i_mount, &nodehdr, node); in xfs_da3_root_split() 755 xfs_da3_node_hdr_to_disk(dp->i_mount, node, &nodehdr); in xfs_da3_root_split() 797 xfs_da3_node_hdr_from_disk(dp->i_mount, &nodehdr, node); in xfs_da3_node_split() 844 xfs_da3_node_hdr_from_disk(dp->i_mount, in xfs_da3_node_split() [all...] |
H A D | xfs_inode_fork.c | 79 if (unlikely(size > XFS_DFORK_SIZE(dip, ip->i_mount, whichfork))) { in xfs_iformat_local() 80 xfs_warn(ip->i_mount, in xfs_iformat_local() 83 XFS_DFORK_SIZE(dip, ip->i_mount, whichfork)); in xfs_iformat_local() 104 struct xfs_mount *mp = ip->i_mount; in xfs_iformat_extents() 119 xfs_warn(ip->i_mount, "corrupt inode %llu ((a)extents = %llu).", in xfs_iformat_extents() 169 struct xfs_mount *mp = ip->i_mount; in xfs_iformat_btree() 211 xfs_bmdr_to_bmbt(ip, dfp, XFS_DFORK_SIZE(dip, ip->i_mount, whichfork), in xfs_iformat_btree() 376 struct xfs_mount *mp = ip->i_mount; in xfs_iroot_realloc() 446 XFS_BMBT_BLOCK_LEN(ip->i_mount)); in xfs_iroot_realloc() 623 mp = ip->i_mount; in xfs_iflush_fork() [all...] |
H A D | xfs_dir2_leaf.c | 107 xfs_dir2_leaf_hdr_from_disk(dp->i_mount, &leafhdr, leaf); in xfs_dir3_leaf1_check() 116 return xfs_dir3_leaf_check_int(dp->i_mount, &leafhdr, leaf, false); in xfs_dir3_leaf1_check() 129 xfs_corruption_error(__func__, XFS_ERRLEVEL_LOW, dp->i_mount, in xfs_dir3_leaf_check() 358 struct xfs_mount *mp = dp->i_mount; in xfs_dir3_leaf_get_buf() 430 bf = xfs_dir2_data_bestfree_p(dp->i_mount, hdr); in xfs_dir2_block_to_leaf() 435 xfs_dir2_leaf_hdr_from_disk(dp->i_mount, &leafhdr, leaf); in xfs_dir2_block_to_leaf() 438 xfs_dir2_leaf_hdr_to_disk(dp->i_mount, leaf, &leafhdr); in xfs_dir2_block_to_leaf() 470 xfs_dir2_data_freescan(dp->i_mount, hdr, &needlog); in xfs_dir2_block_to_leaf() 662 xfs_dir2_leaf_hdr_from_disk(dp->i_mount, &leafhdr, leaf); in xfs_dir2_leaf_addname() 665 length = xfs_dir2_data_entsize(dp->i_mount, arg in xfs_dir2_leaf_addname() [all...] |
/kernel/linux/linux-6.6/fs/xfs/ |
H A D | xfs_attr_inactive.c | 56 if (XFS_IS_CORRUPT(dp->i_mount, nmap != 1)) in xfs_attr3_rmt_stale() 112 blkcnt = xfs_attr3_rmt_blocks(dp->i_mount, in xfs_attr3_leaf_inactive() 136 struct xfs_mount *mp = dp->i_mount; in xfs_attr3_node_inactive() 153 xfs_da3_node_hdr_from_disk(dp->i_mount, &ichdr, bp->b_addr); in xfs_attr3_node_inactive() 229 xfs_da3_node_hdr_from_disk(dp->i_mount, &phdr, in xfs_attr3_node_inactive() 257 struct xfs_mount *mp = dp->i_mount; in xfs_attr3_root_inactive() 335 mp = dp->i_mount; in xfs_attr_inactive()
|
H A D | xfs_bmap_util.c | 43 return XFS_FSB_TO_BB(ip->i_mount, fsb); in xfs_fsb_to_db() 44 return XFS_FSB_TO_DADDR(ip->i_mount, fsb); in xfs_fsb_to_db() 60 struct xfs_mount *mp = ip->i_mount; in xfs_zero_extent() 76 struct xfs_mount *mp = ap->ip->i_mount; in xfs_bmap_rtalloc() 258 struct xfs_mount *mp = ip->i_mount; in xfs_bmap_count_blocks() 338 p->bmv_offset = XFS_FSB_TO_BB(ip->i_mount, got->br_startoff); in xfs_getbmap_report_one() 339 p->bmv_length = XFS_FSB_TO_BB(ip->i_mount, got->br_blockcount); in xfs_getbmap_report_one() 362 p->bmv_offset = XFS_FSB_TO_BB(ip->i_mount, bno); in xfs_getbmap_report_hole() 363 p->bmv_length = XFS_FSB_TO_BB(ip->i_mount, end - bno); in xfs_getbmap_report_hole() 408 struct xfs_mount *mp = ip->i_mount; in xfs_getbmap() [all...] |
H A D | xfs_dir2_readdir.c | 51 struct xfs_mount *mp = dp->i_mount; in xfs_dir2_sf_getdents() 120 if (XFS_IS_CORRUPT(dp->i_mount, in xfs_dir2_sf_getdents() 197 xfs_dir2_data_entsize(dp->i_mount, dep->namelen); in xfs_dir2_block_getdents() 208 filetype = xfs_dir2_data_get_ftype(dp->i_mount, dep); in xfs_dir2_block_getdents() 212 if (XFS_IS_CORRUPT(dp->i_mount, in xfs_dir2_block_getdents() 220 xfs_dir3_get_dtype(dp->i_mount, filetype))) in xfs_dir2_block_getdents() 352 struct xfs_mount *mp = dp->i_mount; in xfs_dir2_leaf_getdents() 466 if (XFS_IS_CORRUPT(dp->i_mount, in xfs_dir2_leaf_getdents() 474 xfs_dir3_get_dtype(dp->i_mount, filetype))) in xfs_dir2_leaf_getdents() 520 if (xfs_is_shutdown(dp->i_mount)) in xfs_readdir() [all...] |
H A D | xfs_attr_list.c | 84 if (XFS_IS_CORRUPT(context->dp->i_mount, in xfs_attr_shortform_list() 126 context->dp->i_mount, sfe, in xfs_attr_shortform_list() 176 if (XFS_IS_CORRUPT(context->dp->i_mount, in xfs_attr_shortform_list() 210 struct xfs_mount *mp = dp->i_mount; in xfs_attr_node_list_lookup() 292 struct xfs_mount *mp = dp->i_mount; in xfs_attr_node_list() 397 struct xfs_mount *mp = context->dp->i_mount; in xfs_attr3_leaf_list_int() 467 if (XFS_IS_CORRUPT(context->dp->i_mount, in xfs_attr3_leaf_list_int() 530 XFS_STATS_INC(dp->i_mount, xs_attr_list); in xfs_attr_list() 532 if (xfs_is_shutdown(dp->i_mount)) in xfs_attr_list()
|
H A D | xfs_icache.c | 99 ip->i_mount = mp; in xfs_inode_alloc() 159 XFS_STATS_DEC(ip->i_mount, vn_active); in __xfs_inode_free() 339 struct xfs_mount *mp = ip->i_mount; 415 xfs_warn(ip->i_mount, in xfs_iget_check_free_state() 422 xfs_warn(ip->i_mount, in xfs_iget_check_free_state() 490 struct xfs_mount *mp = ip->i_mount; in __releases() 880 if (xlog_is_shutdown(ip->i_mount->m_log)) { in xfs_reclaim_inode() 914 XFS_STATS_INC(ip->i_mount, xs_ig_reclaims); in xfs_reclaim_inode() 924 XFS_INO_TO_AGINO(ip->i_mount, ino))) in xfs_reclaim_inode() 1166 struct xfs_mount *mp = ip->i_mount; in xfs_blockgc_set_iflag() [all...] |
H A D | xfs_reflink.c | 173 struct xfs_mount *mp = ip->i_mount; in xfs_reflink_trim_around_shared() 289 struct xfs_mount *mp = ip->i_mount; in xfs_reflink_convert_cow() 388 struct xfs_mount *mp = ip->i_mount; in xfs_reflink_fill_cow_hole() 456 struct xfs_mount *mp = ip->i_mount; in xfs_reflink_fill_delalloc() 674 offset_fsb = XFS_B_TO_FSBT(ip->i_mount, offset); in xfs_reflink_cancel_cow_range() 678 end_fsb = XFS_B_TO_FSB(ip->i_mount, offset + count); in xfs_reflink_cancel_cow_range() 681 error = xfs_trans_alloc(ip->i_mount, &M_RES(ip->i_mount)->tr_write, in xfs_reflink_cancel_cow_range() 726 struct xfs_mount *mp = ip->i_mount; in xfs_reflink_end_cow_extent() 871 offset_fsb = XFS_B_TO_FSBT(ip->i_mount, offse in xfs_reflink_end_cow() [all...] |
/kernel/linux/linux-5.10/fs/xfs/ |
H A D | xfs_icache.c | 60 ip->i_mount = mp; in xfs_inode_alloc() 117 XFS_STATS_DEC(ip->i_mount, vn_active); in __xfs_inode_free() 209 struct xfs_mount *mp = ip->i_mount; in xfs_inode_set_reclaim_tag() 305 xfs_warn(ip->i_mount, in xfs_iget_check_free_state() 312 xfs_warn(ip->i_mount, in xfs_iget_check_free_state() 339 struct xfs_mount *mp = ip->i_mount; in __releases() 752 if (XFS_FORCED_SHUTDOWN(ip->i_mount)) in xfs_inode_walk_ag_grab() 1041 if (XFS_FORCED_SHUTDOWN(ip->i_mount)) { in xfs_reclaim_inode() 1071 XFS_STATS_INC(ip->i_mount, xs_ig_reclaims); in xfs_reclaim_inode() 1081 XFS_INO_TO_AGINO(ip->i_mount, in in xfs_reclaim_inode() [all...] |
H A D | xfs_dir2_readdir.c | 51 struct xfs_mount *mp = dp->i_mount; in xfs_dir2_sf_getdents() 120 if (XFS_IS_CORRUPT(dp->i_mount, in xfs_dir2_sf_getdents() 196 xfs_dir2_data_entsize(dp->i_mount, dep->namelen); in xfs_dir2_block_getdents() 207 filetype = xfs_dir2_data_get_ftype(dp->i_mount, dep); in xfs_dir2_block_getdents() 211 if (XFS_IS_CORRUPT(dp->i_mount, in xfs_dir2_block_getdents() 219 xfs_dir3_get_dtype(dp->i_mount, filetype))) in xfs_dir2_block_getdents() 352 struct xfs_mount *mp = dp->i_mount; in xfs_dir2_leaf_getdents() 464 if (XFS_IS_CORRUPT(dp->i_mount, in xfs_dir2_leaf_getdents() 472 xfs_dir3_get_dtype(dp->i_mount, filetype))) in xfs_dir2_leaf_getdents() 517 if (XFS_FORCED_SHUTDOWN(dp->i_mount)) in xfs_readdir() [all...] |
H A D | xfs_reflink.c | 189 agno = XFS_FSB_TO_AGNO(ip->i_mount, irec->br_startblock); in xfs_reflink_trim_around_shared() 190 agbno = XFS_FSB_TO_AGBNO(ip->i_mount, irec->br_startblock); in xfs_reflink_trim_around_shared() 193 error = xfs_reflink_find_shared(ip->i_mount, NULL, agno, agbno, in xfs_reflink_trim_around_shared() 286 struct xfs_mount *mp = ip->i_mount; in xfs_reflink_convert_cow() 353 struct xfs_mount *mp = ip->i_mount; in xfs_reflink_allocate_cow() 552 offset_fsb = XFS_B_TO_FSBT(ip->i_mount, offset); in xfs_reflink_cancel_cow_range() 556 end_fsb = XFS_B_TO_FSB(ip->i_mount, offset + count); in xfs_reflink_cancel_cow_range() 559 error = xfs_trans_alloc(ip->i_mount, &M_RES(ip->i_mount)->tr_write, in xfs_reflink_cancel_cow_range() 604 struct xfs_mount *mp = ip->i_mount; in xfs_reflink_end_cow_extent() [all...] |
H A D | xfs_bmap_util.c | 43 return XFS_FSB_TO_BB(ip->i_mount, fsb); in xfs_fsb_to_db() 44 return XFS_FSB_TO_DADDR(ip->i_mount, fsb); in xfs_fsb_to_db() 60 struct xfs_mount *mp = ip->i_mount; in xfs_zero_extent() 84 mp = ap->ip->i_mount; in xfs_bmap_rtalloc() 214 struct xfs_mount *mp = ip->i_mount; in xfs_bmap_count_blocks() 282 if (got->br_startoff < XFS_B_TO_FSB(ip->i_mount, XFS_ISIZE(ip))) in xfs_getbmap_report_one() 298 p->bmv_offset = XFS_FSB_TO_BB(ip->i_mount, got->br_startoff); in xfs_getbmap_report_one() 299 p->bmv_length = XFS_FSB_TO_BB(ip->i_mount, got->br_blockcount); in xfs_getbmap_report_one() 322 p->bmv_offset = XFS_FSB_TO_BB(ip->i_mount, bno); in xfs_getbmap_report_hole() 323 p->bmv_length = XFS_FSB_TO_BB(ip->i_mount, en in xfs_getbmap_report_hole() [all...] |
H A D | xfs_attr_inactive.c | 56 if (XFS_IS_CORRUPT(dp->i_mount, nmap != 1)) in xfs_attr3_rmt_stale() 112 blkcnt = xfs_attr3_rmt_blocks(dp->i_mount, in xfs_attr3_leaf_inactive() 136 struct xfs_mount *mp = dp->i_mount; in xfs_attr3_node_inactive() 153 xfs_da3_node_hdr_from_disk(dp->i_mount, &ichdr, bp->b_addr); in xfs_attr3_node_inactive() 232 xfs_da3_node_hdr_from_disk(dp->i_mount, &phdr, in xfs_attr3_node_inactive() 259 struct xfs_mount *mp = dp->i_mount; in xfs_attr3_root_inactive() 337 mp = dp->i_mount; in xfs_attr_inactive()
|
H A D | xfs_attr_list.c | 84 if (XFS_IS_CORRUPT(context->dp->i_mount, in xfs_attr_shortform_list() 126 context->dp->i_mount, sfe, in xfs_attr_shortform_list() 176 if (XFS_IS_CORRUPT(context->dp->i_mount, in xfs_attr_shortform_list() 210 struct xfs_mount *mp = dp->i_mount; in xfs_attr_node_list_lookup() 292 struct xfs_mount *mp = dp->i_mount; in xfs_attr_node_list() 397 struct xfs_mount *mp = context->dp->i_mount; in xfs_attr3_leaf_list_int() 467 if (XFS_IS_CORRUPT(context->dp->i_mount, in xfs_attr3_leaf_list_int() 530 XFS_STATS_INC(dp->i_mount, xs_attr_list); in xfs_attr_list() 532 if (XFS_FORCED_SHUTDOWN(dp->i_mount)) in xfs_attr_list()
|
H A D | xfs_file.c | 45 struct xfs_mount *mp = ip->i_mount; in xfs_is_falloc_aligned() 76 error = xfs_trans_alloc(ip->i_mount, &M_RES(ip->i_mount)->tr_writeid, in xfs_update_prealloc_flags() 156 error = xfs_log_force_seq(ip->i_mount, seq, XFS_LOG_SYNC, in xfs_fsync_flush_log() 175 struct xfs_mount *mp = ip->i_mount; in xfs_file_fsync() 302 struct xfs_mount *mp = XFS_I(inode)->i_mount; in xfs_file_read_iter() 432 if (XFS_FORCED_SHUTDOWN(ip->i_mount)) in xfs_dio_write_end_io() 444 XFS_STATS_ADD(ip->i_mount, xs_write_bytes, size); in xfs_dio_write_end_io() 533 struct xfs_mount *mp = ip->i_mount; in xfs_file_dio_aio_write() 654 XFS_STATS_ADD(ip->i_mount, xs_write_byte in xfs_file_dax_write() [all...] |
/kernel/linux/linux-6.6/fs/xfs/scrub/ |
H A D | readdir.c | 36 struct xfs_mount *mp = dp->i_mount; in xchk_dir_walk_sf() 98 struct xfs_mount *mp = dp->i_mount; in xchk_dir_walk_block() 191 struct xfs_mount *mp = dp->i_mount; in xchk_dir_walk_leaf() 276 .geo = dp->i_mount->m_dir_geo, in xchk_dir_walk() 282 if (xfs_is_shutdown(dp->i_mount)) in xchk_dir_walk() 321 .geo = dp->i_mount->m_dir_geo, in xchk_dir_lookup() 326 .hashval = xfs_dir2_hashname(dp->i_mount, name), in xchk_dir_lookup() 333 if (xfs_is_shutdown(dp->i_mount)) in xchk_dir_lookup()
|