new_part 847 arch/powerpc/kernel/nvram_64.c struct nvram_partition *new_part; new_part 893 arch/powerpc/kernel/nvram_64.c new_part = kzalloc(sizeof(*new_part), GFP_KERNEL); new_part 894 arch/powerpc/kernel/nvram_64.c if (!new_part) { new_part 899 arch/powerpc/kernel/nvram_64.c new_part->index = free_part->index; new_part 900 arch/powerpc/kernel/nvram_64.c new_part->header.signature = sig; new_part 901 arch/powerpc/kernel/nvram_64.c new_part->header.length = size; new_part 902 arch/powerpc/kernel/nvram_64.c memcpy(new_part->header.name, name, strnlen(name, sizeof(new_part->header.name))); new_part 903 arch/powerpc/kernel/nvram_64.c new_part->header.checksum = nvram_checksum(&new_part->header); new_part 905 arch/powerpc/kernel/nvram_64.c rc = nvram_write_header(new_part); new_part 908 arch/powerpc/kernel/nvram_64.c kfree(new_part); new_part 911 arch/powerpc/kernel/nvram_64.c list_add_tail(&new_part->partition, &free_part->partition); new_part 930 arch/powerpc/kernel/nvram_64.c for (tmp_index = new_part->index + NVRAM_HEADER_LEN; new_part 941 arch/powerpc/kernel/nvram_64.c return new_part->index + NVRAM_HEADER_LEN;