Lines Matching refs:bcm_tag
37 #include "bcm_tag.h"
87 struct bcm_tag *tag;
113 tag = (struct bcm_tag *) (ptr);
121 headercrc = compute_crc32(CRC_START, offset, offsetof(struct bcm_tag, headerCRC), fd);
135 headercrc = crc32(CRC_START, tag, offsetof(struct bcm_tag, headerCRC));
138 msync(ptr, sizeof(struct bcm_tag), MS_SYNC|MS_INVALIDATE);
154 struct bcm_tag *tag = (const struct bcm_tag *) buf;
162 *len = read(imagefd, buf, sizeof(struct bcm_tag));
163 if (*len < sizeof(struct bcm_tag)) {
167 headerCRC = crc32buf(buf, offsetof(struct bcm_tag, headerCRC));
202 struct bcm_tag *tag;
239 tag = (struct bcm_tag *) (buf + offset);
251 headercrc = compute_crc32(CRC_START, offset, offsetof(struct bcm_tag, headerCRC), fd);
285 headercrc = crc32(CRC_START, tag, offsetof(struct bcm_tag, headerCRC));