• Home
  • Raw
  • Download

Lines Matching refs:dp

56 	struct xfs_inode		*dp = context->dp;  in xfs_attr_shortform_list()  local
63 ASSERT(dp->i_afp != NULL); in xfs_attr_shortform_list()
64 sf = (struct xfs_attr_shortform *)dp->i_afp->if_u1.if_data; in xfs_attr_shortform_list()
82 (dp->i_afp->if_bytes + sf->hdr.count * 16) < context->bufsize)) { in xfs_attr_shortform_list()
84 if (XFS_IS_CORRUPT(context->dp->i_mount, in xfs_attr_shortform_list()
123 ((char *)sfe >= ((char *)sf + dp->i_afp->if_bytes)))) { in xfs_attr_shortform_list()
126 context->dp->i_mount, sfe, in xfs_attr_shortform_list()
176 if (XFS_IS_CORRUPT(context->dp->i_mount, in xfs_attr_shortform_list()
209 struct xfs_inode *dp = context->dp; in xfs_attr_node_list_lookup() local
210 struct xfs_mount *mp = dp->i_mount; in xfs_attr_node_list_lookup()
221 error = xfs_da3_node_read(tp, dp, cursor->blkno, &bp, in xfs_attr_node_list_lookup()
291 struct xfs_inode *dp = context->dp; in xfs_attr_node_list() local
292 struct xfs_mount *mp = dp->i_mount; in xfs_attr_node_list()
306 error = xfs_da3_node_read(context->tp, dp, cursor->blkno, &bp, in xfs_attr_node_list()
374 error = xfs_attr3_leaf_read(context->tp, dp, cursor->blkno, in xfs_attr_node_list()
397 struct xfs_mount *mp = context->dp->i_mount; in xfs_attr3_leaf_list_int()
467 if (XFS_IS_CORRUPT(context->dp->i_mount, in xfs_attr3_leaf_list_int()
493 error = xfs_attr3_leaf_read(context->tp, context->dp, 0, &bp); in xfs_attr_leaf_list()
506 struct xfs_inode *dp = context->dp; in xfs_attr_list_ilocked() local
508 ASSERT(xfs_isilocked(dp, XFS_ILOCK_SHARED | XFS_ILOCK_EXCL)); in xfs_attr_list_ilocked()
513 if (!xfs_inode_hasattr(dp)) in xfs_attr_list_ilocked()
515 if (dp->i_afp->if_format == XFS_DINODE_FMT_LOCAL) in xfs_attr_list_ilocked()
517 if (xfs_bmap_one_block(dp, XFS_ATTR_FORK)) in xfs_attr_list_ilocked()
526 struct xfs_inode *dp = context->dp; in xfs_attr_list() local
530 XFS_STATS_INC(dp->i_mount, xs_attr_list); in xfs_attr_list()
532 if (XFS_FORCED_SHUTDOWN(dp->i_mount)) in xfs_attr_list()
535 lock_mode = xfs_ilock_attr_map_shared(dp); in xfs_attr_list()
537 xfs_iunlock(dp, lock_mode); in xfs_attr_list()