Home
last modified time | relevance | path

Searched refs:VFS_I (Results 1 – 24 of 24) sorted by relevance

/fs/xfs/
Dxfs_fs_subr.c37 truncate_inode_pages_range(VFS_I(ip)->i_mapping, first, last - 1); in xfs_tosspages()
47 struct address_space *mapping = VFS_I(ip)->i_mapping; in xfs_flushinval_pages()
68 struct address_space *mapping = VFS_I(ip)->i_mapping; in xfs_flush_pages()
89 struct address_space *mapping = VFS_I(ip)->i_mapping; in xfs_wait_on_pages()
Dxfs_dfrag.c251 if (VN_CACHED(VFS_I(tip)) != 0) { in xfs_swap_extents()
259 if (VN_CACHED(VFS_I(tip)) != 0) { in xfs_swap_extents()
291 if ((sbp->bs_ctime.tv_sec != VFS_I(ip)->i_ctime.tv_sec) || in xfs_swap_extents()
292 (sbp->bs_ctime.tv_nsec != VFS_I(ip)->i_ctime.tv_nsec) || in xfs_swap_extents()
293 (sbp->bs_mtime.tv_sec != VFS_I(ip)->i_mtime.tv_sec) || in xfs_swap_extents()
294 (sbp->bs_mtime.tv_nsec != VFS_I(ip)->i_mtime.tv_nsec)) { in xfs_swap_extents()
305 if (VN_MAPPED(VFS_I(ip))) { in xfs_swap_extents()
Dxfs_inode.h259 static inline struct inode *VFS_I(struct xfs_inode *ip) in VFS_I() function
272 return i_size_read(VFS_I(ip)); in XFS_ISIZE()
283 xfs_fsize_t i_size = i_size_read(VFS_I(ip)); in xfs_new_eof()
539 ASSERT(atomic_read(&VFS_I(ip)->i_count) > 0) ; \
540 ihold(VFS_I(ip)); \
547 iput(VFS_I(ip)); \
Dxfs_trace.h58 __entry->dev = VFS_I(ctx->dp)->i_sb->s_dev;
153 __entry->dev = VFS_I(ctx->dp)->i_sb->s_dev;
201 __entry->dev = VFS_I(ip)->i_sb->s_dev;
245 __entry->dev = VFS_I(ip)->i_sb->s_dev;
519 __entry->dev = VFS_I(ip)->i_sb->s_dev;
549 __entry->dev = VFS_I(ip)->i_sb->s_dev;
600 __entry->dev = VFS_I(ip)->i_sb->s_dev;
602 __entry->count = atomic_read(&VFS_I(ip)->i_count);
634 __entry->dev = VFS_I(dp)->i_sb->s_dev;
670 __entry->dev = VFS_I(src_dp)->i_sb->s_dev;
[all …]
Dxfs_iops.c156 inode = VFS_I(ip); in xfs_vn_mknod()
221 return d_splice_alias(VFS_I(cip), dentry); in xfs_vn_lookup()
254 return d_splice_alias(VFS_I(ip), dentry); in xfs_vn_ci_lookup()
259 dentry = d_add_ci(dentry, VFS_I(ip), &dname); in xfs_vn_ci_lookup()
329 inode = VFS_I(cip); in xfs_vn_symlink()
466 struct inode *inode = VFS_I(ip); in xfs_setattr_mode()
489 struct inode *inode = VFS_I(ip); in xfs_setattr_nonsize()
710 struct inode *inode = VFS_I(ip); in xfs_setattr_size()
Dxfs_iget.c73 if (inode_init_always(mp->m_super, VFS_I(ip))) { in xfs_inode_alloc()
163 call_rcu(&VFS_I(ip)->i_rcu, xfs_inode_free_callback); in xfs_inode_free()
177 struct inode *inode = VFS_I(ip); in xfs_iget_cache_hit()
389 __destroy_inode(VFS_I(ip)); in xfs_iget_cache_miss()
Dxfs_utils.c241 drop_nlink(VFS_I(ip)); in xfs_droplink()
303 inc_nlink(VFS_I(ip)); in xfs_bumplink()
Dxfs_export.c164 return VFS_I(ip); in xfs_nfs_get_inode()
226 return d_obtain_alias(VFS_I(cip)); in xfs_fs_get_parent()
Dxfs_file.c54 mutex_lock(&VFS_I(ip)->i_mutex); in xfs_rw_ilock()
65 mutex_unlock(&VFS_I(ip)->i_mutex); in xfs_rw_iunlock()
75 mutex_unlock(&VFS_I(ip)->i_mutex); in xfs_rw_ilock_demote()
98 mapping = VFS_I(ip)->i_mapping; in xfs_iozero()
Dxfs_vnodeops.c542 if (VN_DIRTY(VFS_I(ip)) && ip->i_delayed_blks > 0) in xfs_release()
551 (VFS_I(ip)->i_size > 0 || in xfs_release()
552 (VN_CACHED(VFS_I(ip)) > 0 || ip->i_delayed_blks > 0)) && in xfs_release()
616 if (ip->i_d.di_mode == 0 || is_bad_inode(VFS_I(ip))) { in xfs_inactive()
643 (VFS_I(ip)->i_size > 0 || in xfs_inactive()
644 (VN_CACHED(VFS_I(ip)) > 0 || ip->i_delayed_blks > 0)) && in xfs_inactive()
2077 inode_dio_wait(VFS_I(ip)); in xfs_free_file_space()
2083 if (VN_CACHED(VFS_I(ip)) != 0) { in xfs_free_file_space()
Dxfs_sync.c57 struct inode *inode = VFS_I(ip); in xfs_inode_ag_walk_grab()
225 struct inode *inode = VFS_I(ip); in xfs_sync_inode_data()
782 if (is_bad_inode(VFS_I(ip))) in xfs_reclaim_inode()
Dxfs_trans_inode.c87 struct inode *inode = VFS_I(ip); in xfs_trans_ichgtime()
Dxfs_super.c855 inode_init_once(VFS_I(ip)); in xfs_fs_inode_init_once()
1373 root = igrab(VFS_I(mp->m_rootip)); in xfs_fs_fill_super()
Dxfs_ioctl.c876 struct inode *inode = VFS_I(ip); in xfs_diflags_to_linux()
/fs/ntfs/
Dinode.c329 return VFS_I(ni); in ntfs_alloc_big_inode()
2233 if (!is_bad_inode(VFS_I(ni->ext.base_ntfs_ino))) in ntfs_clear_extent_inode()
2292 iput(VFS_I(ni->ext.base_ntfs_ino)); in ntfs_evict_big_inode()
2813 if (!IS_NOCMTIME(VFS_I(base_ni)) && !IS_RDONLY(VFS_I(base_ni))) { in ntfs_truncate()
2814 struct timespec now = current_fs_time(VFS_I(base_ni)->i_sb); in ntfs_truncate()
2817 if (!timespec_equal(&VFS_I(base_ni)->i_mtime, &now) || in ntfs_truncate()
2818 !timespec_equal(&VFS_I(base_ni)->i_ctime, &now)) in ntfs_truncate()
2820 VFS_I(base_ni)->i_mtime = now; in ntfs_truncate()
2821 VFS_I(base_ni)->i_ctime = now; in ntfs_truncate()
2824 mark_inode_dirty_sync(VFS_I(base_ni)); in ntfs_truncate()
Dinode.h245 static inline struct inode *VFS_I(ntfs_inode *ni) in VFS_I() function
Ddir.c99 BUG_ON(!S_ISDIR(VFS_I(dir_ni)->i_mode)); in ntfs_lookup_inode_by_name()
306 ia_mapping = VFS_I(dir_ni)->i_mapping; in ntfs_lookup_inode_by_name()
784 ia_mapping = VFS_I(dir_ni)->i_mapping;
Dindex.c263 ia_mapping = VFS_I(idx_ni)->i_mapping; in ntfs_index_lookup()
Dattrib.c1538 struct inode *vi = VFS_I(ni); in ntfs_attr_make_non_resident()
1910 struct inode *vi = VFS_I(ni); in ntfs_attr_extend_allocation()
2515 mapping = VFS_I(ni)->i_mapping; in ntfs_attr_set()
2523 if (unlikely(end > i_size_read(VFS_I(ni)))) { in ntfs_attr_set()
Daops.c1294 iput(VFS_I(base_tni)); in ntfs_write_mst_block()
1598 bh_size = VFS_I(ni)->i_sb->s_blocksize; in mark_ntfs_record_dirty()
Dcompress.c560 i_size = i_size_read(VFS_I(ni)); in ntfs_read_compressed_block()
Dfile.c116 struct inode *vi = VFS_I(ni); in ntfs_attr_extend_initialized()
Dsuper.c3048 inode_init_once(VFS_I(ni)); in ntfs_big_inode_init_once()
Dmft.c409 __mark_inode_dirty(VFS_I(base_ni), I_DIRTY_SYNC | I_DIRTY_DATASYNC); in __mark_mft_record_dirty()