Searched refs:properties (Results 1 - 25 of 25) sorted by relevance

/xnu-2422.115.4/iokit/Kernel/
H A DIOPMPowerSource.cpp68 properties = OSDictionary::withCapacity(10);
69 if(!properties) return false;
70 properties->setCapacityIncrement(1);
101 if(properties) properties->release();
138 iterator = OSCollectionIterator::withCollection(properties);
146 obj = properties->getObject(key);
176 if( (lastVal = properties->getObject(key)) ) {
189 properties->setObject(key, val);
304 return properties
[all...]
H A DRootDomainUserClient.cpp51 UInt32 type, OSDictionary * properties)
53 if (properties)
54 properties->setObject(kIOUserClientCrossEndianCompatibleKey, kOSBooleanTrue);
56 if (!super::initWithTask(owningTask, security_id, type, properties))
50 initWithTask(task_t owningTask, void *security_id, UInt32 type, OSDictionary * properties) argument
H A DRootDomainUserClient.h87 UInt32 type, OSDictionary * properties);
H A DIOServicePrivate.h175 virtual IOReturn setProperties( OSObject * properties );
H A DIOUserClient.cpp1070 OSDictionary * properties )
1074 ok = super::init( properties );
2281 io_buf_ptr_t *properties,
2304 err = copyoutkdata( s->text(), len, properties );
2321 io_buf_ptr_t *properties,
2346 err = copyoutkdata( s->text(), len, properties );
2360 io_buf_ptr_t *properties,
2377 err = copyoutkdata( s->text(), len, properties );
2391 io_buf_ptr_t properties,
2406 err = vm_map_copyout( kernel_map, &map_data, (vm_map_copy_t) properties );
2278 is_io_registry_entry_get_property( io_object_t registry_entry, io_name_t property_name, io_buf_ptr_t *properties, mach_msg_type_number_t *propertiesCnt ) argument
2316 is_io_registry_entry_get_property_recursively( io_object_t registry_entry, io_name_t plane, io_name_t property_name, uint32_t options, io_buf_ptr_t *properties, mach_msg_type_number_t *propertiesCnt ) argument
2358 is_io_registry_entry_get_properties( io_object_t registry_entry, io_buf_ptr_t *properties, mach_msg_type_number_t *propertiesCnt ) argument
2388 is_io_registry_entry_set_properties( io_object_t registry_entry, io_buf_ptr_t properties, mach_msg_type_number_t propertiesCnt, kern_return_t * result) argument
2516 is_io_service_open_extended( io_object_t _service, task_t owningTask, uint32_t connect_type, NDR_record_t ndr, io_buf_ptr_t properties, mach_msg_type_number_t propertiesCnt, kern_return_t * result, io_object_t *connection ) argument
2875 is_io_connect_set_properties( io_object_t connection, io_buf_ptr_t properties, mach_msg_type_number_t propertiesCnt, kern_return_t * result) argument
[all...]
H A DIOCPU.cpp522 IOReturn IOCPU::setProperties(OSObject *properties) argument
524 OSDictionary *dict = OSDynamicCast(OSDictionary, properties);
H A DIOPlatformExpert.cpp1379 IOReturn IOPlatformExpertDevice::setProperties( OSObject * properties )
1385 status = super::setProperties( properties );
1391 dictionary = OSDynamicCast( OSDictionary, properties );
H A DIOService.cpp4207 OSDictionary * properties; local
4209 properties = OSDictionary::withCapacity( 2 );
4210 if( !properties)
4212 properties->setObject( key, value );
4217 table->setObject( gIOPropertyMatchKey, properties );
4219 properties->release();
4523 IOReturn IOResources::setProperties( OSObject * properties )
4534 dict = OSDynamicCast(OSDictionary, properties);
4564 * Keys existing in matching are checked in properties.
4905 UInt32 type, OSDictionary * properties,
4904 newUserClient( task_t owningTask, void * securityID, UInt32 type, OSDictionary * properties, IOUserClient ** handler ) argument
[all...]
H A DIONVRAM.cpp286 /* Copy properties with client privilege. */
361 // Don't allow creation of new properties on old world machines.
426 // Don't allow removal of properties on old world machines.
441 IOReturn IODTNVRAM::setProperties(OSObject *properties)
450 dict = OSDynamicCast(OSDictionary, properties);
1614 // copy over existing properties for other entries
H A DIORegistryEntry.cpp493 IOReturn IORegistryEntry::setProperties( OSObject * properties )
/xnu-2422.115.4/iokit/IOKit/system_management/
H A DIOWatchDogTimer.h46 virtual IOReturn setProperties(OSObject *properties);
/xnu-2422.115.4/security/
H A Dmac_iokit.c87 mac_iokit_check_set_properties(kauth_cred_t cred, io_object_t registry_entry, io_object_t properties) argument
91 MAC_CHECK(iokit_check_set_properties, cred, registry_entry, properties);
H A Dmac_framework.h234 int mac_iokit_check_set_properties(kauth_cred_t cred, io_object_t registry_entry, io_object_t properties);
H A Dmac_policy.h1212 @param properties XML-formatted property list
1217 device should be trusted. A list of properties associated with the device
1219 properties to determine the trustworthiness of the device. A return value
1254 @brief Access control check for setting I/O Kit device properties
1257 @param properties Property list
1260 properties on an I/O Kit device.
1268 io_object_t properties
/xnu-2422.115.4/iokit/Families/IOSystemManagement/
H A DIOWatchDogTimer.cpp75 IOReturn IOWatchDogTimer::setProperties(OSObject *properties) argument
85 theNumber = OSDynamicCast(OSNumber, properties);
/xnu-2422.115.4/iokit/IOKit/pwr_mgt/
H A DIOPMPowerSource.h185 /*! @var properties
188 OSDictionary *properties; member in class:IOPMPowerSource
266 * Subclasses should use these setters to modify all battery properties.
/xnu-2422.115.4/osfmk/device/
H A Ddevice.defs170 out properties : io_buf_ptr_t, physicalcopy
201 out properties : io_buf_ptr_t, physicalcopy
273 in properties : io_buf_ptr_t, physicalcopy;
325 in properties : io_buf_ptr_t, physicalcopy;
522 out properties : io_buf_ptr_t, physicalcopy
577 in properties : io_buf_ptr_t, physicalcopy;
/xnu-2422.115.4/iokit/IOKit/
H A DIOCPU.h85 virtual IOReturn setProperties(OSObject *properties);
H A DIONVRAM.h152 virtual IOReturn setProperties(OSObject *properties);
H A DIOUserClient.h311 OSDictionary * properties);
H A DIOPlatformExpert.h293 virtual IOReturn setProperties( OSObject * properties );
H A DIORegistryEntry.h231 @discussion This method provides an accessor to the root of the registry for the machine. The root may be passed to a registry iterator when iterating a plane, and contains properties that describe the available planes, and diagnostic information for IOKit. Keys for these properties are in IOKitKeys.h.
279 @param aKey The properties name as an OSSymbol.
465 @discussion This method will serialize a registry entry's property table, using the OSDictionary::serialize semantics. This method is synchronized with other IORegistryEntry accesses to the property table. Many non-kernel clients of IOKit read information from the registry via properties, and will invoke this method in a registry entry to create a serialization of all the entry's properties, which is then reconstructed in the client's task as a CFDictionary. This method may be intercepted by subclasses to update their properties or implement a different serialization method, though it is usually better to implement such functionality by creating objects in the property table and implementing their serialize methods, avoiding any need to implement serializeProperties.
475 @discussion This method will return a pointer to the live property table as an OSDictionery. Its use is not recommended in most cases, instead use the synchronized accessors and helper functions of IORegistryEntry to access properties. It can only safely be used by one thread, which usually means it can only be used before a registry entry is entered into the registry.
481 /* Set properties from user level, to be overridden if supported */
484 @abstract Optionally supported external method to set properties in a registry entry.
485 @discussion This method is not implemented by IORegistryEntry, but is available to kernel and non-kernel clients to set properties i
[all...]
H A DIOService.h184 Types of service are specified with a matching dictionary that describes properties of the service. For example, a matching dictionary might describe any IOUSBDevice (or subclass), an IOUSBDevice with a certain class code, or a IOPCIDevice with a set of matching names or device & vendor IDs. Since the matching dictionary is interpreted by the family which created the service, as well as generically by IOService, the list of properties considered for matching depends on the familiy.
236 A string or collection of strings that match the provider's name. The comparison is implemented with the @link //apple_ref/cpp/instm/IORegistryEntry/compareNames/virtualbool/(OSObject*,OSString**) IORegistryEntry::compareNames@/link method, which supports a single string, or any collection (OSArray, OSSet, OSDictionary etc.) of strings. IOService objects with device tree properties (eg. IOPCIDevice) will also be matched based on that standard's "compatible", "name", "device_type" properties. The matching name will be left in the driver's property table in the <code>kIONameMatchedKey</code> property.
265 A dictionary of properties that each must exist in the matching IOService and compare successfully with the <code>isEqualTo</code> method.
652 @discussion All matching on an IOService object will call this method to allow a family writer to implement matching in addition to the generic methods provided by IOService. The implementer should examine the matching dictionary passed to see if it contains properties the family understands for matching, and use them to match with the IOService object if so. Note that since matching is also carried out by other parts of the I/O Kit, the matching dictionary may contain properties the family does not understand - these should not be considered matching failures.
653 @param table The dictionary of properties to be matched against.
655 @result <code>false</code> if the family considers the matching dictionary does not match in properties it understands; <code>true</code> otherwise. */
777 @abstract Creates a matching dictionary, or adds matching properties t
[all...]
/xnu-2422.115.4/bsd/net/
H A Dkpi_interface.c866 ifnet_set_wake_flags(ifnet_t interface, u_int32_t properties, u_int32_t mask) argument
878 if ((properties & mask) & ~IF_WAKE_VALID_FLAGS)
884 (properties & mask) | (interface->if_wake_properties & ~mask);
H A Dkpi_interface.h630 @discussion This structure is used to define various properties of
949 @discussion This structure is used to define various properties of
2046 @enum Interface wake properties
2047 @abstract Constants defining Interface wake properties.
2056 @discussion Sets the wake properties of the underlying hardware. These are
2059 @param properties Properties to set or unset.
2060 @param mask Mask of the properties to set of unset.
2063 extern errno_t ifnet_set_wake_flags(ifnet_t interface, u_int32_t properties, u_int32_t mask);
2067 @discussion Returns the wake properties set on the interface.
2069 @result The wake properties
[all...]

Completed in 303 milliseconds