Searched refs:name_rmt (Results 1 - 3 of 3) sorted by relevance

/linux-4.4.14/fs/xfs/libxfs/
H A Dxfs_attr_leaf.c1230 struct xfs_attr_leaf_name_remote *name_rmt; xfs_attr3_leaf_add_work() local
1301 name_rmt = xfs_attr3_leaf_name_remote(leaf, args->index); xfs_attr3_leaf_add_work()
1302 name_rmt->namelen = args->namelen; xfs_attr3_leaf_add_work()
1303 memcpy((char *)name_rmt->name, args->name, args->namelen); xfs_attr3_leaf_add_work()
1306 name_rmt->valuelen = 0; xfs_attr3_leaf_add_work()
1307 name_rmt->valueblk = 0; xfs_attr3_leaf_add_work()
2161 struct xfs_attr_leaf_name_remote *name_rmt; xfs_attr3_leaf_lookup_int() local
2236 name_rmt = xfs_attr3_leaf_name_remote(leaf, probe); xfs_attr3_leaf_lookup_int()
2237 if (name_rmt->namelen != args->namelen) xfs_attr3_leaf_lookup_int()
2239 if (memcmp(args->name, name_rmt->name, xfs_attr3_leaf_lookup_int()
2245 args->rmtvaluelen = be32_to_cpu(name_rmt->valuelen); xfs_attr3_leaf_lookup_int()
2246 args->rmtblkno = be32_to_cpu(name_rmt->valueblk); xfs_attr3_leaf_lookup_int()
2270 struct xfs_attr_leaf_name_remote *name_rmt; xfs_attr3_leaf_getvalue() local
2295 name_rmt = xfs_attr3_leaf_name_remote(leaf, args->index); xfs_attr3_leaf_getvalue()
2296 ASSERT(name_rmt->namelen == args->namelen); xfs_attr3_leaf_getvalue()
2297 ASSERT(memcmp(args->name, name_rmt->name, args->namelen) == 0); xfs_attr3_leaf_getvalue()
2298 args->rmtvaluelen = be32_to_cpu(name_rmt->valuelen); xfs_attr3_leaf_getvalue()
2299 args->rmtblkno = be32_to_cpu(name_rmt->valueblk); xfs_attr3_leaf_getvalue()
2495 xfs_attr_leaf_name_remote_t *name_rmt; xfs_attr_leaf_entsize() local
2504 name_rmt = xfs_attr3_leaf_name_remote(leaf, index); xfs_attr_leaf_entsize()
2505 size = xfs_attr_leaf_entsize_remote(name_rmt->namelen); xfs_attr_leaf_entsize()
2548 struct xfs_attr_leaf_name_remote *name_rmt; xfs_attr3_leaf_clearflag() local
2580 name_rmt = xfs_attr3_leaf_name_remote(leaf, args->index); xfs_attr3_leaf_clearflag()
2581 namelen = name_rmt->namelen; xfs_attr3_leaf_clearflag()
2582 name = (char *)name_rmt->name; xfs_attr3_leaf_clearflag()
2595 name_rmt = xfs_attr3_leaf_name_remote(leaf, args->index); xfs_attr3_leaf_clearflag()
2596 name_rmt->valueblk = cpu_to_be32(args->rmtblkno); xfs_attr3_leaf_clearflag()
2597 name_rmt->valuelen = cpu_to_be32(args->rmtvaluelen); xfs_attr3_leaf_clearflag()
2599 XFS_DA_LOGRANGE(leaf, name_rmt, sizeof(*name_rmt))); xfs_attr3_leaf_clearflag()
2617 struct xfs_attr_leaf_name_remote *name_rmt; xfs_attr3_leaf_setflag() local
2646 name_rmt = xfs_attr3_leaf_name_remote(leaf, args->index); xfs_attr3_leaf_setflag()
2647 name_rmt->valueblk = 0; xfs_attr3_leaf_setflag()
2648 name_rmt->valuelen = 0; xfs_attr3_leaf_setflag()
2650 XFS_DA_LOGRANGE(leaf, name_rmt, sizeof(*name_rmt))); xfs_attr3_leaf_setflag()
2674 struct xfs_attr_leaf_name_remote *name_rmt; xfs_attr3_leaf_flipflags() local
2727 name_rmt = xfs_attr3_leaf_name_remote(leaf1, args->index); xfs_attr3_leaf_flipflags()
2728 namelen1 = name_rmt->namelen; xfs_attr3_leaf_flipflags()
2729 name1 = (char *)name_rmt->name; xfs_attr3_leaf_flipflags()
2736 name_rmt = xfs_attr3_leaf_name_remote(leaf2, args->index2); xfs_attr3_leaf_flipflags()
2737 namelen2 = name_rmt->namelen; xfs_attr3_leaf_flipflags()
2738 name2 = (char *)name_rmt->name; xfs_attr3_leaf_flipflags()
2753 name_rmt = xfs_attr3_leaf_name_remote(leaf1, args->index); xfs_attr3_leaf_flipflags()
2754 name_rmt->valueblk = cpu_to_be32(args->rmtblkno); xfs_attr3_leaf_flipflags()
2755 name_rmt->valuelen = cpu_to_be32(args->rmtvaluelen); xfs_attr3_leaf_flipflags()
2757 XFS_DA_LOGRANGE(leaf1, name_rmt, sizeof(*name_rmt))); xfs_attr3_leaf_flipflags()
2764 name_rmt = xfs_attr3_leaf_name_remote(leaf2, args->index2); xfs_attr3_leaf_flipflags()
2765 name_rmt->valueblk = 0; xfs_attr3_leaf_flipflags()
2766 name_rmt->valuelen = 0; xfs_attr3_leaf_flipflags()
2768 XFS_DA_LOGRANGE(leaf2, name_rmt, sizeof(*name_rmt))); xfs_attr3_leaf_flipflags()
/linux-4.4.14/fs/xfs/
H A Dxfs_attr_inactive.c127 struct xfs_attr_leaf_name_remote *name_rmt; xfs_attr3_leaf_inactive() local
148 name_rmt = xfs_attr3_leaf_name_remote(leaf, i); xfs_attr3_leaf_inactive()
149 if (name_rmt->valueblk) xfs_attr3_leaf_inactive()
176 name_rmt = xfs_attr3_leaf_name_remote(leaf, i); xfs_attr3_leaf_inactive()
177 if (name_rmt->valueblk) { xfs_attr3_leaf_inactive()
178 lp->valueblk = be32_to_cpu(name_rmt->valueblk); xfs_attr3_leaf_inactive()
180 be32_to_cpu(name_rmt->valuelen)); xfs_attr3_leaf_inactive()
H A Dxfs_attr_list.c440 xfs_attr_leaf_name_remote_t *name_rmt = xfs_attr3_leaf_list_int() local
443 int valuelen = be32_to_cpu(name_rmt->valuelen); xfs_attr3_leaf_list_int()
455 args.rmtblkno = be32_to_cpu(name_rmt->valueblk); xfs_attr3_leaf_list_int()
462 name_rmt->name, xfs_attr3_leaf_list_int()
463 (int)name_rmt->namelen, xfs_attr3_leaf_list_int()
470 name_rmt->name, xfs_attr3_leaf_list_int()
471 (int)name_rmt->namelen, xfs_attr3_leaf_list_int()

Completed in 71 milliseconds