Lines Matching refs:nargs
907 struct xfs_da_args nargs; in xfs_attr_shortform_to_leaf() local
938 memset((char *)&nargs, 0, sizeof(nargs)); in xfs_attr_shortform_to_leaf()
939 nargs.dp = dp; in xfs_attr_shortform_to_leaf()
940 nargs.geo = args->geo; in xfs_attr_shortform_to_leaf()
941 nargs.total = args->total; in xfs_attr_shortform_to_leaf()
942 nargs.whichfork = XFS_ATTR_FORK; in xfs_attr_shortform_to_leaf()
943 nargs.trans = args->trans; in xfs_attr_shortform_to_leaf()
944 nargs.op_flags = XFS_DA_OP_OKNOENT; in xfs_attr_shortform_to_leaf()
948 nargs.name = sfe->nameval; in xfs_attr_shortform_to_leaf()
949 nargs.namelen = sfe->namelen; in xfs_attr_shortform_to_leaf()
950 nargs.value = &sfe->nameval[nargs.namelen]; in xfs_attr_shortform_to_leaf()
951 nargs.valuelen = sfe->valuelen; in xfs_attr_shortform_to_leaf()
952 nargs.hashval = xfs_da_hashname(sfe->nameval, in xfs_attr_shortform_to_leaf()
954 nargs.attr_filter = sfe->flags & XFS_ATTR_NSP_ONDISK_MASK; in xfs_attr_shortform_to_leaf()
955 error = xfs_attr3_leaf_lookup_int(bp, &nargs); /* set a->index */ in xfs_attr_shortform_to_leaf()
957 error = xfs_attr3_leaf_add(bp, &nargs); in xfs_attr_shortform_to_leaf()
1101 struct xfs_da_args nargs; in xfs_attr3_leaf_to_shortform() local
1141 memset((char *)&nargs, 0, sizeof(nargs)); in xfs_attr3_leaf_to_shortform()
1142 nargs.geo = args->geo; in xfs_attr3_leaf_to_shortform()
1143 nargs.dp = dp; in xfs_attr3_leaf_to_shortform()
1144 nargs.total = args->total; in xfs_attr3_leaf_to_shortform()
1145 nargs.whichfork = XFS_ATTR_FORK; in xfs_attr3_leaf_to_shortform()
1146 nargs.trans = args->trans; in xfs_attr3_leaf_to_shortform()
1147 nargs.op_flags = XFS_DA_OP_OKNOENT; in xfs_attr3_leaf_to_shortform()
1156 nargs.name = name_loc->nameval; in xfs_attr3_leaf_to_shortform()
1157 nargs.namelen = name_loc->namelen; in xfs_attr3_leaf_to_shortform()
1158 nargs.value = &name_loc->nameval[nargs.namelen]; in xfs_attr3_leaf_to_shortform()
1159 nargs.valuelen = be16_to_cpu(name_loc->valuelen); in xfs_attr3_leaf_to_shortform()
1160 nargs.hashval = be32_to_cpu(entry->hashval); in xfs_attr3_leaf_to_shortform()
1161 nargs.attr_filter = entry->flags & XFS_ATTR_NSP_ONDISK_MASK; in xfs_attr3_leaf_to_shortform()
1162 xfs_attr_shortform_add(&nargs, forkoff); in xfs_attr3_leaf_to_shortform()