Lines Matching refs:hp
591 dof_hdr(dtrace_hdl_t *dtp, uint8_t dofversion, dof_hdr_t *hp) in dof_hdr() argument
603 bzero(hp, sizeof (dof_hdr_t)); in dof_hdr()
605 hp->dofh_ident[DOF_ID_MAG0] = DOF_MAG_MAG0; in dof_hdr()
606 hp->dofh_ident[DOF_ID_MAG1] = DOF_MAG_MAG1; in dof_hdr()
607 hp->dofh_ident[DOF_ID_MAG2] = DOF_MAG_MAG2; in dof_hdr()
608 hp->dofh_ident[DOF_ID_MAG3] = DOF_MAG_MAG3; in dof_hdr()
611 hp->dofh_ident[DOF_ID_MODEL] = DOF_MODEL_LP64; in dof_hdr()
613 hp->dofh_ident[DOF_ID_MODEL] = DOF_MODEL_ILP32; in dof_hdr()
615 hp->dofh_ident[DOF_ID_ENCODING] = DOF_ENCODE_NATIVE; in dof_hdr()
616 hp->dofh_ident[DOF_ID_VERSION] = dofversion; in dof_hdr()
617 hp->dofh_ident[DOF_ID_DIFVERS] = dtp->dt_conf.dtc_difversion; in dof_hdr()
618 hp->dofh_ident[DOF_ID_DIFIREG] = dtp->dt_conf.dtc_difintregs; in dof_hdr()
619 hp->dofh_ident[DOF_ID_DIFTREG] = dtp->dt_conf.dtc_diftupregs; in dof_hdr()
621 hp->dofh_hdrsize = sizeof (dof_hdr_t); in dof_hdr()
622 hp->dofh_secsize = sizeof (dof_sec_t); in dof_hdr()
623 hp->dofh_secoff = sizeof (dof_hdr_t); in dof_hdr()