Home
last modified time | relevance | path

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

12

/linux/fs/xfs/libxfs/
H A Dxfs_metafile.c65 XFS_STATS_DEC(ip->i_mount, xs_inodes_active); in xfs_metafile_set_iflag()
66 XFS_STATS_INC(ip->i_mount, xs_inodes_meta); in xfs_metafile_set_iflag()
80 XFS_STATS_INC(ip->i_mount, xs_inodes_active); in xfs_metafile_clear_iflag()
81 XFS_STATS_DEC(ip->i_mount, xs_inodes_meta); in xfs_metafile_clear_iflag()
138 struct xfs_mount *mp = ip->i_mount; in xfs_metafile_resv_alloc_space()
173 error = xfs_dec_fdblocks(ip->i_mount, len, true); in xfs_metafile_resv_alloc_space()
196 struct xfs_mount *mp = ip->i_mount; in xfs_metafile_resv_free_space()
H A Dxfs_da_btree.c92 state->mp = args->dp->i_mount; in xfs_da_state_alloc()
130 state->mp = state->args->dp->i_mount; in xfs_da_state_reset()
455 struct xfs_mount *mp = dp->i_mount; in xfs_da3_node_read_mapped()
541 xfs_da3_node_hdr_to_disk(dp->i_mount, node, &ichdr); in xfs_da3_node_create()
763 xfs_da3_node_hdr_from_disk(dp->i_mount, &icnodehdr, oldroot); in xfs_da3_root_split()
771 xfs_dir2_leaf_hdr_from_disk(dp->i_mount, &leafhdr, leaf); in xfs_da3_root_split()
802 xfs_da3_node_hdr_from_disk(dp->i_mount, &nodehdr, node); in xfs_da3_root_split()
809 xfs_da3_node_hdr_to_disk(dp->i_mount, node, &nodehdr); in xfs_da3_root_split()
851 xfs_da3_node_hdr_from_disk(dp->i_mount, &nodehdr, node); in xfs_da3_node_split()
898 xfs_da3_node_hdr_from_disk(dp->i_mount, &nodehdr, node); in xfs_da3_node_split()
[all …]
H A Dxfs_dir2.c255 args->geo = dp->i_mount->m_dir_geo; in xfs_dir_init()
270 struct xfs_mount *mp = dp->i_mount; in xfs_dir2_format()
341 XFS_STATS_INC(dp->i_mount, xs_dir_create); in xfs_dir_createname()
348 args->geo = dp->i_mount->m_dir_geo; in xfs_dir_createname()
352 args->hashval = xfs_dir2_hashname(dp->i_mount, name); in xfs_dir_createname()
438 XFS_STATS_INC(dp->i_mount, xs_dir_lookup); in xfs_dir_lookup()
441 args->geo = dp->i_mount->m_dir_geo; in xfs_dir_lookup()
445 args->hashval = xfs_dir2_hashname(dp->i_mount, name); in xfs_dir_lookup()
503 XFS_STATS_INC(dp->i_mount, xs_dir_remove); in xfs_dir_removename()
509 args->geo = dp->i_mount->m_dir_geo; in xfs_dir_removename()
[all …]
H A Dxfs_inode_buf.c188 fa = xfs_dinode_verify(ip->i_mount, ip->i_ino, from); in xfs_inode_from_disk()
200 if (!xfs_has_v3inodes(ip->i_mount)) in xfs_inode_from_disk()
250 if (xfs_has_v3inodes(ip->i_mount)) { in xfs_inode_from_disk()
272 XFS_STATS_DEC(ip->i_mount, xs_inodes_active); in xfs_inode_from_disk()
273 XFS_STATS_INC(ip->i_mount, xs_inodes_meta); in xfs_inode_from_disk()
354 if (xfs_has_v3inodes(ip->i_mount)) { in xfs_inode_to_disk()
364 uuid_copy(&to->di_uuid, &ip->i_mount->m_sb.sb_meta_uuid); in xfs_inode_to_disk()
H A Dxfs_attr.h641 args->hashval = xfs_attr_hashval(args->dp->i_mount, args->attr_filter, in xfs_attr_sethash()
H A Dxfs_attr_leaf.c696 struct xfs_mount *mp = dp->i_mount; in xfs_attr_shortform_bytesfit()
893 struct xfs_mount *mp = dp->i_mount; in xfs_attr_shortform_add()
946 struct xfs_mount *mp = dp->i_mount; in xfs_attr_sf_removename()
1306 struct xfs_mount *mp = dp->i_mount; in xfs_attr3_leaf_to_node()
1353 xfs_da3_node_hdr_to_disk(dp->i_mount, node, &icnodehdr); in xfs_attr3_leaf_to_node()
1377 struct xfs_mount *mp = dp->i_mount; in xfs_attr3_leaf_create()
1433 .geo = dp->i_mount->m_attr_geo, in xfs_attr3_leaf_init()
2641 args->dp->i_mount, in xfs_attr3_leaf_lookup_int()
2689 args->rmtblkcnt = xfs_attr3_rmt_blocks(args->dp->i_mount, in xfs_attr3_leaf_getvalue()
/linux/fs/xfs/
H A Dxfs_inode.h27 struct xfs_mount *i_mount; /* fs mount struct ptr */ member
144 return XFS_LITINO(ip->i_mount); in xfs_inode_data_fork_size()
150 return XFS_LITINO(ip->i_mount) - xfs_inode_fork_boff(ip); in xfs_inode_attr_fork_size()
292 struct xfs_mount *mp = ip->i_mount; in xfs_is_internal_inode()
309 return xfs_has_zoned(ip->i_mount) && XFS_IS_REALTIME_INODE(ip); in xfs_is_zoned_inode()
349 return XFS_IS_REALTIME_INODE(ip) && ip->i_mount->m_sb.sb_rextsize > 1; in xfs_inode_has_bigrtalloc()
357 (ip)->i_mount->m_rtdev_targp : (ip)->i_mount->m_ddev_targp)
372 return xfs_can_sw_atomic_write(ip->i_mount); in xfs_inode_can_sw_atomic_write()
554 (xfs_has_grpid((pip)->i_mount) || (VFS_I(pip)->i_mode & S_ISGID))
H A Dxfs_icache.c115 ip->i_mount = mp; in xfs_inode_alloc()
175 XFS_STATS_DEC(ip->i_mount, xs_inodes_meta); in __xfs_inode_free()
177 XFS_STATS_DEC(ip->i_mount, xs_inodes_active); in __xfs_inode_free()
365 struct xfs_mount *mp = ip->i_mount; in xfs_iget_recycle()
427 xfs_warn(ip->i_mount, in xfs_iget_check_free_state()
430 xfs_agno_mark_sick(ip->i_mount, in xfs_iget_check_free_state()
431 XFS_INO_TO_AGNO(ip->i_mount, ip->i_ino), in xfs_iget_check_free_state()
437 xfs_warn(ip->i_mount, in xfs_iget_check_free_state()
440 xfs_agno_mark_sick(ip->i_mount, in xfs_iget_check_free_state()
441 XFS_INO_TO_AGNO(ip->i_mount, ip->i_ino), in xfs_iget_check_free_state()
[all …]
H A Dxfs_inode.c544 if (xfs_is_shutdown(dp->i_mount)) in xfs_lookup()
553 error = xfs_iget(dp->i_mount, NULL, inum, 0, 0, ipp); in xfs_lookup()
561 if (XFS_IS_CORRUPT(dp->i_mount, xfs_is_metadir_inode(*ipp))) { in xfs_lookup()
562 xfs_fs_mark_sick(dp->i_mount, XFS_SICK_FS_METADIR); in xfs_lookup()
658 struct xfs_mount *mp = dp->i_mount; in xfs_create()
798 struct xfs_mount *mp = dp->i_mount; in xfs_create_tmpfile()
920 struct xfs_mount *mp = tdp->i_mount; in xfs_link()
1043 struct xfs_mount *mp = ip->i_mount; in xfs_itruncate_extents_flags()
1118 struct xfs_mount *mp = dp->i_mount; in xfs_inactive_dir()
1160 struct xfs_mount *mp = ip->i_mount; in xfs_inactive_truncate()
[all …]
H A Dxfs_attr_inactive.c57 if (XFS_IS_CORRUPT(dp->i_mount, nmap != 1)) in xfs_attr3_rmt_stale()
113 blkcnt = xfs_attr3_rmt_blocks(dp->i_mount, in xfs_attr3_leaf_inactive()
137 struct xfs_mount *mp = dp->i_mount; in xfs_attr3_node_inactive()
336 mp = dp->i_mount; in xfs_attr_inactive()
H A Dxfs_handle.c122 memcpy(&handle.ha_fsid, ip->i_mount->m_fixedfsid, sizeof(xfs_fsid_t)); in xfs_find_handle()
125 hsize = xfs_fshandle_init(ip->i_mount, &handle); in xfs_find_handle()
127 hsize = xfs_filehandle_init(ip->i_mount, ip->i_ino, in xfs_find_handle()
186 struct xfs_mount *mp = ip->i_mount; in xfs_khandle_to_inode()
692 struct xfs_mount *mp = ip->i_mount; in xfs_getparents_put_listent()
758 struct xfs_mount *mp = ip->i_mount; in xfs_getparents()
855 struct xfs_mount *mp = gpx.ip->i_mount; in xfs_ioc_getparents()
883 struct xfs_mount *mp = ip->i_mount; in xfs_ioc_getparents_by_handle()
H A Dxfs_inode_item.c45 struct xfs_mount *mp = ip->i_mount; in xfs_inode_item_precommit_check()
127 xfs_has_bigtime(ip->i_mount) && in xfs_inode_item_precommit()
141 xfs_extlen_to_rtxmod(ip->i_mount, ip->i_extsize) > 0) { in xfs_inode_item_precommit()
148 xfs_extlen_to_rtxmod(ip->i_mount, ip->i_cowextsize) > 0) { in xfs_inode_item_precommit()
170 error = xfs_imap_to_bp(ip->i_mount, tp, &ip->i_imap, &bp); in xfs_inode_item_precommit()
328 xfs_log_dinode_size(ip->i_mount); in xfs_inode_item_size()
584 if (xfs_has_v3inodes(ip->i_mount)) { in xfs_inode_to_log_dinode()
594 uuid_copy(&to->di_uuid, &ip->i_mount->m_sb.sb_meta_uuid); in xfs_inode_to_log_dinode()
628 xlog_format_commit(lfb, xfs_log_dinode_size(ip->i_mount)); in xfs_inode_item_format_core()
H A Dxfs_filestream.h24 return xfs_has_filestreams(ip->i_mount) || in xfs_inode_is_filestream()
H A Dxfs_zone_alloc.c325 struct xfs_mount *mp = ip->i_mount; in xfs_zoned_end_io()
634 if (xfs_has_nolifetime(ip->i_mount)) in xfs_inode_write_hint()
648 struct xfs_mount *mp = ip->i_mount; in xfs_zoned_pack_tight()
776 struct xfs_mount *mp = XFS_I(ioend->io_inode)->i_mount; in xfs_mark_rtg_boundary()
860 struct xfs_mount *mp = ip->i_mount; in xfs_zone_alloc_and_submit()
H A Dxfs_qm.c294 struct xfs_mount *mp = ip->i_mount; in xfs_qm_need_dqattach()
319 xfs_mount_t *mp = ip->i_mount; in xfs_qm_dqattach_locked()
393 ASSERT(!xfs_is_quota_inode(&ip->i_mount->m_sb, ip->i_ino)); in xfs_qm_dqdetach()
1255 struct xfs_mount *mp = ip->i_mount; in xfs_qm_quotacheck_dqadjust()
1857 struct xfs_mount *mp = ip->i_mount; in xfs_qm_vop_dqalloc()
1969 ASSERT(XFS_IS_QUOTA_ON(ip->i_mount)); in xfs_qm_vop_chown()
2032 struct xfs_mount *mp = i_tab[0]->i_mount; in xfs_qm_vop_rename_dqattach()
H A Dxfs_platform.h273 (ip)->i_mount->m_rtdev_targp)
H A Dxfs_fsmap.c1342 trace_xfs_getfsmap_low_key(ip->i_mount, &xhead.fmh_keys[0]); in xfs_ioc_getfsmap()
1343 trace_xfs_getfsmap_high_key(ip->i_mount, &xhead.fmh_keys[1]); in xfs_ioc_getfsmap()
1356 error = xfs_getfsmap(ip->i_mount, &xhead, recs); in xfs_ioc_getfsmap()
1399 trace_xfs_getfsmap_low_key(ip->i_mount, &xhead.fmh_keys[0]); in xfs_ioc_getfsmap()
H A Dxfs_healthmon.c539 struct xfs_healthmon *hm = xfs_healthmon_get(ip->i_mount); in xfs_healthmon_report_inode()
656 struct xfs_healthmon *hm = xfs_healthmon_get(ip->i_mount); in xfs_healthmon_report_file_ioerror()
1174 struct xfs_mount *mp = ip->i_mount; in xfs_ioc_health_monitor()
H A Dxfs_xattr.c82 struct xfs_mount *mp = args->dp->i_mount; in xfs_attr_change()
H A Dxfs_attr_item.c491 if (XFS_TEST_ERROR(args->dp->i_mount, XFS_ERRTAG_LARP)) { in xfs_attr_finish_item()
617 tp = xfs_trans_alloc_empty(ip->i_mount); in xfs_attri_iread_extents()
875 ASSERT(xfs_has_parent(args->dp->i_mount)); in xfs_attr_defer_add()
H A Dxfs_filestream.c373 xfs_mru_cache_delete(ip->i_mount->m_filestream, ip->i_ino); in xfs_filestream_deassociate()
/linux/fs/xfs/scrub/
H A Dtrace.h164 __entry->dev = ip->i_mount->m_super->s_dev;
238 __entry->dev = ip->i_mount->m_super->s_dev;
342 __entry->dev = sc->ip->i_mount->m_super->s_dev;
440 __entry->dev = sc->ip->i_mount->m_super->s_dev;
1640 __entry->dev = ip->i_mount->m_super->s_dev;
2660 __entry->dev = ip->i_mount->m_super->s_dev;
2689 __entry->dev = ip->i_mount->m_super->s_dev;
2948 __entry->dev = ip->i_mount->m_super->s_dev;
2973 __entry->dev = ip->i_mount->m_super->s_dev;
3013 __entry->dev = ip->i_mount->m_super->s_dev;
[all …]
H A Ddabtree.c394 if (xfs_has_crc(ip->i_mount)) { in xchk_da_btree_block()
440 xfs_da3_node_hdr_from_disk(ip->i_mount, &nodehdr, node); in xchk_da_btree_block()
H A Ddir.c230 struct xfs_mount *mp = dp->i_mount; in xchk_dir_actor()
647 xfs_dir2_leaf_hdr_from_disk(sc->ip->i_mount, &leafhdr, leaf); in xchk_directory_leaf1_bestfree()
760 xfs_dir2_free_hdr_from_disk(sc->ip->i_mount, &freehdr, bp->b_addr); in xchk_directory_free_bestfree()
H A Dscrub.c662 struct xfs_mount *mp = XFS_I(file_inode(file))->i_mount; in xfs_scrub_metadata()
904 struct xfs_mount *mp = ip_in->i_mount; in xfs_ioc_scrubv_metadata()

12