Home
last modified time | relevance | path

Searched refs:i_mount (Results 1 – 25 of 54) sorted by relevance

123

/linux/fs/xfs/libxfs/
A Dxfs_dir2.c230 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()
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()
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()
496 args->geo = dp->i_mount->m_dir_geo; in xfs_dir_replace()
561 struct xfs_mount *mp = dp->i_mount; in xfs_dir2_grow_inode()
609 if (XFS_IS_CORRUPT(args->dp->i_mount, in xfs_dir2_isblock()
[all …]
A Dxfs_dir2_node.c67 xfs_dir2_leaf_hdr_from_disk(dp->i_mount, &leafhdr, leaf); in xfs_dir3_leafn_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()
650 mp = dp->i_mount; in xfs_dir2_leafn_lookup_for_addname()
800 mp = dp->i_mount; in xfs_dir2_leafn_lookup_for_entry()
1172 xfs_alert(dp->i_mount, in xfs_dir2_leafn_rebalance()
1322 bf = xfs_dir2_data_bestfree_p(dp->i_mount, hdr); in xfs_dir2_leafn_remove()
1333 xfs_dir2_data_freescan(dp->i_mount, hdr, &needlog); in xfs_dir2_leafn_remove()
1688 struct xfs_mount *mp = dp->i_mount; in xfs_dir2_node_add_datablk()
1953 bf = xfs_dir2_data_bestfree_p(dp->i_mount, hdr); in xfs_dir2_node_addname_int()
[all …]
A Dxfs_trans_inode.c36 xfs_inode_item_init(ip, ip->i_mount); in xfs_trans_ijoin()
139 xfs_has_bigtime(ip->i_mount) && in xfs_trans_log_inode()
153 (ip->i_extsize % ip->i_mount->m_sb.sb_rextsize) > 0) { in xfs_trans_log_inode()
182 error = xfs_imap_to_bp(ip->i_mount, tp, &ip->i_imap, &bp); in xfs_trans_log_inode()
184 xfs_force_shutdown(ip->i_mount, SHUTDOWN_META_IO_ERROR); in xfs_trans_log_inode()
A Dxfs_da_btree.c89 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()
740 xfs_da3_node_hdr_to_disk(dp->i_mount, node, &nodehdr); in xfs_da3_root_split()
1994 xfs_da3_node_hdr_from_disk(dp->i_mount, &nodehdr, in xfs_da3_path_shift()
2054 xfs_da3_node_hdr_from_disk(dp->i_mount, &nodehdr, in xfs_da3_path_shift()
2288 mp = dp->i_mount; in xfs_da3_swap_lastblock()
2317 xfs_dir2_leaf_hdr_from_disk(dp->i_mount, &leafhdr, in xfs_da3_swap_lastblock()
2505 struct xfs_mount *mp = dp->i_mount; in xfs_dabuf_map()
2589 struct xfs_mount *mp = dp->i_mount; in xfs_da_get_buf()
[all …]
A Dxfs_inode_fork.c80 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()
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()
358 struct xfs_mount *mp = ip->i_mount; in xfs_iroot_realloc()
428 XFS_BMBT_BLOCK_LEN(ip->i_mount)); in xfs_iroot_realloc()
610 mp = ip->i_mount; in xfs_iflush_fork()
[all …]
A Dxfs_dir2_leaf.c353 struct xfs_mount *mp = dp->i_mount; in xfs_dir3_leaf_get_buf()
425 bf = xfs_dir2_data_bestfree_p(dp->i_mount, hdr); in xfs_dir2_block_to_leaf()
465 xfs_dir2_data_freescan(dp->i_mount, hdr, &needlog); in xfs_dir2_block_to_leaf()
823 bf = xfs_dir2_data_bestfree_p(dp->i_mount, hdr); in xfs_dir2_leaf_addname()
839 bf = xfs_dir2_data_bestfree_p(dp->i_mount, hdr); in xfs_dir2_leaf_addname()
866 tagp = xfs_dir2_data_entry_tag_p(dp->i_mount, dep); in xfs_dir2_leaf_addname()
872 xfs_dir2_data_freescan(dp->i_mount, hdr, &needlog); in xfs_dir2_leaf_addname()
1233 mp = dp->i_mount; in xfs_dir2_leaf_lookup_int()
1376 bf = xfs_dir2_data_bestfree_p(dp->i_mount, hdr); in xfs_dir2_leaf_removename()
1415 xfs_dir2_data_freescan(dp->i_mount, hdr, &needlog); in xfs_dir2_leaf_removename()
[all …]
A Dxfs_dir2_block.c122 struct xfs_mount *mp = dp->i_mount; in xfs_dir3_block_header_check()
140 struct xfs_mount *mp = dp->i_mount; in xfs_dir3_block_read()
204 bf = xfs_dir2_data_bestfree_p(dp->i_mount, hdr); in xfs_dir2_block_need_space()
387 len = xfs_dir2_data_entsize(dp->i_mount, args->namelen); in xfs_dir2_block_addname()
490 xfs_dir2_data_freescan(dp->i_mount, hdr, &needlog); in xfs_dir2_block_addname()
574 tagp = xfs_dir2_data_entry_tag_p(dp->i_mount, dep); in xfs_dir2_block_addname()
580 xfs_dir2_data_freescan(dp->i_mount, hdr, &needlog); in xfs_dir2_block_addname()
837 xfs_dir2_data_freescan(dp->i_mount, hdr, &needlog); in xfs_dir2_block_removename()
951 mp = dp->i_mount; in xfs_dir2_leaf_to_block()
1044 xfs_dir2_data_freescan(dp->i_mount, hdr, &needlog); in xfs_dir2_leaf_to_block()
[all …]
A Dxfs_dir2_sf.c188 mp = dp->i_mount; in xfs_dir2_block_sfsize()
264 struct xfs_mount *mp = dp->i_mount; in xfs_dir2_block_to_sf()
464 struct xfs_mount *mp = dp->i_mount; in xfs_dir2_sf_addname_easy()
515 struct xfs_mount *mp = dp->i_mount; in xfs_dir2_sf_addname_hard()
608 struct xfs_mount *mp = dp->i_mount; in xfs_dir2_sf_addname_pick()
675 struct xfs_mount *mp = dp->i_mount; in xfs_dir2_sf_check()
866 struct xfs_mount *mp = dp->i_mount; in xfs_dir2_sf_lookup()
944 struct xfs_mount *mp = dp->i_mount; in xfs_dir2_sf_removename()
1045 struct xfs_mount *mp = dp->i_mount; in xfs_dir2_sf_replace()
1161 struct xfs_mount *mp = dp->i_mount; in xfs_dir2_sf_toino4()
[all …]
/linux/fs/xfs/
A Dxfs_dir2_readdir.c51 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()
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()
350 struct xfs_mount *mp = dp->i_mount; in xfs_dir2_leaf_getdents()
462 if (XFS_IS_CORRUPT(dp->i_mount, in xfs_dir2_leaf_getdents()
470 xfs_dir3_get_dtype(dp->i_mount, filetype))) in xfs_dir2_leaf_getdents()
515 if (xfs_is_shutdown(dp->i_mount)) in xfs_readdir()
519 XFS_STATS_INC(dp->i_mount, xs_dir_getdents); in xfs_readdir()
[all …]
A Dxfs_bmap_util.c43 return XFS_FSB_TO_BB(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()
410 struct xfs_mount *mp = ip->i_mount; in xfs_getbmap()
645 struct xfs_mount *mp = ip->i_mount; in xfs_can_free_eofblocks()
721 struct xfs_mount *mp = ip->i_mount; in xfs_free_eofblocks()
777 xfs_mount_t *mp = ip->i_mount; in xfs_alloc_file_space()
907 struct xfs_mount *mp = ip->i_mount; in xfs_unmap_extent()
943 struct xfs_mount *mp = ip->i_mount; in xfs_flush_unmap_range()
[all …]
A Dxfs_reflink.c286 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()
546 error = xfs_trans_alloc(ip->i_mount, &M_RES(ip->i_mount)->tr_write, in xfs_reflink_cancel_cow_range()
591 struct xfs_mount *mp = ip->i_mount; in xfs_reflink_end_cow_extent()
860 struct xfs_mount *mp = src->i_mount; in xfs_reflink_set_inode_flag()
919 struct xfs_mount *mp = dest->i_mount; in xfs_reflink_update_dest()
992 struct xfs_mount *mp = ip->i_mount; in xfs_reflink_remap_extent()
1191 struct xfs_mount *mp = src->i_mount; in xfs_reflink_remap_blocks()
1252 XFS_FSB_TO_B(src->i_mount, remapped_len)); in xfs_reflink_remap_blocks()
1386 struct xfs_mount *mp = ip->i_mount; in xfs_reflink_inode_has_shared_extents()
[all …]
A Dxfs_attr_inactive.c56 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()
A Dxfs_attr_list.c84 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()
A Dxfs_file.c46 struct xfs_mount *mp = ip->i_mount; in xfs_is_falloc_aligned()
77 error = xfs_trans_alloc(ip->i_mount, &M_RES(ip->i_mount)->tr_writeid, in xfs_update_prealloc_flags()
178 struct xfs_mount *mp = ip->i_mount; in xfs_file_fsync()
316 struct xfs_mount *mp = XFS_I(inode)->i_mount; in xfs_file_read_iter()
465 if (xfs_is_shutdown(ip->i_mount)) in xfs_dio_write_end_io()
779 xfs_flush_inodes(ip->i_mount); in xfs_file_buffered_write()
783 xfs_blockgc_free_space(ip->i_mount, &icw); in xfs_file_buffered_write()
812 XFS_STATS_INC(ip->i_mount, xs_write_calls); in xfs_file_write_iter()
817 if (xfs_is_shutdown(ip->i_mount)) in xfs_file_write_iter()
1125 if (xfs_has_wsync(ip->i_mount)) in xfs_file_sync_writes()
[all …]
A Dxfs_icache.c97 ip->i_mount = mp; in xfs_inode_alloc()
156 XFS_STATS_DEC(ip->i_mount, vn_active); in __xfs_inode_free()
335 struct xfs_mount *mp = ip->i_mount; in xfs_iget_recycle()
407 xfs_warn(ip->i_mount, in xfs_iget_check_free_state()
414 xfs_warn(ip->i_mount, in xfs_iget_check_free_state()
456 struct xfs_mount *mp = ip->i_mount; in xfs_iget_cache_hit()
873 if (xfs_is_shutdown(ip->i_mount)) { in xfs_reclaim_inode()
1158 struct xfs_mount *mp = ip->i_mount; in xfs_blockgc_set_iflag()
1196 struct xfs_mount *mp = ip->i_mount; in xfs_blockgc_clear_iflag()
1397 if (xfs_is_shutdown(ip->i_mount)) in xfs_blockgc_igrab()
[all …]
A Dxfs_iomap.c59 struct xfs_mount *mp = ip->i_mount; in xfs_bmbt_to_iomap()
123 struct xfs_mount *mp = ip->i_mount; in xfs_eof_alignment()
193 struct xfs_mount *mp = ip->i_mount; in xfs_iomap_write_direct()
363 struct xfs_mount *mp = ip->i_mount; in xfs_iomap_prealloc_size()
499 xfs_mount_t *mp = ip->i_mount; in xfs_iomap_write_unwritten()
726 struct xfs_mount *mp = ip->i_mount; in xfs_direct_write_iomap_begin()
867 struct xfs_mount *mp = ip->i_mount; in xfs_buffered_write_iomap_begin()
1088 struct xfs_mount *mp = ip->i_mount; in xfs_buffered_write_iomap_end()
1155 struct xfs_mount *mp = ip->i_mount; in xfs_read_iomap_begin()
1197 struct xfs_mount *mp = ip->i_mount; in xfs_seek_iomap_begin()
[all …]
A Dxfs_ioctl.c1064 struct xfs_mount *mp = ip->i_mount; in xfs_fill_fsxattr()
1192 struct xfs_mount *mp = ip->i_mount; in xfs_ioctl_setattr_xflags()
1235 struct xfs_mount *mp = ip->i_mount; in xfs_ioctl_setattr_prepare_dax()
1262 struct xfs_mount *mp = ip->i_mount; in xfs_ioctl_setattr_get_trans()
1295 struct xfs_mount *mp = ip->i_mount; in xfs_ioctl_setattr_check_extsize()
1337 struct xfs_mount *mp = ip->i_mount; in xfs_ioctl_setattr_check_cowextsize()
1367 !xfs_has_projid32(ip->i_mount)) in xfs_ioctl_setattr_check_projid()
1379 struct xfs_mount *mp = ip->i_mount; in xfs_fileattr_set()
1785 if (ip->i_mount != tip->i_mount) { in xfs_ioc_swapext()
1795 if (xfs_is_shutdown(ip->i_mount)) { in xfs_ioc_swapext()
[all …]
A Dxfs_inode.h26 struct xfs_mount *i_mount; /* fs mount struct ptr */ member
201 struct xfs_mount *mp = ip->i_mount; in xfs_is_metadata_inode()
226 (ip)->i_mount->m_rtdev_targp : (ip)->i_mount->m_ddev_targp)
401 (xfs_has_grpid((pip)->i_mount) || (VFS_I(pip)->i_mode & S_ISGID))
A Dxfs_filestream.c105 struct xfs_mount *mp = ip->i_mount; in xfs_filestream_pick_ag()
274 struct xfs_mount *mp = ip->i_mount; in xfs_filestream_lookup_ag()
325 struct xfs_mount *mp = ip->i_mount; in xfs_filestream_new_ag()
369 xfs_mru_cache_delete(ip->i_mount->m_filestream, ip->i_ino); in xfs_filestream_deassociate()
A Dxfs_symlink.c32 struct xfs_mount *mp = ip->i_mount; in xfs_readlink_bmap_ilocked()
102 struct xfs_mount *mp = ip->i_mount; in xfs_readlink()
145 struct xfs_mount *mp = dp->i_mount; in xfs_symlink()
383 mp = ip->i_mount; in xfs_inactive_symlink_rmt()
475 struct xfs_mount *mp = ip->i_mount; in xfs_inactive_symlink()
A Dxfs_aops.c51 struct xfs_mount *mp = ip->i_mount; in xfs_setfilesize()
85 struct xfs_mount *mp = ip->i_mount; in xfs_end_ioend()
173 WARN_ON_ONCE(!queue_work(ip->i_mount->m_unwritten_workqueue, in xfs_end_bio()
261 struct xfs_mount *mp = ip->i_mount; in xfs_map_blocks()
446 struct xfs_mount *mp = ip->i_mount; in xfs_discard_page()
A Dxfs_reflink.h11 return ip->i_mount->m_always_cow && xfs_has_reflink(ip->i_mount); in xfs_is_always_cow_inode()
A Dxfs_iops.c530 if (XFS_IS_CORRUPT(ip->i_mount, !link)) in xfs_vn_get_link_inline()
539 struct xfs_mount *mp = ip->i_mount; in xfs_stat_blksize()
581 struct xfs_mount *mp = ip->i_mount; in xfs_vn_getattr()
674 struct xfs_mount *mp = XFS_I(d_inode(dentry))->i_mount; in xfs_vn_change_ok()
697 xfs_mount_t *mp = ip->i_mount; in xfs_setattr_nonsize()
859 struct xfs_mount *mp = ip->i_mount; in xfs_setattr_size()
1113 struct xfs_mount *mp = ip->i_mount; in xfs_vn_update_time()
1266 struct xfs_mount *mp = ip->i_mount; in xfs_inode_supports_dax()
1290 if (xfs_has_dax_never(ip->i_mount)) in xfs_inode_should_enable_dax()
1294 if (xfs_has_dax_always(ip->i_mount)) in xfs_inode_should_enable_dax()
A Dxfs_inode.c67 return ip->i_mount->m_sb.sb_rextsize; in xfs_get_extsz_hint()
671 if (xfs_is_shutdown(dp->i_mount)) in xfs_lookup()
713 xfs_has_realtime(ip->i_mount)) in xfs_inode_inherit_flags()
968 struct xfs_mount *mp = dp->i_mount; in xfs_create()
1125 struct xfs_mount *mp = dp->i_mount; in xfs_create_tmpfile()
1218 xfs_mount_t *mp = tdp->i_mount; in xfs_link()
1359 struct xfs_mount *mp = ip->i_mount; in xfs_itruncate_extents_flags()
1435 xfs_mount_t *mp = ip->i_mount; in xfs_release()
1522 struct xfs_mount *mp = ip->i_mount; in xfs_inactive_truncate()
1739 mp = ip->i_mount; in xfs_inactive()
[all …]
A Dxfs_pnfs.c86 struct xfs_mount *mp = ip->i_mount; in xfs_fs_map_blocks()
197 error = xfs_bmapi_read(ip, XFS_B_TO_FSBT(ip->i_mount, isize - 1), 1, in xfs_pnfs_validate_isize()
228 struct xfs_mount *mp = ip->i_mount; in xfs_fs_commit_blocks()

Completed in 60 milliseconds

123