Home
last modified time | relevance | path

Searched refs:OSCompareAndSwap64 (Results 1 – 14 of 14) sorted by relevance

/xnu-8020.121.3/libkern/libkern/
H A DOSAtomic.h81 extern Boolean OSCompareAndSwap64(
85 #define OSCompareAndSwap64(a, b, c) \ macro
86 (OSCompareAndSwap64(a, b, __SAFE_CAST_PTR(volatile UInt64*,c)))
/xnu-8020.121.3/libkern/gen/
H A DOSAtomicOperations.c80 #undef OSCompareAndSwap64
82 OSCompareAndSwap64(UInt64 oldValue, UInt64 newValue, volatile UInt64 *address) in OSCompareAndSwap64() function
/xnu-8020.121.3/pexpert/arm/
H A Dpe_consistent_debug.c47 if (OSCompareAndSwap64(kDbgIdUnusedEntry, kDbgIdReservedEntry, &record->record_id)) { in consistent_debug_allocate_entry()
/xnu-8020.121.3/bsd/net/
H A Dnet_api_stats.h159 } while (!OSCompareAndSwap64(val, val + 1, &(counter))); \
H A Ddlil.c12048 OSCompareAndSwap64(oldbytes, bytes, &ifp->if_dt_bytes) && in ifnet_notify_data_threshold()
/xnu-8020.121.3/tools/cocci/
H A DOSAtomic_rewrite.cocci195 - OSCompareAndSwap64(F, E, A)
/xnu-8020.121.3/osfmk/arm/
H A Drtclock.c201 …} while (attempts < MAX_TIMEBASE_TRIES && !OSCompareAndSwap64(old_absolute_time, new_absolute_time… in mach_absolute_time()
/xnu-8020.121.3/bsd/sys/
H A Dmcache.h97 OSCompareAndSwap64(o, n, (volatile UInt64 *)a)
/xnu-8020.121.3/bsd/kern/
H A Ddecmpfs.c411 if (OSCompareAndSwap64(old, size, (UInt64*)&cp->uncompressed_size)) {
424 if (OSCompareAndSwap64(old, nchildren, (UInt64*)&cp->nchildren)) {
437 if (OSCompareAndSwap64(old, total_sz, (UInt64*)&cp->total_size)) {
456 if (OSCompareAndSwap64(old, flags, (UInt64*)&cp->decompression_flags)) {
/xnu-8020.121.3/osfmk/kern/
H A Dledger.c1222 if (OSCompareAndSwap64(credit, 0, &les->les_credit)) { in ledger_zero_balance()
1234 if (!OSCompareAndSwap64(credit, 0, &le->le_credit)) { in ledger_zero_balance()
1239 if (!OSCompareAndSwap64(debit, credit, &le->le_debit)) { in ledger_zero_balance()
1244 if (!OSCompareAndSwap64(credit, debit, &le->le_credit)) { in ledger_zero_balance()
H A Dtask.c7653 } while (!OSCompareAndSwap64(old_count, new_count, global_write_count)); in global_update_logical_writes()
/xnu-8020.121.3/iokit/Kernel/
H A DIOMemoryDescriptor.cpp2706 OSCompareAndSwap64(kIOPreparationIDUnprepared, newID, &dataP->fPreparationID); in getPreparationID()
2739 OSCompareAndSwap64(kIOPreparationIDUnprepared, newID, &reserved->preparationID); in setPreparationID()
2758 OSCompareAndSwap64(kIODescriptorIDInvalid, newID, &reserved->descriptorID); in setDescriptorID()
/xnu-8020.121.3/osfmk/vm/
H A Dvm_compressor.c3943 …if (OSCompareAndSwap64((UInt64)o_sv_he.he_record, (UInt64)n_sv_he.he_record, (UInt64 *) &c_segment… in c_segment_sv_hash_drop_ref()
3976 …if (OSCompareAndSwap64((UInt64)o_sv_he.he_record, (UInt64)n_sv_he.he_record, (UInt64 *) &c_segment… in c_segment_sv_hash_insert()
H A Dvm_resident.c9091 }while (!OSCompareAndSwap64(peak, new, &allocation->peak)); in vm_tag_update_size()
9123 }while (!OSCompareAndSwap64(peak, new, &allocation->peak)); in kern_allocation_update_size()