Searched refs:nameidx (Results 1 – 4 of 4) sorted by relevance
203 unsigned int nameidx; in xchk_xattr_entry() local214 nameidx = be16_to_cpu(ent->nameidx); in xchk_xattr_entry()215 if (nameidx < leafhdr->firstused || in xchk_xattr_entry()216 nameidx >= mp->m_attr_geo->blksize) { in xchk_xattr_entry()239 if (!xchk_xattr_set_map(ds->sc, usedmap, nameidx, namesize)) in xchk_xattr_entry()347 int nameidx; in xchk_xattr_rec() local369 nameidx = be16_to_cpu(ent->nameidx); in xchk_xattr_rec()370 if (nameidx < hdrsize || nameidx >= mp->m_attr_geo->blksize) { in xchk_xattr_rec()383 (((char *)bp->b_addr) + nameidx); in xchk_xattr_rec()391 (((char *)bp->b_addr) + nameidx); in xchk_xattr_rec()
1045 if (!entry->nameidx) in xfs_attr3_leaf_to_shortform()1378 entry->nameidx = cpu_to_be16(ichdr->freemap[mapindex].base + in xfs_attr3_leaf_add_work()1430 if (be16_to_cpu(entry->nameidx) < ichdr->firstused) in xfs_attr3_leaf_add_work()1431 ichdr->firstused = be16_to_cpu(entry->nameidx); in xfs_attr3_leaf_add_work()2005 ASSERT(be16_to_cpu(entry->nameidx) >= ichdr.firstused); in xfs_attr3_leaf_remove()2006 ASSERT(be16_to_cpu(entry->nameidx) < args->geo->blksize); in xfs_attr3_leaf_remove()2029 be16_to_cpu(entry->nameidx)) { in xfs_attr3_leaf_remove()2032 (be16_to_cpu(entry->nameidx) + entsize)) { in xfs_attr3_leaf_remove()2053 ichdr.freemap[after].base = be16_to_cpu(entry->nameidx); in xfs_attr3_leaf_remove()2061 ichdr.freemap[smallest].base = be16_to_cpu(entry->nameidx); in xfs_attr3_leaf_remove()[all …]
648 __be16 nameidx; /* index into buffer of name/value */ member798 return &((char *)leafp)[be16_to_cpu(entries[idx].nameidx)]; in xfs_attr3_leaf_name()
135 if (be16_to_cpu(entry->nameidx) && in xfs_attr3_leaf_inactive()163 if (be16_to_cpu(entry->nameidx) && in xfs_attr3_leaf_inactive()