Lines Matching refs:partition
34 BMutablePartition* partition,
38 const BMutablePartition* partition);
40 const BMutablePartition* partition,
43 const BMutablePartition* partition,
45 virtual status_t Initialize(BMutablePartition* partition,
54 BMutablePartition* partition);
74 CheckSumFSAddOn::CreatePartitionHandle(BMutablePartition* partition,
79 = new(std::nothrow) CheckSumFSPartitionHandle(partition);
95 CheckSumFSAddOn::CanInitialize(const BMutablePartition* partition)
98 return (uint64)partition->Size() >= kCheckSumFSMinSize;
104 const BMutablePartition* partition, BPartitionParameterEditor** _editor)
113 CheckSumFSAddOn::ValidateInitialize(const BMutablePartition* partition,
117 if (!CanInitialize(partition) || name == NULL)
132 CheckSumFSAddOn::Initialize(BMutablePartition* partition, const char* name,
136 if (!CanInitialize(partition) || name == NULL
142 = new(std::nothrow) CheckSumFSPartitionHandle(partition);
147 status_t error = partition->SetContentType(Name());
151 partition->SetContentName(name);
152 partition->SetContentParameters(parameters);
153 partition->SetBlockSize(B_PAGE_SIZE);
154 partition->SetContentSize(partition->Size() / B_PAGE_SIZE * B_PAGE_SIZE);
155 partition->Changed(B_PARTITION_CHANGED_INITIALIZATION);
167 BMutablePartition* partition)
169 BPartitionHandle(partition)