Lines Matching refs:partition

216 	disk device and Visit(BPartition*) for each (non-disk device) partition.
219 and in \a partition the pointer to the partition object is returned.
225 \param partition Pointer to a pre-allocated BPartition pointer to be set
226 to the partition at which the iteration was terminated.
232 BDiskDevice* device, BPartition** partition)
251 else if (device && partition)
252 *partition = foundPartition;
261 partition.
264 and in \a partition the pointer to the partition object is returned.
270 \param partition Pointer to a pre-allocated BPartition pointer to be set
271 to the partition at which the iteration was terminated.
277 BDiskDevice* device, BPartition** partition)
282 virtual bool Filter(BPartition *partition, int32)
283 { return partition->IsMounted(); }
287 = VisitEachPartition(&filterVisitor, device, partition);
296 partition.
299 and in \a partition the pointer to the partition object is returned.
305 \param partition Pointer to a pre-allocated BPartition pointer to be set
306 to the partition at which the iteration was terminated.
312 BDiskDevice* device, BPartition** partition)
317 virtual bool Filter(BPartition *partition, int32)
318 { return partition->ContainsFileSystem(); }
322 = VisitEachPartition(&filterVisitor, device, partition);
347 virtual bool Visit(BPartition* partition, int32 level)
350 return partition->GetVolume(&volume) == B_OK
403 The supplied \a device is initialized to the device the partition
404 identified by \a id resides on, and \a partition is set to point to the
407 \param id The ID of the partition to be retrieved.
409 to the device the partition identified by \a id resides on.
410 \param partition Pointer to a pre-allocated BPartition pointer to be set
411 to the partition identified by \a id.
414 - \c B_ENTRY_NOT_FOUND: A partition with ID \a id could not be found.
419 BPartition** partition) const
421 if (!device || !partition)
429 // find the partition object
430 *partition = device->FindDescendant(id);
431 if (!*partition) // should never happen!
457 BDiskDevice* device, BPartition** partition)
459 if (!filename || !device || !partition)
462 // get the partition ID
473 // find the partition object
474 *partition = device->FindDescendant(id);
475 if (!*partition) // should never happen!
599 "partition");
696 /*! \brief Returns a BDiskDevice for a given device, session or partition ID.
703 \param id The ID of the device, session or partition to be retrieved.
708 - \c B_ENTRY_NOT_FOUND: A device, session or partition respectively with
886 error = _GetNextAddOn(&directory, &index, "partition", image);