Lines Matching refs:nargs
740 xfs_da_args_t nargs; in xfs_attr_shortform_to_leaf() local
787 memset((char *)&nargs, 0, sizeof(nargs)); in xfs_attr_shortform_to_leaf()
788 nargs.dp = dp; in xfs_attr_shortform_to_leaf()
789 nargs.geo = args->geo; in xfs_attr_shortform_to_leaf()
790 nargs.firstblock = args->firstblock; in xfs_attr_shortform_to_leaf()
791 nargs.flist = args->flist; in xfs_attr_shortform_to_leaf()
792 nargs.total = args->total; in xfs_attr_shortform_to_leaf()
793 nargs.whichfork = XFS_ATTR_FORK; in xfs_attr_shortform_to_leaf()
794 nargs.trans = args->trans; in xfs_attr_shortform_to_leaf()
795 nargs.op_flags = XFS_DA_OP_OKNOENT; in xfs_attr_shortform_to_leaf()
799 nargs.name = sfe->nameval; in xfs_attr_shortform_to_leaf()
800 nargs.namelen = sfe->namelen; in xfs_attr_shortform_to_leaf()
801 nargs.value = &sfe->nameval[nargs.namelen]; in xfs_attr_shortform_to_leaf()
802 nargs.valuelen = sfe->valuelen; in xfs_attr_shortform_to_leaf()
803 nargs.hashval = xfs_da_hashname(sfe->nameval, in xfs_attr_shortform_to_leaf()
805 nargs.flags = XFS_ATTR_NSP_ONDISK_TO_ARGS(sfe->flags); in xfs_attr_shortform_to_leaf()
806 error = xfs_attr3_leaf_lookup_int(bp, &nargs); /* set a->index */ in xfs_attr_shortform_to_leaf()
808 error = xfs_attr3_leaf_add(bp, &nargs); in xfs_attr_shortform_to_leaf()
877 struct xfs_da_args nargs; in xfs_attr3_leaf_to_shortform() local
917 memset((char *)&nargs, 0, sizeof(nargs)); in xfs_attr3_leaf_to_shortform()
918 nargs.geo = args->geo; in xfs_attr3_leaf_to_shortform()
919 nargs.dp = dp; in xfs_attr3_leaf_to_shortform()
920 nargs.firstblock = args->firstblock; in xfs_attr3_leaf_to_shortform()
921 nargs.flist = args->flist; in xfs_attr3_leaf_to_shortform()
922 nargs.total = args->total; in xfs_attr3_leaf_to_shortform()
923 nargs.whichfork = XFS_ATTR_FORK; in xfs_attr3_leaf_to_shortform()
924 nargs.trans = args->trans; in xfs_attr3_leaf_to_shortform()
925 nargs.op_flags = XFS_DA_OP_OKNOENT; in xfs_attr3_leaf_to_shortform()
934 nargs.name = name_loc->nameval; in xfs_attr3_leaf_to_shortform()
935 nargs.namelen = name_loc->namelen; in xfs_attr3_leaf_to_shortform()
936 nargs.value = &name_loc->nameval[nargs.namelen]; in xfs_attr3_leaf_to_shortform()
937 nargs.valuelen = be16_to_cpu(name_loc->valuelen); in xfs_attr3_leaf_to_shortform()
938 nargs.hashval = be32_to_cpu(entry->hashval); in xfs_attr3_leaf_to_shortform()
939 nargs.flags = XFS_ATTR_NSP_ONDISK_TO_ARGS(entry->flags); in xfs_attr3_leaf_to_shortform()
940 xfs_attr_shortform_add(&nargs, forkoff); in xfs_attr3_leaf_to_shortform()