Lines Matching defs:zp
79 zap_phys_t *zp;
90 zp = zap_f_phys(zap);
96 zp->zap_block_type = ZBT_HEADER;
97 zp->zap_magic = ZAP_MAGIC;
99 zp->zap_ptrtbl.zt_shift = ZAP_EMBEDDED_PTRTBL_SHIFT(zap);
101 zp->zap_freeblk = 2; /* block 1 will be the first leaf */
102 zp->zap_num_leafs = 1;
103 zp->zap_num_entries = 0;
104 zp->zap_salt = zap->zap_salt;
105 zp->zap_normflags = zap->zap_normflags;
106 zp->zap_flags = flags;
109 for (i = 0; i < (1<<zp->zap_ptrtbl.zt_shift); i++)
122 zap_leaf_init(l, zp->zap_normflags != 0);