Lines Matching refs:name_rmt
1067 xfs_attr_leaf_name_remote_t *name_rmt; in xfs_attr_leaf_add_work() local
1142 name_rmt = xfs_attr_leaf_name_remote(leaf, args->index); in xfs_attr_leaf_add_work()
1143 name_rmt->namelen = args->namelen; in xfs_attr_leaf_add_work()
1144 memcpy((char *)name_rmt->name, args->name, args->namelen); in xfs_attr_leaf_add_work()
1147 name_rmt->valuelen = 0; in xfs_attr_leaf_add_work()
1148 name_rmt->valueblk = 0; in xfs_attr_leaf_add_work()
1913 xfs_attr_leaf_name_remote_t *name_rmt; in xfs_attr_leaf_lookup_int() local
1989 name_rmt = xfs_attr_leaf_name_remote(leaf, probe); in xfs_attr_leaf_lookup_int()
1990 if (name_rmt->namelen != args->namelen) in xfs_attr_leaf_lookup_int()
1992 if (memcmp(args->name, (char *)name_rmt->name, in xfs_attr_leaf_lookup_int()
1998 args->rmtblkno = be32_to_cpu(name_rmt->valueblk); in xfs_attr_leaf_lookup_int()
2000 be32_to_cpu(name_rmt->valuelen)); in xfs_attr_leaf_lookup_int()
2019 xfs_attr_leaf_name_remote_t *name_rmt; in xfs_attr_leaf_getvalue() local
2044 name_rmt = xfs_attr_leaf_name_remote(leaf, args->index); in xfs_attr_leaf_getvalue()
2045 ASSERT(name_rmt->namelen == args->namelen); in xfs_attr_leaf_getvalue()
2046 ASSERT(memcmp(args->name, name_rmt->name, args->namelen) == 0); in xfs_attr_leaf_getvalue()
2047 valuelen = be32_to_cpu(name_rmt->valuelen); in xfs_attr_leaf_getvalue()
2048 args->rmtblkno = be32_to_cpu(name_rmt->valueblk); in xfs_attr_leaf_getvalue()
2265 xfs_attr_leaf_name_remote_t *name_rmt; in xfs_attr_leaf_entsize() local
2274 name_rmt = xfs_attr_leaf_name_remote(leaf, index); in xfs_attr_leaf_entsize()
2275 size = xfs_attr_leaf_entsize_remote(name_rmt->namelen); in xfs_attr_leaf_entsize()
2377 xfs_attr_leaf_name_remote_t *name_rmt = in xfs_attr_leaf_list_int() local
2380 int valuelen = be32_to_cpu(name_rmt->valuelen); in xfs_attr_leaf_list_int()
2390 args.rmtblkno = be32_to_cpu(name_rmt->valueblk); in xfs_attr_leaf_list_int()
2397 name_rmt->name, in xfs_attr_leaf_list_int()
2398 (int)name_rmt->namelen, in xfs_attr_leaf_list_int()
2405 name_rmt->name, in xfs_attr_leaf_list_int()
2406 (int)name_rmt->namelen, in xfs_attr_leaf_list_int()
2434 xfs_attr_leaf_name_remote_t *name_rmt; in xfs_attr_leaf_clearflag() local
2466 name_rmt = xfs_attr_leaf_name_remote(leaf, args->index); in xfs_attr_leaf_clearflag()
2467 namelen = name_rmt->namelen; in xfs_attr_leaf_clearflag()
2468 name = (char *)name_rmt->name; in xfs_attr_leaf_clearflag()
2481 name_rmt = xfs_attr_leaf_name_remote(leaf, args->index); in xfs_attr_leaf_clearflag()
2482 name_rmt->valueblk = cpu_to_be32(args->rmtblkno); in xfs_attr_leaf_clearflag()
2483 name_rmt->valuelen = cpu_to_be32(args->valuelen); in xfs_attr_leaf_clearflag()
2485 XFS_DA_LOGRANGE(leaf, name_rmt, sizeof(*name_rmt))); in xfs_attr_leaf_clearflag()
2503 xfs_attr_leaf_name_remote_t *name_rmt; in xfs_attr_leaf_setflag() local
2528 name_rmt = xfs_attr_leaf_name_remote(leaf, args->index); in xfs_attr_leaf_setflag()
2529 name_rmt->valueblk = 0; in xfs_attr_leaf_setflag()
2530 name_rmt->valuelen = 0; in xfs_attr_leaf_setflag()
2532 XFS_DA_LOGRANGE(leaf, name_rmt, sizeof(*name_rmt))); in xfs_attr_leaf_setflag()
2554 xfs_attr_leaf_name_remote_t *name_rmt; in xfs_attr_leaf_flipflags() local
2605 name_rmt = xfs_attr_leaf_name_remote(leaf1, args->index); in xfs_attr_leaf_flipflags()
2606 namelen1 = name_rmt->namelen; in xfs_attr_leaf_flipflags()
2607 name1 = (char *)name_rmt->name; in xfs_attr_leaf_flipflags()
2614 name_rmt = xfs_attr_leaf_name_remote(leaf2, args->index2); in xfs_attr_leaf_flipflags()
2615 namelen2 = name_rmt->namelen; in xfs_attr_leaf_flipflags()
2616 name2 = (char *)name_rmt->name; in xfs_attr_leaf_flipflags()
2631 name_rmt = xfs_attr_leaf_name_remote(leaf1, args->index); in xfs_attr_leaf_flipflags()
2632 name_rmt->valueblk = cpu_to_be32(args->rmtblkno); in xfs_attr_leaf_flipflags()
2633 name_rmt->valuelen = cpu_to_be32(args->valuelen); in xfs_attr_leaf_flipflags()
2635 XFS_DA_LOGRANGE(leaf1, name_rmt, sizeof(*name_rmt))); in xfs_attr_leaf_flipflags()
2642 name_rmt = xfs_attr_leaf_name_remote(leaf2, args->index2); in xfs_attr_leaf_flipflags()
2643 name_rmt->valueblk = 0; in xfs_attr_leaf_flipflags()
2644 name_rmt->valuelen = 0; in xfs_attr_leaf_flipflags()
2646 XFS_DA_LOGRANGE(leaf2, name_rmt, sizeof(*name_rmt))); in xfs_attr_leaf_flipflags()
2834 xfs_attr_leaf_name_remote_t *name_rmt; in xfs_attr_leaf_inactive() local
2849 name_rmt = xfs_attr_leaf_name_remote(leaf, i); in xfs_attr_leaf_inactive()
2850 if (name_rmt->valueblk) in xfs_attr_leaf_inactive()
2877 name_rmt = xfs_attr_leaf_name_remote(leaf, i); in xfs_attr_leaf_inactive()
2878 if (name_rmt->valueblk) { in xfs_attr_leaf_inactive()
2879 lp->valueblk = be32_to_cpu(name_rmt->valueblk); in xfs_attr_leaf_inactive()
2881 be32_to_cpu(name_rmt->valuelen)); in xfs_attr_leaf_inactive()