• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10.1/bless-103/libbless/Misc/

Lines Matching refs:bsdName

73 bool isPreferredSystemPartition(BLContextPtr context, CFStringRef bsdName);
86 int BLCreateBooterInformationDictionary(BLContextPtr context, const char * bsdName,
122 IOBSDNameMatching(kIOMasterPortDefault, 0, bsdName));
128 "Could not get IOService for %s\n", bsdName);
141 "%s is not an IOMedia object\n", bsdName);
179 "Invalid boot data for %s\n", bsdName);
338 CFStringRef bsdName;
360 bsdName = IORegistryEntryCreateCFProperty(dataPartition, CFSTR(kIOBSDNameKey), kCFAllocatorDefault, 0);
361 if(bsdName == NULL || (CFGetTypeID(bsdName) != CFStringGetTypeID())) {
362 if(bsdName) CFRelease(bsdName);
370 CFRelease(bsdName);
379 CFRelease(bsdName);
390 CFRelease(bsdName);
396 if(!CFArrayContainsValue(dataPartitions,CFRangeMake(0, CFArrayGetCount(dataPartitions)), bsdName)) {
397 CFArrayAppendValue(dataPartitions, bsdName);
399 CFRelease(bsdName);
561 bool isPreferredSystemPartition(BLContextPtr context, CFStringRef bsdName)
568 CFDictionarySetValue(matching, CFSTR(kIOBSDNameKey), bsdName);
600 CFStringRef bsdName;
613 bsdName = IORegistryEntryCreateCFProperty(service, CFSTR(kIOBSDNameKey), kCFAllocatorDefault, 0);
614 if (bsdName && (CFGetTypeID(bsdName) == CFStringGetTypeID())) {
615 contextprintf(context, kBLLogLevelVerbose, "Preferred system partition found: %s\n", BLGetCStringDescription(bsdName));
616 if (CFArrayGetFirstIndexOfValue(systemPartitions, CFRangeMake(0, CFArrayGetCount(systemPartitions)), bsdName) == kCFNotFound) {
619 CFArrayInsertValueAtIndex(systemPartitions, foundPreferred ? 1 : 0, bsdName);
623 if (bsdName) CFRelease(bsdName);