Searched refs:name_loc (Results 1 - 2 of 2) sorted by relevance

/linux-4.4.14/fs/xfs/libxfs/
H A Dxfs_attr_leaf.c836 xfs_attr_leaf_name_local_t *name_loc; xfs_attr_shortform_allfit() local
852 name_loc = xfs_attr3_leaf_name_local(leaf, i); xfs_attr_shortform_allfit()
853 if (name_loc->namelen >= XFS_ATTR_SF_ENTSIZE_MAX) xfs_attr_shortform_allfit()
855 if (be16_to_cpu(name_loc->valuelen) >= XFS_ATTR_SF_ENTSIZE_MAX) xfs_attr_shortform_allfit()
858 + name_loc->namelen xfs_attr_shortform_allfit()
859 + be16_to_cpu(name_loc->valuelen); xfs_attr_shortform_allfit()
880 struct xfs_attr_leaf_name_local *name_loc; xfs_attr3_leaf_to_shortform() local
937 name_loc = xfs_attr3_leaf_name_local(leaf, i); xfs_attr3_leaf_to_shortform()
938 nargs.name = name_loc->nameval; xfs_attr3_leaf_to_shortform()
939 nargs.namelen = name_loc->namelen; xfs_attr3_leaf_to_shortform()
940 nargs.value = &name_loc->nameval[nargs.namelen]; xfs_attr3_leaf_to_shortform()
941 nargs.valuelen = be16_to_cpu(name_loc->valuelen); xfs_attr3_leaf_to_shortform()
1229 struct xfs_attr_leaf_name_local *name_loc; xfs_attr3_leaf_add_work() local
1294 name_loc = xfs_attr3_leaf_name_local(leaf, args->index); xfs_attr3_leaf_add_work()
1295 name_loc->namelen = args->namelen; xfs_attr3_leaf_add_work()
1296 name_loc->valuelen = cpu_to_be16(args->valuelen); xfs_attr3_leaf_add_work()
1297 memcpy((char *)name_loc->nameval, args->name, args->namelen); xfs_attr3_leaf_add_work()
1298 memcpy((char *)&name_loc->nameval[args->namelen], args->value, xfs_attr3_leaf_add_work()
1299 be16_to_cpu(name_loc->valuelen)); xfs_attr3_leaf_add_work()
2160 struct xfs_attr_leaf_name_local *name_loc; xfs_attr3_leaf_lookup_int() local
2225 name_loc = xfs_attr3_leaf_name_local(leaf, probe); xfs_attr3_leaf_lookup_int()
2226 if (name_loc->namelen != args->namelen) xfs_attr3_leaf_lookup_int()
2228 if (memcmp(args->name, name_loc->nameval, xfs_attr3_leaf_lookup_int()
2269 struct xfs_attr_leaf_name_local *name_loc; xfs_attr3_leaf_getvalue() local
2280 name_loc = xfs_attr3_leaf_name_local(leaf, args->index); xfs_attr3_leaf_getvalue()
2281 ASSERT(name_loc->namelen == args->namelen); xfs_attr3_leaf_getvalue()
2282 ASSERT(memcmp(args->name, name_loc->nameval, args->namelen) == 0); xfs_attr3_leaf_getvalue()
2283 valuelen = be16_to_cpu(name_loc->valuelen); xfs_attr3_leaf_getvalue()
2293 memcpy(args->value, &name_loc->nameval[args->namelen], valuelen); xfs_attr3_leaf_getvalue()
2494 xfs_attr_leaf_name_local_t *name_loc; xfs_attr_leaf_entsize() local
2500 name_loc = xfs_attr3_leaf_name_local(leaf, index); xfs_attr_leaf_entsize()
2501 size = xfs_attr_leaf_entsize_local(name_loc->namelen, xfs_attr_leaf_entsize()
2502 be16_to_cpu(name_loc->valuelen)); xfs_attr_leaf_entsize()
2553 xfs_attr_leaf_name_local_t *name_loc; xfs_attr3_leaf_clearflag() local
2576 name_loc = xfs_attr3_leaf_name_local(leaf, args->index); xfs_attr3_leaf_clearflag()
2577 namelen = name_loc->namelen; xfs_attr3_leaf_clearflag()
2578 name = (char *)name_loc->nameval; xfs_attr3_leaf_clearflag()
2681 xfs_attr_leaf_name_local_t *name_loc; xfs_attr3_leaf_flipflags() local
2723 name_loc = xfs_attr3_leaf_name_local(leaf1, args->index); xfs_attr3_leaf_flipflags()
2724 namelen1 = name_loc->namelen; xfs_attr3_leaf_flipflags()
2725 name1 = (char *)name_loc->nameval; xfs_attr3_leaf_flipflags()
2732 name_loc = xfs_attr3_leaf_name_local(leaf2, args->index2); xfs_attr3_leaf_flipflags()
2733 namelen2 = name_loc->namelen; xfs_attr3_leaf_flipflags()
2734 name2 = (char *)name_loc->nameval; xfs_attr3_leaf_flipflags()
/linux-4.4.14/fs/xfs/
H A Dxfs_attr_list.c428 xfs_attr_leaf_name_local_t *name_loc = xfs_attr3_leaf_list_int() local
433 name_loc->nameval, xfs_attr3_leaf_list_int()
434 (int)name_loc->namelen, xfs_attr3_leaf_list_int()
435 be16_to_cpu(name_loc->valuelen), xfs_attr3_leaf_list_int()
436 &name_loc->nameval[name_loc->namelen]); xfs_attr3_leaf_list_int()

Completed in 73 milliseconds