Lines Matching refs:name_rmt
1446 struct xfs_attr_leaf_name_remote *name_rmt; in xfs_attr3_leaf_add_work() local
1518 name_rmt = xfs_attr3_leaf_name_remote(leaf, args->index); in xfs_attr3_leaf_add_work()
1519 name_rmt->namelen = args->namelen; in xfs_attr3_leaf_add_work()
1520 memcpy((char *)name_rmt->name, args->name, args->namelen); in xfs_attr3_leaf_add_work()
1523 name_rmt->valuelen = 0; in xfs_attr3_leaf_add_work()
1524 name_rmt->valueblk = 0; in xfs_attr3_leaf_add_work()
2373 struct xfs_attr_leaf_name_remote *name_rmt; in xfs_attr3_leaf_lookup_int() local
2445 name_rmt = xfs_attr3_leaf_name_remote(leaf, probe); in xfs_attr3_leaf_lookup_int()
2446 if (!xfs_attr_match(args, name_rmt->namelen, in xfs_attr3_leaf_lookup_int()
2447 name_rmt->name, entry->flags)) in xfs_attr3_leaf_lookup_int()
2450 args->rmtvaluelen = be32_to_cpu(name_rmt->valuelen); in xfs_attr3_leaf_lookup_int()
2451 args->rmtblkno = be32_to_cpu(name_rmt->valueblk); in xfs_attr3_leaf_lookup_int()
2479 struct xfs_attr_leaf_name_remote *name_rmt; in xfs_attr3_leaf_getvalue() local
2496 name_rmt = xfs_attr3_leaf_name_remote(leaf, args->index); in xfs_attr3_leaf_getvalue()
2497 ASSERT(name_rmt->namelen == args->namelen); in xfs_attr3_leaf_getvalue()
2498 ASSERT(memcmp(args->name, name_rmt->name, args->namelen) == 0); in xfs_attr3_leaf_getvalue()
2499 args->rmtvaluelen = be32_to_cpu(name_rmt->valuelen); in xfs_attr3_leaf_getvalue()
2500 args->rmtblkno = be32_to_cpu(name_rmt->valueblk); in xfs_attr3_leaf_getvalue()
2686 xfs_attr_leaf_name_remote_t *name_rmt; in xfs_attr_leaf_entsize() local
2695 name_rmt = xfs_attr3_leaf_name_remote(leaf, index); in xfs_attr_leaf_entsize()
2696 size = xfs_attr_leaf_entsize_remote(name_rmt->namelen); in xfs_attr_leaf_entsize()
2739 struct xfs_attr_leaf_name_remote *name_rmt; in xfs_attr3_leaf_clearflag() local
2771 name_rmt = xfs_attr3_leaf_name_remote(leaf, args->index); in xfs_attr3_leaf_clearflag()
2772 namelen = name_rmt->namelen; in xfs_attr3_leaf_clearflag()
2773 name = (char *)name_rmt->name; in xfs_attr3_leaf_clearflag()
2786 name_rmt = xfs_attr3_leaf_name_remote(leaf, args->index); in xfs_attr3_leaf_clearflag()
2787 name_rmt->valueblk = cpu_to_be32(args->rmtblkno); in xfs_attr3_leaf_clearflag()
2788 name_rmt->valuelen = cpu_to_be32(args->rmtvaluelen); in xfs_attr3_leaf_clearflag()
2790 XFS_DA_LOGRANGE(leaf, name_rmt, sizeof(*name_rmt))); in xfs_attr3_leaf_clearflag()
2805 struct xfs_attr_leaf_name_remote *name_rmt; in xfs_attr3_leaf_setflag() local
2834 name_rmt = xfs_attr3_leaf_name_remote(leaf, args->index); in xfs_attr3_leaf_setflag()
2835 name_rmt->valueblk = 0; in xfs_attr3_leaf_setflag()
2836 name_rmt->valuelen = 0; in xfs_attr3_leaf_setflag()
2838 XFS_DA_LOGRANGE(leaf, name_rmt, sizeof(*name_rmt))); in xfs_attr3_leaf_setflag()
2859 struct xfs_attr_leaf_name_remote *name_rmt; in xfs_attr3_leaf_flipflags() local
2912 name_rmt = xfs_attr3_leaf_name_remote(leaf1, args->index); in xfs_attr3_leaf_flipflags()
2913 namelen1 = name_rmt->namelen; in xfs_attr3_leaf_flipflags()
2914 name1 = (char *)name_rmt->name; in xfs_attr3_leaf_flipflags()
2921 name_rmt = xfs_attr3_leaf_name_remote(leaf2, args->index2); in xfs_attr3_leaf_flipflags()
2922 namelen2 = name_rmt->namelen; in xfs_attr3_leaf_flipflags()
2923 name2 = (char *)name_rmt->name; in xfs_attr3_leaf_flipflags()
2938 name_rmt = xfs_attr3_leaf_name_remote(leaf1, args->index); in xfs_attr3_leaf_flipflags()
2939 name_rmt->valueblk = cpu_to_be32(args->rmtblkno); in xfs_attr3_leaf_flipflags()
2940 name_rmt->valuelen = cpu_to_be32(args->rmtvaluelen); in xfs_attr3_leaf_flipflags()
2942 XFS_DA_LOGRANGE(leaf1, name_rmt, sizeof(*name_rmt))); in xfs_attr3_leaf_flipflags()
2949 name_rmt = xfs_attr3_leaf_name_remote(leaf2, args->index2); in xfs_attr3_leaf_flipflags()
2950 name_rmt->valueblk = 0; in xfs_attr3_leaf_flipflags()
2951 name_rmt->valuelen = 0; in xfs_attr3_leaf_flipflags()
2953 XFS_DA_LOGRANGE(leaf2, name_rmt, sizeof(*name_rmt))); in xfs_attr3_leaf_flipflags()