Lines Matching defs:device
38 status_t Lookup(CDDBServer& server, const dev_t device,
44 bool _ReadTOC(const dev_t device, uint32* cddbID,
49 status_t _WriteCDData(dev_t device,
117 CDDBLookup::Lookup(CDDBServer& server, const dev_t device, bool dumpOnly,
125 if (!_ReadTOC(device, &cddbID, toc)) {
127 fprintf(stderr, "Skipping device with id %" B_PRId32 ".\n", device);
161 result = _WriteCDData(device, *diskData, readResponse);
189 CDDBLookup::_ReadTOC(const dev_t device, uint32* cddbID,
197 fs_stat_dev(device, &info);
202 BVolume volume(device);
254 CDDBLookup::_WriteCDData(dev_t device, const QueryResponseData& diskData,
258 BVolume volume(device);
347 "Usage: %s [-vdh] [-s <server>] [-i <category> <cddb-id>|<device>]\n"
348 "\nYou can specify the device either as path on the device, or using "
349 "the\ndevice name directly. If you do not specify a device, and are\n"
411 // Allow to specify a device
417 dev_t device = dev_for_path(path);
418 if (device >= 0)
419 status = cddb.Lookup(server, device, dump, verbose);
421 status = (status_t)device;