Home
last modified time | relevance | path

Searched refs:NVRAM_HEADER_LEN (Results 1 – 2 of 2) sorted by relevance

/linux-2.4.37.9/arch/ppc64/kernel/
Dnvram.c363 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()
/linux-2.4.37.9/include/asm-ppc64/
Dnvram.h15 #define NVRAM_HEADER_LEN 16 /* sizeof(struct nvram_header) */ macro