Deleted Added
full compact
bptree.c (240415) bptree.c (246666)
1/*
2 * CDDL HEADER START
3 *
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
7 *
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE

--- 121 unchanged lines hidden (view full) ---

130 bt->bt_bytes += bytes;
131 bt->bt_comp += comp;
132 bt->bt_uncomp += uncomp;
133 dmu_buf_rele(db, FTAG);
134}
135
136/* ARGSUSED */
137static int
1/*
2 * CDDL HEADER START
3 *
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
7 *
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE

--- 121 unchanged lines hidden (view full) ---

130 bt->bt_bytes += bytes;
131 bt->bt_comp += comp;
132 bt->bt_uncomp += uncomp;
133 dmu_buf_rele(db, FTAG);
134}
135
136/* ARGSUSED */
137static int
138bptree_visit_cb(spa_t *spa, zilog_t *zilog, const blkptr_t *bp, arc_buf_t *pbuf,
138bptree_visit_cb(spa_t *spa, zilog_t *zilog, const blkptr_t *bp,
139 const zbookmark_t *zb, const dnode_phys_t *dnp, void *arg)
140{
141 int err;
142 struct bptree_args *ba = arg;
143
144 if (bp == NULL)
145 return (0);
146

--- 79 unchanged lines hidden ---
139 const zbookmark_t *zb, const dnode_phys_t *dnp, void *arg)
140{
141 int err;
142 struct bptree_args *ba = arg;
143
144 if (bp == NULL)
145 return (0);
146

--- 79 unchanged lines hidden ---