Searched refs:NVRAM_HEADER_LEN (Results 1 – 2 of 2) sorted by relevance
363 size = read_nvram((char *)&phead, NVRAM_HEADER_LEN, &cur_index); in scan_nvram_partitions()364 if (size != NVRAM_HEADER_LEN) { in scan_nvram_partitions()370 cur_index -= NVRAM_HEADER_LEN; /* read_nvram will advance us */ in scan_nvram_partitions()383 memcpy(&tmp_part->header, &phead, NVRAM_HEADER_LEN); in scan_nvram_partitions()428 error_log_nvram_index = part->index + NVRAM_HEADER_LEN; in setup_nvram_partition()430 NVRAM_HEADER_LEN - sizeof(struct err_log_info); in setup_nvram_partition()579 tmp_index = new_part->index + NVRAM_HEADER_LEN; in create_os_nvram_partition()587 error_log_nvram_index = new_part->index + NVRAM_HEADER_LEN; in create_os_nvram_partition()589 NVRAM_HEADER_LEN - sizeof(struct err_log_info); in create_os_nvram_partition()756 rc = write_nvram((char *)&part->header, NVRAM_HEADER_LEN, &tmp_index); in write_nvram_header()
15 #define NVRAM_HEADER_LEN 16 /* sizeof(struct nvram_header) */ macro