Lines Matching refs:blk
745 xfs_da_state_blk_t *blk; in xfs_dir_node_addname() local
766 blk = &state->path.blk[ state->path.active-1 ]; in xfs_dir_node_addname()
767 ASSERT(blk->magic == XFS_DIR_LEAF_MAGIC); in xfs_dir_node_addname()
768 retval = xfs_dir_leaf_add(blk->bp, args, blk->index); in xfs_dir_node_addname()
802 xfs_da_state_blk_t *blk; in xfs_dir_node_removename() local
825 blk = &state->path.blk[ state->path.active-1 ]; in xfs_dir_node_removename()
826 ASSERT(blk->magic == XFS_DIR_LEAF_MAGIC); in xfs_dir_node_removename()
827 retval = xfs_dir_leaf_remove(args->trans, blk->bp, blk->index); in xfs_dir_node_removename()
873 xfs_da_brelse(args->trans, state->path.blk[i].bp); in xfs_dir_node_lookup()
874 state->path.blk[i].bp = NULL; in xfs_dir_node_lookup()
1036 xfs_da_state_blk_t *blk; in xfs_dir_node_replace() local
1061 blk = &state->path.blk[state->path.active - 1]; in xfs_dir_node_replace()
1062 ASSERT(blk->magic == XFS_DIR_LEAF_MAGIC); in xfs_dir_node_replace()
1063 bp = blk->bp; in xfs_dir_node_replace()
1065 entry = &leaf->entries[blk->index]; in xfs_dir_node_replace()
1072 blk->bp = NULL; in xfs_dir_node_replace()
1076 xfs_da_brelse(args->trans, state->path.blk[i].bp); in xfs_dir_node_replace()
1077 state->path.blk[i].bp = NULL; in xfs_dir_node_replace()
1080 xfs_da_brelse(args->trans, state->path.blk[i].bp); in xfs_dir_node_replace()
1081 state->path.blk[i].bp = NULL; in xfs_dir_node_replace()