Lines Matching refs:name_loc

1012 	xfs_attr_leaf_name_local_t *name_loc;  in xfs_attr_shortform_allfit()  local
1028 name_loc = xfs_attr3_leaf_name_local(leaf, i); in xfs_attr_shortform_allfit()
1029 if (name_loc->namelen >= XFS_ATTR_SF_ENTSIZE_MAX) in xfs_attr_shortform_allfit()
1031 if (be16_to_cpu(name_loc->valuelen) >= XFS_ATTR_SF_ENTSIZE_MAX) in xfs_attr_shortform_allfit()
1033 bytes += xfs_attr_sf_entsize_byname(name_loc->namelen, in xfs_attr_shortform_allfit()
1034 be16_to_cpu(name_loc->valuelen)); in xfs_attr_shortform_allfit()
1131 struct xfs_attr_leaf_name_local *name_loc; in xfs_attr3_leaf_to_shortform() local
1194 name_loc = xfs_attr3_leaf_name_local(leaf, i); in xfs_attr3_leaf_to_shortform()
1195 nargs.name = name_loc->nameval; in xfs_attr3_leaf_to_shortform()
1196 nargs.namelen = name_loc->namelen; in xfs_attr3_leaf_to_shortform()
1197 nargs.value = &name_loc->nameval[nargs.namelen]; in xfs_attr3_leaf_to_shortform()
1198 nargs.valuelen = be16_to_cpu(name_loc->valuelen); in xfs_attr3_leaf_to_shortform()
1489 struct xfs_attr_leaf_name_local *name_loc; in xfs_attr3_leaf_add_work() local
1556 name_loc = xfs_attr3_leaf_name_local(leaf, args->index); in xfs_attr3_leaf_add_work()
1557 name_loc->namelen = args->namelen; in xfs_attr3_leaf_add_work()
1558 name_loc->valuelen = cpu_to_be16(args->valuelen); in xfs_attr3_leaf_add_work()
1559 memcpy((char *)name_loc->nameval, args->name, args->namelen); in xfs_attr3_leaf_add_work()
1560 memcpy((char *)&name_loc->nameval[args->namelen], args->value, in xfs_attr3_leaf_add_work()
1561 be16_to_cpu(name_loc->valuelen)); in xfs_attr3_leaf_add_work()
2417 struct xfs_attr_leaf_name_local *name_loc; in xfs_attr3_leaf_lookup_int() local
2483 name_loc = xfs_attr3_leaf_name_local(leaf, probe); in xfs_attr3_leaf_lookup_int()
2484 if (!xfs_attr_match(args, name_loc->namelen, in xfs_attr3_leaf_lookup_int()
2485 name_loc->nameval, entry->flags)) in xfs_attr3_leaf_lookup_int()
2523 struct xfs_attr_leaf_name_local *name_loc; in xfs_attr3_leaf_getvalue() local
2533 name_loc = xfs_attr3_leaf_name_local(leaf, args->index); in xfs_attr3_leaf_getvalue()
2534 ASSERT(name_loc->namelen == args->namelen); in xfs_attr3_leaf_getvalue()
2535 ASSERT(memcmp(args->name, name_loc->nameval, args->namelen) == 0); in xfs_attr3_leaf_getvalue()
2537 &name_loc->nameval[args->namelen], in xfs_attr3_leaf_getvalue()
2538 be16_to_cpu(name_loc->valuelen)); in xfs_attr3_leaf_getvalue()
2730 xfs_attr_leaf_name_local_t *name_loc; in xfs_attr_leaf_entsize() local
2736 name_loc = xfs_attr3_leaf_name_local(leaf, index); in xfs_attr_leaf_entsize()
2737 size = xfs_attr_leaf_entsize_local(name_loc->namelen, in xfs_attr_leaf_entsize()
2738 be16_to_cpu(name_loc->valuelen)); in xfs_attr_leaf_entsize()
2789 xfs_attr_leaf_name_local_t *name_loc; in xfs_attr3_leaf_clearflag() local
2812 name_loc = xfs_attr3_leaf_name_local(leaf, args->index); in xfs_attr3_leaf_clearflag()
2813 namelen = name_loc->namelen; in xfs_attr3_leaf_clearflag()
2814 name = (char *)name_loc->nameval; in xfs_attr3_leaf_clearflag()
2911 xfs_attr_leaf_name_local_t *name_loc; in xfs_attr3_leaf_flipflags() local
2953 name_loc = xfs_attr3_leaf_name_local(leaf1, args->index); in xfs_attr3_leaf_flipflags()
2954 namelen1 = name_loc->namelen; in xfs_attr3_leaf_flipflags()
2955 name1 = (char *)name_loc->nameval; in xfs_attr3_leaf_flipflags()
2962 name_loc = xfs_attr3_leaf_name_local(leaf2, args->index2); in xfs_attr3_leaf_flipflags()
2963 namelen2 = name_loc->namelen; in xfs_attr3_leaf_flipflags()
2964 name2 = (char *)name_loc->nameval; in xfs_attr3_leaf_flipflags()