Searched refs:bsdName (Results 1 - 25 of 26) sorted by path

12

/macosx-10.10.1/IOKitUser-1050.1.21/
H A DIOKitLib.c2416 io_name_t bsdName)
2424 bsdName[0] = 0;
2451 /* io_struct_inband_t */ bsdName,
2454 if( KERN_SUCCESS != kr ) bsdName[0] = 0;
2414 IOServiceOFPathToBSDName(mach_port_t masterPort, const io_name_t openFirmwarePath, io_name_t bsdName) argument
H A DIOKitLib.h1254 @param bsdName The BSD name, as a const char *.
1261 const char * bsdName );
1284 io_name_t bsdName) DEPRECATED_ATTRIBUTE;
/macosx-10.10.1/bless-103/
H A DhandleInfo.c545 CFStringRef bsdName; local
547 bsdName = IORegistryEntryCreateCFProperty(testmedia, CFSTR(kIOBSDNameKey), kCFAllocatorDefault, 0);
549 contextprintf(context, kBLLogLevelVerbose, "Found Boot!=Root aggregate media %s\n", BLGetCStringDescription(bsdName));
552 CFStringGetCString(bsdName, bootRootDevice+5, 1024-5, kCFStringEncodingUTF8);
554 CFRelease(bsdName);
/macosx-10.10.1/bless-103/libbless/BootRoot/
H A DBLBootRootIdentifyDevice.c53 const char *bsdName,
60 if (bsdName == NULL || role == NULL) {
66 ret = BLGetIOServiceForDeviceName(context, bsdName, &service);
68 contextprintf(context, kBLLogLevelError, "No IOMedia for %s\n", bsdName);
77 contextprintf(context, kBLLogLevelError, "Can't determine topology for IOMedia %s\n", bsdName);
52 BLBootRootIdentifyDevice(BLContextPtr context, const char *bsdName, BLBootRootRole *role) argument
/macosx-10.10.1/bless-103/libbless/EFI/
H A DBLCreateEFIXMLRepresentationForDevice.c51 const char *bsdName,
55 const char *bsdName,
80 ret = addMatchingInfoForBSDName(context, masterPort, dict, bsdName, shortForm);
54 BLCreateEFIXMLRepresentationForDevice(BLContextPtr context, const char *bsdName, const char *optionalData, CFStringRef *xmlString, bool shortForm) argument
H A DBLCreateEFIXMLRepresentationForLegacyDevice.c63 const char *bsdName);
66 const char *bsdName,
184 bsdName);
188 contextprintf(context, kBLLogLevelError, "Can't determine legacy media type for %s\n", bsdName);
220 const char *bsdName)
232 IOBSDNameMatching(masterPort, 0, bsdName));
235 contextprintf(context, kBLLogLevelError, "Could not find object for %s\n", bsdName);
274 contextprintf(context, kBLLogLevelError, "Could not get parent iterator for %s\n", bsdName);
327 const char *bsdName,
65 BLCreateEFIXMLRepresentationForLegacyDevice(BLContextPtr context, const char *bsdName, CFStringRef *xmlString) argument
217 addLegacyTypeForBSDName(BLContextPtr context, mach_port_t masterPort, CFMutableDictionaryRef dict, const char *bsdName) argument
326 BLCreateEFIXMLRepresentationForLegacyDevice(BLContextPtr context, const char *bsdName, CFStringRef *xmlString) argument
H A DBLCreateEFIXMLRepresentationForPath.c54 const char *bsdName,
197 const char *bsdName,
207 bsdName,
210 propDict = IOBSDNameMatching(masterPort, 0, bsdName);
218 contextprintf(context, kBLLogLevelError, "Could not find object for %s\n", bsdName);
234 bsdName, kIOMediaUUIDKey);
265 bsdName, fsuuidCString);
270 bsdName);
279 bsdName);
292 bsdName, pat
194 addMatchingInfoForBSDName(BLContextPtr context, mach_port_t masterPort, CFMutableDictionaryRef dict, const char *bsdName, bool shortForm) argument
[all...]
H A DBLInterpretEFIXMLRepresentationAsDevice.c45 char *bsdName, int bsdNameLen);
48 CFStringRef bsdName);
52 char *bsdName,
90 if(checkForMatch(context, dict, bsdName, bsdNameLen)) {
108 char *bsdName, int bsdNameLen)
137 CFStringGetCString(lastBSDName, bsdName,
140 contextprintf(context, kBLLogLevelVerbose, "Found device: %s\n", bsdName);
187 CFStringGetCString(name, bsdName, bsdNameLen, kCFStringEncodingUTF8);
188 contextprintf(context, kBLLogLevelVerbose, "Found device: %s\n", bsdName);
212 CFStringRef bsdName)
50 BLInterpretEFIXMLRepresentationAsDevice(BLContextPtr context, CFStringRef xmlString, char *bsdName, int bsdNameLen) argument
107 checkForMatch(BLContextPtr context, CFDictionaryRef dict, char *bsdName, int bsdNameLen) argument
211 copyVolUUIDFromDiskArb(BLContextPtr context, CFStringRef bsdName) argument
[all...]
H A DBLInterpretEFIXMLRepresentationAsLegacyDevice.c44 CFStringRef xmlString, char *bsdName, int bsdNameLen);
48 char *bsdName,
121 ret = findMatch(context, legacyType, xmlString, bsdName, bsdNameLen);
134 CFStringRef xmlString, char *bsdName, int bsdNameLen)
195 strlcpy(bsdName, sb->f_mntfromname + 5, bsdNameLen);
203 strlcpy(bsdName, sb->f_mntfromname + 5, bsdNameLen);
221 bsdName);
46 BLInterpretEFIXMLRepresentationAsLegacyDevice(BLContextPtr context, CFStringRef xmlString, char *bsdName, int bsdNameLen) argument
133 findMatch(BLContextPtr context, CFStringRef legacyType, CFStringRef xmlString, char *bsdName, int bsdNameLen) argument
H A DBLIsEFIRecoveryAccessibleDevice.c35 extern bool isPreferredSystemPartition(BLContextPtr context, CFStringRef bsdName);
37 bool BLIsEFIRecoveryAccessibleDevice(BLContextPtr context, CFStringRef bsdName) argument
39 return isPreferredSystemPartition(context, bsdName);
H A DBLSetEFIBootDevice.c33 BLSetEFIBootDevice(BLContextPtr context, char *bsdName) argument
35 if (0 == setefidevice(context, bsdName, false /* next */,
44 BLSetEFIBootDeviceOnce(BLContextPtr context, char *bsdName) argument
46 if (0 == setefidevice(context, bsdName, true /* next */,
/macosx-10.10.1/bless-103/libbless/Misc/
H A DBLCreateBooterInformationDictionary.c73 bool isPreferredSystemPartition(BLContextPtr context, CFStringRef bsdName);
86 int BLCreateBooterInformationDictionary(BLContextPtr context, const char * bsdName, argument
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; local
360 bsdName = IORegistryEntryCreateCFProperty(dataPartition, CFSTR(kIOBSDNameKey), kCFAllocatorDefault, 0);
361 if(bsdName == NULL || (CFGetTypeID(bsdName) !
561 isPreferredSystemPartition(BLContextPtr context, CFStringRef bsdName) argument
600 CFStringRef bsdName; local
[all...]
/macosx-10.10.1/bless-103/libbless/Network/
H A DBLIsValidNetworkInterface.c58 CFStringRef bsdName; local
60 bsdName = CFStringCreateWithCString(kCFAllocatorDefault,
63 if(bsdName == NULL) {
73 CFDictionaryAddValue(propDict, CFSTR(kIOBSDNameKey), bsdName);
76 CFRelease(bsdName);
/macosx-10.10.1/bless-103/libbless/
H A Dbless.h782 const char *bsdName,
788 const char *bsdName,
792 const char *bsdName,
817 char *bsdName,
822 char *bsdName,
833 kern_return_t BLSetEFIBootDevice(BLContextPtr context, char *bsdName);
834 kern_return_t BLSetEFIBootDeviceOnce(BLContextPtr context, char *bsdName);
839 bool BLIsEFIRecoveryAccessibleDevice(BLContextPtr context, CFStringRef bsdName);
852 int BLCreateBooterInformationDictionary(BLContextPtr context, const char * bsdName,
/macosx-10.10.1/bless-103/test/
H A Dtestsetboot.c43 char *bsdName; local
49 errx(EX_USAGE, "testsetboot <bsdName>");
52 bsdName = argv[1];
53 result = BLSetEFIBootDevice(&bcon, bsdName);
54 printf("BLSetEFIBootDevice(%s): %x\n", bsdName, result);
/macosx-10.10.1/cddafs-253/FilesystemProber/
H A Dcddafs_util.cpp1494 char * bsdName = NULL; local
1500 bsdName = ( char * ) &deviceNamePtr[6];
1508 bsdName = ( char * ) &deviceNamePtr[5];
1521 IOBSDNameMatching ( kIOMasterPortDefault, 0, bsdName ),
/macosx-10.10.1/configd-699.1.5/SCMonitor/
H A Dmonitor.c749 CFStringRef bsdName; local
751 bsdName = CFArrayGetValueAtIndex(interfaces, i);
752 if (isA_CFString(bsdName)) {
755 interface = _SCNetworkInterfaceCreateWithBSDName(NULL, bsdName, kIncludeNoVirtualInterfaces);
/macosx-10.10.1/configd-699.1.5/SystemConfiguration.fproj/
H A DSCNetworkConfigurationInternal.h253 CFStringRef bsdName);
H A DSCNetworkConfigurationPrivate.h184 CFStringRef bsdName) __OSX_AVAILABLE_STARTING(__MAC_10_8,__IPHONE_5_0);
225 @param bsdName The BSD interface name.
233 CFStringRef bsdName,
H A DSCNetworkInterface.c1417 pci_port(CFTypeRef slot_name, int ift, CFStringRef bsdName) argument
1519 n = CFArrayGetFirstIndexOfValue(port_names, CFRangeMake(0, n), bsdName);
3241 copy_ppp_entity(CFStringRef bsdName) argument
3282 !CFEqual(bsdName, ifName)) {
3312 CFStringRef bsdName,
3320 if (_SC_cfstring_to_cstring(bsdName, ifr.ifr_name, sizeof(ifr.ifr_name), kCFStringEncodingASCII) != NULL) {
3333 entity = copy_ppp_entity(bsdName);
3342 CFDictionarySetValue(entity, kSCPropNetInterfaceDeviceName, bsdName);
3367 _SCNetworkInterfaceCopyPrefixFromBSDName(CFStringRef bsdName) argument
3373 if (isA_CFString(bsdName)
3311 _SCNetworkInterfaceCreateWithBSDName(CFAllocatorRef allocator, CFStringRef bsdName, UInt32 flags) argument
3544 CFStringRef bsdName = NULL; local
3705 CFStringRef bsdName = NULL; local
3895 char bsdName[IFNAMSIZ]; local
4479 CFStringRef bsdName; local
7541 _SCNetworkInterfaceCopyActive(SCDynamicStoreRef store, CFStringRef bsdName) argument
7711 __SCNetworkInterfaceCreateWithNIPreferencesUsingBSDName(CFAllocatorRef allocator, SCPreferencesRef ni_prefs, CFStringRef bsdName) argument
7764 CFStringRef bsdName = NULL; local
[all...]
H A DSCNetworkMigration.c998 CFStringRef bsdName = (CFStringRef)key; local
1019 interface = CFDictionaryGetValue(interfaceMapping, bsdName);
1021 if ((((bsdNameToBridgeServices != NULL) && (CFDictionaryContainsKey(bsdNameToBridgeServices, bsdName) == FALSE))) &&
1022 (((bsdNameToBondServices != NULL) && (CFDictionaryContainsKey(bsdNameToBondServices, bsdName) == FALSE))) &&
1023 (((bsdNameToVLANServices != NULL) && (CFDictionaryContainsKey(bsdNameToVLANServices, bsdName) == FALSE)))) {
1025 SCLog(_sc_debug, LOG_NOTICE, CFSTR("_SCNetworkConfigurationValidateInterface: There is no real interface with bsd name: %@ for service"), bsdName);
1056 CFStringRef bsdName = (CFStringRef)key; local
1068 if (CFDictionaryContainsKey(serviceInterfaceMapping, bsdName) == FALSE) {
1280 CFStringRef bsdName; local
1284 bsdName
1316 CFStringRef bsdName; local
1347 CFStringRef bsdName; local
2339 CFStringRef bsdName = SCNetworkInterfaceGetBSDName(interface); local
2360 CFStringRef bsdName = SCNetworkInterfaceGetBSDName(interface); local
2543 CFStringRef bsdName = SCNetworkInterfaceGetBSDName(interface); local
2563 CFStringRef bsdName = SCNetworkInterfaceGetBSDName(interface); local
2771 CFStringRef bsdName = SCNetworkInterfaceGetBSDName(interface); local
2792 CFStringRef bsdName = SCNetworkInterfaceGetBSDName(interface); local
[all...]
H A DSCNetworkSet.c1402 CFStringRef bsdName; local
1411 bsdName = SCNetworkInterfaceGetBSDName(interface);
1427 if (!_SC_CFEqual(interfaceName, bsdName)) {
H A Ddy_framework.c65 _IOBSDNameMatching(mach_port_t masterPort, uint32_t options, const char *bsdName) argument
73 return dyfunc ? dyfunc(masterPort, options, bsdName) : NULL;
H A Ddy_framework.h51 const char *bsdName
/macosx-10.10.1/kext_tools-384.1.4/
H A Dbrtest.c279 CFStringRef bsdName = NULL; local
296 bsdName = CFStringCreateWithFileSystemRepresentation(nil, devname);
304 if (CFArrayContainsValue(helpers, searchRange, bsdName)) {
313 result = BREraseBootFiles(srcVol, bsdName);
317 if (bsdName) CFRelease(bsdName);

Completed in 341 milliseconds

12