Lines Matching defs:leaf
210 * Check the leaf freemap from the usage bitmap. Returns false if the
238 * Check this leaf entry's relations to everything else.
246 struct xfs_attr_leafblock *leaf,
278 lentry = xfs_attr3_leaf_name_local(leaf, idx);
285 rentry = xfs_attr3_leaf_name_remote(leaf, idx);
300 /* Scrub an attribute leaf. */
311 struct xfs_attr_leafblock *leaf = bp->b_addr;
339 struct xfs_attr3_leafblock *leaf = bp->b_addr;
341 if (leaf->hdr.pad1 != 0 || leaf->hdr.pad2 != 0 ||
342 leaf->hdr.info.hdr.pad != 0)
345 if (leaf->hdr.pad1 != 0 || leaf->hdr.info.pad != 0)
349 /* Check the leaf header */
350 xfs_attr3_leaf_hdr_from_disk(mp->m_attr_geo, &leafhdr, leaf);
351 hdrsize = xfs_attr3_leaf_hdr_size(leaf);
365 entries = xfs_attr3_leaf_entryp(leaf);
366 if ((char *)&entries[leafhdr.count] > (char *)leaf + leafhdr.firstused)
371 /* Mark the leaf entry itself. */
372 off = (char *)ent - (char *)leaf;
380 xchk_xattr_entry(ds, level, buf_end, leaf, &leafhdr,
513 * btree while holding a leaf buffer locked for the xattr name