Searched refs:OSAddAtomic16 (Results 1 – 8 of 8) sorted by relevance
| /xnu-8020.121.3/tools/cocci/ |
| H A D | OSAtomic_rewrite.cocci | 34 - OSAddAtomic16(1, E) 70 - OSAddAtomic16(-1, E) 92 - OSAddAtomic16(-F, E) 110 - OSAddAtomic16(F, E)
|
| /xnu-8020.121.3/libkern/gen/ |
| H A D | OSAtomicOperations.c | 109 OSAddAtomic16(SInt32 amount, volatile SInt16 *address) in OSAddAtomic16() function 243 return OSAddAtomic16(1, value); in OSIncrementAtomic16() 249 return OSAddAtomic16(-1, value); in OSDecrementAtomic16()
|
| /xnu-8020.121.3/libkern/libkern/ |
| H A D | OSAtomic.h | 308 extern SInt16 OSAddAtomic16(
|
| /xnu-8020.121.3/bsd/sys/ |
| H A D | mcache.h | 71 ((u_int16_t) OSAddAtomic16(n, (volatile SInt16 *)a))
|
| /xnu-8020.121.3/osfmk/arm/ |
| H A D | pmap.c | 4285 if ((refcnt != 0) && (OSAddAtomic16(refcnt, (SInt16 *) &(ptep_get_info(bpte)->refcnt)) <= 0)) { 5067 if (OSAddAtomic16(-1, (SInt16 *) &(ptd_get_info(ptdp, pte_p)->refcnt)) <= 0) { 5772 OSAddAtomic16(1, ptd_wiredcnt_ptr); 5775 OSAddAtomic16(-1, ptd_wiredcnt_ptr); 6133 OSAddAtomic16(1, (volatile int16_t*)wiredcnt); 6137 OSAddAtomic16(1, (volatile int16_t*)refcnt); 6443 if (OSAddAtomic16(-1, (volatile int16_t*)refcnt) <= 0) { 6448 if (wiredcnt_updated && (OSAddAtomic16(-1, (volatile int16_t*)wiredcnt) <= 0)) {
|
| /xnu-8020.121.3/iokit/Kernel/ |
| H A D | IOMemoryDescriptor.cpp | 3088 prior = OSAddAtomic16(1, &md->_dmaReferences); in dmaCommandOperation() 3094 OSAddAtomic16(-1, &md->_dmaReferences); in dmaCommandOperation() 4513 prior = OSAddAtomic16(1, &_dmaReferences); in dmaMapRecord() 4544 prior = OSAddAtomic16(-1, &_dmaReferences); in dmaUnmap()
|
| H A D | IOPMrootDomain.cpp | 3982 uint16_t id = OSAddAtomic16(1, &msb16); in nextRequestTag()
|
| /xnu-8020.121.3/osfmk/vm/ |
| H A D | vm_resident.c | 9004 OSAddAtomic16(1, &site->refcount); in vm_tag_alloc_locked() 9294 if (1 == OSAddAtomic16(-1, &allocation->refcount)) { in kern_allocation_name_release()
|