refcount_create(&buf->b_refcnt);
cv_init(&buf->b_cv, NULL, CV_DEFAULT, NULL);
mutex_init(&buf->b_freeze_lock, NULL, MUTEX_DEFAULT, NULL);
-<<<<<<< HEAD:module/zfs/arc.c
list_link_init(&buf->b_arc_node);
list_link_init(&buf->b_l2node);
-=======
arc_space_consume(sizeof (arc_buf_hdr_t), ARC_SPACE_HDRS);
->>>>>>> refs/top-bases/fix-list:module/zfs/arc.c
return (0);
}
dn->dn_dbuf = db;
dn->dn_phys = dnp;
- list_link_init(&dn->dn_link);
- {
- int i;
- for (i = 0; i < TXG_SIZE; i++)
- list_link_init(&dn->dn_dirty_link[i]);
- }
-
if (dnp->dn_datablkszsec)
dnode_setdblksz(dn, dnp->dn_datablkszsec << SPA_MINBLOCKSHIFT);
dn->dn_indblkshift = dnp->dn_indblkshift;