Lines Matching refs:block
116 const struct xfs_btree_block *block,
293 struct xfs_btree_block *block, int level, struct xfs_buf *bp);
295 struct xfs_btree_block *block, int level, struct xfs_buf *bp);
303 struct xfs_btree_block *block, /* generic btree block pointer */
444 static inline int xfs_btree_get_numrecs(const struct xfs_btree_block *block) in xfs_btree_get_numrecs() argument
446 return be16_to_cpu(block->bb_numrecs); in xfs_btree_get_numrecs()
449 static inline void xfs_btree_set_numrecs(struct xfs_btree_block *block, in xfs_btree_set_numrecs() argument
452 block->bb_numrecs = cpu_to_be16(numrecs); in xfs_btree_set_numrecs()
455 static inline int xfs_btree_get_level(const struct xfs_btree_block *block) in xfs_btree_get_level() argument
457 return be16_to_cpu(block->bb_level); in xfs_btree_get_level()
520 struct xfs_btree_block *block);
522 struct xfs_btree_block *block);
524 struct xfs_btree_block *block);
526 struct xfs_btree_block *block);
537 struct xfs_btree_block *block,
540 struct xfs_btree_block *block, union xfs_btree_key *key);
555 struct xfs_btree_block *block; in xfs_btree_islastblock() local
558 block = xfs_btree_get_block(cur, level, &bp); in xfs_btree_islastblock()
559 ASSERT(block && xfs_btree_check_block(cur, block, level, bp) == 0); in xfs_btree_islastblock()
562 return block->bb_u.l.bb_rightsib == cpu_to_be64(NULLFSBLOCK); in xfs_btree_islastblock()
563 return block->bb_u.s.bb_rightsib == cpu_to_be32(NULLAGBLOCK); in xfs_btree_islastblock()
569 const union xfs_btree_ptr *ptr, struct xfs_btree_block **block,
572 struct xfs_btree_block *block, const union xfs_btree_ptr *ptr,