Lines Matching refs:partition
360 vmdk_identify_partition(int fd, partition_data* partition, void** _cookie)
363 partition->id, partition->offset, partition->size,
364 partition->block_size);
367 status_t error = parse_vmdk_header(fd, partition->size, cookie);
377 vmdk_scan_partition(int fd, partition_data* partition, void* _cookie)
380 partition->id, partition->offset, partition->size,
381 partition->block_size);
387 partition->status = B_PARTITION_VALID;
388 partition->flags |= B_PARTITION_PARTITIONING_SYSTEM;
389 partition->content_size = partition->size;
392 partition->content_cookie = cookie;
395 partition_data* child = create_child_partition(partition->id, 0,
396 partition->offset + cookie->contentOffset, cookie->contentSize, -1);
398 partition->content_cookie = NULL;
402 child->block_size = partition->block_size;
410 partition->content_cookie = NULL;
420 vmdk_free_identify_partition_cookie(partition_data*/* partition*/, void* cookie)
427 vmdk_free_partition_cookie(partition_data* partition)
429 // called for the child partition -- it doesn't have a cookie
434 vmdk_free_partition_content_cookie(partition_data* partition)
436 delete (VmdkCookie*)partition->content_cookie;