Home
last modified time | relevance | path

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

/fs/xfs/libxfs/
Dxfs_dir2_block.c176 struct xfs_dir2_leaf_entry *blp, in xfs_dir2_block_need_space() argument
209 tagp = (__be16 *)blp - 1; in xfs_dir2_block_need_space()
220 (uint)sizeof(*blp) < len) in xfs_dir2_block_need_space()
222 } else if ((be32_to_cpu(btp->stale) - 1) * (uint)sizeof(*blp) < len) in xfs_dir2_block_need_space()
225 dup = (xfs_dir2_data_unused_t *)blp; in xfs_dir2_block_need_space()
233 tagp = (__be16 *)blp - 1; in xfs_dir2_block_need_space()
261 if (be16_to_cpu(dup->length) < len + (uint)sizeof(*blp)) { in xfs_dir2_block_need_space()
289 struct xfs_dir2_leaf_entry *blp, in xfs_dir2_block_compact() argument
302 if (blp[fromidx].address == cpu_to_be32(XFS_DIR2_NULL_DATAPTR)) { in xfs_dir2_block_compact()
312 blp[toidx] = blp[fromidx]; in xfs_dir2_block_compact()
[all …]
Dxfs_dir2_leaf.c381 xfs_dir2_leaf_entry_t *blp; /* block's leaf entries */ in xfs_dir2_block_to_leaf() local
423 blp = xfs_dir2_block_leaf_p(btp); in xfs_dir2_block_to_leaf()
440 memcpy(ents, blp, be32_to_cpu(btp->count) * sizeof(xfs_dir2_leaf_entry_t)); in xfs_dir2_block_to_leaf()
449 (xfs_dir2_data_aoff_t)((char *)blp - (char *)hdr), in xfs_dir2_block_to_leaf()
451 (char *)blp), in xfs_dir2_block_to_leaf()
Dxfs_dir2_sf.c71 xfs_dir2_leaf_entry_t *blp; /* leaf area of the block */ in xfs_dir2_block_sfsize() local
97 blp = xfs_dir2_block_leaf_p(btp); in xfs_dir2_block_sfsize()
103 if ((addr = be32_to_cpu(blp[i].address)) == XFS_DIR2_NULL_DATAPTR) in xfs_dir2_block_sfsize()