Searched refs:NVRAM_HEADER_LEN (Results 1 – 1 of 1) sorted by relevance
40 #define NVRAM_HEADER_LEN sizeof(struct nvram_header) macro41 #define NVRAM_BLOCK_LEN NVRAM_HEADER_LEN905 memcpy(&phead, &part->header, NVRAM_HEADER_LEN); in nvram_write_header()909 rc = ppc_md.nvram_write((char *)&phead, NVRAM_HEADER_LEN, &tmp_index); in nvram_write_header()1103 for (tmp_index = new_part->index + NVRAM_HEADER_LEN; in nvram_create_partition()1114 return new_part->index + NVRAM_HEADER_LEN; in nvram_create_partition()1128 if (part->index + NVRAM_HEADER_LEN == data_index) in nvram_get_partition_size()1151 return p->index + NVRAM_HEADER_LEN; in nvram_find_partition()1171 header = kmalloc(NVRAM_HEADER_LEN, GFP_KERNEL); in nvram_scan_partitions()1179 err = ppc_md.nvram_read(header, NVRAM_HEADER_LEN, &cur_index); in nvram_scan_partitions()[all …]