Searched refs:OSCompareAndSwap64 (Results 1 – 14 of 14) sorted by relevance
| /xnu-8019.80.24/libkern/libkern/ |
| H A D | OSAtomic.h | 81 extern Boolean OSCompareAndSwap64( 85 #define OSCompareAndSwap64(a, b, c) \ macro 86 (OSCompareAndSwap64(a, b, __SAFE_CAST_PTR(volatile UInt64*,c)))
|
| /xnu-8019.80.24/libkern/gen/ |
| H A D | OSAtomicOperations.c | 80 #undef OSCompareAndSwap64 82 OSCompareAndSwap64(UInt64 oldValue, UInt64 newValue, volatile UInt64 *address) in OSCompareAndSwap64() function
|
| /xnu-8019.80.24/pexpert/arm/ |
| H A D | pe_consistent_debug.c | 47 if (OSCompareAndSwap64(kDbgIdUnusedEntry, kDbgIdReservedEntry, &record->record_id)) { in consistent_debug_allocate_entry()
|
| /xnu-8019.80.24/bsd/net/ |
| H A D | net_api_stats.h | 159 } while (!OSCompareAndSwap64(val, val + 1, &(counter))); \
|
| H A D | dlil.c | 11977 OSCompareAndSwap64(oldbytes, bytes, &ifp->if_dt_bytes) && in ifnet_notify_data_threshold()
|
| /xnu-8019.80.24/tools/cocci/ |
| H A D | OSAtomic_rewrite.cocci | 195 - OSCompareAndSwap64(F, E, A)
|
| /xnu-8019.80.24/osfmk/arm/ |
| H A D | rtclock.c | 201 …} while (attempts < MAX_TIMEBASE_TRIES && !OSCompareAndSwap64(old_absolute_time, new_absolute_time… in mach_absolute_time()
|
| /xnu-8019.80.24/bsd/sys/ |
| H A D | mcache.h | 97 OSCompareAndSwap64(o, n, (volatile UInt64 *)a)
|
| /xnu-8019.80.24/bsd/kern/ |
| H A D | decmpfs.c | 411 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-8019.80.24/osfmk/kern/ |
| H A D | ledger.c | 1221 if (OSCompareAndSwap64(credit, 0, &les->les_credit)) { in ledger_zero_balance() 1233 if (!OSCompareAndSwap64(credit, 0, &le->le_credit)) { in ledger_zero_balance() 1238 if (!OSCompareAndSwap64(debit, credit, &le->le_debit)) { in ledger_zero_balance() 1243 if (!OSCompareAndSwap64(credit, debit, &le->le_credit)) { in ledger_zero_balance()
|
| H A D | task.c | 7656 } while (!OSCompareAndSwap64(old_count, new_count, global_write_count)); in global_update_logical_writes()
|
| /xnu-8019.80.24/iokit/Kernel/ |
| H A D | IOMemoryDescriptor.cpp | 2699 OSCompareAndSwap64(kIOPreparationIDUnprepared, newID, &dataP->fPreparationID); in getPreparationID() 2732 OSCompareAndSwap64(kIOPreparationIDUnprepared, newID, &reserved->preparationID); in setPreparationID() 2751 OSCompareAndSwap64(kIODescriptorIDInvalid, newID, &reserved->descriptorID); in setDescriptorID()
|
| /xnu-8019.80.24/osfmk/vm/ |
| H A D | vm_compressor.c | 3905 …if (OSCompareAndSwap64((UInt64)o_sv_he.he_record, (UInt64)n_sv_he.he_record, (UInt64 *) &c_segment… in c_segment_sv_hash_drop_ref() 3938 …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 D | vm_resident.c | 9099 }while (!OSCompareAndSwap64(peak, new, &allocation->peak)); in vm_tag_update_size() 9131 }while (!OSCompareAndSwap64(peak, new, &allocation->peak)); in kern_allocation_update_size()
|