/macosx-10.5.8/xnu-1228.15.4/iokit/IOKit/ |
H A D | IOPMEventSource.h | 51 typedef void (*Action)(OSObject *owner, unsigned long state); 54 static IOPMEventSource *PMEventSource(OSObject *owner, Action action); 56 virtual bool init(OSObject *owner, Action action);
|
H A D | IOCommandGate.h | 71 @param owner 72 Target of the function, can be used as a refcon. The owner is set 81 typedef IOReturn (*Action)(OSObject *owner, 104 static IOCommandGate *commandGate(OSObject *owner, Action action = 0); 110 @param owner Owner of this, newly created, instance of the IOCommandGate. This argument will be used as the first parameter in the action callout. 117 virtual bool init(OSObject *owner, Action action = 0);
|
H A D | IODMAEventSource.h | 46 typedef void (*Action)(OSObject *owner, IODMAEventSource *dmaES, IODMACommand *dmaCommand, IOReturn status, IOByteCount actualByteCount); 54 static IODMAEventSource *dmaEventSource(OSObject *owner, 75 virtual bool init(OSObject *owner,
|
H A D | IOEventSource.h | 77 checkForWork() is the key method in this class. It is called by some work-loop when convienient and is expected to evaluate it's internal state and determine if an event has occurred since the last call. In the case of an event having occurred then the instance defined target(owner)/action will be called. The action is stored as an ordinary C function pointer but the first parameter is always the owner. This means that a C++ member function can be used as an action function though this depends on the ABI. 79 Although the eventChainNext variable contains a reference to the next event source in the chain this reference is not retained. The list 'owner' i.e. the client that creates the event, not the work-loop, is expected to retain the source. 92 @param owner 93 Target of the function, can be used as a refcon. The owner is set 97 typedef void (*Action)(OSObject *owner, ...); 108 /*! @var owner The owner object called when an event has been delivered. */ 109 OSObject *owner; member in class:IOEventSource 136 @param owner [all...] |
H A D | IOTimerEventSource.h | 108 @param owner Owning target object. Note by a startling coincidence the first parameter in a C callout is currently used to define the target of a C++ member function. 110 typedef void (*Action)(OSObject *owner, IOTimerEventSource *sender); 114 @param owner 117 timerEventSource(OSObject *owner, Action action = 0); 120 @abstract Initializes the timer with an owner, and a handler to call when the timeout expires. 121 @param owner 123 virtual bool init(OSObject *owner, Action action = 0);
|
H A D | IOFilterInterruptEventSource.h | 60 @param owner Pointer to the owning/client instance. 98 @param owner Owner/client of this event source. 105 filterInterruptEventSource(OSObject *owner, 113 @param owner Owner/client of this event source. 120 virtual bool init(OSObject *owner,
|
H A D | IOInterruptEventSource.h | 66 @param owner Pointer to client instance. 87 Current count of produced interrupts that the owner has been informed of. */ 111 @discussion This function called when the work-loop is ready to check for any work to do and then to call out the owner/action. 119 @param owner Owning client of the new event source. 125 interruptEventSource(OSObject *owner, 132 @param owner Owning client of the new event source. 138 virtual bool init(OSObject *owner,
|
/macosx-10.5.8/xnu-1228.15.4/iokit/Kernel/ |
H A D | IOPMPowerStateQueue.h | 69 virtual bool init(OSObject *owner, Action action = 0); 72 static IOPMPowerStateQueue *PMPowerStateQueue(OSObject *owner);
|
H A D | IOFilterInterruptEventSource.cpp | 45 (unsigned int) this, (unsigned int) owner); \ 51 (unsigned int) this, (unsigned int) owner); \ 57 (unsigned int) this, (unsigned int) owner); \ 164 (unsigned int) filterAction, (unsigned int) owner); 165 filterRes = (*filterAction)(owner, this); 183 (unsigned int) filterAction, (unsigned int) owner); 184 filterRes = (*filterAction)(owner, this);
|
H A D | IOInterruptEventSource.cpp | 47 (unsigned int) this, (unsigned int) owner); \ 53 (unsigned int) this, (unsigned int) owner); \ 59 (unsigned int) this, (unsigned int) owner); \ 191 (unsigned int) intAction, (unsigned int) owner); 192 (*intAction)(owner, this, numInts); 203 (unsigned int) intAction, (unsigned int) owner); 204 (*intAction)(owner, this, -numInts);
|
H A D | IOCommandGate.cpp | 129 (unsigned int) inAction, (unsigned int) owner); 158 res = (*inAction)(owner, arg0, arg1, arg2, arg3); 182 (unsigned int) inAction, (unsigned int) owner); 184 res = (*inAction)(owner, arg0, arg1, arg2, arg3);
|
H A D | IOCommandQueue.cpp | 53 initWithNext:owner:action:size: 55 owner: (id) inOwner 61 the chain and the owner and action. On return the signalWorkAvailableIMP 67 See also: initWithNext:owner:action:(IOEventSource) 153 (unsigned int) action, (unsigned int) owner); 155 (*(IOCommandQueueAction) action)(owner, field0, field1, field2, field3); 242 target = owner;
|
H A D | IOPMPowerStateQueue.cpp | 85 bool IOPMPowerStateQueue::init(OSObject *owner, Action action) argument 87 if(!(super::init(owner, (IOEventSource::Action) action))) return false;
|
H A D | IOEventSource.cpp | 68 owner = inOwner;
|
H A D | IOTimerEventSource.cpp | 92 (unsigned int) doit, (unsigned int) me->owner); 93 (*doit)(me->owner, me); 116 (unsigned int) doit, (unsigned int) me->owner); 117 (*doit)(me->owner, me);
|
H A D | IODMAEventSource.cpp | 140 (*dmaCompletionAction)(owner, this, dmaCommand, dmaCommand->reserved->fStatus, dmaCommand->reserved->fActualByteCount); 165 if (dmaNotificationAction != 0) (*dmaNotificationAction)(owner, this, dmaCommand, status, actualByteCount);
|
/macosx-10.5.8/xnu-1228.15.4/osfmk/kern/ |
H A D | sync_sema.h | 54 task_t owner; /* task that owns semaphore */ member in struct:semaphore
|
H A D | sync_lock.h | 75 task_t owner; /* task that owns the lock set */ member in struct:lock_set
|
H A D | sync_sema.c | 190 s->owner = task; 225 if (semaphore->owner != task) { 230 semaphore->owner = TASK_NULL;
|
/macosx-10.5.8/xnu-1228.15.4/bsd/sys/ |
H A D | pthread_internal.h | 58 thread_t owner; /* Which thread has this mutex locked */ member in struct:_pthread_mutex 114 thread_t owner; member in struct:__anon411
|
/macosx-10.5.8/xnu-1228.15.4/osfmk/sys/ |
H A D | sdi.h | 178 struct owner *curdrv; 179 struct owner *owner_list; 445 struct owner *owner_p;
|
/macosx-10.5.8/xnu-1228.15.4/bsd/isofs/cd9660/ |
H A D | cd9660_util.c | 404 DerivePermissionSummary(uid_t owner, gid_t group, mode_t obj_mode, __unused struct iso_mnt *imp) argument 416 /* Otherwise, check the owner. */ 417 if (owner == kauth_cred_getuid(cred)) {
|
/macosx-10.5.8/xnu-1228.15.4/bsd/vfs/ |
H A D | vfs_journal.h | 145 void *owner; // a ptr that's unique to the calling process member in struct:journal
|
H A D | vfs_journal.c | 525 // mark this so that we're the owner of dealing with the 1938 if (jnl->owner != current_thread()) { 2211 if (jnl->owner == current_thread()) { 2213 panic("jnl: start_tr: active_tr is NULL (jnl @ %p, owner %p, current_thread %p\n", 2214 jnl, jnl->owner, current_thread()); 2222 if (jnl->owner != NULL || jnl->nested_count != 0 || jnl->active_tr != NULL) { 2223 panic("jnl: start_tr: owner %p, nested count %d, active_tr %p jnl @ %p\n", 2224 jnl->owner, jnl->nested_count, jnl->active_tr, jnl); 2227 jnl->owner = current_thread(); 2256 // printf("jnl: start_tr: owner [all...] |
/macosx-10.5.8/xnu-1228.15.4/osfmk/ppc/ |
H A D | cswtch.s | 171 lwz r10,FPUowner(r12) ; Grab the owner of the FPU 172 lwz r9,VMXowner(r12) ; Grab the owner of the vector 400 lwz r12,FPUowner(r6) ; Get the context ID for owner 464 lwz r12,FPUowner(r6) ; Get the context ID for owner 651 ; Also note that the possible changes are limited. The context owner can 667 or r0,r0,r11 ; Zero only if both owner and context are unchanged 774 mulli r19,r19,ppeSize ; Find offset to the owner per_proc_entry 776 li r16,FPUowner ; Displacement to float owner 777 add r19,r18,r19 ; Point to the owner per_proc_entry 778 lwz r19,ppe_vaddr(r19) ; Point to the owner per_pro [all...] |