Lines Matching refs:nargs
810 struct xfs_da_args nargs; in xfs_attr_shortform_to_leaf() local
841 memset((char *)&nargs, 0, sizeof(nargs)); in xfs_attr_shortform_to_leaf()
842 nargs.dp = dp; in xfs_attr_shortform_to_leaf()
843 nargs.geo = args->geo; in xfs_attr_shortform_to_leaf()
844 nargs.total = args->total; in xfs_attr_shortform_to_leaf()
845 nargs.whichfork = XFS_ATTR_FORK; in xfs_attr_shortform_to_leaf()
846 nargs.trans = args->trans; in xfs_attr_shortform_to_leaf()
847 nargs.op_flags = XFS_DA_OP_OKNOENT; in xfs_attr_shortform_to_leaf()
851 nargs.name = sfe->nameval; in xfs_attr_shortform_to_leaf()
852 nargs.namelen = sfe->namelen; in xfs_attr_shortform_to_leaf()
853 nargs.value = &sfe->nameval[nargs.namelen]; in xfs_attr_shortform_to_leaf()
854 nargs.valuelen = sfe->valuelen; in xfs_attr_shortform_to_leaf()
855 nargs.hashval = xfs_da_hashname(sfe->nameval, in xfs_attr_shortform_to_leaf()
857 nargs.flags = XFS_ATTR_NSP_ONDISK_TO_ARGS(sfe->flags); in xfs_attr_shortform_to_leaf()
858 error = xfs_attr3_leaf_lookup_int(bp, &nargs); /* set a->index */ in xfs_attr_shortform_to_leaf()
860 error = xfs_attr3_leaf_add(bp, &nargs); in xfs_attr_shortform_to_leaf()
1003 struct xfs_da_args nargs; in xfs_attr3_leaf_to_shortform() local
1043 memset((char *)&nargs, 0, sizeof(nargs)); in xfs_attr3_leaf_to_shortform()
1044 nargs.geo = args->geo; in xfs_attr3_leaf_to_shortform()
1045 nargs.dp = dp; in xfs_attr3_leaf_to_shortform()
1046 nargs.total = args->total; in xfs_attr3_leaf_to_shortform()
1047 nargs.whichfork = XFS_ATTR_FORK; in xfs_attr3_leaf_to_shortform()
1048 nargs.trans = args->trans; in xfs_attr3_leaf_to_shortform()
1049 nargs.op_flags = XFS_DA_OP_OKNOENT; in xfs_attr3_leaf_to_shortform()
1058 nargs.name = name_loc->nameval; in xfs_attr3_leaf_to_shortform()
1059 nargs.namelen = name_loc->namelen; in xfs_attr3_leaf_to_shortform()
1060 nargs.value = &name_loc->nameval[nargs.namelen]; in xfs_attr3_leaf_to_shortform()
1061 nargs.valuelen = be16_to_cpu(name_loc->valuelen); in xfs_attr3_leaf_to_shortform()
1062 nargs.hashval = be32_to_cpu(entry->hashval); in xfs_attr3_leaf_to_shortform()
1063 nargs.flags = XFS_ATTR_NSP_ONDISK_TO_ARGS(entry->flags); in xfs_attr3_leaf_to_shortform()
1064 xfs_attr_shortform_add(&nargs, forkoff); in xfs_attr3_leaf_to_shortform()