Lines Matching refs:itp
87 maketag(struct tag *itp, struct tag *otp) in maketag() argument
92 if (itp != otp) { in maketag()
93 bcopy((unsigned char *)(itp + 1), (unsigned char *)(otp + 1), in maketag()
94 itp->tag_crc_len); in maketag()
98 switch (itp->tag_id) { in maketag()
153 otp->tag_id = SWAP16(itp->tag_id); in maketag()
154 otp->tag_desc_ver = SWAP16(itp->tag_desc_ver); in maketag()
156 otp->tag_sno = SWAP16(itp->tag_sno); in maketag()
158 itp->tag_crc_len, 0)); in maketag()
159 otp->tag_crc_len = SWAP16(itp->tag_crc_len); in maketag()
160 otp->tag_loc = SWAP32(itp->tag_loc); in maketag()