Home
last modified time | relevance | path

Searched refs:di_forkoff (Results 1 – 9 of 9) sorted by relevance

/linux-4.1.27/fs/xfs/libxfs/
Dxfs_inode_fork.h89 #define XFS_IFORK_Q(ip) ((ip)->i_d.di_forkoff != 0)
90 #define XFS_IFORK_BOFF(ip) ((int)((ip)->i_d.di_forkoff << 3))
Dxfs_inode_buf.c225 to->di_forkoff = from->di_forkoff; in xfs_dinode_from_disk()
271 to->di_forkoff = from->di_forkoff; in xfs_dinode_to_disk()
Dxfs_attr_leaf.c410 return dp->i_d.di_forkoff; in xfs_attr_shortform_bytesfit()
431 if (!dp->i_d.di_forkoff && dp->i_df.if_bytes > in xfs_attr_shortform_bytesfit()
442 if (dp->i_d.di_forkoff) { in xfs_attr_shortform_bytesfit()
443 if (offset < dp->i_d.di_forkoff) in xfs_attr_shortform_bytesfit()
445 return dp->i_d.di_forkoff; in xfs_attr_shortform_bytesfit()
537 dp->i_d.di_forkoff = forkoff; in xfs_attr_shortform_add()
583 ip->i_d.di_forkoff = 0; in xfs_attr_fork_remove()
647 dp->i_d.di_forkoff = xfs_attr_shortform_bytesfit(dp, totsize); in xfs_attr_shortform_remove()
648 ASSERT(dp->i_d.di_forkoff); in xfs_attr_shortform_remove()
Dxfs_format.h841 __u8 di_forkoff; /* attr fork offs, <<3 for 64b align */ member
917 #define XFS_DFORK_Q(dip) ((dip)->di_forkoff != 0)
918 #define XFS_DFORK_BOFF(dip) ((int)((dip)->di_forkoff << 3))
Dxfs_log_format.h387 __uint8_t di_forkoff; /* attr fork offs, <<3 for 64b align */ member
Dxfs_bmap.c242 if (dfl_forkoff > ip->i_d.di_forkoff) in xfs_bmap_forkoff_reset()
243 ip->i_d.di_forkoff = dfl_forkoff; in xfs_bmap_forkoff_reset()
1154 ip->i_d.di_forkoff = roundup(sizeof(xfs_dev_t), 8) >> 3; in xfs_bmap_add_attrfork()
1157 ip->i_d.di_forkoff = roundup(sizeof(uuid_t), 8) >> 3; in xfs_bmap_add_attrfork()
1162 ip->i_d.di_forkoff = xfs_attr_shortform_bytesfit(ip, size); in xfs_bmap_add_attrfork()
1163 if (!ip->i_d.di_forkoff) in xfs_bmap_add_attrfork()
1164 ip->i_d.di_forkoff = xfs_default_attroffset(ip) >> 3; in xfs_bmap_add_attrfork()
Dxfs_inode_fork.c104 if (unlikely(dip->di_forkoff > ip->i_mount->m_sb.sb_inodesize)) { in xfs_iformat_fork()
107 dip->di_forkoff); in xfs_iformat_fork()
/linux-4.1.27/fs/xfs/
Dxfs_inode.c1959 ASSERT(ip->i_d.di_forkoff == 0); in xfs_inactive()
2441 ip->i_d.di_forkoff = 0; /* mark the attr fork not in use */ in xfs_ifree()
3526 if (XFS_TEST_ERROR(ip->i_d.di_forkoff > mp->m_sb.sb_inodesize, in xfs_iflush_int()
3530 __func__, ip->i_ino, ip->i_d.di_forkoff, ip); in xfs_iflush_int()
Dxfs_log_recover.c2662 if (unlikely(dicp->di_forkoff > mp->m_sb.sb_inodesize)) { in xlog_recover_inode_pass2()
2668 item, dip, bp, in_f->ilf_ino, dicp->di_forkoff); in xlog_recover_inode_pass2()