Lines Matching defs:new_subpart
45 struct cmdline_subpart *new_subpart;
49 new_subpart = kzalloc(sizeof(struct cmdline_subpart), GFP_KERNEL);
50 if (!new_subpart)
54 new_subpart->size = (sector_t)(~0ULL);
57 new_subpart->size = (sector_t)memparse(partdef, &partdef);
58 if (new_subpart->size < (sector_t)PAGE_SIZE) {
67 new_subpart->from = (sector_t)memparse(partdef, &partdef);
69 new_subpart->from = (sector_t)(~0ULL);
83 sizeof(new_subpart->name) - 1);
84 strscpy(new_subpart->name, partdef, length);
88 new_subpart->name[0] = '\0';
90 new_subpart->flags = 0;
93 new_subpart->flags |= PF_RDONLY;
98 new_subpart->flags |= PF_POWERUP_LOCK;
102 *subpart = new_subpart;
105 kfree(new_subpart);