Home
last modified time | relevance | path

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

/system/vold/
DDirectVolume.cpp186 int part_num; in handlePartitionAdded() local
191 part_num = atoi(tmp); in handlePartitionAdded()
194 part_num = 1; in handlePartitionAdded()
197 if (part_num > MAX_PARTITIONS || part_num < 1) { in handlePartitionAdded()
202 if (part_num > mDiskNumParts) { in handlePartitionAdded()
203 mDiskNumParts = part_num; in handlePartitionAdded()
211 SLOGD("Dv:partAdd: part_num = %d, minor = %d\n", part_num, minor); in handlePartitionAdded()
213 if (part_num >= MAX_PARTITIONS) { in handlePartitionAdded()
214 SLOGE("Dv:partAdd: ignoring part_num = %d (max: %d)\n", part_num, MAX_PARTITIONS-1); in handlePartitionAdded()
216 mPartMinors[part_num -1] = minor; in handlePartitionAdded()
[all …]