Searched refs:phead (Results 1 – 1 of 1) sorted by relevance
728 struct nvram_header phead; in nvram_write_header() local730 memcpy(&phead, &part->header, NVRAM_HEADER_LEN); in nvram_write_header()731 phead.length = cpu_to_be16(phead.length); in nvram_write_header()734 rc = ppc_md.nvram_write((char *)&phead, NVRAM_HEADER_LEN, &tmp_index); in nvram_write_header()987 struct nvram_header phead; in nvram_scan_partitions() local1015 memcpy(&phead, header, NVRAM_HEADER_LEN); in nvram_scan_partitions()1017 phead.length = be16_to_cpu(phead.length); in nvram_scan_partitions()1020 c_sum = nvram_checksum(&phead); in nvram_scan_partitions()1021 if (c_sum != phead.checksum) { in nvram_scan_partitions()1024 phead.checksum, c_sum); in nvram_scan_partitions()[all …]