Searched refs:reference (Results 1 - 21 of 21) sorted by relevance

/xnu-2782.1.97/iokit/IOKit/
H A DOSMessageNotification.h97 OSAsyncReference64 reference; member in struct:OSNotificationHeader64
125 OSAsyncReference reference; member in struct:OSNotificationHeader
H A DIOUserClient.h154 typedef IOReturn (*IOExternalMethodAction)(OSObject * target, void * reference,
215 IOExternalMethodDispatch * dispatch = 0, OSObject * target = 0, void * reference = 0 );
255 static IOReturn sendAsyncResult(OSAsyncReference reference,
261 static IOReturn sendAsyncResult64(OSAsyncReference64 reference,
271 static IOReturn sendAsyncResult64WithOptions(OSAsyncReference64 reference,
297 @abstract Release the mach_port_t reference held within the OSAsyncReference64 structure.
298 @discussion The OSAsyncReference64 structure passed to async methods holds a reference to the wakeup mach port, which should be released to balance each async method call. Behavior is undefined if these calls are not correctly balanced.
299 @param reference The reference passed to the subclass IOAsyncMethod, or externalMethod() in the IOExternalMethodArguments.asyncReference field.
302 static IOReturn releaseAsyncReference64(OSAsyncReference64 reference);
[all...]
H A DIODMACommand.h205 @param newCommand Output reference variable of the newly created IODMACommand.
234 @discussion Factory function to create and initialise an IODMACommand in one operation. The current command's specification will be duplicated in the new object, but however none of its state will be duplicated. This means that it is safe to clone a command even if it is currently active and running, however you must be certain that the command to be duplicated does have a valid reference for the duration.
375 void *reference,
383 void *reference,
389 void *reference, IODMACommand *target,
393 void *reference,
432 void *reference,
H A DIOMemoryDescriptor.h479 @discussion If the original memory descriptor's address and length is still backed by the same real memory, i.e. the user hasn't deallocated and the reallocated memory at the same address then the original memory descriptor is returned with a additional reference. Otherwise we build a totally new memory descriptor with the same characteristics as the previous one but with a new view of the vm. Note not legal to call this function with anything except an IOGeneralMemoryDescriptor that was created with the kIOMemoryPersistent option.
599 @discussion This is the general purpose method to map all or part of the memory described by a memory descriptor into a task at any available address, or at a fixed address if possible. Caching & read-only options may be set for the mapping. The mapping is represented as a returned reference to a IOMemoryMap object, which may be shared if the mapping is compatible with an existing mapping of the IOMemoryDescriptor. The IOMemoryMap object returned should be released only when the caller has finished accessing the mapping, as freeing the object destroys the mapping.
607 kIOMapReference will only succeed if the mapping already exists, and the IOMemoryMap object is just an extra reference, ie. no new mapping will be created.<br>
608 kIOMapUnique allows a special kind of mapping to be created that may be used with the IOMemoryMap::redirect() API. These mappings will not be shared as is the default - there will always be a unique mapping created for the caller, not an existing mapping with an extra reference.<br>
612 @result A reference to an IOMemoryMap object representing the mapping, which can supply the virtual address of the mapping and other information. The mapping may be shared with multiple callers - multiple maps are avoided if a compatible one exists. The IOMemoryMap object returned should be released only when the caller has finished accessing the mapping, as freeing the object destroys the mapping. The IOMemoryMap instance also retains the IOMemoryDescriptor it maps while it exists. */
777 @result An IOMemoryDescriptor reference, which is valid while the IOMemoryMap object is retained. It should not be released by the caller. */
790 @discussion IOMemoryMap instances will unmap themselves upon free, ie. when the last client with a reference calls release. This method forces the IOMemoryMap to destroy the mapping it represents, regardless of the number of clients. It is not generally used.
887 // no need to reference as anything but a generic IOMemoryDescriptor *.
950 IOMemoryReference ** reference);
/xnu-2782.1.97/libkern/libkern/c++/
H A DOSSerialize.h105 typedef const OSMetaClassBase * (*Editor)(void * reference,
144 static OSSerialize * binaryWithCapacity(unsigned int inCapacity, Editor editor = 0, void * reference = 0);
177 * into the XML stream, emitting a reference if it has.
183 * by this OSSerialize object and a reference
/xnu-2782.1.97/iokit/Kernel/
H A DIOUserClient.cpp467 void * reference, vm_size_t referenceSize,
497 void * reference, vm_size_t referenceSize,
581 void * reference, vm_size_t referenceSize,
610 bcopy( reference, pingMsg->notifyHeader.reference, referenceSize );
725 void * reference, vm_size_t referenceSize, vm_size_t extraSize,
762 bcopy( reference, pingMsg->notifyHeader.reference, referenceSize );
1359 IOReturn IOUserClient::releaseAsyncReference64(OSAsyncReference64 reference) argument
1362 port = (mach_port_t) (reference[
580 init( mach_port_t port, natural_t type, void * reference, vm_size_t referenceSize, bool clientIs64 ) argument
724 init( mach_port_t port, natural_t type, void * reference, vm_size_t referenceSize, vm_size_t extraSize, bool client64 ) argument
1378 sendAsyncResult(OSAsyncReference reference, IOReturn result, void *args[], UInt32 numArgs) argument
1397 sendAsyncResult64WithOptions(OSAsyncReference64 reference, IOReturn result, io_user_reference_t args[], UInt32 numArgs, IOOptionBits options) argument
1403 sendAsyncResult64(OSAsyncReference64 reference, IOReturn result, io_user_reference_t args[], UInt32 numArgs) argument
1409 _sendAsyncResult64(OSAsyncReference64 reference, IOReturn result, io_user_reference_t args[], UInt32 numArgs, IOOptionBits options) argument
1897 internal_io_service_add_notification( mach_port_t master_port, io_name_t notification_type, const char * matching, size_t matching_size, mach_port_t port, void * reference, vm_size_t referenceSize, bool client64, io_object_t * notification ) argument
1981 is_io_service_add_notification( mach_port_t master_port, io_name_t notification_type, io_string_t matching, mach_port_t port, io_async_ref_t reference, mach_msg_type_number_t referenceCnt, io_object_t * notification ) argument
1996 is_io_service_add_notification_64( mach_port_t master_port, io_name_t notification_type, io_string_t matching, mach_port_t wake_port, io_async_ref64_t reference, mach_msg_type_number_t referenceCnt, io_object_t *notification ) argument
2011 is_io_service_add_notification_bin( mach_port_t master_port, io_name_t notification_type, io_struct_inband_t matching, mach_msg_type_number_t matchingCnt, mach_port_t wake_port, io_async_ref_t reference, mach_msg_type_number_t referenceCnt, io_object_t *notification) argument
2028 is_io_service_add_notification_bin_64( mach_port_t master_port, io_name_t notification_type, io_struct_inband_t matching, mach_msg_type_number_t matchingCnt, mach_port_t wake_port, io_async_ref64_t reference, mach_msg_type_number_t referenceCnt, io_object_t *notification) argument
2044 internal_io_service_add_notification_ool( mach_port_t master_port, io_name_t notification_type, io_buf_ptr_t matching, mach_msg_type_number_t matchingCnt, mach_port_t wake_port, void * reference, vm_size_t referenceSize, bool client64, kern_return_t *result, io_object_t *notification ) argument
2074 is_io_service_add_notification_ool( mach_port_t master_port, io_name_t notification_type, io_buf_ptr_t matching, mach_msg_type_number_t matchingCnt, mach_port_t wake_port, io_async_ref_t reference, mach_msg_type_number_t referenceCnt, kern_return_t *result, io_object_t *notification ) argument
2091 is_io_service_add_notification_ool_64( mach_port_t master_port, io_name_t notification_type, io_buf_ptr_t matching, mach_msg_type_number_t matchingCnt, mach_port_t wake_port, io_async_ref64_t reference, mach_msg_type_number_t referenceCnt, kern_return_t *result, io_object_t *notification ) argument
2122 internal_io_service_add_interest_notification( io_object_t _service, io_name_t type_of_interest, mach_port_t port, void * reference, vm_size_t referenceSize, bool client64, io_object_t * notification ) argument
2172 is_io_service_add_interest_notification( io_object_t service, io_name_t type_of_interest, mach_port_t port, io_async_ref_t reference, mach_msg_type_number_t referenceCnt, io_object_t * notification ) argument
2185 is_io_service_add_interest_notification_64( io_object_t service, io_name_t type_of_interest, mach_port_t wake_port, io_async_ref64_t reference, mach_msg_type_number_t referenceCnt, io_object_t *notification ) argument
2678 GetPropertiesEditor(void * reference, OSSerialize * s, OSCollection * container, const OSSymbol * name, const OSMetaClassBase * value) argument
3108 is_io_connect_set_notification_port( io_object_t connection, uint32_t notification_type, mach_port_t port, uint32_t reference) argument
3122 is_io_connect_set_notification_port_64( io_object_t connection, uint32_t notification_type, mach_port_t port, io_user_reference_t reference) argument
3504 is_io_connect_async_method( io_connect_t connection, mach_port_t wake_port, io_async_ref64_t reference, mach_msg_type_number_t referenceCnt, uint32_t selector, io_scalar_inband64_t scalar_input, mach_msg_type_number_t scalar_inputCnt, io_struct_inband_t inband_input, mach_msg_type_number_t inband_inputCnt, mach_vm_address_t ool_input, mach_vm_size_t ool_input_size, io_struct_inband_t inband_output, mach_msg_type_number_t *inband_outputCnt, io_scalar_inband64_t scalar_output, mach_msg_type_number_t *scalar_outputCnt, mach_vm_address_t ool_output, mach_vm_size_t * ool_output_size ) argument
3698 is_io_async_method_scalarI_scalarO( io_object_t connect, mach_port_t wake_port, io_async_ref_t reference, mach_msg_type_number_t referenceCnt, uint32_t index, io_scalar_inband_t input, mach_msg_type_number_t inputCount, io_scalar_inband_t output, mach_msg_type_number_t * outputCount ) argument
3741 is_io_async_method_scalarI_structureO( io_object_t connect, mach_port_t wake_port, io_async_ref_t reference, mach_msg_type_number_t referenceCnt, uint32_t index, io_scalar_inband_t input, mach_msg_type_number_t inputCount, io_struct_inband_t output, mach_msg_type_number_t * outputCount ) argument
3777 is_io_async_method_scalarI_structureI( io_connect_t connect, mach_port_t wake_port, io_async_ref_t reference, mach_msg_type_number_t referenceCnt, uint32_t index, io_scalar_inband_t input, mach_msg_type_number_t inputCount, io_struct_inband_t inputStruct, mach_msg_type_number_t inputStructCount ) argument
3814 is_io_async_method_structureI_structureO( io_object_t connect, mach_port_t wake_port, io_async_ref_t reference, mach_msg_type_number_t referenceCnt, uint32_t index, io_struct_inband_t input, mach_msg_type_number_t inputCount, io_struct_inband_t output, mach_msg_type_number_t * outputCount ) argument
3860 io_async_ref_t reference; local
4046 io_async_ref_t reference; local
4221 io_async_ref_t reference; local
4370 io_async_ref_t reference; local
[all...]
H A DRootDomainUserClient.h80 void * reference );
H A DIODMACommand.cpp318 void *reference,
324 IOOptionBits op = (uintptr_t) reference;
897 IODMACommand::transferSegment(void *reference, argument
903 IODMACommandTransferContext * context = (IODMACommandTransferContext *) reference;
987 void *reference,
1191 ret = (*outSegFunc)(reference, this, curSeg, segmentsP, segIndex++);
1199 ret = (*outSegFunc)(reference, this, curSeg, segmentsP, segIndex++);
1213 void *reference, IODMACommand *target,
1216 SegmentFunction segmentFunction = (SegmentFunction) reference;
317 segmentOp( void *reference, IODMACommand *target, Segment64 segment, void *segments, UInt32 segmentIndex) argument
985 genIOVMSegments(uint32_t op, InternalSegmentFunction outSegFunc, void *reference, UInt64 *offsetP, void *segmentsP, UInt32 *numSegmentsP) argument
1212 clientOutputSegment( void *reference, IODMACommand *target, Segment64 segment, void *vSegList, UInt32 outSegIndex) argument
H A DRootDomainUserClient.cpp234 void * reference __unused )
H A DIOMemoryDescriptor.cpp221 // Note this inline function uses C++ reference arguments to return values
223 // checked for as a NULL reference is illegal.
465 IOMemoryReference ** reference)
665 *reference = ref;
1137 * Passing the ranges as a reference will avoid an extra allocation.
1219 originalMD->retain(); // Add a new reference to ourselves
1276 bool reference)
1280 if (reference)
1292 bool reference)
1296 if (reference)
463 memoryReferenceCreate( IOOptionBits options, IOMemoryReference ** reference) argument
1272 initWithPhysicalRanges( IOPhysicalRange * ranges, UInt32 count, IODirection direction, bool reference) argument
1287 initWithRanges( IOVirtualRange * ranges, UInt32 count, IODirection direction, task_t task, bool reference) argument
[all...]
/xnu-2782.1.97/osfmk/device/
H A Ddevice.defs245 in reference : uint32_t
427 in reference : io_async_ref_t;
435 in reference : io_async_ref_t;
443 in reference : io_async_ref_t;
451 in reference : io_async_ref_t;
469 in reference : io_async_ref_t;
476 in reference : io_async_ref_t;
552 in reference : io_async_ref_t;
619 in reference : io_async_ref64_t;
646 in reference
[all...]
/xnu-2782.1.97/tools/tests/libMicro/
H A DREADME57 % ./multiview reference compare1 compare2 compare2 > compare.html
60 where the reference and compare files contain the output of different
/xnu-2782.1.97/EXTERNAL_HEADERS/architecture/i386/
H A Dasm_help.h231 .reference name
267 * dynamic/PIC macros for routines which reference external symbols
/xnu-2782.1.97/libkern/c++/
H A DOSSerializeBinary.cpp48 Editor editor, void * reference)
59 me->editRef = reference;
47 binaryWithCapacity(unsigned int inCapacity, Editor editor, void * reference) argument
H A DOSUnserialize.cpp1370 /* First try to decide what to do without reference to look-ahead token. */
1517 yyerror("forward reference detected");
H A DOSUnserializeXML.cpp1408 /* First try to decide what to do without reference to look-ahead token. */
1612 yyerror("forward reference detected");
2715 // write over the reference created in buildArray
/xnu-2782.1.97/osfmk/vm/
H A Dvm_resident.c546 m->reference = FALSE;
3055 * clear the reference bit and (re)enter it in the
3057 * their reference bit cleared.
3074 * reference which is held on the object while the page is in the pageout queue...
3083 m->reference = FALSE;
3140 * reference which is held on the object while the page is in the pageout queue...
3197 * reference which is held on the object while the page is in the pageout queue...
3235 m->reference = TRUE;
3269 * reference which is held on the object while the page is in the pageout queue...
3403 * reference whic
[all...]
H A Dvm_pageout.c499 * Deal with the deallocation (last reference) of a pageout object
593 if (m->reference)
659 * Account for the paging reference taken in vm_paging_object_allocate.
741 * The page must be busy, but not hold a paging reference.
767 * Create a paging reference to let us play with the object.
812 * [The object reference from its allocation is donated
839 * paging reference to prevent deallocation or collapse when we
841 * is responsible for consuming this reference
1394 * a TLB flush isn't really needed here since at worst we'll miss the reference bit being
1396 * new reference happen
[all...]
H A Dvm_page.h223 reference:1, /* page has been used (P) */ member in struct:vm_page
H A Dvm_object.c161 * Each object also records the memory object reference
301 * The routines that acquire a reference to a virtual
306 * from the reference mechanism, so that the lock need
799 * Create an "extra" reference to this object so that we never
886 * Release a reference to the specified object,
931 * This "named" object's reference count is about to
939 * This internal object's reference count is about to
951 * kept alive solely by the reference we're about to release.
952 * Let's try and release our reference without taking
1014 * If the object has a named reference, an
[all...]
H A Dvm_map.c423 * It is important to note that only one writeable reference
554 * If successful, this also grabs a reference on the memory object,
584 * Release the reference obtained by apple_protect_pager_setup().
585 * The mapping (if it succeeded) is now holding a reference on the
921 * Adds valid reference and residence counts to the given map.
1028 * will detect the state and increment the reference count, causing
1428 * We haven't taken a reference on the object either.
2673 /* JMM - drop reference on pager here */
2809 /* take a reference on the object */
3038 * Throw away the reference t
[all...]

Completed in 284 milliseconds