Lines Matching refs:tmp_part
885 struct nvram_partition * tmp_part; in nvram_print_partitions() local
889 list_for_each_entry(tmp_part, &nvram_partitions, partition) { in nvram_print_partitions()
891 tmp_part->index, tmp_part->header.signature, in nvram_print_partitions()
892 tmp_part->header.checksum, tmp_part->header.length, in nvram_print_partitions()
893 tmp_part->header.name); in nvram_print_partitions()
1161 struct nvram_partition * tmp_part; in nvram_scan_partitions() local
1206 tmp_part = kmalloc(sizeof(struct nvram_partition), GFP_KERNEL); in nvram_scan_partitions()
1208 if (!tmp_part) { in nvram_scan_partitions()
1213 memcpy(&tmp_part->header, &phead, NVRAM_HEADER_LEN); in nvram_scan_partitions()
1214 tmp_part->index = cur_index; in nvram_scan_partitions()
1215 list_add_tail(&tmp_part->partition, &nvram_partitions); in nvram_scan_partitions()