Lines Matching refs:tlp
141 targettohlabel(struct disklabel *hlp, const struct disklabel *tlp)
144 if (bswap32(tlp->d_magic) == DISKMAGIC)
145 bswaplabel(hlp, tlp);
147 *hlp = *tlp;
154 htotargetlabel(struct disklabel *tlp, const struct disklabel *hlp)
158 bswaplabel(tlp, hlp);
160 *tlp = *hlp;
163 tlp->d_checksum = 0;
164 tlp->d_checksum = dkcksum_target(tlp);