Home
last modified time | relevance | path

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

12

/linux-6.3-rc2/fs/xfs/
A Dxfs_inode.c820 inode = VFS_I(ip); in xfs_init_new_inode()
924 drop_nlink(VFS_I(ip)); in xfs_droplink()
927 if (VFS_I(ip)->i_nlink) in xfs_droplink()
943 inc_nlink(VFS_I(ip)); in xfs_bumplink()
1412 if (!S_ISREG(VFS_I(ip)->i_mode) || (VFS_I(ip)->i_mode == 0)) in xfs_release()
2728 error = xfs_inode_init_security(VFS_I(tmpfile), VFS_I(dp), &name); in xfs_rename_alloc_whiteout()
3372 iput(VFS_I(ip)); in xfs_irele()
3504 ret = xfs_iolock_two_inodes_and_break_layout(VFS_I(ip1), VFS_I(ip2)); in xfs_ilock2_io_mmap()
3508 if (IS_DAX(VFS_I(ip1)) && IS_DAX(VFS_I(ip2))) { in xfs_ilock2_io_mmap()
3529 if (IS_DAX(VFS_I(ip1)) && IS_DAX(VFS_I(ip2))) { in xfs_iunlock2_io_mmap()
[all …]
A Dxfs_bmap_util.c662 if (!S_ISREG(VFS_I(ip)->i_mode)) in xfs_can_free_eofblocks()
669 if (VFS_I(ip)->i_size == 0 && in xfs_can_free_eofblocks()
735 inode_dio_wait(VFS_I(ip)); in xfs_free_eofblocks()
952 struct inode *inode = VFS_I(ip); in xfs_flush_unmap_range()
1273 (!uid_eq(VFS_I(ip)->i_uid, VFS_I(tip)->i_uid) || in xfs_swap_extents_check_format()
1274 !gid_eq(VFS_I(ip)->i_gid, VFS_I(tip)->i_gid) || in xfs_swap_extents_check_format()
1654 lock_two_nondirectories(VFS_I(ip), VFS_I(tip)); in xfs_swap_extents()
1656 VFS_I(tip)->i_mapping); in xfs_swap_extents()
1659 if ((VFS_I(ip)->i_mode & S_IFMT) != (VFS_I(tip)->i_mode & S_IFMT)) { in xfs_swap_extents()
1851 VFS_I(tip)->i_mapping); in xfs_swap_extents()
[all …]
A Dxfs_icache.c89 VFS_I(ip)->i_mode = 0; in xfs_inode_alloc()
90 VFS_I(ip)->i_state = 0; in xfs_inode_alloc()
340 struct inode *inode = VFS_I(ip); in xfs_iget_recycle()
414 if (VFS_I(ip)->i_mode != 0) { in xfs_iget_check_free_state()
417 ip->i_ino, VFS_I(ip)->i_mode); in xfs_iget_check_free_state()
431 if (VFS_I(ip)->i_mode == 0) in xfs_iget_check_free_state()
463 struct inode *inode = VFS_I(ip); in xfs_iget_cache_hit()
501 if (VFS_I(ip)->i_nlink == 0) { in xfs_iget_cache_hit()
664 d_mark_dontcache(VFS_I(ip)); in xfs_iget_cache_miss()
691 __destroy_inode(VFS_I(ip)); in xfs_iget_cache_miss()
[all …]
A Dxfs_inode.h151 static inline struct inode *VFS_I(struct xfs_inode *ip) in VFS_I() function
163 if (S_ISREG(VFS_I(ip)->i_mode)) in XFS_ISIZE()
164 return i_size_read(VFS_I(ip)); in XFS_ISIZE()
175 xfs_fsize_t i_size = i_size_read(VFS_I(ip)); in xfs_new_eof()
470 (xfs_has_grpid((pip)->i_mount) || (VFS_I(pip)->i_mode & S_ISGID))
554 unlock_new_inode(VFS_I(ip)); in xfs_finish_inode_setup()
A Dxfs_export.c149 if (VFS_I(ip)->i_generation != generation) { in xfs_nfs_get_inode()
154 return VFS_I(ip); in xfs_nfs_get_inode()
216 return d_obtain_alias(VFS_I(cip)); in xfs_fs_get_parent()
A Dxfs_iops.c208 inode = VFS_I(ip); in xfs_generic_create()
305 inode = VFS_I(cip); in xfs_vn_lookup()
343 return d_splice_alias(VFS_I(ip), dentry); in xfs_vn_ci_lookup()
348 dentry = d_add_ci(dentry, VFS_I(ip), &dname); in xfs_vn_ci_lookup()
423 inode = VFS_I(cip); in xfs_vn_symlink()
658 struct inode *inode = VFS_I(ip); in xfs_setattr_nonsize()
787 struct inode *inode = VFS_I(ip); in xfs_setattr_size()
893 error = filemap_write_and_wait_range(VFS_I(ip)->i_mapping, in xfs_setattr_size()
1186 if (!S_ISREG(VFS_I(ip)->i_mode)) in xfs_inode_supports_dax()
1219 struct inode *inode = VFS_I(ip); in xfs_diflags_to_iflags()
A Dxfs_pnfs.c97 VFS_I(ip)->i_mode &= ~S_ISUID; in xfs_fs_map_update_inode()
98 if (VFS_I(ip)->i_mode & S_IXGRP) in xfs_fs_map_update_inode()
99 VFS_I(ip)->i_mode &= ~S_ISGID; in xfs_fs_map_update_inode()
A Dxfs_health.c238 spin_lock(&VFS_I(ip)->i_lock); in xfs_inode_mark_sick()
239 VFS_I(ip)->i_state &= ~I_DONTCACHE; in xfs_inode_mark_sick()
240 spin_unlock(&VFS_I(ip)->i_lock); in xfs_inode_mark_sick()
A Dxfs_ioctl.c1079 if (S_ISDIR(VFS_I(ip)->i_mode)) { in xfs_flags2diflags()
1088 } else if (S_ISREG(VFS_I(ip)->i_mode)) { in xfs_flags2diflags()
1162 struct inode *inode = VFS_I(ip); in xfs_ioctl_setattr_prepare_dax()
1228 if (S_ISREG(VFS_I(ip)->i_mode) && ip->i_df.if_nextents && in xfs_ioctl_setattr_check_extsize()
1254 VFS_I(ip)->i_mode, new_diflags); in xfs_ioctl_setattr_check_extsize()
1279 VFS_I(ip)->i_mode, new_diflags, new_diflags2); in xfs_ioctl_setattr_check_cowextsize()
1336 error = xfs_qm_vop_dqalloc(ip, VFS_I(ip)->i_uid, in xfs_fileattr_set()
1337 VFS_I(ip)->i_gid, fa->fsx_projid, in xfs_fileattr_set()
1373 if ((VFS_I(ip)->i_mode & (S_ISUID|S_ISGID)) && in xfs_fileattr_set()
1374 !capable_wrt_inode_uidgid(idmap, VFS_I(ip), CAP_FSETID)) in xfs_fileattr_set()
[all …]
A Dxfs_reflink.c1085 if (newlen <= i_size_read(VFS_I(dest)) && cowextsize == 0) in xfs_reflink_update_dest()
1095 if (newlen > i_size_read(VFS_I(dest))) { in xfs_reflink_update_dest()
1097 i_size_write(VFS_I(dest), newlen); in xfs_reflink_update_dest()
1324 if (newlen > i_size_read(VFS_I(ip))) { in xfs_reflink_remap_extent()
1326 i_size_write(VFS_I(ip), newlen); in xfs_reflink_remap_extent()
1431 loff_t isize = i_size_read(VFS_I(ip)); in xfs_reflink_zero_posteof()
1684 struct inode *inode = VFS_I(ip); in xfs_reflink_unshare()
A Dxfs_symlink.c312 i_size_write(VFS_I(ip), ip->i_disk_size); in xfs_symlink()
413 VFS_I(ip)->i_mode = (VFS_I(ip)->i_mode & ~S_IFMT) | S_IFREG; in xfs_inactive_symlink_rmt()
A Dxfs_trace.h101 __entry->dev = VFS_I(ctx->dp)->i_sb->s_dev;
378 __entry->dev = VFS_I(ip)->i_sb->s_dev;
711 __entry->dev = VFS_I(ip)->i_sb->s_dev;
742 __entry->dev = VFS_I(ip)->i_sb->s_dev;
822 __entry->dev = VFS_I(ip)->i_sb->s_dev;
848 __entry->dev = VFS_I(ip)->i_sb->s_dev;
874 __entry->dev = VFS_I(ip)->i_sb->s_dev;
958 __entry->dev = VFS_I(dp)->i_sb->s_dev;
1464 __entry->dev = VFS_I(ip)->i_sb->s_dev;
1509 __entry->dev = VFS_I(ip)->i_sb->s_dev;
[all …]
A Dxfs_notify_failure.c95 error = mf_dax_kill_procs(VFS_I(ip)->i_mapping, in xfs_dax_failure_fn()
A Dxfs_rtalloc.c1068 i_size_write(VFS_I(mp->m_rbmip), mp->m_rbmip->i_disk_size); in xfs_growfs_rt()
1081 i_size_write(VFS_I(mp->m_rsumip), mp->m_rsumip->i_disk_size); in xfs_growfs_rt()
1436 seqp = (uint64_t *)&VFS_I(mp->m_rbmip)->i_atime; in xfs_rtpick_extent()
A Dxfs_filestream.c177 struct inode *inode = VFS_I(ip), *dir = NULL; in xfs_filestream_get_parent()
/linux-6.3-rc2/fs/xfs/scrub/
A Dparent.c155 expected_nlink = VFS_I(sc->ip)->i_nlink == 0 ? 0 : 1; in xchk_parent_validate()
179 if (dp == sc->ip || !S_ISDIR(VFS_I(dp)->i_mode)) { in xchk_parent_validate()
230 expected_nlink = VFS_I(sc->ip)->i_nlink == 0 ? 0 : 1; in xchk_parent_validate()
276 if (!S_ISDIR(VFS_I(sc->ip)->i_mode)) in xchk_parent()
A Dsymlink.c42 if (!S_ISLNK(VFS_I(ip)->i_mode)) in xchk_symlink()
A Dbmap.c46 if (S_ISREG(VFS_I(sc->ip)->i_mode) && in xchk_setup_inode_bmap()
48 struct address_space *mapping = VFS_I(sc->ip)->i_mapping; in xchk_setup_inode_bmap()
50 inode_dio_wait(VFS_I(sc->ip)); in xchk_setup_inode_bmap()
360 if (!S_ISDIR(VFS_I(ip)->i_mode) && info->whichfork != XFS_ATTR_FORK) in xchk_bmap_dirattr_extent()
653 zero_size = i_size_read(VFS_I(sc->ip)) == 0; in xchk_bmap_check_rmaps()
/linux-6.3-rc2/fs/xfs/libxfs/
A Dxfs_dir2.c193 ASSERT(S_ISDIR(VFS_I(dp)->i_mode)); in xfs_dir_isempty()
233 ASSERT(S_ISDIR(VFS_I(dp)->i_mode)); in xfs_dir_init()
266 ASSERT(S_ISDIR(VFS_I(dp)->i_mode)); in xfs_dir_createname()
363 ASSERT(S_ISDIR(VFS_I(dp)->i_mode)); in xfs_dir_lookup()
440 ASSERT(S_ISDIR(VFS_I(dp)->i_mode)); in xfs_dir_removename()
498 ASSERT(S_ISDIR(VFS_I(dp)->i_mode)); in xfs_dir_replace()
A Dxfs_trans_inode.c60 struct inode *inode = VFS_I(ip); in xfs_trans_ichgtime()
98 struct inode *inode = VFS_I(ip); in xfs_trans_log_inode()
A Dxfs_inode_fork.c48 zero_terminate = S_ISLNK(VFS_I(ip)->i_mode); in xfs_init_local_fork()
224 struct inode *inode = VFS_I(ip); in xfs_iformat_data_fork()
644 linux_to_xfs_dev_t(VFS_I(ip)->i_rdev)); in xfs_iflush_fork()
689 switch (VFS_I(ip)->i_mode & S_IFMT) { in xfs_ifork_verify_local_data()
A Dxfs_inode_buf.c175 struct inode *inode = VFS_I(ip); in xfs_inode_from_disk()
306 struct inode *inode = VFS_I(ip); in xfs_inode_to_disk()
/linux-6.3-rc2/fs/ntfs/
A Dinode.c316 return VFS_I(ni); in ntfs_alloc_big_inode()
2224 if (!is_bad_inode(VFS_I(ni->ext.base_ntfs_ino))) in ntfs_clear_extent_inode()
2283 iput(VFS_I(ni->ext.base_ntfs_ino)); in ntfs_evict_big_inode()
2805 if (!IS_NOCMTIME(VFS_I(base_ni)) && !IS_RDONLY(VFS_I(base_ni))) { in ntfs_truncate()
2806 struct timespec64 now = current_time(VFS_I(base_ni)); in ntfs_truncate()
2809 if (!timespec64_equal(&VFS_I(base_ni)->i_mtime, &now) || in ntfs_truncate()
2810 !timespec64_equal(&VFS_I(base_ni)->i_ctime, &now)) in ntfs_truncate()
2812 VFS_I(base_ni)->i_mtime = now; in ntfs_truncate()
2813 VFS_I(base_ni)->i_ctime = now; in ntfs_truncate()
2816 mark_inode_dirty_sync(VFS_I(base_ni)); in ntfs_truncate()
A Dinode.h231 static inline struct inode *VFS_I(ntfs_inode *ni) in VFS_I() function
A Daops.c1278 iput(VFS_I(base_tni)); in ntfs_write_mst_block()
1578 i_size = i_size_read(VFS_I(ni)); in ntfs_bmap()
1721 bh_size = VFS_I(ni)->i_sb->s_blocksize; in mark_ntfs_record_dirty()

Completed in 50 milliseconds

12