Lines Matching full:gp
715 struct xfs_getparents *gp = &gpx->gph.gph_request; in xfs_getparents_put_listent() local
750 trace_xfs_getparents_put_listent(ip, gp, context, gpr); in xfs_getparents_put_listent()
762 struct xfs_getparents *gp = &gpx->gph.gph_request; in xfs_getparents_expand_lastrec() local
768 gpr->gpr_reclen = gp->gp_bufsize - ((void *)gpr - gpx->krecords); in xfs_getparents_expand_lastrec()
770 trace_xfs_getparents_expand_lastrec(gpx->ip, gp, &gpx->context, gpr); in xfs_getparents_expand_lastrec()
778 struct xfs_getparents *gp = &gpx->gph.gph_request; in xfs_getparents() local
785 if (gp->gp_bufsize > XFS_XATTR_LIST_MAX) in xfs_getparents()
787 if (gp->gp_bufsize < xfs_getparents_rec_sizeof(1)) in xfs_getparents()
790 if (gp->gp_iflags & ~XFS_GETPARENTS_IFLAGS_ALL) in xfs_getparents()
792 if (gp->gp_reserved) in xfs_getparents()
795 bufsize = round_down(gp->gp_bufsize, sizeof(uint64_t)); in xfs_getparents()
812 memcpy(&gpx->context.cursor, &gp->gp_cursor, in xfs_getparents()
815 gp->gp_oflags = 0; in xfs_getparents()
817 trace_xfs_getparents_begin(ip, gp, &gpx->context.cursor); in xfs_getparents()
829 memcpy(&gp->gp_cursor, &gpx->context.cursor, in xfs_getparents()
834 gp->gp_oflags |= XFS_GETPARENTS_OFLAG_ROOT; in xfs_getparents()
841 gp->gp_oflags |= XFS_GETPARENTS_OFLAG_DONE; in xfs_getparents()
852 trace_xfs_getparents_end(ip, gp, &gpx->context.cursor); in xfs_getparents()