dbuf.c (307287) | dbuf.c (307292) |
---|---|
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 --- 2889 unchanged lines hidden (view full) --- 2898 2899objset_t * 2900dmu_buf_get_objset(dmu_buf_t *db) 2901{ 2902 dmu_buf_impl_t *dbi = (dmu_buf_impl_t *)db; 2903 return (dbi->db_objset); 2904} 2905 | 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 --- 2889 unchanged lines hidden (view full) --- 2898 2899objset_t * 2900dmu_buf_get_objset(dmu_buf_t *db) 2901{ 2902 dmu_buf_impl_t *dbi = (dmu_buf_impl_t *)db; 2903 return (dbi->db_objset); 2904} 2905 |
2906dnode_t * 2907dmu_buf_dnode_enter(dmu_buf_t *db) 2908{ 2909 dmu_buf_impl_t *dbi = (dmu_buf_impl_t *)db; 2910 DB_DNODE_ENTER(dbi); 2911 return (DB_DNODE(dbi)); 2912} 2913 2914void 2915dmu_buf_dnode_exit(dmu_buf_t *db) 2916{ 2917 dmu_buf_impl_t *dbi = (dmu_buf_impl_t *)db; 2918 DB_DNODE_EXIT(dbi); 2919} 2920 |
|
2906static void 2907dbuf_check_blkptr(dnode_t *dn, dmu_buf_impl_t *db) 2908{ 2909 /* ASSERT(dmu_tx_is_syncing(tx) */ 2910 ASSERT(MUTEX_HELD(&db->db_mtx)); 2911 2912 if (db->db_blkptr != NULL) 2913 return; --- 659 unchanged lines hidden --- | 2921static void 2922dbuf_check_blkptr(dnode_t *dn, dmu_buf_impl_t *db) 2923{ 2924 /* ASSERT(dmu_tx_is_syncing(tx) */ 2925 ASSERT(MUTEX_HELD(&db->db_mtx)); 2926 2927 if (db->db_blkptr != NULL) 2928 return; --- 659 unchanged lines hidden --- |