Searched refs:free_part (Results 1 – 1 of 1) sorted by relevance
334 struct nvram_partition *free_part = NULL; in nvram_create_partition() local364 free_part = part; in nvram_create_partition()370 free_part = part; in nvram_create_partition()383 new_part->index = free_part->index; in nvram_create_partition()395 list_add_tail(&new_part->partition, &free_part->partition); in nvram_create_partition()398 if (free_part->header.length > size) { in nvram_create_partition()399 free_part->index += size * NVRAM_BLOCK_LEN; in nvram_create_partition()400 free_part->header.length -= size; in nvram_create_partition()401 free_part->header.checksum = nvram_checksum(&free_part->header); in nvram_create_partition()402 rc = nvram_write_header(free_part); in nvram_create_partition()[all …]