Lines Matching defs:hdr_sz
604 size_t s, hdr_sz;
609 hdr_sz = le32_to_cpu(hdr->size);
610 s = sizeof(*hdr) + hdr_sz;
613 if (hdr_sz % 4) {
615 hdr_sz);
619 &hdr[1], hdr_sz, load);
629 le16_to_cpu(hdr->type), hdr_sz);
694 size_t s, hdr_sz = 0;
722 hdr_sz = le32_to_cpu(hdr->size);
723 s = sizeof(*hdr) + hdr_sz;
725 hdr_sz > wil->brd_info[i].file_max_size)
727 if (sizeof(*hdr) + hdr_sz > size)
729 if (hdr_sz % 4) {
731 hdr_sz);
741 if (hdr_sz < sizeof(struct wil_fw_record_data)) {
742 wil_err_fw(wil, "data record too short: %zu\n", hdr_sz);
751 rc = __fw_handle_data(wil, &hdr[1], hdr_sz,
763 le16_to_cpu(hdr->type), hdr_sz);