Searched refs:is (Results 1 - 23 of 23) sorted by relevance

/darwin-on-arm/xnu/osfmk/ipc/
H A Dipc_space.h37 * documentation is hereby granted, provided that both the copyright
59 * is included in support of clause 2.2 (b) of the Apple Public License,
105 * unaffected while the grow operation is underway.
110 #define IS_INACTIVE 0x40000000 /* space is inactive */
111 #define IS_GROWING 0x20000000 /* space is growing */
126 #define is_active(is) (((is)->is_bits & IS_INACTIVE) != IS_INACTIVE)
129 is_mark_inactive(ipc_space_t is) argument
131 assert(is_active(is));
132 OSBitOrAtomic(IS_INACTIVE, &is
138 is_start_growing(ipc_space_t is) argument
145 is_done_growing(ipc_space_t is) argument
189 is_reference(ipc_space_t is) argument
197 is_release(ipc_space_t is) argument
[all...]
/darwin-on-arm/xnu/iokit/Kernel/
H A DIOSyncer.cpp69 IOInterruptState is = IOSimpleLockLockDisableInterrupt(guardLock); local
71 IOSimpleLockUnlockEnableInterrupt(guardLock, is);
76 // just in case a thread is blocked here:
87 IOInterruptState is = IOSimpleLockLockDisableInterrupt(guardLock); local
91 IOSimpleLockUnlockEnableInterrupt(guardLock, is);
95 IOSimpleLockUnlockEnableInterrupt(guardLock, is);
116 IOInterruptState is = IOSimpleLockLockDisableInterrupt(guardLock); local
119 IOSimpleLockUnlockEnableInterrupt(guardLock, is);
H A DIOWorkLoop.cpp165 // does this automatically. The problem is in this case addEventSource
214 // Free is called twice:
216 // Secondly when the work loop itself is commiting hari kari
221 IOInterruptState is; local
232 is = IOSimpleLockLockDisableInterrupt(workToDoLock);
235 IOSimpleLockUnlockEnableInterrupt(workToDoLock, is);
259 // or the workThread itself is performing hari-kari.
316 /* NOTE: controlG is in passiveEventChain since it's an IOCommandGate */
358 IOInterruptState is = IOSimpleLockLockDisableInterrupt(workToDoLock); local
360 IOSimpleLockUnlockEnableInterrupt(workToDoLock, is);
445 IOInterruptState is = IOSimpleLockLockDisableInterrupt(workToDoLock); local
[all...]
/darwin-on-arm/xnu/iokit/IOKit/
H A DIOLocksPrivate.h36 #error IOLocksPrivate.h is for kernel use only
H A DIOLib.h39 #error IOLib.h is for kernel use only
79 @discussion This is a general purpose utility to allocate memory in the kernel. There are no alignment guarantees given on the returned memory, and alignment may vary depending on the kernel configuration. This function may block and so should not be called from interrupt level or while a simple lock is held.
87 @discussion This function frees memory allocated with IOMalloc, it may block and so should not be called from interrupt level or while a simple lock is held.
97 @discussion This is a utility to allocate memory in the kernel, with an alignment restriction which is specified as a byte count. This function may block and so should not be called from interrupt level or while a simple lock is held.
106 @discussion This function frees memory allocated with IOMallocAligned, it may block and so should not be called from interrupt level or while a simple lock is held.
114 @discussion This is a utility to allocate memory in the kernel, with an alignment restriction which is specifie
[all...]
H A DIOLocks.h36 #error IOLocks.h is for kernel use only
75 @discussion Allocates a mutex in general purpose memory, and initializes it. Mutexes are general purpose blocking mutual exclusion locks, supplied by libkern/locks.h. This function may block and so should not be called from interrupt level or while a spin lock is held. IOLocks use the global IOKit lock group, IOLockGroup. To simplify kext debugging and lock-heat analysis, consider using lck_* locks with a per-driver lock group, as defined in kern/locks.h.
96 @discussion Lock the mutex. If the lock is held by any thread, block waiting for its unlock. This function may block and so should not be called from interrupt level or while a spin lock is held. Locking the mutex recursively from one thread will result in deadlock.
107 @discussion Lock the mutex if it is currently unlocked, and return true. If the lock is held by any thread, return false.
109 @result True if the mutex was unlocked and is now locked by the caller, otherwise false. */
119 @discussion Unlock the mutex and wake any blocked waiters. Results are undefined if the caller has not locked the mutex. This function may block and so should not be called from interrupt level or while a spin lock is held.
134 @discussion Prepare to sleep,unlock the mutex, and re-acquire it on wakeup. Results are undefined if the caller has not locked the mutex. This function may block and so should not be called from interrupt level or while a spin lock is held.
148 /* The following API is deprecate
[all...]
H A DIOStatisticsPrivate.h44 #error IOStatisticsPrivate.h is for kernel use only
262 * NOTE: counter access is not expressly guarded here so as not to incur performance penalties
/darwin-on-arm/xnu/bsd/net/
H A Detherdefs.h40 * provided that this notice is preserved and that due credit is given
44 * is provided ``as is'' without express or implied warranty.
59 #warning net/etherdefs.h is obsolete! Use net/ethernet.h
H A Dif_pppvar.h35 * documentation is hereby granted, provided that the above copyright
36 * notice appears in all copies. This software is provided without any
74 #warning if_pppvar.h is not used by the darwin kernel
/darwin-on-arm/xnu/osfmk/i386/
H A Dlowglobals.h38 #error Wrong architecture - this file is meant for i386
48 * which is in lowmem_vectors.s
52 * This is where we put constants, pointers, and data areas that must be accessed
54 * absolute addresses, not via a base register. This is a global area, and not
H A DDiagnostics.h45 #error This file is not useful on non-Intel
/darwin-on-arm/xnu/osfmk/x86_64/
H A Dlowglobals.h41 #error Wrong architecture - this file is meant for x86_64
46 * which is in lowmem_vectors.s
/darwin-on-arm/xnu/libkern/x86_64/
H A DOSAtomic.s43 cmpxchgl %esi, (%rdx) #; CAS (eax is an implicit operand)
65 cmpxchgq %rsi, (%rdx) #; CAS (rax is an implicit operand)
/darwin-on-arm/xnu/osfmk/arm/
H A Dstubs.s36 #define genString(x) _genQuoteString(x is not implemented.)
/darwin-on-arm/xnu/EXTERNAL_HEADERS/
H A DAvailabilityMacros.h42 will result in a compiler error because that functionality is
43 not available on on any OS is the specifed range.
45 For example, suppose an application is compiled with:
109 #warning Building for Intel with Mac OS X Deployment Target < 10.4 is invalid.
111 #warning Building for ppc64 with Mac OS X Deployment Target < 10.4 is invalid.
/darwin-on-arm/xnu/iokit/bsddev/
H A DDINetBootHook.cpp86 #warning qDEBUG is 1!
182 IOLog("%s is 0x%08X/%d\n", kDIRootImageResultKey, res, res);
198 /* rootdevice is 16 chars in bsd_init.c */
/darwin-on-arm/xnu/libkern/i386/
H A DOSAtomic.s42 cmpxchgl %edx, 0(%ecx) #; CAS (eax is an implicit operand)
/darwin-on-arm/xnu/tools/tests/libMicro/
H A DREADME28 # Use is subject to license terms.
33 As long as cc is in your path, (gcc on Linux),
/darwin-on-arm/xnu/osfmk/arm/armv/
H A Dcpufunc-v7.s336 cmp r1, #2 @ is it data or i&d?
399 cmp r1, #2 @ is it data or i&d?
/darwin-on-arm/xnu/libkern/c++/
H A DOSUnserialize.cpp34 // - the XML format is now prefered
37 // - well except the XML is more efficent on OSData
58 This program is free software; you can redistribute it and/or modify
63 This program is distributed in the hope that it will be useful,
391 /* A type that is properly aligned for any stack member. */
569 means the default is an error. */
607 number is the opposite. If zero, do what YYDEFACT says.
688 If N is 0, then set CURRENT to the empty location which ends
851 | Report that the YYRULE is going to be reduced. |
887 /* Nonzero means print parse trace. It is lef
[all...]
H A DOSUnserializeXML.cpp58 This program is free software; you can redistribute it and/or modify
63 This program is distributed in the hope that it will be useful,
166 // this is the internal struct used to hold objects on parser stack
181 // this code is reentrant, this structure contains all
420 /* A type that is properly aligned for any stack member. */
602 means the default is an error. */
638 number is the opposite. If zero, do what YYDEFACT says.
722 If N is 0, then set CURRENT to the empty location which ends
885 | Report that the YYRULE is going to be reduced. |
921 /* Nonzero means print parse trace. It is lef
[all...]
H A DOSKext.cpp164 /* A usable, uncompressed file is stored under this key.
169 * is stored under this key.
173 /* If the file is contained in a larger buffer laid down by the booter or
175 * references are properly tracked. This is always an mkext, right now.
192 * multiple mkext formats. Mkext format 1 is officially retired as of
212 * sKextLock is the principal lock for OSKext, and guards all static
268 * before OSKext is initialized; that call only needs the name
281 /* id */ 0, // loadTag: kernel is always 0
297 // 'kmod' is a holdover from the old kmod system, we can't rename it.
348 * gLoadedKextSummaries is accesse
[all...]
/darwin-on-arm/xnu/bsd/netkey/
H A Dkey.c62 * This code is referd to RFC 2367
165 u_int32_t key_debug_level = 0; //### our sysctl is not dynamic
666 panic("key_allocsp: NULL pointer is passed.\n");
674 panic("key_allocsp: Invalid direction is passed.\n");
727 struct sockaddr *os, *od, *is, *id; local
760 is = (struct sockaddr *)&r1->saidx.src;
762 if (key_sockaddrcmp(is, isrc, 0) ||
791 * ENOENT: policy may be valid, but SA with REQUIRE is on acquiring.
809 panic("key_checkrequest: NULL pointer is passed.\n");
832 /* When there is S
[all...]

Completed in 180 milliseconds