Lines Matching refs:dip
611 xfs_dinode_t *dip) in xfs_dic2xflags() argument
613 return _xfs_dic2xflags(be16_to_cpu(dip->di_flags)) | in xfs_dic2xflags()
614 (XFS_DFORK_Q(dip) ? XFS_XFLAG_HASATTR : 0); in xfs_dic2xflags()
1986 xfs_dinode_t *dip; in xfs_iunlink() local
2025 error = xfs_imap_to_bp(mp, tp, &ip->i_imap, &dip, &ibp, in xfs_iunlink()
2030 ASSERT(dip->di_next_unlinked == cpu_to_be32(NULLAGINO)); in xfs_iunlink()
2031 dip->di_next_unlinked = agi->agi_unlinked[bucket_index]; in xfs_iunlink()
2036 xfs_dinode_calc_crc(mp, dip); in xfs_iunlink()
2068 xfs_dinode_t *dip; in xfs_iunlink_remove() local
2111 error = xfs_imap_to_bp(mp, tp, &ip->i_imap, &dip, &ibp, in xfs_iunlink_remove()
2118 next_agino = be32_to_cpu(dip->di_next_unlinked); in xfs_iunlink_remove()
2121 dip->di_next_unlinked = cpu_to_be32(NULLAGINO); in xfs_iunlink_remove()
2126 xfs_dinode_calc_crc(mp, dip); in xfs_iunlink_remove()
2188 error = xfs_imap_to_bp(mp, tp, &ip->i_imap, &dip, &ibp, in xfs_iunlink_remove()
2195 next_agino = be32_to_cpu(dip->di_next_unlinked); in xfs_iunlink_remove()
2199 dip->di_next_unlinked = cpu_to_be32(NULLAGINO); in xfs_iunlink_remove()
2204 xfs_dinode_calc_crc(mp, dip); in xfs_iunlink_remove()
3363 struct xfs_dinode *dip; in xfs_iflush() local
3412 error = xfs_imap_to_bp(mp, NULL, &ip->i_imap, &dip, &bp, XBF_TRYLOCK, in xfs_iflush()
3466 struct xfs_dinode *dip; in xfs_iflush_int() local
3477 dip = (xfs_dinode_t *)xfs_buf_offset(bp, ip->i_imap.im_boffset); in xfs_iflush_int()
3479 if (XFS_TEST_ERROR(dip->di_magic != cpu_to_be16(XFS_DINODE_MAGIC), in xfs_iflush_int()
3483 __func__, ip->i_ino, be16_to_cpu(dip->di_magic), dip); in xfs_iflush_int()
3552 xfs_dinode_to_disk(dip, &ip->i_d); in xfs_iflush_int()
3558 xfs_iflush_fork(ip, dip, iip, XFS_DATA_FORK); in xfs_iflush_int()
3560 xfs_iflush_fork(ip, dip, iip, XFS_ATTR_FORK); in xfs_iflush_int()
3605 dip->di_lsn = cpu_to_be64(iip->ili_item.li_lsn); in xfs_iflush_int()
3608 xfs_dinode_calc_crc(mp, dip); in xfs_iflush_int()