Home
last modified time | relevance | path

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

/xnu-8020.121.3/tools/cocci/
H A DOSAtomic_rewrite.cocci34 - OSAddAtomic16(1, E)
70 - OSAddAtomic16(-1, E)
92 - OSAddAtomic16(-F, E)
110 - OSAddAtomic16(F, E)
/xnu-8020.121.3/libkern/gen/
H A DOSAtomicOperations.c109 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 DOSAtomic.h308 extern SInt16 OSAddAtomic16(
/xnu-8020.121.3/bsd/sys/
H A Dmcache.h71 ((u_int16_t) OSAddAtomic16(n, (volatile SInt16 *)a))
/xnu-8020.121.3/osfmk/arm/
H A Dpmap.c4285 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 DIOMemoryDescriptor.cpp3088 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 DIOPMrootDomain.cpp3982 uint16_t id = OSAddAtomic16(1, &msb16); in nextRequestTag()
/xnu-8020.121.3/osfmk/vm/
H A Dvm_resident.c9004 OSAddAtomic16(1, &site->refcount); in vm_tag_alloc_locked()
9294 if (1 == OSAddAtomic16(-1, &allocation->refcount)) { in kern_allocation_name_release()