Home
last modified time | relevance | path

Searched refs:leafp (Results 1 – 1 of 1) sorted by relevance

/linux-6.6.21/fs/xfs/libxfs/
Dxfs_da_format.h715 xfs_attr3_leaf_hdr_size(struct xfs_attr_leafblock *leafp) in xfs_attr3_leaf_hdr_size() argument
717 if (leafp->hdr.info.magic == cpu_to_be16(XFS_ATTR3_LEAF_MAGIC)) in xfs_attr3_leaf_hdr_size()
723 xfs_attr3_leaf_entryp(xfs_attr_leafblock_t *leafp) in xfs_attr3_leaf_entryp() argument
725 if (leafp->hdr.info.magic == cpu_to_be16(XFS_ATTR3_LEAF_MAGIC)) in xfs_attr3_leaf_entryp()
726 return &((struct xfs_attr3_leafblock *)leafp)->entries[0]; in xfs_attr3_leaf_entryp()
727 return &leafp->entries[0]; in xfs_attr3_leaf_entryp()
734 xfs_attr3_leaf_name(xfs_attr_leafblock_t *leafp, int idx) in xfs_attr3_leaf_name() argument
736 struct xfs_attr_leaf_entry *entries = xfs_attr3_leaf_entryp(leafp); in xfs_attr3_leaf_name()
738 return &((char *)leafp)[be16_to_cpu(entries[idx].nameidx)]; in xfs_attr3_leaf_name()
742 xfs_attr3_leaf_name_remote(xfs_attr_leafblock_t *leafp, int idx) in xfs_attr3_leaf_name_remote() argument
[all …]