Home
last modified time | relevance | path

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

/openbmc/linux/fs/xfs/libxfs/
H A Dxfs_attr_leaf.c1489 int mapindex) in xfs_attr3_leaf_add_work() argument
1502 ASSERT(mapindex >= 0 && mapindex < XFS_ATTR_LEAF_MAPSIZE); in xfs_attr3_leaf_add_work()
1522 ASSERT(ichdr->freemap[mapindex].base < args->geo->blksize); in xfs_attr3_leaf_add_work()
1523 ASSERT((ichdr->freemap[mapindex].base & 0x3) == 0); in xfs_attr3_leaf_add_work()
1524 ASSERT(ichdr->freemap[mapindex].size >= in xfs_attr3_leaf_add_work()
1526 ASSERT(ichdr->freemap[mapindex].size < args->geo->blksize); in xfs_attr3_leaf_add_work()
1527 ASSERT((ichdr->freemap[mapindex].size & 0x3) == 0); in xfs_attr3_leaf_add_work()
1529 ichdr->freemap[mapindex].size -= xfs_attr_leaf_newentsize(args, &tmp); in xfs_attr3_leaf_add_work()
1531 entry->nameidx = cpu_to_be16(ichdr->freemap[mapindex].base + in xfs_attr3_leaf_add_work()
1532 ichdr->freemap[mapindex].size); in xfs_attr3_leaf_add_work()