Lines Matching refs:nargs
744 xfs_da_args_t nargs; in xfs_attr_shortform_to_leaf() local
791 memset((char *)&nargs, 0, sizeof(nargs)); in xfs_attr_shortform_to_leaf()
792 nargs.dp = dp; in xfs_attr_shortform_to_leaf()
793 nargs.geo = args->geo; in xfs_attr_shortform_to_leaf()
794 nargs.firstblock = args->firstblock; in xfs_attr_shortform_to_leaf()
795 nargs.flist = args->flist; in xfs_attr_shortform_to_leaf()
796 nargs.total = args->total; in xfs_attr_shortform_to_leaf()
797 nargs.whichfork = XFS_ATTR_FORK; in xfs_attr_shortform_to_leaf()
798 nargs.trans = args->trans; in xfs_attr_shortform_to_leaf()
799 nargs.op_flags = XFS_DA_OP_OKNOENT; in xfs_attr_shortform_to_leaf()
803 nargs.name = sfe->nameval; in xfs_attr_shortform_to_leaf()
804 nargs.namelen = sfe->namelen; in xfs_attr_shortform_to_leaf()
805 nargs.value = &sfe->nameval[nargs.namelen]; in xfs_attr_shortform_to_leaf()
806 nargs.valuelen = sfe->valuelen; in xfs_attr_shortform_to_leaf()
807 nargs.hashval = xfs_da_hashname(sfe->nameval, in xfs_attr_shortform_to_leaf()
809 nargs.flags = XFS_ATTR_NSP_ONDISK_TO_ARGS(sfe->flags); in xfs_attr_shortform_to_leaf()
810 error = xfs_attr3_leaf_lookup_int(bp, &nargs); /* set a->index */ in xfs_attr_shortform_to_leaf()
812 error = xfs_attr3_leaf_add(bp, &nargs); in xfs_attr_shortform_to_leaf()
881 struct xfs_da_args nargs; in xfs_attr3_leaf_to_shortform() local
921 memset((char *)&nargs, 0, sizeof(nargs)); in xfs_attr3_leaf_to_shortform()
922 nargs.geo = args->geo; in xfs_attr3_leaf_to_shortform()
923 nargs.dp = dp; in xfs_attr3_leaf_to_shortform()
924 nargs.firstblock = args->firstblock; in xfs_attr3_leaf_to_shortform()
925 nargs.flist = args->flist; in xfs_attr3_leaf_to_shortform()
926 nargs.total = args->total; in xfs_attr3_leaf_to_shortform()
927 nargs.whichfork = XFS_ATTR_FORK; in xfs_attr3_leaf_to_shortform()
928 nargs.trans = args->trans; in xfs_attr3_leaf_to_shortform()
929 nargs.op_flags = XFS_DA_OP_OKNOENT; in xfs_attr3_leaf_to_shortform()
938 nargs.name = name_loc->nameval; in xfs_attr3_leaf_to_shortform()
939 nargs.namelen = name_loc->namelen; in xfs_attr3_leaf_to_shortform()
940 nargs.value = &name_loc->nameval[nargs.namelen]; in xfs_attr3_leaf_to_shortform()
941 nargs.valuelen = be16_to_cpu(name_loc->valuelen); in xfs_attr3_leaf_to_shortform()
942 nargs.hashval = be32_to_cpu(entry->hashval); in xfs_attr3_leaf_to_shortform()
943 nargs.flags = XFS_ATTR_NSP_ONDISK_TO_ARGS(entry->flags); in xfs_attr3_leaf_to_shortform()
944 xfs_attr_shortform_add(&nargs, forkoff); in xfs_attr3_leaf_to_shortform()