Searched refs:blp (Results 1 – 3 of 3) sorted by relevance
191 struct xfs_dir2_leaf_entry *blp, in xfs_dir2_block_need_space() argument224 tagp = (__be16 *)blp - 1; in xfs_dir2_block_need_space()235 (uint)sizeof(*blp) < len) in xfs_dir2_block_need_space()237 } else if ((be32_to_cpu(btp->stale) - 1) * (uint)sizeof(*blp) < len) in xfs_dir2_block_need_space()240 dup = (xfs_dir2_data_unused_t *)blp; in xfs_dir2_block_need_space()248 tagp = (__be16 *)blp - 1; in xfs_dir2_block_need_space()276 if (be16_to_cpu(dup->length) < len + (uint)sizeof(*blp)) { in xfs_dir2_block_need_space()304 struct xfs_dir2_leaf_entry *blp, in xfs_dir2_block_compact() argument317 if (blp[fromidx].address == cpu_to_be32(XFS_DIR2_NULL_DATAPTR)) { in xfs_dir2_block_compact()327 blp[toidx] = blp[fromidx]; in xfs_dir2_block_compact()[all …]
337 xfs_dir2_leaf_entry_t *blp; /* block's leaf entries */ in xfs_dir2_block_to_leaf() local377 blp = xfs_dir2_block_leaf_p(btp); in xfs_dir2_block_to_leaf()394 memcpy(ents, blp, be32_to_cpu(btp->count) * sizeof(xfs_dir2_leaf_entry_t)); in xfs_dir2_block_to_leaf()403 (xfs_dir2_data_aoff_t)((char *)blp - (char *)hdr), in xfs_dir2_block_to_leaf()405 (char *)blp), in xfs_dir2_block_to_leaf()
53 xfs_dir2_leaf_entry_t *blp; /* leaf area of the block */ in xfs_dir2_block_sfsize() local79 blp = xfs_dir2_block_leaf_p(btp); in xfs_dir2_block_sfsize()85 if ((addr = be32_to_cpu(blp[i].address)) == XFS_DIR2_NULL_DATAPTR) in xfs_dir2_block_sfsize()