Lines Matching refs:leaf
246 struct xfs_attr_leafblock *leaf, in xchk_xattr_entry() argument
278 lentry = xfs_attr3_leaf_name_local(leaf, idx); in xchk_xattr_entry()
285 rentry = xfs_attr3_leaf_name_remote(leaf, idx); in xchk_xattr_entry()
311 struct xfs_attr_leafblock *leaf = bp->b_addr; in xchk_xattr_block() local
340 struct xfs_attr3_leafblock *leaf = bp->b_addr; in xchk_xattr_block() local
342 if (leaf->hdr.pad1 != 0 || leaf->hdr.pad2 != 0 || in xchk_xattr_block()
343 leaf->hdr.info.hdr.pad != 0) in xchk_xattr_block()
346 if (leaf->hdr.pad1 != 0 || leaf->hdr.info.pad != 0) in xchk_xattr_block()
351 xfs_attr3_leaf_hdr_from_disk(mp->m_attr_geo, &leafhdr, leaf); in xchk_xattr_block()
352 hdrsize = xfs_attr3_leaf_hdr_size(leaf); in xchk_xattr_block()
366 entries = xfs_attr3_leaf_entryp(leaf); in xchk_xattr_block()
367 if ((char *)&entries[leafhdr.count] > (char *)leaf + leafhdr.firstused) in xchk_xattr_block()
373 off = (char *)ent - (char *)leaf; in xchk_xattr_block()
381 xchk_xattr_entry(ds, level, buf_end, leaf, &leafhdr, in xchk_xattr_block()