Searched refs:exchange_length (Results 1 – 1 of 1) sorted by relevance
592 unsigned exchange_length; in read_erst_record() local600 exchange_length = memory_region_size(&s->exchange_mr); in read_erst_record()615 if (s->record_offset > (exchange_length - UEFI_CPER_RECORD_MIN_SIZE)) { in read_erst_record()638 if (record_length > exchange_length - s->record_offset) { in read_erst_record()661 unsigned exchange_length; in write_erst_record() local669 exchange_length = memory_region_size(&s->exchange_mr); in write_erst_record()672 if (s->record_offset > (exchange_length - UEFI_CPER_RECORD_MIN_SIZE)) { in write_erst_record()687 if (record_length > exchange_length - s->record_offset) { in write_erst_record()719 memset(nvram + record_length, 0xFF, exchange_length - record_length); in write_erst_record()