Home
last modified time | relevance | path

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

/linux-6.1.9/fs/xfs/scrub/
Dattr.c258 unsigned int nameidx; in xchk_xattr_entry() local
269 nameidx = be16_to_cpu(ent->nameidx); in xchk_xattr_entry()
270 if (nameidx < leafhdr->firstused || in xchk_xattr_entry()
271 nameidx >= mp->m_attr_geo->blksize) { in xchk_xattr_entry()
294 if (!xchk_xattr_set_map(ds->sc, usedmap, nameidx, namesize)) in xchk_xattr_entry()
412 int nameidx; in xchk_xattr_rec() local
436 nameidx = be16_to_cpu(ent->nameidx); in xchk_xattr_rec()
437 if (nameidx < hdrsize || nameidx >= mp->m_attr_geo->blksize) { in xchk_xattr_rec()
450 (((char *)bp->b_addr) + nameidx); in xchk_xattr_rec()
458 (((char *)bp->b_addr) + nameidx); in xchk_xattr_rec()
/linux-6.1.9/fs/xfs/libxfs/
Dxfs_attr_leaf.c250 unsigned int nameidx; in xfs_attr3_leaf_verify_entry() local
260 nameidx = be16_to_cpu(ent->nameidx); in xfs_attr3_leaf_verify_entry()
261 if (nameidx < leafhdr->firstused || nameidx >= mp->m_attr_geo->blksize) in xfs_attr3_leaf_verify_entry()
1191 if (!entry->nameidx) in xfs_attr3_leaf_to_shortform()
1527 entry->nameidx = cpu_to_be16(ichdr->freemap[mapindex].base + in xfs_attr3_leaf_add_work()
1581 if (be16_to_cpu(entry->nameidx) < ichdr->firstused) in xfs_attr3_leaf_add_work()
1582 ichdr->firstused = be16_to_cpu(entry->nameidx); in xfs_attr3_leaf_add_work()
2156 ASSERT(be16_to_cpu(entry->nameidx) >= ichdr.firstused); in xfs_attr3_leaf_remove()
2157 ASSERT(be16_to_cpu(entry->nameidx) < args->geo->blksize); in xfs_attr3_leaf_remove()
2180 be16_to_cpu(entry->nameidx)) { in xfs_attr3_leaf_remove()
[all …]
Dxfs_da_format.h615 __be16 nameidx; /* index into buffer of name/value */ member
728 return &((char *)leafp)[be16_to_cpu(entries[idx].nameidx)]; in xfs_attr3_leaf_name()
/linux-6.1.9/fs/xfs/
Dxfs_attr_inactive.c105 if (!entry->nameidx || (entry->flags & XFS_ATTR_LOCAL)) in xfs_attr3_leaf_inactive()