Lines Matching refs:name_rmt

1341 	struct xfs_attr_leaf_name_remote *name_rmt;  in xfs_attr3_leaf_add_work()  local
1412 name_rmt = xfs_attr3_leaf_name_remote(leaf, args->index); in xfs_attr3_leaf_add_work()
1413 name_rmt->namelen = args->namelen; in xfs_attr3_leaf_add_work()
1414 memcpy((char *)name_rmt->name, args->name, args->namelen); in xfs_attr3_leaf_add_work()
1417 name_rmt->valuelen = 0; in xfs_attr3_leaf_add_work()
1418 name_rmt->valueblk = 0; in xfs_attr3_leaf_add_work()
2267 struct xfs_attr_leaf_name_remote *name_rmt; in xfs_attr3_leaf_lookup_int() local
2345 name_rmt = xfs_attr3_leaf_name_remote(leaf, probe); in xfs_attr3_leaf_lookup_int()
2346 if (name_rmt->namelen != args->namelen) in xfs_attr3_leaf_lookup_int()
2348 if (memcmp(args->name, name_rmt->name, in xfs_attr3_leaf_lookup_int()
2354 args->rmtvaluelen = be32_to_cpu(name_rmt->valuelen); in xfs_attr3_leaf_lookup_int()
2355 args->rmtblkno = be32_to_cpu(name_rmt->valueblk); in xfs_attr3_leaf_lookup_int()
2379 struct xfs_attr_leaf_name_remote *name_rmt; in xfs_attr3_leaf_getvalue() local
2404 name_rmt = xfs_attr3_leaf_name_remote(leaf, args->index); in xfs_attr3_leaf_getvalue()
2405 ASSERT(name_rmt->namelen == args->namelen); in xfs_attr3_leaf_getvalue()
2406 ASSERT(memcmp(args->name, name_rmt->name, args->namelen) == 0); in xfs_attr3_leaf_getvalue()
2407 args->rmtvaluelen = be32_to_cpu(name_rmt->valuelen); in xfs_attr3_leaf_getvalue()
2408 args->rmtblkno = be32_to_cpu(name_rmt->valueblk); in xfs_attr3_leaf_getvalue()
2604 xfs_attr_leaf_name_remote_t *name_rmt; in xfs_attr_leaf_entsize() local
2613 name_rmt = xfs_attr3_leaf_name_remote(leaf, index); in xfs_attr_leaf_entsize()
2614 size = xfs_attr_leaf_entsize_remote(name_rmt->namelen); in xfs_attr_leaf_entsize()
2657 struct xfs_attr_leaf_name_remote *name_rmt; in xfs_attr3_leaf_clearflag() local
2689 name_rmt = xfs_attr3_leaf_name_remote(leaf, args->index); in xfs_attr3_leaf_clearflag()
2690 namelen = name_rmt->namelen; in xfs_attr3_leaf_clearflag()
2691 name = (char *)name_rmt->name; in xfs_attr3_leaf_clearflag()
2704 name_rmt = xfs_attr3_leaf_name_remote(leaf, args->index); in xfs_attr3_leaf_clearflag()
2705 name_rmt->valueblk = cpu_to_be32(args->rmtblkno); in xfs_attr3_leaf_clearflag()
2706 name_rmt->valuelen = cpu_to_be32(args->rmtvaluelen); in xfs_attr3_leaf_clearflag()
2708 XFS_DA_LOGRANGE(leaf, name_rmt, sizeof(*name_rmt))); in xfs_attr3_leaf_clearflag()
2726 struct xfs_attr_leaf_name_remote *name_rmt; in xfs_attr3_leaf_setflag() local
2755 name_rmt = xfs_attr3_leaf_name_remote(leaf, args->index); in xfs_attr3_leaf_setflag()
2756 name_rmt->valueblk = 0; in xfs_attr3_leaf_setflag()
2757 name_rmt->valuelen = 0; in xfs_attr3_leaf_setflag()
2759 XFS_DA_LOGRANGE(leaf, name_rmt, sizeof(*name_rmt))); in xfs_attr3_leaf_setflag()
2783 struct xfs_attr_leaf_name_remote *name_rmt; in xfs_attr3_leaf_flipflags() local
2836 name_rmt = xfs_attr3_leaf_name_remote(leaf1, args->index); in xfs_attr3_leaf_flipflags()
2837 namelen1 = name_rmt->namelen; in xfs_attr3_leaf_flipflags()
2838 name1 = (char *)name_rmt->name; in xfs_attr3_leaf_flipflags()
2845 name_rmt = xfs_attr3_leaf_name_remote(leaf2, args->index2); in xfs_attr3_leaf_flipflags()
2846 namelen2 = name_rmt->namelen; in xfs_attr3_leaf_flipflags()
2847 name2 = (char *)name_rmt->name; in xfs_attr3_leaf_flipflags()
2862 name_rmt = xfs_attr3_leaf_name_remote(leaf1, args->index); in xfs_attr3_leaf_flipflags()
2863 name_rmt->valueblk = cpu_to_be32(args->rmtblkno); in xfs_attr3_leaf_flipflags()
2864 name_rmt->valuelen = cpu_to_be32(args->rmtvaluelen); in xfs_attr3_leaf_flipflags()
2866 XFS_DA_LOGRANGE(leaf1, name_rmt, sizeof(*name_rmt))); in xfs_attr3_leaf_flipflags()
2873 name_rmt = xfs_attr3_leaf_name_remote(leaf2, args->index2); in xfs_attr3_leaf_flipflags()
2874 name_rmt->valueblk = 0; in xfs_attr3_leaf_flipflags()
2875 name_rmt->valuelen = 0; in xfs_attr3_leaf_flipflags()
2877 XFS_DA_LOGRANGE(leaf2, name_rmt, sizeof(*name_rmt))); in xfs_attr3_leaf_flipflags()