equal
deleted
inserted
replaced
17 * information: Portions Copyright [yyyy] [name of copyright owner] |
17 * information: Portions Copyright [yyyy] [name of copyright owner] |
18 * |
18 * |
19 * CDDL HEADER END |
19 * CDDL HEADER END |
20 */ |
20 */ |
21 /* |
21 /* |
22 * Copyright 2007 Sun Microsystems, Inc. All rights reserved. |
22 * Copyright 2008 Sun Microsystems, Inc. All rights reserved. |
23 * Use is subject to license terms. |
23 * Use is subject to license terms. |
24 */ |
24 */ |
25 |
25 |
26 #ifndef _SYS_DBUF_H |
26 #ifndef _SYS_DBUF_H |
27 #define _SYS_DBUF_H |
27 #define _SYS_DBUF_H |
269 |
269 |
270 void dbuf_setdirty(dmu_buf_impl_t *db, dmu_tx_t *tx); |
270 void dbuf_setdirty(dmu_buf_impl_t *db, dmu_tx_t *tx); |
271 void dbuf_unoverride(dbuf_dirty_record_t *dr); |
271 void dbuf_unoverride(dbuf_dirty_record_t *dr); |
272 void dbuf_sync_list(list_t *list, dmu_tx_t *tx); |
272 void dbuf_sync_list(list_t *list, dmu_tx_t *tx); |
273 |
273 |
274 void dbuf_free_range(struct dnode *dn, uint64_t blkid, uint64_t nblks, |
274 void dbuf_free_range(struct dnode *dn, uint64_t start, uint64_t end, |
275 struct dmu_tx *); |
275 struct dmu_tx *); |
276 |
276 |
277 void dbuf_new_size(dmu_buf_impl_t *db, int size, dmu_tx_t *tx); |
277 void dbuf_new_size(dmu_buf_impl_t *db, int size, dmu_tx_t *tx); |
278 |
278 |
279 void dbuf_init(void); |
279 void dbuf_init(void); |