Home
last modified time | relevance | path

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

/arch/powerpc/kernel/
Dnvram_64.c1022 struct nvram_partition *new_part; in nvram_create_partition() local
1066 new_part = kmalloc(sizeof(*new_part), GFP_KERNEL); in nvram_create_partition()
1067 if (!new_part) { in nvram_create_partition()
1072 new_part->index = free_part->index; in nvram_create_partition()
1073 new_part->header.signature = sig; in nvram_create_partition()
1074 new_part->header.length = size; in nvram_create_partition()
1075 strncpy(new_part->header.name, name, 12); in nvram_create_partition()
1076 new_part->header.checksum = nvram_checksum(&new_part->header); in nvram_create_partition()
1078 rc = nvram_write_header(new_part); in nvram_create_partition()
1081 kfree(new_part); in nvram_create_partition()
[all …]