Lines Matching refs:tmp_part
710 struct nvram_partition * tmp_part; in nvram_print_partitions() local
714 list_for_each_entry(tmp_part, &nvram_partitions, partition) { in nvram_print_partitions()
716 tmp_part->index, tmp_part->header.signature, in nvram_print_partitions()
717 tmp_part->header.checksum, tmp_part->header.length, in nvram_print_partitions()
718 tmp_part->header.name); in nvram_print_partitions()
988 struct nvram_partition * tmp_part; in nvram_scan_partitions() local
1033 tmp_part = kmalloc(sizeof(*tmp_part), GFP_KERNEL); in nvram_scan_partitions()
1035 if (!tmp_part) { in nvram_scan_partitions()
1040 memcpy(&tmp_part->header, &phead, NVRAM_HEADER_LEN); in nvram_scan_partitions()
1041 tmp_part->index = cur_index; in nvram_scan_partitions()
1042 list_add_tail(&tmp_part->partition, &nvram_partitions); in nvram_scan_partitions()