Home
last modified time | relevance | path

Searched refs:free_part (Results 1 – 1 of 1) sorted by relevance

/linux-6.12.1/arch/powerpc/kernel/
Dnvram_64.c848 struct nvram_partition *free_part = NULL; in nvram_create_partition() local
880 free_part = part; in nvram_create_partition()
886 free_part = part; in nvram_create_partition()
899 new_part->index = free_part->index; in nvram_create_partition()
911 list_add_tail(&new_part->partition, &free_part->partition); in nvram_create_partition()
914 if (free_part->header.length > size) { in nvram_create_partition()
915 free_part->index += size * NVRAM_BLOCK_LEN; in nvram_create_partition()
916 free_part->header.length -= size; in nvram_create_partition()
917 free_part->header.checksum = nvram_checksum(&free_part->header); in nvram_create_partition()
918 rc = nvram_write_header(free_part); in nvram_create_partition()
[all …]