Home
last modified time | relevance | path

Searched refs:OSAddAtomic16 (Results 1 – 7 of 7) sorted by relevance

/xnu-12377.61.12/tools/cocci/
H A DOSAtomic_rewrite.cocci34 - OSAddAtomic16(1, E)
70 - OSAddAtomic16(-1, E)
92 - OSAddAtomic16(-F, E)
110 - OSAddAtomic16(F, E)
/xnu-12377.61.12/libkern/gen/
H A DOSAtomicOperations.c105 OSAddAtomic16(SInt32 amount, volatile SInt16 *address) in OSAddAtomic16() function
239 return OSAddAtomic16(1, value); in OSIncrementAtomic16()
245 return OSAddAtomic16(-1, value); in OSDecrementAtomic16()
/xnu-12377.61.12/libkern/libkern/
H A DOSAtomic.h308 extern SInt16 OSAddAtomic16(
/xnu-12377.61.12/osfmk/arm/pmap/
H A Dpmap.c4381 if ((refcnt != 0) && (OSAddAtomic16(refcnt, (SInt16 *) &(ptep_get_info(bpte)->refcnt)) <= 0)) {
5237 if (OSAddAtomic16(-1, (SInt16 *) &(ptd_get_info(ptdp, pte_p)->refcnt)) <= 0) {
5965 OSAddAtomic16(1, ptd_wiredcnt_ptr);
5968 OSAddAtomic16(-1, ptd_wiredcnt_ptr);
6352 OSAddAtomic16(1, (volatile int16_t*)wiredcnt);
6356 OSAddAtomic16(1, (volatile int16_t*)refcnt);
6666 if (OSAddAtomic16(-1, (volatile int16_t*)refcnt) <= 0) {
6671 if (wiredcnt_updated && (OSAddAtomic16(-1, (volatile int16_t*)wiredcnt) <= 0)) {
/xnu-12377.61.12/iokit/Kernel/
H A DIOMemoryDescriptor.cpp3275 prior = OSAddAtomic16(1, &md->_dmaReferences); in dmaCommandOperation()
3281 OSAddAtomic16(-1, &md->_dmaReferences); in dmaCommandOperation()
4774 prior = OSAddAtomic16(1, &_dmaReferences); in dmaMapRecord()
4805 prior = OSAddAtomic16(-1, &_dmaReferences); in dmaUnmap()
H A DIOPMrootDomain.cpp4188 uint16_t id = OSAddAtomic16(1, &msb16); in nextRequestTag()
/xnu-12377.61.12/osfmk/vm/
H A Dvm_resident.c11089 OSAddAtomic16(1, &site->refcount); in vm_tag_alloc_locked()
11521 if (1 == OSAddAtomic16(-1, &allocation->refcount)) { in kern_allocation_name_release()