Searched refs:OSAddAtomic16 (Results 1 – 7 of 7) sorted by relevance
| /xnu-10063.141.1/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-10063.141.1/libkern/gen/ |
| H A D | OSAtomicOperations.c | 105 OSAddAtomic16(SInt32 amount, volatile SInt16 *address) in OSAddAtomic16() function 239 return OSAddAtomic16(1, value); in OSIncrementAtomic16() 245 return OSAddAtomic16(-1, value); in OSDecrementAtomic16()
|
| /xnu-10063.141.1/libkern/libkern/ |
| H A D | OSAtomic.h | 308 extern SInt16 OSAddAtomic16(
|
| /xnu-10063.141.1/osfmk/arm/pmap/ |
| H A D | pmap.c | 4291 if ((refcnt != 0) && (OSAddAtomic16(refcnt, (SInt16 *) &(ptep_get_info(bpte)->refcnt)) <= 0)) { 5083 if (OSAddAtomic16(-1, (SInt16 *) &(ptd_get_info(ptdp, pte_p)->refcnt)) <= 0) { 5798 OSAddAtomic16(1, ptd_wiredcnt_ptr); 5801 OSAddAtomic16(-1, ptd_wiredcnt_ptr); 6146 OSAddAtomic16(1, (volatile int16_t*)wiredcnt); 6150 OSAddAtomic16(1, (volatile int16_t*)refcnt); 6475 if (OSAddAtomic16(-1, (volatile int16_t*)refcnt) <= 0) { 6480 if (wiredcnt_updated && (OSAddAtomic16(-1, (volatile int16_t*)wiredcnt) <= 0)) {
|
| /xnu-10063.141.1/iokit/Kernel/ |
| H A D | IOMemoryDescriptor.cpp | 3093 prior = OSAddAtomic16(1, &md->_dmaReferences); in dmaCommandOperation() 3099 OSAddAtomic16(-1, &md->_dmaReferences); in dmaCommandOperation() 4524 prior = OSAddAtomic16(1, &_dmaReferences); in dmaMapRecord() 4555 prior = OSAddAtomic16(-1, &_dmaReferences); in dmaUnmap()
|
| H A D | IOPMrootDomain.cpp | 4051 uint16_t id = OSAddAtomic16(1, &msb16); in nextRequestTag()
|
| /xnu-10063.141.1/osfmk/vm/ |
| H A D | vm_resident.c | 9217 OSAddAtomic16(1, &site->refcount); in vm_tag_alloc_locked() 9584 if (1 == OSAddAtomic16(-1, &allocation->refcount)) { in kern_allocation_name_release()
|