Lines Matching refs:zp
112 zap_phys_t *zp = zap_f_phys(zap);
118 zp->zap_block_type = ZBT_HEADER;
119 zp->zap_magic = ZAP_MAGIC;
121 zp->zap_ptrtbl.zt_shift = ZAP_EMBEDDED_PTRTBL_SHIFT(zap);
123 zp->zap_freeblk = 2; /* block 1 will be the first leaf */
124 zp->zap_num_leafs = 1;
125 zp->zap_num_entries = 0;
126 zp->zap_salt = zap->zap_salt;
127 zp->zap_normflags = zap->zap_normflags;
128 zp->zap_flags = flags;
131 for (int i = 0; i < (1<<zp->zap_ptrtbl.zt_shift); i++)
145 zap_leaf_init(l, zp->zap_normflags != 0);