Lines Matching refs:tmp_part
852 struct nvram_partition * tmp_part; in nvram_print_partitions() local
856 list_for_each_entry(tmp_part, &nvram_partitions, partition) { in nvram_print_partitions()
858 tmp_part->index, tmp_part->header.signature, in nvram_print_partitions()
859 tmp_part->header.checksum, tmp_part->header.length, in nvram_print_partitions()
860 tmp_part->header.name); in nvram_print_partitions()
1128 struct nvram_partition * tmp_part; in nvram_scan_partitions() local
1173 tmp_part = kmalloc(sizeof(*tmp_part), GFP_KERNEL); in nvram_scan_partitions()
1175 if (!tmp_part) { in nvram_scan_partitions()
1180 memcpy(&tmp_part->header, &phead, NVRAM_HEADER_LEN); in nvram_scan_partitions()
1181 tmp_part->index = cur_index; in nvram_scan_partitions()
1182 list_add_tail(&tmp_part->partition, &nvram_partitions); in nvram_scan_partitions()