• Home
  • Raw
  • Download

Lines Matching refs:dp

49 	struct xfs_inode	*dp,  in xfs_attr3_leaf_freextent()  argument
73 error = xfs_bmapi_read(dp, (xfs_fileoff_t)tblkno, tblkcnt, in xfs_attr3_leaf_freextent()
87 dblkno = XFS_FSB_TO_DADDR(dp->i_mount, in xfs_attr3_leaf_freextent()
89 dblkcnt = XFS_FSB_TO_BB(dp->i_mount, in xfs_attr3_leaf_freextent()
92 dp->i_mount->m_ddev_targp, in xfs_attr3_leaf_freextent()
100 error = xfs_trans_roll_inode(trans, dp); in xfs_attr3_leaf_freextent()
121 struct xfs_inode *dp, in xfs_attr3_leaf_inactive() argument
179 lp->valuelen = xfs_attr3_rmt_blocks(dp->i_mount, in xfs_attr3_leaf_inactive()
192 tmp = xfs_attr3_leaf_freextent(trans, dp, in xfs_attr3_leaf_inactive()
210 struct xfs_inode *dp, in xfs_attr3_node_inactive() argument
232 dp->d_ops->node_hdr_from_disk(&ichdr, node); in xfs_attr3_node_inactive()
238 btree = dp->d_ops->node_tree_p(node); in xfs_attr3_node_inactive()
254 error = xfs_da3_node_read(*trans, dp, child_fsb, -2, &child_bp, in xfs_attr3_node_inactive()
269 error = xfs_attr3_node_inactive(trans, dp, in xfs_attr3_node_inactive()
274 error = xfs_attr3_leaf_inactive(trans, dp, in xfs_attr3_node_inactive()
289 error = xfs_da_get_buf(*trans, dp, 0, child_blkno, in xfs_attr3_node_inactive()
301 error = xfs_da3_node_read(*trans, dp, 0, parent_blkno, in xfs_attr3_node_inactive()
306 btree = dp->d_ops->node_tree_p(node); in xfs_attr3_node_inactive()
313 error = xfs_trans_roll_inode(trans, dp); in xfs_attr3_node_inactive()
330 struct xfs_inode *dp) in xfs_attr3_root_inactive() argument
343 error = xfs_da3_node_read(*trans, dp, 0, -1, &bp, XFS_ATTR_FORK); in xfs_attr3_root_inactive()
356 error = xfs_attr3_node_inactive(trans, dp, bp, 1); in xfs_attr3_root_inactive()
360 error = xfs_attr3_leaf_inactive(trans, dp, bp); in xfs_attr3_root_inactive()
373 error = xfs_da_get_buf(*trans, dp, 0, blkno, &bp, XFS_ATTR_FORK); in xfs_attr3_root_inactive()
380 error = xfs_trans_roll_inode(trans, dp); in xfs_attr3_root_inactive()
395 struct xfs_inode *dp) in xfs_attr_inactive() argument
402 mp = dp->i_mount; in xfs_attr_inactive()
403 ASSERT(! XFS_NOT_DQATTACHED(mp, dp)); in xfs_attr_inactive()
405 xfs_ilock(dp, lock_mode); in xfs_attr_inactive()
406 if (!XFS_IFORK_Q(dp)) in xfs_attr_inactive()
408 xfs_iunlock(dp, lock_mode); in xfs_attr_inactive()
417 xfs_ilock(dp, lock_mode); in xfs_attr_inactive()
419 if (!XFS_IFORK_Q(dp)) in xfs_attr_inactive()
426 xfs_trans_ijoin(trans, dp, 0); in xfs_attr_inactive()
434 if (xfs_inode_hasattr(dp) && in xfs_attr_inactive()
435 dp->i_d.di_aformat != XFS_DINODE_FMT_LOCAL) { in xfs_attr_inactive()
436 error = xfs_attr3_root_inactive(&trans, dp); in xfs_attr_inactive()
440 error = xfs_itruncate_extents(&trans, dp, XFS_ATTR_FORK, 0); in xfs_attr_inactive()
446 xfs_attr_fork_remove(dp, trans); in xfs_attr_inactive()
449 xfs_iunlock(dp, lock_mode); in xfs_attr_inactive()
456 if (dp->i_afp) in xfs_attr_inactive()
457 xfs_idestroy_fork(dp, XFS_ATTR_FORK); in xfs_attr_inactive()
459 xfs_iunlock(dp, lock_mode); in xfs_attr_inactive()