fs/xfs/libxfs/xfs_bmap.c
806
ASSERT(!(S_ISREG(VFS_I(ip)->i_mode) && whichfork == XFS_DATA_FORK));
fs/xfs/libxfs/xfs_bmap.c
972
if (S_ISDIR(VFS_I(ip)->i_mode)) {
fs/xfs/libxfs/xfs_bmap.c
983
if (S_ISLNK(VFS_I(ip)->i_mode))
fs/xfs/libxfs/xfs_defer.c
1018
ihold(VFS_I(dfc->dfc_held.dr_ip[i]));
fs/xfs/libxfs/xfs_dir2.c
1079
if (S_ISDIR(VFS_I(ip2)->i_mode)) {
fs/xfs/libxfs/xfs_dir2.c
1086
if (!S_ISDIR(VFS_I(ip1)->i_mode)) {
fs/xfs/libxfs/xfs_dir2.c
1103
if (S_ISDIR(VFS_I(ip1)->i_mode)) {
fs/xfs/libxfs/xfs_dir2.c
1110
if (!S_ISDIR(VFS_I(ip2)->i_mode)) {
fs/xfs/libxfs/xfs_dir2.c
1205
src_is_directory = S_ISDIR(VFS_I(src_ip)->i_mode);
fs/xfs/libxfs/xfs_dir2.c
1226
if (S_ISDIR(VFS_I(target_ip)->i_mode) &&
fs/xfs/libxfs/xfs_dir2.c
1228
(VFS_I(target_ip)->i_nlink > 2)))
fs/xfs/libxfs/xfs_dir2.c
1247
ASSERT(VFS_I(du_wip->ip)->i_nlink == 0);
fs/xfs/libxfs/xfs_dir2.c
206
ASSERT(S_ISDIR(VFS_I(dp)->i_mode));
fs/xfs/libxfs/xfs_dir2.c
246
ASSERT(S_ISDIR(VFS_I(dp)->i_mode));
fs/xfs/libxfs/xfs_dir2.c
335
ASSERT(S_ISDIR(VFS_I(dp)->i_mode));
fs/xfs/libxfs/xfs_dir2.c
437
ASSERT(S_ISDIR(VFS_I(dp)->i_mode));
fs/xfs/libxfs/xfs_dir2.c
502
ASSERT(S_ISDIR(VFS_I(dp)->i_mode));
fs/xfs/libxfs/xfs_dir2.c
559
ASSERT(S_ISDIR(VFS_I(dp)->i_mode));
fs/xfs/libxfs/xfs_dir2.c
867
if (S_ISDIR(VFS_I(ip)->i_mode)) {
fs/xfs/libxfs/xfs_dir2.c
908
ASSERT(!S_ISDIR(VFS_I(ip)->i_mode));
fs/xfs/libxfs/xfs_dir2.c
919
if (VFS_I(ip)->i_nlink == 0) {
fs/xfs/libxfs/xfs_dir2.c
975
if (S_ISDIR(VFS_I(ip)->i_mode)) {
fs/xfs/libxfs/xfs_dir2.c
976
ASSERT(VFS_I(ip)->i_nlink >= 2);
fs/xfs/libxfs/xfs_dir2.c
977
if (VFS_I(ip)->i_nlink != 2)
fs/xfs/libxfs/xfs_dir2_data.c
124
if (dp && !S_ISDIR(VFS_I(dp)->i_mode))
fs/xfs/libxfs/xfs_exchmaps.c
1021
if (S_ISDIR(VFS_I(xmi->xmi_ip2)->i_mode) ||
fs/xfs/libxfs/xfs_exchmaps.c
1022
S_ISLNK(VFS_I(xmi->xmi_ip2)->i_mode))
fs/xfs/libxfs/xfs_exchmaps.c
551
else if (S_ISDIR(VFS_I(xmi->xmi_ip2)->i_mode))
fs/xfs/libxfs/xfs_exchmaps.c
553
else if (S_ISLNK(VFS_I(xmi->xmi_ip2)->i_mode))
fs/xfs/libxfs/xfs_inode_buf.c
182
struct inode *inode = VFS_I(ip);
fs/xfs/libxfs/xfs_inode_buf.c
326
struct inode *inode = VFS_I(ip);
fs/xfs/libxfs/xfs_inode_fork.c
235
struct inode *inode = VFS_I(ip);
fs/xfs/libxfs/xfs_inode_fork.c
52
zero_terminate = S_ISLNK(VFS_I(ip)->i_mode);
fs/xfs/libxfs/xfs_inode_fork.c
612
linux_to_xfs_dev_t(VFS_I(ip)->i_rdev));
fs/xfs/libxfs/xfs_inode_fork.c
676
switch (VFS_I(ip)->i_mode & S_IFMT) {
fs/xfs/libxfs/xfs_inode_util.c
154
umode_t mode = VFS_I(ip)->i_mode;
fs/xfs/libxfs/xfs_inode_util.c
205
VFS_I(ip)->i_mode, ip->i_diflags);
fs/xfs/libxfs/xfs_inode_util.c
232
VFS_I(ip)->i_mode, ip->i_diflags, ip->i_diflags2);
fs/xfs/libxfs/xfs_inode_util.c
272
struct inode *dir = pip ? VFS_I(pip) : NULL;
fs/xfs/libxfs/xfs_inode_util.c
274
struct inode *inode = VFS_I(ip);
fs/xfs/libxfs/xfs_inode_util.c
50
if (S_ISDIR(VFS_I(ip)->i_mode)) {
fs/xfs/libxfs/xfs_inode_util.c
528
ASSERT(VFS_I(ip)->i_nlink == 0);
fs/xfs/libxfs/xfs_inode_util.c
529
ASSERT(VFS_I(ip)->i_mode != 0);
fs/xfs/libxfs/xfs_inode_util.c
59
} else if (S_ISREG(VFS_I(ip)->i_mode)) {
fs/xfs/libxfs/xfs_inode_util.c
649
struct inode *inode = VFS_I(ip);
fs/xfs/libxfs/xfs_inode_util.c
678
struct inode *inode = VFS_I(ip);
fs/xfs/libxfs/xfs_inode_util.c
728
VFS_I(ip)->i_mode = 0; /* mark incore inode as free */
fs/xfs/libxfs/xfs_inode_util.c
738
VFS_I(ip)->i_generation++;
fs/xfs/libxfs/xfs_metadir.c
102
if (!S_ISDIR(VFS_I(dp)->i_mode)) {
fs/xfs/libxfs/xfs_metadir.c
388
xfs_mode_to_ftype(VFS_I(upd->ip)->i_mode));
fs/xfs/libxfs/xfs_metafile.c
53
VFS_I(ip)->i_mode &= ~0777;
fs/xfs/libxfs/xfs_metafile.c
54
VFS_I(ip)->i_uid = GLOBAL_ROOT_UID;
fs/xfs/libxfs/xfs_metafile.c
55
VFS_I(ip)->i_gid = GLOBAL_ROOT_GID;
fs/xfs/libxfs/xfs_metafile.c
56
if (S_ISDIR(VFS_I(ip)->i_mode))
fs/xfs/libxfs/xfs_metafile.c
76
ASSERT(VFS_I(ip)->i_nlink == 0);
fs/xfs/libxfs/xfs_rtbitmap.c
1099
atime = inode_get_atime(VFS_I(rbmip));
fs/xfs/libxfs/xfs_rtbitmap.c
1101
inode_set_atime_to_ts(VFS_I(rbmip), atime);
fs/xfs/libxfs/xfs_rtbitmap.c
1486
inode_set_atime(VFS_I(ip), 0, 0);
fs/xfs/libxfs/xfs_trans_inode.c
59
struct inode *inode = VFS_I(ip);
fs/xfs/libxfs/xfs_trans_inode.c
92
struct inode *inode = VFS_I(ip);
fs/xfs/scrub/agheader_repair.c
1055
if (VFS_I(ip)->i_nlink != 0) {
fs/xfs/scrub/agheader_repair.c
1290
if (VFS_I(ip)->i_nlink == 0)
fs/xfs/scrub/attr_repair.c
1503
xfs_forget_acl(VFS_I(sc->ip), SGI_ACL_FILE);
fs/xfs/scrub/attr_repair.c
1504
xfs_forget_acl(VFS_I(sc->ip), SGI_ACL_DEFAULT);
fs/xfs/scrub/bmap.c
459
if (!S_ISDIR(VFS_I(ip)->i_mode) && info->whichfork != XFS_ATTR_FORK)
fs/xfs/scrub/bmap.c
53
if (S_ISREG(VFS_I(sc->ip)->i_mode) &&
fs/xfs/scrub/bmap.c
55
struct address_space *mapping = VFS_I(sc->ip)->i_mapping;
fs/xfs/scrub/bmap.c
62
error = xfs_break_layouts(VFS_I(sc->ip),
fs/xfs/scrub/bmap.c
68
inode_dio_wait(VFS_I(sc->ip));
fs/xfs/scrub/bmap.c
776
if ((VFS_I(ip)->i_mode & 0777) != 0)
fs/xfs/scrub/bmap.c
778
if (!uid_eq(VFS_I(ip)->i_uid, GLOBAL_ROOT_UID))
fs/xfs/scrub/bmap.c
780
if (!gid_eq(VFS_I(ip)->i_gid, GLOBAL_ROOT_GID))
fs/xfs/scrub/bmap.c
811
return i_size_read(VFS_I(ip)) != 0;
fs/xfs/scrub/bmap.c
92
VFS_I(sc->ip)->i_mapping);
fs/xfs/scrub/bmap_repair.c
880
switch (VFS_I(sc->ip)->i_mode & S_IFMT) {
fs/xfs/scrub/bmap_repair.c
908
if (!S_ISREG(VFS_I(sc->ip)->i_mode))
fs/xfs/scrub/common.c
1082
if (VFS_I(ip)->i_generation != sc->sm->sm_gen) {
fs/xfs/scrub/common.c
1101
if (!igrab(VFS_I(ip))) {
fs/xfs/scrub/common.c
1255
spin_lock(&VFS_I(ip)->i_lock);
fs/xfs/scrub/common.c
1256
inode_state_clear(VFS_I(ip), I_DONTCACHE);
fs/xfs/scrub/common.c
1257
spin_unlock(&VFS_I(ip)->i_lock);
fs/xfs/scrub/common.c
1586
ASSERT(VFS_I(ip)->i_mode != 0);
fs/xfs/scrub/common.c
1602
ASSERT(VFS_I(ip)->i_mode != 0);
fs/xfs/scrub/common.c
1612
ASSERT(VFS_I(ip)->i_mode != 0);
fs/xfs/scrub/common.c
1648
*inuse = VFS_I(ip)->i_mode != 0;
fs/xfs/scrub/dir.c
101
if (xfs_mode_to_ftype(VFS_I(ip)->i_mode) != ftype)
fs/xfs/scrub/dir.c
1068
if (!S_ISDIR(VFS_I(sc->ip)->i_mode))
fs/xfs/scrub/dir_repair.c
1109
.type = xfs_mode_to_ftype(VFS_I(ip)->i_mode),
fs/xfs/scrub/dir_repair.c
1129
parent_gen != VFS_I(sc->ip)->i_generation)
fs/xfs/scrub/dir_repair.c
1206
if (S_ISDIR(VFS_I(ip)->i_mode) && xfs_need_iread_extents(&ip->i_df)) {
fs/xfs/scrub/dir_repair.c
1249
if (S_ISDIR(VFS_I(ip)->i_mode)) {
fs/xfs/scrub/dir_repair.c
1524
ASSERT(S_ISDIR(VFS_I(dp)->i_mode));
fs/xfs/scrub/dir_repair.c
1591
if (VFS_I(dp)->i_nlink != new_nlink)
fs/xfs/scrub/dir_repair.c
1592
set_nlink(VFS_I(dp), new_nlink);
fs/xfs/scrub/dir_repair.c
1888
if (orig_parent == new_parent && VFS_I(sc->ip)->i_nlink > 0) {
fs/xfs/scrub/dir_repair.c
428
xname.type = xfs_mode_to_ftype(VFS_I(ip)->i_mode);
fs/xfs/scrub/dir_repair.c
702
ASSERT(S_ISDIR(VFS_I(dp)->i_mode));
fs/xfs/scrub/dir_repair.c
726
ASSERT(S_ISDIR(VFS_I(dp)->i_mode));
fs/xfs/scrub/dirtree.c
1005
if (VFS_I(sc->ip)->i_nlink == 0)
fs/xfs/scrub/dirtree.c
415
if (VFS_I(dp)->i_generation != be32_to_cpu(dl->pptr_rec.p_gen)) {
fs/xfs/scrub/dirtree.c
423
if (!S_ISDIR(VFS_I(dp)->i_mode)) {
fs/xfs/scrub/dirtree.c
431
if (VFS_I(dp)->i_nlink == 0) {
fs/xfs/scrub/dirtree.c
920
if (!S_ISDIR(VFS_I(sc->ip)->i_mode))
fs/xfs/scrub/dirtree_repair.c
297
parent_dentry = d_find_alias(VFS_I(dp));
fs/xfs/scrub/findparent.c
312
if (S_ISDIR(VFS_I(fpi.dp)->i_mode))
fs/xfs/scrub/findparent.c
382
if (VFS_I(sc->ip)->i_nlink == 0) {
fs/xfs/scrub/findparent.c
400
if (!S_ISDIR(VFS_I(fpi.dp)->i_mode)) {
fs/xfs/scrub/findparent.c
431
if (VFS_I(sc->ip)->i_nlink == 0)
fs/xfs/scrub/findparent.c
446
dentry = d_find_alias(VFS_I(sc->ip));
fs/xfs/scrub/inode.c
73
if (xfs_is_metadir_inode(ip) && !S_ISDIR(VFS_I(ip)->i_mode)) {
fs/xfs/scrub/inode.c
795
if (VFS_I(sc->ip)->i_nlink == 0) {
fs/xfs/scrub/inode.c
833
if (S_ISREG(VFS_I(sc->ip)->i_mode))
fs/xfs/scrub/inode_repair.c
1725
if (!uid_valid(VFS_I(sc->ip)->i_uid)) {
fs/xfs/scrub/inode_repair.c
1726
i_uid_write(VFS_I(sc->ip), 0);
fs/xfs/scrub/inode_repair.c
1732
if (!gid_valid(VFS_I(sc->ip)->i_gid)) {
fs/xfs/scrub/inode_repair.c
1733
i_gid_write(VFS_I(sc->ip), 0);
fs/xfs/scrub/inode_repair.c
1748
VFS_I(sc->ip)->i_mode &= ~(S_ISUID | S_ISGID);
fs/xfs/scrub/inode_repair.c
1757
*ts = timestamp_truncate(*ts, VFS_I(ip));
fs/xfs/scrub/inode_repair.c
1766
struct inode *inode = VFS_I(ip);
fs/xfs/scrub/inode_repair.c
1792
mode = VFS_I(sc->ip)->i_mode;
fs/xfs/scrub/inode_repair.c
1927
struct inode *inode = VFS_I(ip);
fs/xfs/scrub/inode_repair.c
1985
if (S_ISDIR(VFS_I(sc->ip)->i_mode))
fs/xfs/scrub/inode_repair.c
2003
unsigned int nlink = VFS_I(sc->ip)->i_nlink;
fs/xfs/scrub/inode_repair.c
418
if (S_ISDIR(VFS_I(dp)->i_mode))
fs/xfs/scrub/metapath.c
120
mpath->xname.type = xfs_mode_to_ftype(VFS_I(ip)->i_mode);
fs/xfs/scrub/nlinks.c
434
if (VFS_I(dp)->i_nlink == 0)
fs/xfs/scrub/nlinks.c
589
if (S_ISDIR(VFS_I(ip)->i_mode))
fs/xfs/scrub/nlinks.c
707
if (!xfs_has_ftype(sc->mp) && S_ISDIR(VFS_I(ip)->i_mode))
fs/xfs/scrub/nlinks.c
711
actual_nlink = VFS_I(ip)->i_nlink;
fs/xfs/scrub/nlinks.c
733
if (S_ISDIR(VFS_I(ip)->i_mode) && actual_nlink > 0) {
fs/xfs/scrub/nlinks.h
104
if (ip && S_ISDIR(VFS_I(ip)->i_mode) && VFS_I(ip)->i_nlink)
fs/xfs/scrub/nlinks_repair.c
166
actual_nlink = VFS_I(ip)->i_nlink;
fs/xfs/scrub/nlinks_repair.c
178
if (!S_ISDIR(VFS_I(ip)->i_mode) && obs.children != 0) {
fs/xfs/scrub/nlinks_repair.c
215
actual_nlink = VFS_I(ip)->i_nlink;
fs/xfs/scrub/nlinks_repair.c
245
set_nlink(VFS_I(ip), min_t(unsigned long long, total_links,
fs/xfs/scrub/orphanage.c
127
struct inode *root_inode = VFS_I(sc->mp->m_rootip);
fs/xfs/scrub/orphanage.c
331
if (S_ISDIR(VFS_I(sc->ip)->i_mode))
fs/xfs/scrub/orphanage.c
406
xname->type = xfs_mode_to_ftype(VFS_I(sc->ip)->i_mode);
fs/xfs/scrub/orphanage.c
440
d_orphanage = d_find_alias(VFS_I(sc->orphanage));
fs/xfs/scrub/orphanage.c
482
d_orphanage = d_find_alias(VFS_I(sc->orphanage));
fs/xfs/scrub/orphanage.c
499
while ((d_child = d_find_alias(VFS_I(sc->ip))) != NULL) {
fs/xfs/scrub/orphanage.c
531
bool isdir = S_ISDIR(VFS_I(sc->ip)->i_mode);
fs/xfs/scrub/orphanage.c
58
struct inode *inode = VFS_I(dp);
fs/xfs/scrub/parent.c
153
expected_nlink = VFS_I(sc->ip)->i_nlink == 0 ? 0 : 1;
fs/xfs/scrub/parent.c
173
!S_ISDIR(VFS_I(dp)->i_mode)) {
fs/xfs/scrub/parent.c
327
if (VFS_I(sc->ip)->i_nlink == 0)
fs/xfs/scrub/parent.c
437
if (!S_ISDIR(VFS_I(ip)->i_mode)) {
fs/xfs/scrub/parent.c
443
if (VFS_I(ip)->i_generation != be32_to_cpu(pptr->p_gen)) {
fs/xfs/scrub/parent.c
727
if (S_ISDIR(VFS_I(sc->ip)->i_mode)) {
fs/xfs/scrub/parent.c
731
if (VFS_I(sc->ip)->i_nlink == 0 && pp->pptrs_found > 0)
fs/xfs/scrub/parent.c
733
else if (VFS_I(sc->ip)->i_nlink > 0 &&
fs/xfs/scrub/parent.c
745
if (VFS_I(sc->ip)->i_nlink != pp->pptrs_found)
fs/xfs/scrub/parent.c
812
if (S_ISDIR(VFS_I(sc->ip)->i_mode)) {
fs/xfs/scrub/parent.c
855
if (!S_ISDIR(VFS_I(sc->ip)->i_mode))
fs/xfs/scrub/parent.c
905
struct inode *inode = VFS_I(ip);
fs/xfs/scrub/parent_repair.c
1384
if (S_ISDIR(VFS_I(sc->ip)->i_mode))
fs/xfs/scrub/parent_repair.c
1478
if (VFS_I(ip)->i_nlink != rp->parents) {
fs/xfs/scrub/parent_repair.c
1484
set_nlink(VFS_I(ip), min_t(unsigned long long, rp->parents,
fs/xfs/scrub/parent_repair.c
1611
if (xfs_has_parent(sc->mp) && !S_ISDIR(VFS_I(sc->ip)->i_mode)) {
fs/xfs/scrub/parent_repair.c
445
if (name->type != xfs_mode_to_ftype(VFS_I(sc->ip)->i_mode))
fs/xfs/scrub/parent_repair.c
492
if (S_ISDIR(VFS_I(ip)->i_mode) && xfs_need_iread_extents(&ip->i_df)) {
fs/xfs/scrub/parent_repair.c
519
if (S_ISDIR(VFS_I(ip)->i_mode)) {
fs/xfs/scrub/parent_repair.c
777
if (S_ISDIR(VFS_I(sc->ip)->i_mode)) {
fs/xfs/scrub/parent_repair.c
832
if (S_ISDIR(VFS_I(sc->ip)->i_mode))
fs/xfs/scrub/parent_repair.c
844
if (orig_parent == new_parent && VFS_I(sc->ip)->i_nlink > 0) {
fs/xfs/scrub/quotacheck.c
398
bool isreg = S_ISREG(VFS_I(ip)->i_mode);
fs/xfs/scrub/readdir.c
284
ASSERT(S_ISDIR(VFS_I(dp)->i_mode));
fs/xfs/scrub/readdir.c
337
ASSERT(S_ISDIR(VFS_I(dp)->i_mode));
fs/xfs/scrub/scrub.c
885
if (VFS_I(ip)->i_generation != head->svh_gen) {
fs/xfs/scrub/symlink.c
56
if (!S_ISLNK(VFS_I(ip)->i_mode))
fs/xfs/scrub/tempfile.c
108
VFS_I(sc->tempip)->i_flags |= S_PRIVATE;
fs/xfs/scrub/tempfile.c
109
VFS_I(sc->tempip)->i_opflags &= ~IOP_XATTR;
fs/xfs/scrub/tempfile.c
115
} else if (S_ISLNK(VFS_I(sc->tempip)->i_mode)) {
fs/xfs/scrub/tempfile.c
214
if (!S_ISDIR(VFS_I(sc->tempip)->i_mode) &&
fs/xfs/scrub/tempfile.c
215
!S_ISREG(VFS_I(sc->tempip)->i_mode))
fs/xfs/scrub/tempfile.c
495
ASSERT(S_ISREG(VFS_I(sc->tempip)->i_mode));
fs/xfs/scrub/tempfile.c
575
i_size_write(VFS_I(sc->tempip), isize);
fs/xfs/scrub/tempfile.c
900
temp = i_size_read(VFS_I(sc->ip));
fs/xfs/scrub/tempfile.c
901
i_size_write(VFS_I(sc->ip), i_size_read(VFS_I(sc->tempip)));
fs/xfs/scrub/tempfile.c
902
i_size_write(VFS_I(sc->tempip), temp);
fs/xfs/scrub/tempfile.c
950
i_size_write(VFS_I(sc->ip), i_size_read(VFS_I(sc->tempip)));
fs/xfs/scrub/trace.h
1606
__entry->ftype = xfs_mode_to_ftype(VFS_I(ip)->i_mode);
fs/xfs/scrub/trace.h
1607
__entry->nlink = VFS_I(ip)->i_nlink;
fs/xfs/scrub/trace.h
1684
__entry->child_gen = VFS_I(ip)->i_generation;
fs/xfs/scrub/trace.h
1731
__entry->child_gen = VFS_I(ip)->i_generation;
fs/xfs/scrub/trace.h
2210
__entry->dev = VFS_I(ip)->i_sb->s_dev;
fs/xfs/scrub/trace.h
3481
__entry->nlink = VFS_I(ip)->i_nlink;
fs/xfs/scrub/trace.h
3508
__entry->nlink = VFS_I(ip)->i_nlink;
fs/xfs/scrub/trace.h
841
__entry->dev = VFS_I(ip)->i_sb->s_dev;
fs/xfs/scrub/trace.h
844
__entry->mode = VFS_I(ip)->i_mode;
fs/xfs/xfs_attr_item.c
390
attrp->alfi_igen = VFS_I(args->dp)->i_generation;
fs/xfs/xfs_attr_item.c
396
attrp->alfi_igen = VFS_I(args->dp)->i_generation;
fs/xfs/xfs_bmap_util.c
1152
(!uid_eq(VFS_I(ip)->i_uid, VFS_I(tip)->i_uid) ||
fs/xfs/xfs_bmap_util.c
1153
!gid_eq(VFS_I(ip)->i_gid, VFS_I(tip)->i_gid) ||
fs/xfs/xfs_bmap_util.c
1230
error = filemap_write_and_wait(VFS_I(ip)->i_mapping);
fs/xfs/xfs_bmap_util.c
1233
truncate_pagecache_range(VFS_I(ip), 0, -1);
fs/xfs/xfs_bmap_util.c
1236
if (VFS_I(ip)->i_mapping->nrpages)
fs/xfs/xfs_bmap_util.c
1274
end_fsb = XFS_B_TO_FSB(ip->i_mount, i_size_read(VFS_I(ip)));
fs/xfs/xfs_bmap_util.c
1528
lock_two_nondirectories(VFS_I(ip), VFS_I(tip));
fs/xfs/xfs_bmap_util.c
1529
filemap_invalidate_lock_two(VFS_I(ip)->i_mapping,
fs/xfs/xfs_bmap_util.c
1530
VFS_I(tip)->i_mapping);
fs/xfs/xfs_bmap_util.c
1533
if ((VFS_I(ip)->i_mode & S_IFMT) != (VFS_I(tip)->i_mode & S_IFMT)) {
fs/xfs/xfs_bmap_util.c
1645
ctime = inode_get_ctime(VFS_I(ip));
fs/xfs/xfs_bmap_util.c
1646
mtime = inode_get_mtime(VFS_I(ip));
fs/xfs/xfs_bmap_util.c
1738
filemap_invalidate_unlock_two(VFS_I(ip)->i_mapping,
fs/xfs/xfs_bmap_util.c
1739
VFS_I(tip)->i_mapping);
fs/xfs/xfs_bmap_util.c
1740
unlock_two_nondirectories(VFS_I(ip), VFS_I(tip));
fs/xfs/xfs_bmap_util.c
312
error = filemap_write_and_wait(VFS_I(ip)->i_mapping);
fs/xfs/xfs_bmap_util.c
517
if (!(inode_state_read_once(VFS_I(ip)) & I_FREEING))
fs/xfs/xfs_bmap_util.c
521
if (!S_ISREG(VFS_I(ip)->i_mode))
fs/xfs/xfs_bmap_util.c
528
if (VFS_I(ip)->i_size == 0 &&
fs/xfs/xfs_bmap_util.c
529
VFS_I(ip)->i_mapping->nrpages == 0 &&
fs/xfs/xfs_bmap_util.c
589
inode_dio_wait(VFS_I(ip));
fs/xfs/xfs_bmap_util.c
820
struct inode *inode = VFS_I(ip);
fs/xfs/xfs_bmap_util.c
911
error = filemap_write_and_wait_range(VFS_I(ip)->i_mapping,
fs/xfs/xfs_dir2_readdir.c
528
ASSERT(S_ISDIR(VFS_I(dp)->i_mode));
fs/xfs/xfs_dquot.c
976
return i_uid_read(VFS_I(ip));
fs/xfs/xfs_dquot.c
978
return i_gid_read(VFS_I(ip));
fs/xfs/xfs_exchmaps_item.c
231
xlf->xmi_igen1 = VFS_I(xmi->xmi_ip1)->i_generation;
fs/xfs/xfs_exchmaps_item.c
233
xlf->xmi_igen2 = VFS_I(xmi->xmi_ip2)->i_generation;
fs/xfs/xfs_exchrange.c
301
temp = i_size_read(VFS_I(ip2));
fs/xfs/xfs_exchrange.c
302
i_size_write(VFS_I(ip2), i_size_read(VFS_I(ip1)));
fs/xfs/xfs_exchrange.c
303
i_size_write(VFS_I(ip1), temp);
fs/xfs/xfs_exchrange.c
532
size1 = i_size_read(VFS_I(ip1));
fs/xfs/xfs_exchrange.c
533
size2 = i_size_read(VFS_I(ip2));
fs/xfs/xfs_exchrange.c
87
struct inode *inode2 = VFS_I(ip2);
fs/xfs/xfs_export.c
163
if (VFS_I(ip)->i_generation != generation || IS_PRIVATE(VFS_I(ip))) {
fs/xfs/xfs_export.c
168
return VFS_I(ip);
fs/xfs/xfs_export.c
230
return d_obtain_alias(VFS_I(cip));
fs/xfs/xfs_file.c
405
isize = i_size_read(VFS_I(ip));
fs/xfs/xfs_file.c
435
inode_dio_wait(VFS_I(ip));
fs/xfs/xfs_file.c
857
size_t isize = i_size_read(VFS_I(ip));
fs/xfs/xfs_file.c
901
inode_dio_wait(VFS_I(ip));
fs/xfs/xfs_filestream.c
173
struct inode *inode = VFS_I(ip), *dir = NULL;
fs/xfs/xfs_handle.c
189
if (!S_ISDIR(VFS_I(ip)->i_mode))
fs/xfs/xfs_health.c
330
fserror_report_file_metadata(VFS_I(ip), -EFSCORRUPTED, GFP_NOFS);
fs/xfs/xfs_health.c
354
spin_lock(&VFS_I(ip)->i_lock);
fs/xfs/xfs_health.c
355
inode_state_clear(VFS_I(ip), I_DONTCACHE);
fs/xfs/xfs_health.c
356
spin_unlock(&VFS_I(ip)->i_lock);
fs/xfs/xfs_health.c
386
spin_lock(&VFS_I(ip)->i_lock);
fs/xfs/xfs_health.c
387
inode_state_clear(VFS_I(ip), I_DONTCACHE);
fs/xfs/xfs_health.c
388
spin_unlock(&VFS_I(ip)->i_lock);
fs/xfs/xfs_healthmon.c
537
.gen = VFS_I(ip)->i_generation,
fs/xfs/xfs_healthmon.c
650
.fgen = VFS_I(ip)->i_generation,
fs/xfs/xfs_icache.c
105
VFS_I(ip)->i_mode = 0;
fs/xfs/xfs_icache.c
106
mapping_set_folio_min_order(VFS_I(ip)->i_mapping,
fs/xfs/xfs_icache.c
1142
!uid_eq(VFS_I(ip)->i_uid, icw->icw_uid))
fs/xfs/xfs_icache.c
1146
!gid_eq(VFS_I(ip)->i_gid, icw->icw_gid))
fs/xfs/xfs_icache.c
1166
uid_eq(VFS_I(ip)->i_uid, icw->icw_uid))
fs/xfs/xfs_icache.c
1170
gid_eq(VFS_I(ip)->i_gid, icw->icw_gid))
fs/xfs/xfs_icache.c
1244
if (!wait && mapping_tagged(VFS_I(ip)->i_mapping, PAGECACHE_TAG_DIRTY))
fs/xfs/xfs_icache.c
1381
if (!sync && inode_is_open_for_write(VFS_I(ip)))
fs/xfs/xfs_icache.c
144
switch (VFS_I(ip)->i_mode & S_IFMT) {
fs/xfs/xfs_icache.c
1507
struct inode *inode = VFS_I(ip);
fs/xfs/xfs_icache.c
179
call_rcu(&VFS_I(ip)->i_rcu, xfs_inode_free_callback);
fs/xfs/xfs_icache.c
366
struct inode *inode = VFS_I(ip);
fs/xfs/xfs_icache.c
426
if (VFS_I(ip)->i_mode != 0) {
fs/xfs/xfs_icache.c
429
ip->i_ino, VFS_I(ip)->i_mode);
fs/xfs/xfs_icache.c
449
if (VFS_I(ip)->i_mode == 0)
fs/xfs/xfs_icache.c
507
struct inode *inode = VFS_I(ip);
fs/xfs/xfs_icache.c
545
if (VFS_I(ip)->i_nlink == 0) {
fs/xfs/xfs_icache.c
663
VFS_I(ip)->i_generation = get_random_u32();
fs/xfs/xfs_icache.c
722
d_mark_dontcache(VFS_I(ip));
fs/xfs/xfs_icache.c
748
__destroy_inode(VFS_I(ip));
fs/xfs/xfs_icache.c
822
if (xfs_iflags_test(ip, XFS_INEW) && VFS_I(ip)->i_mode != 0)
fs/xfs/xfs_icache.c
860
if (VFS_I(ip)->i_nlink == 0)
fs/xfs/xfs_icache.c
867
if (inode_wrong_type(VFS_I(ip), mode))
fs/xfs/xfs_icache.c
99
if (inode_init_always(mp->m_super, VFS_I(ip))) {
fs/xfs/xfs_inode.c
1049
if (icount_read(VFS_I(ip)))
fs/xfs/xfs_inode.c
1307
if (VFS_I(ip)->i_mode == 0)
fs/xfs/xfs_inode.c
1330
if (VFS_I(ip)->i_nlink == 0)
fs/xfs/xfs_inode.c
1397
if (VFS_I(ip)->i_mode == 0) {
fs/xfs/xfs_inode.c
1425
if (VFS_I(ip)->i_nlink != 0) {
fs/xfs/xfs_inode.c
1437
if (S_ISREG(VFS_I(ip)->i_mode) &&
fs/xfs/xfs_inode.c
1458
if (S_ISDIR(VFS_I(ip)->i_mode) && ip->i_df.if_nextents > 0) {
fs/xfs/xfs_inode.c
1463
if (S_ISLNK(VFS_I(ip)->i_mode))
fs/xfs/xfs_inode.c
149
down_write_nested(&VFS_I(ip)->i_rwsem,
fs/xfs/xfs_inode.c
152
down_read_nested(&VFS_I(ip)->i_rwsem,
fs/xfs/xfs_inode.c
157
down_write_nested(&VFS_I(ip)->i_mapping->invalidate_lock,
fs/xfs/xfs_inode.c
1575
if (VFS_I(next_ip)->i_nlink != 0) {
fs/xfs/xfs_inode.c
1584
ASSERT(!(inode_state_read_once(VFS_I(next_ip)) & I_DONTCACHE));
fs/xfs/xfs_inode.c
160
down_read_nested(&VFS_I(ip)->i_mapping->invalidate_lock,
fs/xfs/xfs_inode.c
1800
ASSERT(VFS_I(ip)->i_nlink == 0);
fs/xfs/xfs_inode.c
1802
ASSERT(ip->i_disk_size == 0 || !S_ISREG(VFS_I(ip)->i_mode));
fs/xfs/xfs_inode.c
1917
int is_dir = S_ISDIR(VFS_I(ip)->i_mode);
fs/xfs/xfs_inode.c
192
if (!down_write_trylock(&VFS_I(ip)->i_rwsem))
fs/xfs/xfs_inode.c
195
if (!down_read_trylock(&VFS_I(ip)->i_rwsem))
fs/xfs/xfs_inode.c
200
if (!down_write_trylock(&VFS_I(ip)->i_mapping->invalidate_lock))
fs/xfs/xfs_inode.c
203
if (!down_read_trylock(&VFS_I(ip)->i_mapping->invalidate_lock))
fs/xfs/xfs_inode.c
2101
error = xfs_inode_init_security(VFS_I(tmpfile), VFS_I(dp), &name);
fs/xfs/xfs_inode.c
2115
inode_state_set_raw(VFS_I(tmpfile), I_LINKABLE);
fs/xfs/xfs_inode.c
2152
bool src_is_directory = S_ISDIR(VFS_I(src_ip)->i_mode);
fs/xfs/xfs_inode.c
218
up_write(&VFS_I(ip)->i_mapping->invalidate_lock);
fs/xfs/xfs_inode.c
220
up_read(&VFS_I(ip)->i_mapping->invalidate_lock);
fs/xfs/xfs_inode.c
223
up_write(&VFS_I(ip)->i_rwsem);
fs/xfs/xfs_inode.c
225
up_read(&VFS_I(ip)->i_rwsem);
fs/xfs/xfs_inode.c
2310
(VFS_I(target_ip)->i_nlink == 1 || src_is_directory))) {
fs/xfs/xfs_inode.c
2334
inode_state_clear_raw(VFS_I(du_wip.ip), I_LINKABLE);
fs/xfs/xfs_inode.c
2400
if (!S_ISREG(VFS_I(ip)->i_mode) ||
fs/xfs/xfs_inode.c
2408
} else if (S_ISREG(VFS_I(ip)->i_mode)) {
fs/xfs/xfs_inode.c
2417
} else if (S_ISDIR(VFS_I(ip)->i_mode)) {
fs/xfs/xfs_inode.c
250
up_write(&VFS_I(ip)->i_rwsem);
fs/xfs/xfs_inode.c
252
up_read(&VFS_I(ip)->i_rwsem);
fs/xfs/xfs_inode.c
255
up_write(&VFS_I(ip)->i_mapping->invalidate_lock);
fs/xfs/xfs_inode.c
257
up_read(&VFS_I(ip)->i_mapping->invalidate_lock);
fs/xfs/xfs_inode.c
2663
iput(VFS_I(ip));
fs/xfs/xfs_inode.c
2756
error = xfs_break_dax_layouts(VFS_I(ip1));
fs/xfs/xfs_inode.c
2772
error = dax_break_layout(VFS_I(ip2), 0, -1, NULL);
fs/xfs/xfs_inode.c
2793
ret = xfs_iolock_two_inodes_and_break_layout(VFS_I(ip1), VFS_I(ip2));
fs/xfs/xfs_inode.c
2797
if (IS_DAX(VFS_I(ip1)) && IS_DAX(VFS_I(ip2))) {
fs/xfs/xfs_inode.c
2800
inode_unlock(VFS_I(ip2));
fs/xfs/xfs_inode.c
2802
inode_unlock(VFS_I(ip1));
fs/xfs/xfs_inode.c
2806
filemap_invalidate_lock_two(VFS_I(ip1)->i_mapping,
fs/xfs/xfs_inode.c
2807
VFS_I(ip2)->i_mapping);
fs/xfs/xfs_inode.c
2818
if (IS_DAX(VFS_I(ip1)) && IS_DAX(VFS_I(ip2))) {
fs/xfs/xfs_inode.c
2823
filemap_invalidate_unlock_two(VFS_I(ip1)->i_mapping,
fs/xfs/xfs_inode.c
2824
VFS_I(ip2)->i_mapping);
fs/xfs/xfs_inode.c
2826
inode_unlock(VFS_I(ip2));
fs/xfs/xfs_inode.c
2828
inode_unlock(VFS_I(ip1));
fs/xfs/xfs_inode.c
283
downgrade_write(&VFS_I(ip)->i_mapping->invalidate_lock);
fs/xfs/xfs_inode.c
2844
inode_unlock_shared(VFS_I(ip1));
fs/xfs/xfs_inode.c
2845
inode_unlock(VFS_I(ip2));
fs/xfs/xfs_inode.c
285
downgrade_write(&VFS_I(ip)->i_rwsem);
fs/xfs/xfs_inode.c
305
rwsem_assert_held(&VFS_I(ip)->i_mapping->invalidate_lock);
fs/xfs/xfs_inode.c
307
rwsem_assert_held_write(&VFS_I(ip)->i_mapping->invalidate_lock);
fs/xfs/xfs_inode.c
310
rwsem_assert_held(&VFS_I(ip)->i_rwsem);
fs/xfs/xfs_inode.c
312
rwsem_assert_held_write(&VFS_I(ip)->i_rwsem);
fs/xfs/xfs_inode.c
623
struct inode *dir = VFS_I(args->pip);
fs/xfs/xfs_inode.c
900
if (!special_file(VFS_I(sip)->i_mode) ||
fs/xfs/xfs_inode.c
927
ASSERT(!S_ISDIR(VFS_I(sip)->i_mode));
fs/xfs/xfs_inode.h
194
if (S_ISREG(VFS_I(ip)->i_mode))
fs/xfs/xfs_inode.h
195
return i_size_read(VFS_I(ip));
fs/xfs/xfs_inode.h
206
xfs_fsize_t i_size = i_size_read(VFS_I(ip));
fs/xfs/xfs_inode.h
554
(xfs_has_grpid((pip)->i_mount) || (VFS_I(pip)->i_mode & S_ISGID))
fs/xfs/xfs_inode.h
614
mapping_set_stable_writes(VFS_I(ip)->i_mapping);
fs/xfs/xfs_inode.h
616
mapping_clear_stable_writes(VFS_I(ip)->i_mapping);
fs/xfs/xfs_inode.h
630
unlock_new_inode(VFS_I(ip));
fs/xfs/xfs_inode_item.c
107
struct inode *inode = VFS_I(ip);
fs/xfs/xfs_inode_item.c
407
ilf->ilf_u.ilfu_rdev = sysv_encode_dev(VFS_I(ip)->i_rdev);
fs/xfs/xfs_inode_item.c
556
struct inode *inode = VFS_I(ip);
fs/xfs/xfs_ioctl.c
544
if (IS_DAX(VFS_I(ip)) &&
fs/xfs/xfs_ioctl.c
572
if (rtflag != XFS_IS_REALTIME_INODE(ip) && S_ISREG(VFS_I(ip)->i_mode))
fs/xfs/xfs_ioctl.c
587
struct inode *inode = VFS_I(ip);
fs/xfs/xfs_ioctl.c
653
if (S_ISREG(VFS_I(ip)->i_mode) && xfs_inode_has_filedata(ip) &&
fs/xfs/xfs_ioctl.c
679
VFS_I(ip)->i_mode, new_diflags);
fs/xfs/xfs_ioctl.c
704
VFS_I(ip)->i_mode, new_diflags, new_diflags2);
fs/xfs/xfs_ioctl.c
758
error = xfs_qm_vop_dqalloc(ip, VFS_I(ip)->i_uid,
fs/xfs/xfs_ioctl.c
759
VFS_I(ip)->i_gid, fa->fsx_projid,
fs/xfs/xfs_ioctl.c
795
if ((VFS_I(ip)->i_mode & (S_ISUID|S_ISGID)) &&
fs/xfs/xfs_ioctl.c
796
!capable_wrt_inode_uidgid(idmap, VFS_I(ip), CAP_FSETID))
fs/xfs/xfs_ioctl.c
797
VFS_I(ip)->i_mode &= ~(S_ISUID|S_ISGID);
fs/xfs/xfs_iomap.c
2283
struct inode *inode = VFS_I(ip);
fs/xfs/xfs_iomap.c
2302
struct inode *inode = VFS_I(ip);
fs/xfs/xfs_iomap.c
623
struct inode *inode = VFS_I(ip);
fs/xfs/xfs_iops.c
1038
error = filemap_write_and_wait_range(VFS_I(ip)->i_mapping,
fs/xfs/xfs_iops.c
1369
if (!S_ISREG(VFS_I(ip)->i_mode))
fs/xfs/xfs_iops.c
1402
struct inode *inode = VFS_I(ip);
fs/xfs/xfs_iops.c
232
inode = VFS_I(ip);
fs/xfs/xfs_iops.c
329
inode = VFS_I(cip);
fs/xfs/xfs_iops.c
367
return d_splice_alias(VFS_I(ip), dentry);
fs/xfs/xfs_iops.c
372
dentry = d_add_ci(dentry, VFS_I(ip), &dname);
fs/xfs/xfs_iops.c
448
inode = VFS_I(cip);
fs/xfs/xfs_iops.c
787
struct inode *inode = VFS_I(ip);
fs/xfs/xfs_iops.c
916
struct inode *inode = VFS_I(ip);
fs/xfs/xfs_itable.c
101
inode = VFS_I(ip);
fs/xfs/xfs_log_recover.c
1760
if (VFS_I(*ipp)->i_nlink == 0)
fs/xfs/xfs_log_recover.c
1788
if (VFS_I(ip)->i_generation != gen) {
fs/xfs/xfs_log_recover.c
2739
ASSERT(VFS_I(ip)->i_nlink == 0);
fs/xfs/xfs_log_recover.c
2740
ASSERT(VFS_I(ip)->i_mode != 0);
fs/xfs/xfs_mount.c
1084
if (XFS_IS_CORRUPT(mp, !S_ISDIR(VFS_I(rip)->i_mode))) {
fs/xfs/xfs_notify_failure.c
107
mapping = VFS_I(ip)->i_mapping;
fs/xfs/xfs_notify_failure.c
121
fserror_report_data_lost(VFS_I(ip), (u64)pgoff << PAGE_SHIFT,
fs/xfs/xfs_pnfs.c
94
VFS_I(ip)->i_mode &= ~S_ISUID;
fs/xfs/xfs_pnfs.c
95
if (VFS_I(ip)->i_mode & S_IXGRP)
fs/xfs/xfs_pnfs.c
96
VFS_I(ip)->i_mode &= ~S_ISGID;
fs/xfs/xfs_qm.c
1858
struct inode *inode = VFS_I(ip);
fs/xfs/xfs_qm.c
2074
ASSERT(i_uid_read(VFS_I(ip)) == udqp->q_id);
fs/xfs/xfs_qm.c
2080
ASSERT(i_gid_read(VFS_I(ip)) == gdqp->q_id);
fs/xfs/xfs_reflink.c
1242
if (newlen <= i_size_read(VFS_I(dest)) && cowextsize == 0)
fs/xfs/xfs_reflink.c
1252
if (newlen > i_size_read(VFS_I(dest))) {
fs/xfs/xfs_reflink.c
1254
i_size_write(VFS_I(dest), newlen);
fs/xfs/xfs_reflink.c
1504
if (newlen > i_size_read(VFS_I(ip))) {
fs/xfs/xfs_reflink.c
1506
i_size_write(VFS_I(ip), newlen);
fs/xfs/xfs_reflink.c
1613
loff_t isize = i_size_read(VFS_I(ip));
fs/xfs/xfs_reflink.c
1869
struct inode *inode = VFS_I(ip);
fs/xfs/xfs_reflink.h
18
struct inode *inode = VFS_I(ip);
fs/xfs/xfs_rtalloc.c
1006
i_size_write(VFS_I(rsumip), rsumip->i_disk_size);
fs/xfs/xfs_rtalloc.c
1760
ts = inode_get_atime(VFS_I(rbmip));
fs/xfs/xfs_rtalloc.c
1778
inode_set_atime_to_ts(VFS_I(rbmip), ts);
fs/xfs/xfs_rtalloc.c
997
i_size_write(VFS_I(rbmip), rbmip->i_disk_size);
fs/xfs/xfs_super.c
1942
root = igrab(VFS_I(mp->m_rootip));
fs/xfs/xfs_super.c
737
inode_init_once(VFS_I(ip));
fs/xfs/xfs_symlink.c
194
i_size_write(VFS_I(du.ip), du.ip->i_disk_size);
fs/xfs/xfs_symlink.c
291
VFS_I(ip)->i_mode = (VFS_I(ip)->i_mode & ~S_IFMT) | S_IFREG;
fs/xfs/xfs_trace.h
1021
__entry->dev = VFS_I(ip)->i_sb->s_dev;
fs/xfs/xfs_trace.h
1052
__entry->dev = VFS_I(ip)->i_sb->s_dev;
fs/xfs/xfs_trace.h
1128
__entry->dev = VFS_I(ip)->i_sb->s_dev;
fs/xfs/xfs_trace.h
1157
__entry->dev = VFS_I(ip)->i_sb->s_dev;
fs/xfs/xfs_trace.h
1159
__entry->count = icount_read(VFS_I(ip));
fs/xfs/xfs_trace.h
1185
__entry->dev = VFS_I(ip)->i_sb->s_dev;
fs/xfs/xfs_trace.h
1272
__entry->dev = VFS_I(dp)->i_sb->s_dev;
fs/xfs/xfs_trace.h
1308
__entry->dev = VFS_I(src_dp)->i_sb->s_dev;
fs/xfs/xfs_trace.h
134
__entry->dev = VFS_I(ctx->dp)->i_sb->s_dev;
fs/xfs/xfs_trace.h
1796
__entry->dev = VFS_I(ip)->i_sb->s_dev;
fs/xfs/xfs_trace.h
1824
__entry->dev = VFS_I(ip)->i_sb->s_dev;
fs/xfs/xfs_trace.h
1869
__entry->dev = VFS_I(ip)->i_sb->s_dev;
fs/xfs/xfs_trace.h
1871
__entry->isize = VFS_I(ip)->i_size;
fs/xfs/xfs_trace.h
1908
__entry->dev = VFS_I(ip)->i_sb->s_dev;
fs/xfs/xfs_trace.h
1941
__entry->dev = VFS_I(ip)->i_sb->s_dev;
fs/xfs/xfs_trace.h
2344
__entry->dev = VFS_I(args->dp)->i_sb->s_dev;
fs/xfs/xfs_trace.h
2411
__entry->dev = VFS_I(args->dp)->i_sb->s_dev;
fs/xfs/xfs_trace.h
2511
__entry->dev = VFS_I(args->dp)->i_sb->s_dev;
fs/xfs/xfs_trace.h
2544
__entry->dev = VFS_I(args->dp)->i_sb->s_dev;
fs/xfs/xfs_trace.h
2585
__entry->dev = VFS_I(ip)->i_sb->s_dev;
fs/xfs/xfs_trace.h
3974
__entry->dev = VFS_I(ip)->i_sb->s_dev;
fs/xfs/xfs_trace.h
4012
__entry->dev = VFS_I(src)->i_sb->s_dev;
fs/xfs/xfs_trace.h
4014
__entry->src_isize = VFS_I(src)->i_size;
fs/xfs/xfs_trace.h
4019
__entry->dest_isize = VFS_I(dest)->i_size;
fs/xfs/xfs_trace.h
4057
__entry->dev = VFS_I(ip)->i_sb->s_dev;
fs/xfs/xfs_trace.h
4093
__entry->dev = VFS_I(ip)->i_sb->s_dev;
fs/xfs/xfs_trace.h
4136
__entry->dev = VFS_I(ip)->i_sb->s_dev;
fs/xfs/xfs_trace.h
4183
__entry->dev = VFS_I(src)->i_sb->s_dev;
fs/xfs/xfs_trace.h
4572
__entry->dev = VFS_I(ip)->i_sb->s_dev;
fs/xfs/xfs_trace.h
5295
__entry->dev = VFS_I(ip)->i_sb->s_dev;
fs/xfs/xfs_trace.h
5349
__entry->dev = VFS_I(ip1)->i_sb->s_dev;
fs/xfs/xfs_trace.h
5351
__entry->ip1_isize = VFS_I(ip1)->i_size;
fs/xfs/xfs_trace.h
5354
__entry->ip2_isize = VFS_I(ip2)->i_size;
fs/xfs/xfs_trace.h
5406
struct inode *inode2 = VFS_I(ip2);
fs/xfs/xfs_trace.h
5810
__entry->dev = VFS_I(dp)->i_sb->s_dev;
fs/xfs/xfs_trace.h
634
__entry->dev = VFS_I(ctx->dp)->i_sb->s_dev;
fs/xfs/xfs_trace.h
688
__entry->dev = VFS_I(ip)->i_sb->s_dev;
fs/xfs/xfs_verify_media.c
79
fserror_report_data_lost(VFS_I(ip), XFS_FSB_TO_B(mp, fileoff),
fs/xfs/xfs_zone_alloc.c
634
return VFS_I(ip)->i_write_hint;
fs/xfs/xfs_zone_alloc.c
654
if (i_size_read(VFS_I(ip)) >= zone_capacity)
fs/xfs/xfs_zone_alloc.c
657
return !inode_is_open_for_write(VFS_I(ip)) &&
fs/xfs/xfs_zone_alloc.c
791
oz = VFS_I(ip)->i_private;
fs/xfs/xfs_zone_alloc.c
826
old_oz = xchg(&VFS_I(ip)->i_private, oz);
fs/xfs/xfs_zone_gc.c
400
if (!S_ISREG(VFS_I(*ipp)->i_mode) || !XFS_IS_REALTIME_INODE(*ipp)) {
fs/xfs/xfs_zone_gc.c
778
ihold(VFS_I(chunk->ip));
fs/xfs/xfs_zone_gc.c
859
error = xfs_break_layouts(VFS_I(ip), &iolock, BREAK_UNMAP);
fs/xfs/xfs_zone_gc.c
861
inode_dio_wait(VFS_I(ip));