Lines Matching defs:child
131 // Depending on whether we actually have recognized child partitions and
190 partition_data* child = create_child_partition(partition->id,
194 if (!child) {
200 child->block_size = partition->block_size;
205 child->type = strdup(type);
210 child->parameters = strdup(buffer);
211 child->cookie = primary;
213 if (!child->type || !child->parameters) {
226 if (partition_data* child = get_child_partition(partition->id, i))
227 child->cookie = NULL;
345 partition_data* child = create_child_partition(partition->id, index,
348 if (!child) {
350 TRACE(("intel: ep_scan_partition(): failed to create child "
355 child->block_size = partition->block_size;
360 child->type = strdup(type);
367 child->parameters = strdup(buffer);
368 child->cookie = logical;
370 if (!child->type || !child->parameters) {
382 if (partition_data* child = get_child_partition(partition->id, i))
383 child->cookie = NULL;