Lines Matching defs:id

92 	partition_id id = _kern_get_next_disk_device_id(&fDeviceCookie,
94 if (id < 0)
95 return id;
97 return device->_SetTo(id, true, neededSize);
382 The supplied \a device is initialized to the device identified by \a id.
384 \param id The ID of the device to be retrieved.
386 to the device identified by \a id.
389 - \c B_ENTRY_NOT_FOUND: A device with ID \a id could not be found.
393 BDiskDeviceRoster::GetDeviceWithID(int32 id, BDiskDevice* device) const
397 return device->_SetTo(id, true, 0);
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.
411 to the partition identified by \a id.
414 - \c B_ENTRY_NOT_FOUND: A partition with ID \a id could not be found.
418 BDiskDeviceRoster::GetPartitionWithID(int32 id, BDiskDevice* device,
425 status_t error = device->_SetTo(id, false, 0);
430 *partition = device->FindDescendant(id);
446 partition_id id = _kern_find_disk_device(filename, &neededSize);
447 if (id < 0)
448 return id;
451 return device->_SetTo(id, true, neededSize);
464 partition_id id = _kern_find_partition(filename, &neededSize);
465 if (id < 0)
466 return id;
469 status_t error = device->_SetTo(id, false, neededSize);
474 *partition = device->FindDescendant(id);
490 partition_id id = _kern_find_file_disk_device(filename, &neededSize);
491 if (id < 0)
492 return id;
495 return device->_SetTo(id, true, neededSize);
699 by \a id belongs to.
703 \param id The ID of the device, session or partition to be retrieved.
709 ID \a id could not be found.
713 BDiskDeviceRoster::_GetObjectWithID(const char *fieldName, int32 id,
720 error = request.AddInt32(fieldName, id);