Lines Matching refs:max_rec_len
151 static size_t max_rec_len; variable
484 if (hdr->record_length && hdr->record_length < max_rec_len) { in set_rec_fields()
486 hdr->record_id, hdr->record_length, max_rec_len); in set_rec_fields()
517 hdr->record_length = max_rec_len; in set_rec_fields()
518 sec_desc->section_length = max_rec_len - sizeof(struct cper_record_header); in set_rec_fields()
530 if (rec->hdr.record_length == max_rec_len) in save_new_records()
690 if (len > max_rec_len) { in get_saved_records()
790 max_rec_len = sizeof(struct fru_rec); in get_system_info()
791 max_rec_len += sizeof(struct cper_fru_poison_desc) * max_nr_entries; in get_system_info()
794 max_nr_fru, max_nr_entries, max_rec_len); in get_system_info()
822 fru_records[i] = kzalloc(max_rec_len, GFP_KERNEL); in allocate_records()