Searched refs:cur_index (Results 1 – 1 of 1) sorted by relevance
984 loff_t cur_index = 0; in nvram_scan_partitions() local1002 while (cur_index < total_size) { in nvram_scan_partitions()1004 err = ppc_md.nvram_read(header, NVRAM_HEADER_LEN, &cur_index); in nvram_scan_partitions()1011 cur_index -= NVRAM_HEADER_LEN; /* nvram_read will advance us */ in nvram_scan_partitions()1039 tmp_part->index = cur_index; in nvram_scan_partitions()1042 cur_index += phead.length * NVRAM_BLOCK_LEN; in nvram_scan_partitions()