Lines Matching refs:crc_len
83 if (((struct csrdirectory *)p)->crc_len == 0) { in crom_init_context()
126 if (ptr->index < ptr->dir->crc_len && in crom_next()
130 if (ptr->index < ptr->dir->crc_len) in crom_next()
203 if ((vm_offset_t)textleaf + textleaf->crc_len > CROM_END(cc)) { in crom_parse_text()
211 qlen = textleaf->crc_len - 2; in crom_parse_text()
321 crc = crom_crc((uint32_t *)&dir->entry[0], dir->crc_len); in crom_desc()
323 dir->crc_len, dir->crc, in crom_desc()
395 index = chunk->data.crc_len; in crom_add_quad()
401 chunk->data.crc_len++; in crom_add_quad()
457 tl->crc_len = howmany(sizeof(struct csrtext) + len, sizeof(uint32_t)); in crom_add_simple_text()
506 offset += 1 + chunk->data.crc_len; in crom_load()
516 crom_crc(&chunk->data.buf[0], chunk->data.crc_len); in crom_load()
518 len = 1 + chunk->data.crc_len; in crom_load()
524 hdr->crc_len = count - 1; in crom_load()
525 hdr->crc = crom_crc(&buf[1], hdr->crc_len); in crom_load()