Home
last modified time | relevance | path

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

/xnu-8796.141.3/tools/cocci/
H A DOSAtomic_rewrite.cocci34 - OSAddAtomic16(1, E)
70 - OSAddAtomic16(-1, E)
92 - OSAddAtomic16(-F, E)
110 - OSAddAtomic16(F, E)
/xnu-8796.141.3/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-8796.141.3/libkern/libkern/
H A DOSAtomic.h308 extern SInt16 OSAddAtomic16(
/xnu-8796.141.3/bsd/sys/
H A Dmcache.h71 ((u_int16_t) OSAddAtomic16(n, (volatile SInt16 *)a))
/xnu-8796.141.3/osfmk/arm/pmap/
H A Dpmap.c4162 if ((refcnt != 0) && (OSAddAtomic16(refcnt, (SInt16 *) &(ptep_get_info(bpte)->refcnt)) <= 0)) {
4932 if (OSAddAtomic16(-1, (SInt16 *) &(ptd_get_info(ptdp, pte_p)->refcnt)) <= 0) {
5631 OSAddAtomic16(1, ptd_wiredcnt_ptr);
5634 OSAddAtomic16(-1, ptd_wiredcnt_ptr);
5966 OSAddAtomic16(1, (volatile int16_t*)wiredcnt);
5970 OSAddAtomic16(1, (volatile int16_t*)refcnt);
6303 if (OSAddAtomic16(-1, (volatile int16_t*)refcnt) <= 0) {
6308 if (wiredcnt_updated && (OSAddAtomic16(-1, (volatile int16_t*)wiredcnt) <= 0)) {
/xnu-8796.141.3/iokit/Kernel/
H A DIOMemoryDescriptor.cpp3093 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 DIOPMrootDomain.cpp4027 uint16_t id = OSAddAtomic16(1, &msb16); in nextRequestTag()
/xnu-8796.141.3/osfmk/vm/
H A Dvm_resident.c9102 OSAddAtomic16(1, &site->refcount); in vm_tag_alloc_locked()
9367 if (1 == OSAddAtomic16(-1, &allocation->refcount)) { in kern_allocation_name_release()