• Home
  • Raw
  • Download

Lines Matching refs:name_loc

884 	xfs_attr_leaf_name_local_t *name_loc;  in xfs_attr_shortform_allfit()  local
900 name_loc = xfs_attr3_leaf_name_local(leaf, i); in xfs_attr_shortform_allfit()
901 if (name_loc->namelen >= XFS_ATTR_SF_ENTSIZE_MAX) in xfs_attr_shortform_allfit()
903 if (be16_to_cpu(name_loc->valuelen) >= XFS_ATTR_SF_ENTSIZE_MAX) in xfs_attr_shortform_allfit()
906 + name_loc->namelen in xfs_attr_shortform_allfit()
907 + be16_to_cpu(name_loc->valuelen); in xfs_attr_shortform_allfit()
1002 struct xfs_attr_leaf_name_local *name_loc; in xfs_attr3_leaf_to_shortform() local
1057 name_loc = xfs_attr3_leaf_name_local(leaf, i); in xfs_attr3_leaf_to_shortform()
1058 nargs.name = name_loc->nameval; in xfs_attr3_leaf_to_shortform()
1059 nargs.namelen = name_loc->namelen; in xfs_attr3_leaf_to_shortform()
1060 nargs.value = &name_loc->nameval[nargs.namelen]; in xfs_attr3_leaf_to_shortform()
1061 nargs.valuelen = be16_to_cpu(name_loc->valuelen); in xfs_attr3_leaf_to_shortform()
1349 struct xfs_attr_leaf_name_local *name_loc; in xfs_attr3_leaf_add_work() local
1414 name_loc = xfs_attr3_leaf_name_local(leaf, args->index); in xfs_attr3_leaf_add_work()
1415 name_loc->namelen = args->namelen; in xfs_attr3_leaf_add_work()
1416 name_loc->valuelen = cpu_to_be16(args->valuelen); in xfs_attr3_leaf_add_work()
1417 memcpy((char *)name_loc->nameval, args->name, args->namelen); in xfs_attr3_leaf_add_work()
1418 memcpy((char *)&name_loc->nameval[args->namelen], args->value, in xfs_attr3_leaf_add_work()
1419 be16_to_cpu(name_loc->valuelen)); in xfs_attr3_leaf_add_work()
2273 struct xfs_attr_leaf_name_local *name_loc; in xfs_attr3_leaf_lookup_int() local
2341 name_loc = xfs_attr3_leaf_name_local(leaf, probe); in xfs_attr3_leaf_lookup_int()
2342 if (name_loc->namelen != args->namelen) in xfs_attr3_leaf_lookup_int()
2344 if (memcmp(args->name, name_loc->nameval, in xfs_attr3_leaf_lookup_int()
2389 struct xfs_attr_leaf_name_local *name_loc; in xfs_attr3_leaf_getvalue() local
2399 name_loc = xfs_attr3_leaf_name_local(leaf, args->index); in xfs_attr3_leaf_getvalue()
2400 ASSERT(name_loc->namelen == args->namelen); in xfs_attr3_leaf_getvalue()
2401 ASSERT(memcmp(args->name, name_loc->nameval, args->namelen) == 0); in xfs_attr3_leaf_getvalue()
2403 &name_loc->nameval[args->namelen], in xfs_attr3_leaf_getvalue()
2404 be16_to_cpu(name_loc->valuelen)); in xfs_attr3_leaf_getvalue()
2596 xfs_attr_leaf_name_local_t *name_loc; in xfs_attr_leaf_entsize() local
2602 name_loc = xfs_attr3_leaf_name_local(leaf, index); in xfs_attr_leaf_entsize()
2603 size = xfs_attr_leaf_entsize_local(name_loc->namelen, in xfs_attr_leaf_entsize()
2604 be16_to_cpu(name_loc->valuelen)); in xfs_attr_leaf_entsize()
2655 xfs_attr_leaf_name_local_t *name_loc; in xfs_attr3_leaf_clearflag() local
2678 name_loc = xfs_attr3_leaf_name_local(leaf, args->index); in xfs_attr3_leaf_clearflag()
2679 namelen = name_loc->namelen; in xfs_attr3_leaf_clearflag()
2680 name = (char *)name_loc->nameval; in xfs_attr3_leaf_clearflag()
2783 xfs_attr_leaf_name_local_t *name_loc; in xfs_attr3_leaf_flipflags() local
2825 name_loc = xfs_attr3_leaf_name_local(leaf1, args->index); in xfs_attr3_leaf_flipflags()
2826 namelen1 = name_loc->namelen; in xfs_attr3_leaf_flipflags()
2827 name1 = (char *)name_loc->nameval; in xfs_attr3_leaf_flipflags()
2834 name_loc = xfs_attr3_leaf_name_local(leaf2, args->index2); in xfs_attr3_leaf_flipflags()
2835 namelen2 = name_loc->namelen; in xfs_attr3_leaf_flipflags()
2836 name2 = (char *)name_loc->nameval; in xfs_attr3_leaf_flipflags()