/darwin-on-arm/xnu/bsd/kern/ |
H A D | kern_symfile.c | 100 kern_ioctl_file_extents(struct kern_direct_file_io_ref_t * ref, u_long theIoctl, off_t offset, off_t end) argument 115 if (ref->vp->v_type == VREG) 117 p1 = &ref->device; 124 p1 = ref->vp; 125 p2 = ref->ctx; 130 if (ref->vp->v_type == VREG) 136 error = VNOP_BLOCKMAP(ref->vp, offset, filechunk, &blkno, &filechunk, NULL, 0, NULL); 138 fileblk = blkno * ref->blksize; 140 else if ((ref->vp->v_type == VBLK) || (ref 192 struct kern_direct_file_io_ref_t * ref; local 460 kern_write_file(struct kern_direct_file_io_ref_t * ref, off_t offset, caddr_t addr, vm_size_t len) argument 471 kern_close_file_for_direct_io(struct kern_direct_file_io_ref_t * ref, off_t write_offset, caddr_t addr, vm_size_t write_length, off_t discard_offset, off_t discard_end) argument [all...] |
H A D | uipc_mbuf.c | 801 #define MEXT_INIT(m, buf, size, free, arg, rfa, ref, flag) { \ 810 MEXT_REF(m) = (ref); \ 814 #define MBUF_CL_INIT(m, buf, rfa, ref, flag) \ 815 MEXT_INIT(m, buf, m_maxsize(MC_CL), NULL, NULL, rfa, ref, flag) 817 #define MBUF_BIGCL_INIT(m, buf, rfa, ref, flag) \ 818 MEXT_INIT(m, buf, m_maxsize(MC_BIGCL), m_bigfree, NULL, rfa, ref, flag) 820 #define MBUF_16KCL_INIT(m, buf, rfa, ref, flag) \ 821 MEXT_INIT(m, buf, m_maxsize(MC_16KCL), m_16kfree, NULL, rfa, ref, flag) 2388 * By this time "needed" is MIN(mbuf, cluster, ref). Any left
|
/darwin-on-arm/xnu/libkern/libkern/c++/ |
H A D | OSSerialize.h | 294 typedef bool (*OSSerializerCallback)(void * target, void * ref, 302 void * ref; member in class:OSSerializer 310 void * ref = 0);
|
/darwin-on-arm/xnu/libkern/c++/ |
H A D | OSSerialize.cpp | 248 OSSerializerCallback callback, void * ref ) 260 thing->ref = ref; 268 return( (*callback)(target, ref, s) );
|
H A D | OSUnserializeXML.cpp | 2534 OSObject *ref; 2541 ref = state->tags->getObject(key); 2542 if (!ref) return 0; 2545 o->object = ref;
|
H A D | OSUnserializeXML.y | 922 OSObject *ref; 929 ref = state->tags->getObject(key); 930 if (!ref) return 0; 933 o->object = ref;
|
H A D | OSKext.cpp | 5086 kmod_reference_t * ref = &(kmod_info->reference_list[refIndex]); local 5088 ref->info = refKext->kmod_info; 5089 ref->info->reference_count++; 5092 ref->next = kmod_info->reference_list + refIndex + 1; 6016 kmod_reference_t * ref = &(kmod_info->reference_list[refIndex]); local 6017 ref->info->reference_count--;
|
/darwin-on-arm/xnu/libkern/crypto/ |
H A D | corecrypto_sha1.c | 94 typedef kern_return_t (*InKernelPerformSHA1Func)(void *ref, const void *data, size_t dataLen, u_int32_t *inHash, u_int32_t options, u_int32_t *outHash, Boolean usePhysicalAddress); 95 void sha1_hardware_hook(Boolean option, InKernelPerformSHA1Func func, void *ref); 99 void sha1_hardware_hook(Boolean option, InKernelPerformSHA1Func func, void *ref) argument 103 OSCompareAndSwapPtr((void*)NULL, (void*)ref, (void * volatile*)&SHA1Ref);
|
H A D | localcrypto_sha1.c | 149 typedef kern_return_t (*InKernelPerformSHA1Func)(void *ref, const void *data, size_t dataLen, u_int32_t *inHash, u_int32_t options, u_int32_t *outHash, Boolean usePhysicalAddress); 150 void sha1_hardware_hook(Boolean option, InKernelPerformSHA1Func func, void *ref); 230 void sha1_hardware_hook(Boolean option, InKernelPerformSHA1Func func, void *ref) argument 234 OSCompareAndSwapPtr((void*)NULL, (void*)ref, (void * volatile*)&SHA1Ref);
|
/darwin-on-arm/xnu/iokit/Kernel/ |
H A D | IOLib.cpp | 546 IOIteratePageableMapsCallback callback, void * ref) 562 kr = (*callback)(gIOKitPageableSpace.maps[index].map, ref); 621 struct IOMallocPageableRef * ref = (struct IOMallocPageableRef *) _ref; local 624 kr = kmem_alloc_pageable( map, &ref->address, ref->size ); 632 struct IOMallocPageableRef ref; local 639 ref.size = size; 640 kr = IOIteratePageableMaps( size, &IOMallocPageableCallback, &ref ); 642 ref.address = 0; 644 if( ref 545 IOIteratePageableMaps(vm_size_t size, IOIteratePageableMapsCallback callback, void * ref) argument [all...] |
H A D | IOMemoryDescriptor.cpp | 191 IOMemoryDescriptorReserved * ref = (IOMemoryDescriptorReserved *) device_handle; local 195 memDesc = ref->dp.memory; 213 IOMemoryDescriptorReserved * ref = (IOMemoryDescriptorReserved *) device_handle; local 215 IODelete( ref, IOMemoryDescriptorReserved, 1 ); 936 // memEntry holds a ref on the device pager which owns reserved 2894 IOMemoryDescriptorMapAllocRef * ref = (IOMemoryDescriptorMapAllocRef *)_ref; 2898 if( ref->sharedMem) 2901 | ((ref->options & kIOMapReadOnly) ? 0 : VM_PROT_WRITE); 2904 if (kIOMapDefaultCache != (ref->options & kIOMapCacheMask)) 2909 switch (ref [all...] |
H A D | IOKitKernelInternal.h | 64 typedef kern_return_t (*IOIteratePageableMapsCallback)(vm_map_t map, void * ref); 68 IOIteratePageableMapsCallback callback, void * ref);
|
H A D | IOServicePrivate.h | 95 void * ref; member in class:_IOServiceNotifier 118 void * ref; member in class:_IOServiceInterestNotifier
|
H A D | IOService.cpp | 1391 ret = (*notify->handler)( notify->target, notify->ref, 1501 IOServiceInterestHandler handler, void * target, void * ref ) 1524 notify->ref = ref; 1545 notify->retain(); // ref'ed while in list 2466 static SInt32 IONotifyOrdering( const OSMetaClassBase * inObj1, const OSMetaClassBase * inObj2, void * ref ) 2485 static SInt32 IOServiceObjectOrder( const OSObject * entry, void * ref) argument 2490 OSSymbol * key = (OSSymbol *) ref; 2511 SInt32 IOServiceOrdering( const OSMetaClassBase * inObj1, const OSMetaClassBase * inObj2, void * ref ) 2522 val1 = IOServiceObjectOrder( obj1, ref ); 3746 void * ref; member in struct:_IOServiceMatchingNotificationHandlerRef 3757 setNotification( const OSSymbol * type, OSDictionary * matching, IOServiceMatchingNotificationHandler handler, void * target, void * ref, SInt32 priority ) argument 3809 doInstallNotification( const OSSymbol * type, OSDictionary * matching, IOServiceMatchingNotificationHandler handler, void * target, void * ref, SInt32 priority, OSIterator ** existing ) argument 3856 _IOServiceMatchingNotificationHandlerRef ref; local 3871 installNotification( const OSSymbol * type, OSDictionary * matching, IOServiceMatchingNotificationHandler handler, void * target, void * ref, SInt32 priority, OSIterator ** existing ) argument 3896 _IOServiceMatchingNotificationHandlerRef ref; local 3910 addMatchingNotification( const OSSymbol * type, OSDictionary * matching, IOServiceMatchingNotificationHandler handler, void * target, void * ref, SInt32 priority ) argument 3941 syncNotificationHandler( void * , void * ref, IOService * newService, IONotifier * notifier ) argument [all...] |
H A D | IOUserClient.cpp | 471 void * ref, IOService * newService, IONotifier * notifier ); 472 virtual bool handler( void * ref, IOService * newService ); 502 static IOReturn _handler( void * target, void * ref, 505 virtual IOReturn handler( void * ref, 643 void * ref, IOService * newService, IONotifier * notifier ) 645 return( ((IOServiceUserNotification *) target)->handler( ref, newService )); 648 bool IOServiceUserNotification::handler( void * ref, argument 782 IOReturn IOServiceMessageUserNotification::_handler( void * target, void * ref, argument 787 ref, messageType, provider, argument, argSize)); 790 IOReturn IOServiceMessageUserNotification::handler( void * ref, argument 642 _handler( void * target, void * ref, IOService * newService, IONotifier * notifier ) argument 1859 is_io_service_add_notification_old( mach_port_t master_port, io_name_t notification_type, io_string_t matching, mach_port_t port, natural_t ref, io_object_t * notification ) argument [all...] |
H A D | IOPMrootDomain.cpp | 578 IONotifier * registerSleepWakeInterest(IOServiceInterestHandler handler, void * self, void * ref) argument 580 return gRootDomain->registerInterest( gIOGeneralInterest, handler, self, ref ); 583 IONotifier * registerPrioritySleepWakeInterest(IOServiceInterestHandler handler, void * self, void * ref) argument 585 return gRootDomain->registerInterest( gIOPriorityPowerStateInterest, handler, self, ref ); 5028 void * target, void * ref ) 5045 notifier = super::registerInterest(typeOfInterest, handler, target, ref);
|
H A D | IOHibernateIO.cpp | 555 file_extent_callback(void * ref, uint64_t start, uint64_t length) argument 557 _OpenFileContext * ctx = (_OpenFileContext *) ref;
|
/darwin-on-arm/xnu/iokit/IOKit/ |
H A D | IOService.h | 143 extern SInt32 IOServiceOrdering( const OSMetaClassBase * inObj1, const OSMetaClassBase * inObj2, void * ref ); 670 @param ref A reference constant for the callback's use. 677 void * target, void * ref = 0, 693 @param ref A reference constant for the callback's use. 700 void * target, void * ref = 0, 1129 void * target, void * ref = 0 ); 1221 void * target, void * ref, 1227 void * target, void * ref, 1276 void * target, void * ref, 1282 void * target, void * ref, [all...] |
H A D | IOHibernatePrivate.h | 273 typedef void (*kern_get_file_extents_callback_t)(void * ref, uint64_t start, uint64_t size); 292 kern_close_file_for_direct_io(struct kern_direct_file_io_ref_t * ref,
|
/darwin-on-arm/xnu/iokit/IOKit/pwr_mgt/ |
H A D | RootDomain.h | 135 void * self, void * ref = 0); 259 void * target, void * ref = 0 );
|
/darwin-on-arm/xnu/tools/tests/xnu_quick_test/ |
H A D | tests.c | 4462 struct attrreference ref; /* Offset/length of name itself */ member in struct:packed_name_attr 4468 struct attrreference ref; /* Offset/length of attr itself */ member in struct:packed_attr_ref 4580 my_info1.ref.attr_dataoffset = sizeof(struct attrreference); 4581 my_info1.ref.attr_length = strlen(my_info1.name) + 1; 4582 my_info1.size = sizeof(struct attrreference) + my_info1.ref.attr_length; 4588 my_info2.ref.attr_dataoffset = sizeof(struct attrreference); 4589 my_info2.ref.attr_length = 0;
|
/darwin-on-arm/xnu/bsd/net/ |
H A D | pf_ioctl.c | 362 /* pf enable ref-counting helper functions */ 813 tag->ref++; 838 tag->ref++; 871 if (--p->ref == 0) { 901 t->ref++;
|
H A D | pfvar.h | 1715 int ref; member in struct:pf_tagname
|
/darwin-on-arm/xnu/osfmk/vm/ |
H A D | vm_map.c | 553 /* release extra ref on protected object */ 2455 /* create an extra ref for the named entry */ 2937 vm_object_deallocate(cpm_obj); /* kill acquired ref */ 2938 vm_object_deallocate(cpm_obj); /* kill creation ref */ 3011 vm_object_deallocate(cpm_obj); /* kill extra ref */ 8371 * Clone the entry, using object ref from above. 11219 vm_object_reference_locked(object); /* object ref. for new entry */ 12168 /* of entities holding a ref on the object, they may not be mapping */ 12546 * to a map. Doesn't consume the port ref; produces a map ref, 12707 unsigned int ref; local [all...] |
/darwin-on-arm/xnu/bsd/vfs/ |
H A D | vfs_subr.c | 2175 * have a ref on it, so its identity is stable. 3369 /* safedounmount consumes a ref */ 3629 * the freelist if a new ref comes in, 8208 vnode_resolver_attach(vnode_t vp, vnode_resolve_t rp, boolean_t ref) argument 8221 if (ref) { 8603 * ref on mp so save its covered vp for later processing
|