Searched refs:di_forkoff (Results 1 – 11 of 11) sorted by relevance
/kernel/linux/linux-5.10/fs/xfs/libxfs/ |
D | xfs_inode_buf.c | 251 to->di_forkoff = from->di_forkoff; in xfs_inode_from_disk() 267 if (from->di_forkoff) { in xfs_inode_from_disk() 331 to->di_forkoff = from->di_forkoff; in xfs_inode_to_disk() 417 if (!dip->di_forkoff) in xfs_dinode_verify_forkoff() 422 if (dip->di_forkoff != (roundup(sizeof(xfs_dev_t), 8) >> 3)) in xfs_dinode_verify_forkoff() 428 if (dip->di_forkoff >= (XFS_LITINO(mp) >> 3)) in xfs_dinode_verify_forkoff() 520 if (dip->di_forkoff) { in xfs_dinode_verify()
|
D | xfs_inode_fork.h | 41 #define XFS_IFORK_Q(ip) ((ip)->i_d.di_forkoff != 0) 42 #define XFS_IFORK_BOFF(ip) ((int)((ip)->i_d.di_forkoff << 3))
|
D | xfs_inode_buf.h | 24 uint8_t di_forkoff; /* attr fork offs, <<3 for 64b align */ member
|
D | xfs_format.h | 980 __u8 di_forkoff; /* attr fork offs, <<3 for 64b align */ member 1069 #define XFS_DFORK_BOFF(dip) ((int)((dip)->di_forkoff << 3)) 1072 ((dip)->di_forkoff ? XFS_DFORK_BOFF(dip) : XFS_LITINO(mp)) 1074 ((dip)->di_forkoff ? XFS_LITINO(mp) - XFS_DFORK_BOFF(dip) : 0)
|
D | xfs_attr_leaf.c | 563 return dp->i_d.di_forkoff; in xfs_attr_shortform_bytesfit() 584 if (!dp->i_d.di_forkoff && dp->i_df.if_bytes > in xfs_attr_shortform_bytesfit() 595 if (dp->i_d.di_forkoff) { in xfs_attr_shortform_bytesfit() 596 if (offset < dp->i_d.di_forkoff) in xfs_attr_shortform_bytesfit() 598 return dp->i_d.di_forkoff; in xfs_attr_shortform_bytesfit() 733 dp->i_d.di_forkoff = forkoff; in xfs_attr_shortform_add() 773 ip->i_d.di_forkoff = 0; in xfs_attr_fork_remove() 824 dp->i_d.di_forkoff = xfs_attr_shortform_bytesfit(dp, totsize); in xfs_attr_shortform_remove() 825 ASSERT(dp->i_d.di_forkoff); in xfs_attr_shortform_remove()
|
D | xfs_log_format.h | 404 uint8_t di_forkoff; /* attr fork offs, <<3 for 64b align */ member
|
D | xfs_bmap.c | 222 if (dfl_forkoff > ip->i_d.di_forkoff) in xfs_bmap_forkoff_reset() 223 ip->i_d.di_forkoff = dfl_forkoff; in xfs_bmap_forkoff_reset() 1039 ip->i_d.di_forkoff = roundup(sizeof(xfs_dev_t), 8) >> 3; in xfs_bmap_set_attrforkoff() 1044 ip->i_d.di_forkoff = xfs_attr_shortform_bytesfit(ip, size); in xfs_bmap_set_attrforkoff() 1045 if (!ip->i_d.di_forkoff) in xfs_bmap_set_attrforkoff() 1046 ip->i_d.di_forkoff = xfs_default_attroffset(ip) >> 3; in xfs_bmap_set_attrforkoff()
|
/kernel/linux/linux-5.10/fs/xfs/ |
D | xfs_inode_item_recover.c | 172 to->di_forkoff = from->di_forkoff; in xfs_log_dinode_to_disk() 358 if (unlikely(ldip->di_forkoff > mp->m_sb.sb_inodesize)) { in xlog_recover_inode_commit_pass2() 365 item, dip, bp, in_f->ilf_ino, ldip->di_forkoff); in xlog_recover_inode_commit_pass2()
|
D | xfs_inode_item.c | 364 to->di_forkoff = from->di_forkoff; in xfs_inode_to_log_dinode()
|
D | xfs_inode.c | 1874 ASSERT(ip->i_d.di_forkoff == 0); in xfs_inactive() 2724 ip->i_d.di_forkoff = 0; /* mark the attr fork not in use */ in xfs_ifree() 3508 if (XFS_TEST_ERROR(ip->i_d.di_forkoff > mp->m_sb.sb_inodesize, in xfs_iflush() 3512 __func__, ip->i_ino, ip->i_d.di_forkoff, ip); in xfs_iflush()
|
/kernel/linux/linux-5.10/fs/xfs/scrub/ |
D | inode.c | 392 if (dip->di_anextents != 0 && dip->di_forkoff == 0) in xchk_dinode() 394 if (dip->di_forkoff == 0 && dip->di_aformat != XFS_DINODE_FMT_EXTENTS) in xchk_dinode()
|